Series to represent alternate between 1 and -1

  • Thread starter foo9008
  • Start date
  • #1
678
4

Homework Statement


we know that a2 , a4 ,a6 (even number ) = 0 , but when a1 , a3 , a5 (odd numbers) , the answer of an alternate between positive and negative .... in the second circle , the author represent it with (-1)^(n+1) , i dont think this is correct , this is because when n=3 , an = -2/ 3pi when n=3 , [ (-1) ^(3+1 ) ] = positive 1 , not negative 1 !!! can someone explain on this ?
OW5ijzU.jpg

o9H3EwT.jpg


Homework Equations




The Attempt at a Solution

 

Answers and Replies

  • #2
stevendaryl
Staff Emeritus
Science Advisor
Insights Author
8,461
2,629
I think that the author redefined [itex]n[/itex]. To make it clear, you start off assuming that

[itex]f(x) = a_0 + \sum_n a_n cos(nx)[/itex]

Then, for this particular problem, you find that for [itex]n > 0[/itex], then [itex]a_n = 0[/itex] unless [itex]n[/itex] is odd. If [itex]n[/itex] is odd, then that means that [itex]n[/itex] can be written as:

[itex]n = 2n'-1[/itex]

where [itex]n' = 1, 2, 3, ...[/itex]

So the term [itex]-\frac{2}{\pi} \frac{cos(3x)}{1}[/itex] corresponds to [itex]n=3[/itex], but it corresponds to [itex]n' = 2[/itex]. In terms of [itex]n'[/itex], the general term is

[itex]\frac{2}{\pi} \frac{cos((2n'-1)x)}{2n'-1} (-1)^{n'+1}[/itex]
 

Related Threads on Series to represent alternate between 1 and -1

Replies
8
Views
1K
Replies
17
Views
21K
Replies
4
Views
2K
Replies
6
Views
17K
  • Last Post
Replies
1
Views
745
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
2
Views
831
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
5
Views
1K
Top