Mathematica 2015

𝐿

1 𝐿

 𝐿



=

∫ ( )



βˆ’πΏ

∫ | |  πœ‹ βˆ’πœ‹ ∫   πœ‹ 0

1 2

=

=

beacause it is even

= 2 πœ‹

( π‘₯𝑠𝑖π‘₯

+ 𝑠π‘₯ 2

) 0 πœ‹

Using integration by part:

2  2

=

( βˆ’ 1)

= βˆ’ 4

So when n = 1,3,5…… 

πœ‹ 2

When n = 2,4,6 …… 

= 0

∫ | | πœ‹ βˆ’πœ‹

= 1 πœ‹

As to  0 ,  0

∫  πœ‹ 0

2

=

=

Then we consider the coefficient 

𝐿

1 𝐿

 𝐿



=

∫ ( )𝑖



βˆ’πΏ

∫ | |𝑖  πœ‹ βˆ’πœ‹

1

=

There is no need to use integration by part in order to get the answer. Because if we careful enough, we can easily see an interesting property of function | |𝑖 on the interval [βˆ’, ] that it is odd. Thus we can get  = 0 immediately. All considered, we express f(x) as the Fourier series:

∞

 0 2

 𝐿

 𝐿

( ) =

+βˆ‘(



+ 

𝑖

)

=1

∞

2

2  2

( βˆ’ 1)

=

+βˆ‘

=1

2

4

1 1 2

1 3 2

1 5 2

=

βˆ’

(

 +

2 +

3 + β‹― )

∞

2

4

1 (2 βˆ’ 1) 2

=

βˆ’

βˆ‘

(2 βˆ’ 1)

=1 Now, we have been familiar with writing a periodic function in form of Fourier series. Let’s again look at the final expression.

36

Made with FlippingBook - Online Brochure Maker