Fourier series(past exam question)

  • Thread starter Thread starter oddiseas
  • Start date Start date
  • Tags Tags
    Exam Fourier
oddiseas
Messages
66
Reaction score
0

Homework Statement



This is a past exam question that involves solving a differential equation. I am using a Fourier series. in the solution they simply state that it is obvious that this equals pi^2/4 for n=1, 0 for n is odd>1, and -4n/(n^2-1) for even n.

A{n}=2/pi∫(xsinx)sin nx dx

I always integrate by parts, which for this equation is way too long, especially for an exam. So i am wondering how can i evaluate the value of the integral without integrating? i have tried using the addition formulas, but that seems like just as much work.

Another point of confusion is knowing when a function is even or odd. isn't the function xsinx an even function since f(-X)=-xsin(-X)=-(-sinx)=xsinx and thus an odd function * an even gives an odd, and i thought that the integral would then be zero. But in the solution they specify to use a sine series to fulfill the initial conditions that u(x,t)=u(pi,t)=0.


Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org
Well i used the addition formula and i got

-0.5( cos(x(n+1) -cos(x(n-1))

Those seem very easily integrated by parts

INT( xcos(x(n+1))dx = (1/(n+1))*xsin(x(n+1) - (1/(n+1))*INT(sin(x(n+1))dxwhere INT is the integral symbol.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top