Fourier Series exercise

wolly

Junior Member
Joined
Jul 18, 2018
Messages
116
asgsgag.PNG
How does the first line equal the second line?This is a Fourier Series!
Where do 0 and 12n+1\frac{1}{2n+1} appear from?
 
What are the values of (1)n+1+1(-1)^{n+1}+1 for odd and even nn's ?
 
What are the values of (1)n+1+1(-1)^{n+1}+1 for odd and even nn's ?
For n=0=>0n=0=>0n=1=>2n=1=>2n=2=>0n=2=>0n=3=>2n=3=>2So the values are 0 and 2!
 
View attachment 39343
How does the first line equal the second line?This is a Fourier Series!
Where do 0 and 12n+1\frac{1}{2n+1} appear from?
The idea is that we want to sum only when n\displaystyle n is odd

Then,

(1)n+1+1n=22n+1\displaystyle \frac{(-1)^{n+1} + 1}{n} = \frac{2}{2n + 1}

We start in the first with n=1\displaystyle n = 1 while we start in the second with n=0\displaystyle n = 0.

But your book is wrong!

n=1(1)n+1+1nsinnxn=022n+1sinnx\displaystyle \sum_{n=1}\frac{(-1)^{n+1} + 1}{n}\sin nx \neq \sum_{n=0}\frac{2}{2n + 1}\sin nx

It should be:

n=1(1)n+1+1nsinnx=n=022n+1sin(2n+1)x\displaystyle \sum_{n=1}\frac{(-1)^{n+1} + 1}{n}\sin nx = \sum_{n=0}\frac{2}{2n + 1}\sin (2n + 1)x


Do you see the difference and why?🤔
 
The idea is that we want to sum only when n\displaystyle n is odd

Then,

(1)n+1+1n=22n+1\displaystyle \frac{(-1)^{n+1} + 1}{n} = \frac{2}{2n + 1}

We start in the first with n=1\displaystyle n = 1 while we start in the second with n=0\displaystyle n = 0.

But your book is wrong!

n=1(1)n+1+1nsinnxn=022n+1sinnx\displaystyle \sum_{n=1}\frac{(-1)^{n+1} + 1}{n}\sin nx \neq \sum_{n=0}\frac{2}{2n + 1}\sin nx

It should be:

n=1(1)n+1+1nsinnx=n=022n+1sin(2n+1)x\displaystyle \sum_{n=1}\frac{(-1)^{n+1} + 1}{n}\sin nx = \sum_{n=0}\frac{2}{2n + 1}\sin (2n + 1)x


Do you see the difference and why?🤔
Can you show me how you got the 22n+1sin(2n+1)x\frac{2}{2n+1}*sin(2n+1)x?
 
Can you show me how you got the 22n+1sin(2n+1)x\frac{2}{2n+1}*sin(2n+1)x?
In your post #3 you have shown that only the odd index of summation matters, ie n=1,3,5,7....\displaystyle n = 1,3,5,7....

The trick is that if we want only even indices we change n\displaystyle n to 2n\displaystyle 2n

And

If we want only odd indices we change n\displaystyle n to 2n+1\displaystyle 2n + 1

Why?

Because 2n+1\displaystyle 2n + 1 allows us to get the odd indices again. Here are some calculations:

2(0)+1=1\displaystyle 2(0) + 1 = 1
2(1)+1=3\displaystyle 2(1) + 1 = 3
2(2)+1=5\displaystyle 2(2) + 1 = 5
2(3)+1=7\displaystyle 2(3) + 1 = 7

Aren't these the same as n=1,3,5,7....\displaystyle n = 1,3,5,7....?

The second part is that if we change one n\displaystyle n to 2n+1\displaystyle 2n + 1, we have to change all other n\displaystyle n's to 2n+1\displaystyle 2n + 1.

In the original summation, we have:

n=1(1)n+1+1nsinnx\displaystyle \sum_{n=1}\frac{(-1)^{n+1} + 1}{n}\sin nx

It means that we have two n\displaystyle n's. So we have to change them both. And we get:

n=022n+1sin(2n+1)x\displaystyle \sum_{n=0}\frac{2}{2n + 1}\sin (2n + 1)x

And because we care only for the odd n\displaystyle n, (1)n+1+1\displaystyle (-1)^{n+1} + 1 is always =2\displaystyle = 2
 
💪8-)😎


See post #6. The idea of the odd index 2n+1\displaystyle 2n + 1 was used there.
 
Top