## INTRODUCTION

This post has become part of my Learning math serie. (Check the menu above)

I am looking for some reason at Fourier series.

I found a nice video from 3Blue1Brown, visualizing what a Fourier transform is but it never learned me how to make calculation with Fourier series.

I have found a few video in Youtube from Acadian Learning School, I will share here.

I studied math at University about 30 years ago and I seldom teached math at high school level. So I had to refresh some old math knowledges, like:

- radians and angles.
- the unit circle definition and pi angle definitions,
- Also integral and derivative calculations had to be reviewed to better understand
- integrations and derivation of sine and cosine functions.

To make integral clculations and plots,I also had to install these programs on my Ubuntu linux laptop:

# INDEX

- introduction
- Fouries series
- calculation
- Fourier in action
- Conclusion

## .

## Fourier serie lessons

Here is the 3Blue1Brown Fourier transform visualizing video

As said in my introduction, Acadiana Learning center offers a Fourier course that I think is the best to start understanding Fourier and how to make calculations with it.

**About my notes**

For me it is important to take notes to think about , to better understand. I share with you my notes here on this page.

There is transcript like with Ted youtubes. So, if you have problems with math English and reading transcripts, you may find my notes and images below useful so you can read the info with your language using the appropriate language button on my site.

All info is taken from this Acadiana Learning center Fourier youtube course.

I hope they dont mind me doing this.

(source: https://www.youtube.com/watch?v=x04dnqg-iPw )

We have this periodic step function

This function f(x) is very similar to a sine function as seen in this image

Fourier has came to a solution of how to model the periodical step function (f(x) above, mathematically as a integral of a sine and cosine function like this one.

He approximated f(x) as a sum of a constant a_{0}, and a sum of of sine and cosine functions:

Fourier was able to calculate the coefficient a_{0}, a_{n} and b_{n. } ,.i fyou know these constants I(coeficients) the you can model any function cwith this equation.

The sine function better match and approximation of f(x) as f(x) is a odd function. For even functions cosine terns are used. This will be shown mathematically as a_{n} will turn out to be 0 with odd funtctions.

## finding a_{0}

JJean Baptiste Fourier found out how to calculate the value of the coefficient a_{0}, a_{n} and b_{n}.

to be He found out the a_{0 }coefficient 1/2L where L= π.

For a_{n} and b_{n}. he also found out formulas. So he developed for us 0these three equations:

## .

## Calculating a_{n} and b_{n.}

TheAcadiana Learning center teacher show in the next coming videos (part 2 to 5) how Fourier calculated the value of a_{n} and b_{n}

#### Calculating a1

As f(x) is divided in two parts, the integral/area calculation has to be split up in a sum of two (2) parts, the first from -pi (-π) to 0(zero) and the second from 0 (zero) to pi (π)

In the image below shows clearly thath the sum of the two areas from -π to 0, is equal to 0.

The same happens with the two areas from 0 to π -So

#### a1=0

In part 2, the Acadiana Learning center teacher demonstrates that

- for any value of n —-> a
_{n }= 0 (zero).

#### Calculating b_{n}

The teacher demonstrates that

- for n=even numbers —->b
_{n}=0 (zero) - For n= odd numbers —-> b
_{n}= 4c/nπ

## Fourier in action

To see what Fouriers equation does you must get a cartesian graph plotter. I downloaded and installed KM plot for linux on my Ubuntu laptop. You find good plotter for sure also with other operative systems.

in the video information in part 1 (source: https://www.youtube.com/watch?v=x04dnqg-iPw ) we read:

*“You can graph this with your calculator easily and watch the modeling in action. Make sure you’re in radian mode and let c=1*

* f(x) = 4/(pi)*sin(x) + 4/(3pi)*sin(3x) + 4/(5pi)*sin(5x) + 4/(7pi)*sin(7x) + 4/(9pi)*sin(9x) + 4/(11pi)*sin(11x)” (source: https://www.youtube.com/watch?v=x04dnqg-iPw )*

This equation is equivalent to

where

- a
_{0 }= 1/2n - a
_{n}=0 - b
_{n}for even numbers of n, is not calculated The integration goes from n=1 to n=11

I choosed to get a a cartesian plot and added the formual above

f(x) = 4/(pi)*sin(x) + 4/(3pi)*sin(3x) + 4/(5pi)*sin(5x) + 4/(7pi)*sin(7x) + 4/(9pi)*sin(9x) + 4/(11pi)*sin(11x)”

The plot for*f(x) = 4/(pi)*sin(x) + 4/(3pi)*sin(3x) + 4/(5pi)*sin(5x) + 4/(7pi)*sin(7x) + 4/(9pi)*sin(9x) + 4/(11pi)*sin(11x) *showed up like this:

## I tried to integrate from n=1 to 29 with

*f(x) = 4/(pi)*sin(x) + 4/(3pi)*sin(3x) + 4/(5pi)*sin(5x) + 4/(7pi)*sin(7x) + 4/(9pi)*sin(9x) + 4/(11pi)*sin(11x)+ 4/(13pi)*sin(13x)+ 4/(15pi)*sin(15x)+ 4/(17pi)*sin(17x)+ 4/(19pi)*sin(19x)+ 4/(21pi)*sin(121x)+ 4/(23pi)*sin(23x)+ 4/(25pi)*sin(25x)+ 4/(27pi)*sin(127x)+ 4/(29pi)*sin(29x) *

and got this plot:

The more intervalls the more precise the approximated plot. Its a plity,I dont know how to let my plotter plot with n=1 to n=999999999 with odd n.

## .

## conclusion

I find it extraordinary that **Jean-Baptiste Joseph Fourier** born 21 March 1768 during his lifetime (he died – 16 May 1830) had such a brilliant mathematical talent to create the Fourier equation that today 200 years late in the digital era, is essential for sharing music, speech recognition and building engines and bridges.

I like to know more about such talents. It is remarkable Jean-Baptiste Joseph Fourier story reminds me a little bit of Einstein.

Jean-Baptiste Joseph Fourier was a son of a tailor and soon lost his father. He learned math in a Benedectine order. He served in the Revolutionary committe during the French Revolution as well as a scientific adviser for Napoleon in his Egypt expedition 1798

**How the h…. did he came up to this equation? **

Was it that by studying structures looking like this that his math brain lift off and trigometry knowledges came to use?

Maybe he devloped and found use of Fourier series in this expedition.

The developing of his math must have been done during sparetime a little like Einstein did his math work during sparetime in the Swiss patent office. Read more in https://en.wikipedia.org/wiki/Joseph_Fourier#Biography

Obvioulsy, not all great mathematician matured their genius in schools and Universities.

Studying Fourier, I learned again about integration and trigonometry something I did more than 30 years ago at Chalmers in Sweden. A great brain exercise.