Why is the Function A/π |x| in the Fourier Series of a Sawtooth Wave?

Click For Summary
SUMMARY

The function A/π |x| is derived from the Fourier series representation of a sawtooth wave, specifically on the interval [0, π]. The coefficients a0 and an include the term 2A/π² due to the normalization of the integral over the symmetric interval [-π, π]. This normalization is essential for ensuring the Fourier series accurately represents the periodic function. The integration is performed from 0 to π because the function is even, allowing the doubling of the integral to account for the negative half of the wave.

PREREQUISITES
  • Understanding of Fourier series and their coefficients a0, an, and bn
  • Knowledge of even and odd functions in the context of periodicity
  • Familiarity with integral calculus, specifically integration over defined intervals
  • Basic grasp of trigonometric identities and their applications in integration
NEXT STEPS
  • Study the derivation of Fourier series coefficients a0 and an for various functions
  • Learn about the properties of even and odd functions in Fourier analysis
  • Explore normalization techniques in Fourier series and their implications
  • Investigate the application of trigonometric identities in simplifying integrals
USEFUL FOR

Students and educators in mathematics, particularly those focusing on Fourier analysis, signal processing, and wave theory. This discussion is beneficial for anyone seeking to deepen their understanding of Fourier series and their applications in periodic functions.

8614smith
Messages
49
Reaction score
0

Homework Statement


Express the function plotted in the figure below as a Fourier series.
attachment.php?attachmentid=22952&stc=1&d=1263080410.jpg



Homework Equations


The Attempt at a Solution


I have the fully worked out solution infront of me and I am ok with working out the a0, an and bn parts but what i want to know is why is the function \frac{A}{\pi}\left|x\right| ?

does the \frac{A}{\pi} part refer to the function between 0 and \pi?

If so what about the function between \piand2\pi? do i just leave that out? and why is it only integrated below between 0 and pi?

here is the solution:

f(x)=\frac{A}{\pi}\left|x\right| the function is even therefore {b_n} =0

{a_0}=\frac{2A}{\pi^2}\int^{\pi}_{0}xdx=\frac{2A}{\pi^2}\left[\frac{x^2}{2}\right]^{\pi}_{0}=A

{a_n}=\frac{2A}{\pi^2}\int^{\pi}_{0}xcos(nx)dx=\frac{2A}{n{\pi^2}}\left[xsin(nx)\right]^{\pi}_{0}-\frac{2A}{n{\pi^2}}\int^{\pi}{0}sin(nx)dx

...well you get the idea its taking me too long to type out the entire solution so i will leave it at that.

Can someone also please tell me why there is a \frac{2A}{\pi^2} term on the a0 and an terms and why this is not just \frac{A}{\pi}?

In other words where does the extra \frac{2}{\pi} come from? and how will i know when to put it in?

thanks
 

Attachments

  • 00000000.jpg
    00000000.jpg
    7.7 KB · Views: 4,137
Physics news on Phys.org
It looks like the definition of the Fourier integral they are using integrates from -pi to pi. Yes, A|x|/pi is the function on [0,pi]. Since your function is symmetric on [-pi,pi] they just integrated from 0 to pi and doubled it. That's where the 2 comes from. The A/pi comes from f(x). The other pi is in the definition of the Fourier integral. Hence 2A/pi^2.
 
Ah i see - because the A/pi is just a constant it can come out of the integral, but why is it doubled? why is it not just integrated from 0 - 2pi is there a reason for not integrating between these limits?
 
You have to "normalize" the integral. Obviously, the Fourier series for sin(nx), on the interval from [a, b], should be just "sin(2\pi nx/(b-a))" (which has period 2\pi)- in other words, the coefficient for sin(2\pi nx/(b-a)) is 1 and for all other sin(2\p kx/(b-a)) and cos(2\pi kx/(b-a), 0. It's easy to see that the product of two different sine and cosine will integrate to 0 but
\int_a^b sin^2(2\pi nx/(b-a) dx= \frac{1}{2}\int_a^b (1- cos(4\pi nx/(b-a))dx[/itex]<br /> by using the trig identity sin^2(\theta)= (1/2)(1- cos(2\theta). the integral of &quot;cos(4\pi nx/(b-a))&quot; will be 0 at both ends but<br /> \int_a^b \frac{1}{2}dx= \frac{b- a}{2}[/itex]&lt;br /&gt; &lt;br /&gt; In order to get &amp;quot;1&amp;quot; we must divide the integral by that. That&amp;#039;s where we get the &amp;quot;2&amp;quot;.
 
no, I am lost again, why does the integral have to be normalized? and i thought normalizing it was taking the integral of the function squared between + and - infinity not a and b.

And what's this about coefficients? I haven't read anything about that in my lecture notes.
 
8614smith said:
no, I am lost again, why does the integral have to be normalized? and i thought normalizing it was taking the integral of the function squared between + and - infinity not a and b.

And what's this about coefficients? I haven't read anything about that in my lecture notes.

Look up the definition of the a_n and b_n's in your problem. In a Fourier series problem you don't integrate between -infinity and +infinity. You integrate over an integral that the given function is periodic over.
 
Dick said:
Look up the definition of the a_n and b_n's in your problem. In a Fourier series problem you don't integrate between -infinity and +infinity. You integrate over an integral that the given function is periodic over.

Ok i realize that, but why does it have to be normalized? when I've done Fourier series' of other square waves I've never normalized it before and got the right answer
 
8614smith said:
Ok i realize that, but why does it have to be normalized? when I've done Fourier series' of other square waves I've never normalized it before and got the right answer

You don't have to normalize anything. That should be already built into the definition of the a_n and b_n's. What are they?
 
Dick said:
You don't have to normalize anything. That should be already built into the definition of the a_n and b_n's. What are they?

Ok i totally get that now, it was the normalization thing that threw me for a second, Doubling the integral only works for even functions yes?
 
  • #10
8614smith said:
Ok i totally get that now, it was the normalization thing that threw me for a second, Doubling the integral only works for even functions yes?

Sure. It works because you can say 'the negative part equals the positive part'. You can certainly say that about even functions. And probably not many others.
 
  • #11
ok great thanks
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
4
Views
2K