Solving Fourier Integration: Find Fourier Expansion for f(t)

Paddy
Messages
24
Reaction score
0
I am studying Fourier for an exam and came across something in my notes that I can't get my head round, might be a simple integration issue. Let me explain.

Homework Statement


The tutorial question in my notes that I am studying is as following:

1. Consider the periodic function defined by f(t) = {\frac{-1 \ \ \ \ -\pi \leq t \leq 0}{1 \ \ \ \ 0 < t < \pi}
Find its Fourier expansion.


Homework Equations


a0 = 0 (because odd function)
an = 0 (because odd function)
bn = \frac{2}{\pi} \int^{\pi}_{0} f(t) \ sin \ nt \ dt[/color]

3. The Solution written on my notes:
bn = \frac{2}{\pi} \int^{\pi}_{0} 1 \ sin \ nt \ dt
bn = \frac{2}{\pi} \left[-\frac{1}{n} \ cos \ nt\right]^{\pi}_{0}


My question is, how can you get -\frac{1}{n} \ cos \ nt when integrating 1 \ sin \ nt.

Should it not have been t \ cos \ nt if integrating with respect to t (dt)?

I know it might be a simple answer but I have been studying for a while now and can't get my head round this, are my notes incorrect?

Note: I have it worked out in my notes down to the solution where f(t) = \frac{4}{\pi}(sint+\frac{1}{3}sin3t+\frac{1}{5}sin5t+\frac{1}{7}sin7t+...) I have omitted most of the working out and most of my notes as they are irrelevant to my question.
 
Physics news on Phys.org
To integrate 1*sin(nt)=sin(nt) you just substitute u=n*t, du=n*dt. You don't get t*cos(nt). That's just wrong. Try differentiating t*cos(nt) (use the product and chain rules). You don't get sin(nt).
 
Paddy said:
I am studying Fourier for an exam and came across something in my notes that I can't get my head round, might be a simple integration issue. Let me explain.

Homework Statement


The tutorial question in my notes that I am studying is as following:

1. Consider the periodic function defined by f(t) = {\frac{-1 \ \ \ \ -\pi \leq t \leq 0}{1 \ \ \ \ 0 < t < \pi}
Find its Fourier expansion.


Homework Equations


a0 = 0 (because odd function)
an = 0 (because odd function)
bn = \frac{2}{\pi} \int^{\pi}_{0} f(t) \ sin \ nt \ dt[/color]

3. The Solution written on my notes:
bn = \frac{2}{\pi} \int^{\pi}_{0} 1 \ sin \ nt \ dt
bn = \frac{2}{\pi} \left[-\frac{1}{n} \ cos \ nt\right]^{\pi}_{0}


My question is, how can you get -\frac{1}{n} \ cos \ nt when integrating 1 \ sin \ nt.

Should it not have been t \ cos \ nt if integrating with respect to t (dt)?
Surely you know better than that! The integral of sin(nt) is (-1/n)cos(nt) because the derivative of cos(nt) is - n sin(nt). I have no idea why you would want to multiply by "t"!

I know it might be a simple answer but I have been studying for a while now and can't get my head round this, are my notes incorrect?

Note: I have it worked out in my notes down to the solution where f(t) = \frac{4}{\pi}(sint+\frac{1}{3}sin3t+\frac{1}{5}sin5t+\frac{1}{7}sin7t+...) I have omitted most of the working out and most of my notes as they are irrelevant to my question.
 
Right, I understand Fourier no problem, its the stupid simple integration that is giving me headaches :(

if it was \int 1 + sin(nt) then you would get \left[t + \frac{1}{n} cos nt \right] Wouldn't you?
 
You would get t-(1/n)*cos(nt). There's a sign problem. But there's no product rule for integration. Integrating 1*sin(nt) has nothing to do with integrating 1.
 
Right, sorted cheers!
 
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...

Similar threads

Back
Top