Find the following fourier series in trigonometric form

The integral for an turns out to be zero when n=1, 2, 3, ... and the integral for bn turns out to be zero when n=2, 4, 6, ... In summary, the Fourier series for the given function is:$$x(t) = \left\{\begin{array}{ll}\frac{1}{4}+\sum\limits_{n=1,3,5,...}^{\infty} \frac{2}{(n\pi)^2}sin(n\pi t) & \quad 0 < t \leq 1 \\\frac{1}{4}+\sum\limits_{n=2,4,6,...}
  • #1
iRaid
559
8

Homework Statement


Find the following Fourier series in trigonometric form.
6oooi8.png


Homework Equations


$$y(t)=a_0+\sum\limits_{n=1}^{\infty} a_n cos(n\omega_{0}t)+b_n sin(n\omega_{0}t)$$

The Attempt at a Solution


The graph above is represented by the function:
$$
x(t) = \left\{
\begin{array}{ll}
-t+1 & \quad 0 < t \leq 1 \\
0 & \quad 1 < t \leq 2
\end{array}
\right.
$$

##T_0=2## and ##\omega_{0}=\pi##

To find ##a_0##:
$$a_0=\frac{1}{T_{0}}\int_{0}^{T_{0}} x(t)dt = \frac{1}{2}\int_{0}^{1} (-t+1)dt = \frac{1}{4}$$
The integral of 0 can be ignored since it equals 0.

To find ##a_n##:
$$a_n=\frac{2}{T_{0}}\int_{0}^{T_0}x(t) cos(n\omega_{0}t)dt=\frac{2}{2}\int_{0}^{1} (-t+1)cos(\pi nt)dt=\int_{0}^{1} -tcos(\pi nt)dt +cos(\pi nt)dt$$

To find ##b_n##
$$b_n=\frac{2}{T_{0}}\int_{0}^{T_{0}} x(t)sin(n\omega_{0}t)dt = \frac{2}{2}\int_{0}^{1} (-t+1)sin(\pi nt)dt=\int_{0}^{1} -tsin(\pi nt)+sin(\pi nt)dt$$

I am assuming that the ##T_0## in these equations are for the period of each function, since the function x(t)=0 is from 1 to 2, I only use 1 for ##T_0## for the function x(t)=-t+1.

Now I can find these integrals for ##a_n## and ##b_n## using integration by parts, but I'm wondering if I am going along with this correctly and what I will do once I find it (the summation really confuses me).Thank you for any help!
 
Last edited:
Physics news on Phys.org
  • #2
It looks right, go head. Find an bn, in terms of n. No need to sum, the sum must be the original function:)
 
  • #3
ehild said:
It looks right, go head. Find an bn, in terms of n. No need to sum, the sum must be the original function:)

Except at x = 0 and x = 2, where the sum will be 1/2 instead of 1 and 0, respectively.
 
  • #4
ehild said:
It looks right, go head. Find an bn, in terms of n. No need to sum, the sum must be the original function:)

The original function is continuous in negative and positive direction, sorry I should of mentioned that.
 
  • #5
iRaid said:

Homework Statement


Find the following Fourier series in trigonometric form.
6oooi8.png


Homework Equations

I am assuming that the ##T_0## in these equations are for the period of each function, since the function x(t)=0 is from 1 to 2, I only use 1 for ##T_0## for the function x(t)=-t+1.

Wrong assumption. The periodic extension of that function has period ##T=2##. Even though the integral for the coefficients is zero for half the period, you still have to use the full period in the trig functions. That is, for example, ##sin(\frac {n \pi t}{T}) = sin(\frac {n \pi t}{2})## and similarly for the cosine.
 
  • #6
iRaid said:
The original function is continuous in negative and positive direction, sorry I should of mentioned that.
The function must be periodic to have a Fourier series. So it is not continuous at x=2k (for integer k). And Ray is right, the Fourier series returns 1/2 at x=2k instead of f(2k)=0, as the original function.
 
  • #7
