Is this even possible? Question about Fourier Series....

In summary: You're making it way too difficult.Surely the integrals for finding the coefficients are still going to be incredibly ugly.
  • #1
sa1988
222
23
Today I had a maths exam with a question which was worded something like:

Write ##sin(3x-x_0)## as its Fourier representation. By doing a suitable integral or otherwise, find the possible values of its Fourier coefficients. You may find the following useful:

##sin(\alpha-\beta) = sin(\alpha)cos(\beta) - cos(\alpha)sin(\beta)##.

5 marks.

I simply do not understand what was expected of me here. How is it even possible, or at least necessary, to write a basic sin function as a Fourier series? I thought the idea of the Fourier series was to write functions as a series of trig terms, so it makes no sense applying the concept to a function which is already trigonometric.

Does anyone have an alternative view on this?

Thanks.
 
Physics news on Phys.org
  • #2
sa1988 said:
Today I had a maths exam with a question which was worded something like:

Write ##sin(3x-x_0)## as its Fourier representation. By doing a suitable integral or otherwise, find the possible values of its Fourier coefficients. You may find the following useful:

##sin(\alpha-\beta) = sin(\alpha)cos(\beta) - cos(\alpha)sin(\beta)##.

5 marks.

I simply do not understand what was expected of me here. How is it even possible, or at least necessary, to write a basic sin function as a Fourier series? I thought the idea of the Fourier series was to write functions as a series of trig terms, so it makes no sense applying the concept to a function which is already trigonometric.

Does anyone have an alternative view on this?

Thanks.
The Fourier series for sin(x) is, as you recognize, very simple, since the series would consist of one term. But your problem is not as simple, with the function being ##\sin(3x - x_0)##. Using the hint, this function can be written as ##\sin(3x)\cos(x_0) - \sin(x_0)\cos(3x)##, where ##\cos(x_0)## and ##\sin(x_0)## are constants. This expanded form makes it much simpler to find the coefficients of the terms in the Fourier series.
 
  • Like
Likes sa1988
  • #3
Mark44 said:
The Fourier series for sin(x) is, as you recognize, very simple, since the series would consist of one term. But your problem is not as simple, with the function being ##\sin(3x - x_0)##. Using the hint, this function can be written as ##\sin(3x)\cos(x_0) - \sin(x_0)\cos(3x)##, where ##\cos(x_0)## and ##\sin(x_0)## are constants. This expanded form makes it much simpler to find the coefficients of the terms in the Fourier series.

Thanks for the response.

I can see that ##\cos(x_0)## and ##\sin(x_0)## are constants but I can't see how that would make it any easier to solve.

Surely the integrals for finding the coefficients are still going to be incredibly ugly.

For example, in finding the coefficient ##a_n##, where I've used the standard definition taught in my classes:

##a_n = \frac{2}{L} \! \int_{-\frac{-L}{2}}^{\frac{L}{2}} \! f(x)\cos(\frac{2n\pi x}{L}) \, \mathrm{d}x##

##a_n = \frac{2}{L} \! \int_{-\frac{-L}{2}}^{\frac{L}{2}} \! \Big(\sin(3x)\cos(x_0) - \sin(x_0)\cos(3x)\Big)\cos(\frac{2n\pi x}{L}) \, \mathrm{d}x##

where ##L = \frac{2\pi}{3}## for ##\sin(3x-x_0)##

I've punched variations of this into Mathematica and none of it seems to show anything neat or easy.
 
  • #4
You're making it way too difficult. What is a Fourier series? It's a sum of trigonometric functions times coefficients. What are coefficients? Coefficients are constants.

This type of problem is the Fourier equivalent of problems like asking what the Maclaurin series of [itex](3x - a)^3[/itex] is.

Granted, with Fourier series the answer changes if the problem states an L or period different from the period of the expression in question, but the way you stated it, that subtlety doesn't apply in this case.
 
  • #5
sa1988 said:
Thanks for the response.

I can see that ##\cos(x_0)## and ##\sin(x_0)## are constants but I can't see how that would make it any easier to solve.

Surely the integrals for finding the coefficients are still going to be incredibly ugly.

For example, in finding the coefficient ##a_n##, where I've used the standard definition taught in my classes:

##a_n = \frac{2}{L} \! \int_{-\frac{-L}{2}}^{\frac{L}{2}} \! f(x)\cos(\frac{2n\pi x}{L}) \, \mathrm{d}x##

##a_n = \frac{2}{L} \! \int_{-\frac{-L}{2}}^{\frac{L}{2}} \! \Big(\sin(3x)\cos(x_0) - \sin(x_0)\cos(3x)\Big)\cos(\frac{2n\pi x}{L}) \, \mathrm{d}x##

where ##L = \frac{2\pi}{3}## for ##\sin(3x-x_0)##
The integral above can be simplified (and should be) to
##a_n = \frac{2}{L} [ \int_{-\frac{-L}{2}}^{\frac{L}{2}} (\sin(3x) \cos(\frac{2n\pi x}{L}) dx - \sin(x_0) \int_{-\frac{-L}{2}} ^ {\frac{-L}{2}}\cos(3x) \cos(\frac{2n\pi x}{L}) \, dx]##
I think you'll find that a lot of the coefficients are zero.
sa1988 said:
I've punched variations of this into Mathematica and none of it seems to show anything neat or easy.
 
  • #6
The Fourier series (without further conditions) is expected to be a series whose summands are each a constant, or a constant times sin(nx) for some integer n ≥ 1, or a contant times cos(nx) for some integer n ≥ 1.

IMPORTANT: Note that sin(3x - x0) is not in this form!

You need to do something to either calculate the coefficients of the Fourier series of sin(3x - x0) by the usual integral formula, or find a simpler way to express sin(3x - x0) in terms of what is mentioned in the first paragraph.

Do not forget that x0 is a constant! Which means that any function of this constant is also a constant, and therefore can be easily manipulated like a constant in any calculations — if need be!
 

1. What is a Fourier Series?

A Fourier Series is a mathematical representation of a periodic function, which can be broken down into a combination of sine and cosine waves. It is a useful tool in analyzing and understanding periodic phenomena in various fields of science and engineering.

2. How is a Fourier Series calculated?

A Fourier Series is calculated by using the Fourier transform, which converts a function from the time or spatial domain into the frequency domain. This allows for the representation of the function as a sum of different frequencies and their corresponding amplitudes.

3. Can any function be represented by a Fourier Series?

Yes, any function that is periodic can be represented by a Fourier Series. However, the accuracy of the representation depends on the smoothness and continuity of the function.

4. What are the applications of Fourier Series?

Fourier Series have a wide range of applications in physics, engineering, and mathematics. They are used in signal processing, image and sound compression, solving differential equations, and analyzing periodic phenomena in various fields such as optics, acoustics, and electromagnetics.

5. Are there any limitations to using Fourier Series?

One limitation of Fourier Series is that they can only represent periodic functions. Also, the accuracy of the representation can be affected by the presence of discontinuities or sharp changes in the function. In addition, some functions may require an infinite number of terms in their Fourier Series to be accurately represented, which can be computationally challenging.

Similar threads

Replies
11
Views
857
  • Calculus and Beyond Homework Help
Replies
3
Views
280
  • Calculus
Replies
8
Views
4K
  • Calculus and Beyond Homework Help
Replies
3
Views
362
  • Calculus and Beyond Homework Help
Replies
1
Views
212
  • Calculus and Beyond Homework Help
Replies
1
Views
340
Replies
2
Views
885
  • Calculus
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
243
Back
Top