Can You Help Solve This Fourier Series Problem?

Click For Summary

Discussion Overview

The discussion revolves around solving a Fourier series problem involving the expression \(\sum_{n=1}^{\infty}(-1)^{n+1}\frac{\cos{nx}}{n^2}\) and its equivalence to \(\frac{\pi^2-3x^2}{12}\) for \(x \in [-\pi,\pi]\). Participants explore various approaches to derive this result, including using sine and cosine functions versus exponential forms.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant suggests redoing the Fourier series in terms of sine and cosine rather than exponentials, noting that the coefficients of sine are zero due to the even nature of the function.
  • Another participant indicates that finding the Fourier series of \(f(x) = x^2\) might be a straightforward approach to the problem.
  • Some participants express that using the exponential form is more general and elegant, while others argue that the sine and cosine approach may be simpler for practical applications.
  • A participant mentions that calculating the exponential version seems harder than using sine and cosine, suggesting that applied courses often teach the latter for this reason.
  • There is a discussion about the equivalence of the two approaches, with one participant asserting that the exponential approach is more general because it applies to complex-valued functions.
  • Another participant challenges this view, stating that the assertion is incorrect, leading to a brief exchange of clarification.
  • One participant proposes a method involving term-by-term differentiation of the series to derive the result, although they acknowledge the potential complications of this approach.

Areas of Agreement / Disagreement

Participants express differing opinions on the preferred method for solving the problem, with no consensus on whether the exponential or sine/cosine approach is superior. There is also disagreement regarding the generality of the exponential method compared to the sine and cosine method.

Contextual Notes

Some participants note the complexity of the problem and the potential for complications in deriving the result through various methods. The discussion reflects a range of assumptions and approaches without resolving the underlying mathematical challenges.

Who May Find This Useful

This discussion may be useful for students and practitioners interested in Fourier series, particularly those exploring different methods of representation and their implications in solving related problems.

broegger
Messages
257
Reaction score
0
Can anyone help me with this?

Show that

[tex]\sum_{n=1}^{\infty}(-1)^{n+1}\frac{\cos{nx}}{n^2} = \frac{\pi^2-3x^2}{12} \quad , \quad x \in [-\pi,\pi].[/tex]

I have tried writing the right-side expression as a Fourier series, but it leads nowhere. What should I do?
 
Physics news on Phys.org
I'd redo the Fourier series attempt in terms of sin's and cos's rather than exp{inx}.

writing f for the function on the right hanf side, obviously the coeffs of sin are zero since it is an even function, so you just need to do the integral of f(x)cos(nx) which looks not difficult, though I admit I've not tried to do it.

strictly speaking that doesn't prove equality, but it proves it well enough for most uses.
 
find Fourier series of f(x)=x^2

-- AI
 
matt grime>> We're supposed to do it in terms of exp{inx} and I'm stuck :(
 
I've found out... As TenaliRaman suggested it was easiest just to find the Fourier series of f(x)=x^2 and then use Eulers formula cos(nx) = 1/2(e^(inx)+e^(-inx)... thanks!
 
broegger said:
matt grime>> We're supposed to do it in terms of exp{inx} and I'm stuck :(


But doing it in terms of sins and cosines is the same as doing it in terms of exponentials.

Fourier series aren't immutable, if you've got some constraint then tell us. Also if you must use Fourier series involving exp, then why did you post a question asking for other ways of doing it?
 
I'm new to the subject and I was unsure how to solve these kind of problems.. I'm aware that the two approaches involving {sin,cos} or {exp} are equivalent, only I think that the exp-approach is the nicest and most general and it is always possible to find a {sin,cos}-series from an {exp}-series using Eulers formula
 
But, as you've found out, calculating the exp version seems harder than the sin and cosine (no nasty complex integration to do). Perhaps that is why applied courses tend to teach cos and sine, and pure courses do it in terms of exponentials, the preferred way of thinking about these in terms of functional analytic ways.

Remember that it's possible to go from sin and cos to exp just as easily as going the other way round. They are exactly the same, one is not more general than the other at all.
 
well, I think it's fair to say that the exp-way is more general since it applies to complex-valued functions as well as real-valued functions.. is that incorrect?
 
  • #10
broegger said:
Can anyone help me with this?

Show that

[tex]\sum_{n=1}^{\infty}(-1)^{n+1}\frac{\cos{nx}}{n^2} = \frac{\pi^2-3x^2}{12} \quad , \quad x \in [-\pi,\pi].[/tex]

I have tried writing the right-side expression as a Fourier series, but it leads nowhere. What should I do?

It's interesting to note here that from [tex]\sum_{n=1}^{\infty}(-1)^{n+1}\frac{\cos{nx}}{n^2} = \frac{\pi^2-3x^2}{12} \quad , \quad x \in [-\pi,\pi].[/tex] by putting x= π we obtain the sum of the much more encountered in practice infinite series:

S=∑from k=1 to ∞ 1/k2 = π2/6


As regarding the initial series another solution I see,in principle,is to derive the series term by term two times and then write conveniently the sum in (-1)k+1cos(kx) obtained.After finding also the sum of cosinuses which appear,that is obtaining a closed form in 'x' and 'n' for n=even and n=odd all that remains is to integrate two times the result(s) and take the limit for n -> ∞ for the two cases (n=odd and n=even).The limit should be the same.As I said this only in principle,from what I see at first sight we run here in a lot of complications,but apart from being tenuous this method should work.[Anyway] it is worth mentioning it;it could prove very helpful in other cases.
 
Last edited:
  • #11
broegger said:
well, I think it's fair to say that the exp-way is more general since it applies to complex-valued functions as well as real-valued functions.. is that incorrect?


yes, that is incorrect.
 
  • #12
ok, thanks for enligthening me
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 33 ·
2
Replies
33
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K