LCKurtz said:
Wrong assumption. The periodic extension of that function has period ##T=2##. Even though the integral for the coefficients is zero for half the period, you still have to use the full period in the trig functions. That is, for example, ##sin(\frac {n \pi t}{T}) = sin(\frac {n \pi t}{2})## and similarly for the cosine.
The OP was referring to the upper limit of the integral, which can be set to 1 because x(t) is 0 from t=1 to t=2. What he wrote confused me too. The rest of the calculations properly use ##T_0=2##.
 
  • #8
iRaid said:
The original function is continuous in negative and positive direction, sorry I should of mentioned that.

Not sure what you mean by that. If you actually want the periodic extension to represent a continuous function for all ##t## you would have to take the even extension of your function, use ##T=4##, and do a half range cosine expansion. Unless you were given instructions in the problem you haven't told us, I doubt that is what is wanted.
 
  • #9
vela said:
The OP was referring to the upper limit of the integral, which can be set to 1 because x(t) is 0 from t=1 to t=2. What he wrote confused me too. The rest of the calculations properly use ##T_0=2##.

I don't think so. I don't see ##\sin(\frac{n\pi t} 2)## in those integrands.
 
  • #10
If the period is T=2, then ##\omega=2\pi/T = \pi##, so the argument of the trig functions is ##n\pi t##.
 
  • #11
vela said:
If the period is T=2, then ##\omega=2\pi/T = \pi##, so the argument of the trig functions is ##n\pi t##.

Arghh. You're right. @iRaid: Ignore my posts, except (maybe) post #8.
 
  • #12
What I mean is that the function repeats itself forever, it doesn't just go from 0 to 2. What would I end up doing once I figure out the 2 integration by parts? The summation really confuses me and I never understand how examples of these problems get rid of sine or cosine. The examples will say something like "clearly this equals 0 so the sine term can be excluded" but it is not clear to me.
 
  • #13
iRaid said:
What would I end up doing once I figure out the 2 integration by parts?
You will get an and bn, and then write up the Fourier series as
##y(t)=a_0+\sum\limits_{n=1}^{\infty} a_n cos(n\omega_{0}t)+b_n sin(n\omega_{0}t)##
Perhaps, you find a formula to write up the general terms.
iRaid said:
The summation really confuses me and I never understand how examples of these problems get rid of sine or cosine. The examples will say something like "clearly this equals 0 so the sine term can be excluded" but it is not clear to me.

Some of the integrals turn out to be zero if you substitute the boundaries. If you get sin(nπt), for example, it is zero both at t=0 and t=1..Just do the integrals you obtained in the OP and you will see.
 

1. What is a Fourier series?

A Fourier series is a mathematical representation of a periodic function as a sum of sinusoidal functions. It is used to analyze and approximate a wide range of functions in various fields such as physics, engineering, and signal processing.

2. What is the trigonometric form of a Fourier series?

The trigonometric form of a Fourier series expresses the function in terms of sine and cosine functions with varying amplitudes and frequencies. It is written as a sum of these trigonometric functions, with coefficients known as Fourier coefficients.

3. How do you find the Fourier series in trigonometric form?

To find the Fourier series in trigonometric form, you need to first determine the period of the function and express it as a sum of sine and cosine functions with unknown coefficients. These coefficients can be found by solving a system of equations using the orthogonality property of these trigonometric functions.

4. What is the significance of finding the Fourier series in trigonometric form?

Finding the Fourier series in trigonometric form allows us to analyze and approximate a periodic function in terms of simpler sinusoidal functions. This can help in understanding the behavior of the function and can also be used to solve differential equations involving periodic functions.

5. Are there other forms of a Fourier series?

Yes, besides the trigonometric form, there are also exponential and complex forms of a Fourier series. These forms are often more convenient in certain applications and can be converted to the trigonometric form using Euler's formula.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
217
  • Calculus and Beyond Homework Help
Replies
16
Views
565
  • Calculus and Beyond Homework Help
Replies
1
Views
537
  • Calculus and Beyond Homework Help
Replies
3
Views
418
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
346
  • Calculus and Beyond Homework Help
Replies
6
Views
391
  • Calculus and Beyond Homework Help
Replies
3
Views
287
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
Back
Top