Find the Fourier series for the function f(x) = sin(4x)

In summary, the function f(x) = sin(4x) has a Fourier series where all coefficients are zero except for one, which is 1/2i. This problem serves as a simple example of recognizing a trivial solution without having to do any calculations. It also highlights the use of exponentials in writing Fourier series and the potential for confusion when using different notations.
  • #1
broegger
257
0
I have to find the Fourier series for the function f(x) = sin(4x), but no matter what I find _all_ the Fourier coefficients to be zero; i.e. [tex] (2\pi)^{-1}\int_{-\pi}^{\pi}sin(4x)e^{-inx}dx = 0 [/tex] for all n.

I can't see the point in finding the Fourier series for sin(4x) anyway, since the function is simple harmonical - but shouldn't some of the coefficients be non-zero?

I'm new to the subject, so please excuse me if the answer is obvious...
 
Last edited:
Physics news on Phys.org
  • #2
The integral of sin(4x)sin(4x) is an integral of a positive not identically zero conintuous function over some interval possibly [0,2pi], so it can' t be zero. it is a silly question, but it has shown you that there's something you're doing wrong, so it's served some purpose, surely?
 
  • #3
Yes, ONE of the coefficients is not 0!


The point of this problem is that you should be able to recognize that it is trivial and simply write down the answer without doing any calculations!
 
  • #4
HallsofIvy, did you look at the latex source for that tag? seems like they're doing Fourier series the pure way not the applied way, in that they're using exp{inx} rather than sins and cosines individually, so the question isn't totally vacuous.
 
  • #5
I don't know why my latex isn't being generated.

We're using the system {exp(inx)} - which coefficient is the non-zero one?
 
  • #6
Thanks, Matt, I didn't look at that before.

broegger, there seems to a general problem with the latex lately.

What I meant was, assuming you were writing the Fourier series as a sum of sin(nx), cos(nx) (Matt, YOU were the one who mislead me, by talking about integrating sin(4x)sin(4x)!). In that case, sin(4x) IS the Fourier series.

Okay, since you are writing the Fourier series as a sum of einx, there will be two non-zero coefficients. Do you know how to write sine as exponentials?
 
  • #7
I missed it the first time too, and only checked cos i was wondering exactly over what interval we were working. Sorry for sending you off on the slightly wrong tangent, HallsofIvy.
 
Last edited:
  • #8
HallsofIvy said:
Do you know how to write sine as exponentials?

Oh, of course.. sin(nx) = 1/(2i)[exp(inx)-exp(-inx)].. It turns out that the Fourier series is just sin(4x) itself.. thanks for your help!

I have a lot of exercises so I'll probably be back with more questions in this thread ;)
 
  • #9
In this case, expanding using exponentials the Fourier series is:

(1/2i)*(exp{4inx} - exp{-4inx})
 

FAQ: Find the Fourier series for the function f(x) = sin(4x)

What is a Fourier series?

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

How do you find the Fourier series for a function?

To find the Fourier series for a function, you first need to determine its period. Then, you use the Fourier series formula, which involves finding the coefficients for each sinusoidal term by integrating the function over one period.

What is the period of f(x) = sin(4x)?

The period of f(x) = sin(4x) is 2π/4, or π/2. This is because the coefficient of x, which determines the frequency of the function, is 4. The period is given by 2π divided by the coefficient of x.

What is the formula for the Fourier series of f(x) = sin(4x)?

The Fourier series formula for f(x) = sin(4x) is:
∑(n=1 to ∞) [an sin(nx) + bn cos(nx)]
where an = 0 for all n, and bn = 2/π for n = 4, and bn = 0 for all other n.

What is the significance of the Fourier series for f(x) = sin(4x)?

The Fourier series for f(x) = sin(4x) allows us to represent the function as an infinite sum of simpler sinusoidal functions. This makes it easier to analyze and manipulate the function, and is useful in various applications such as signal processing and solving differential equations.

Similar threads

Replies
11
Views
1K
Replies
8
Views
4K
Replies
2
Views
1K
Replies
9
Views
3K
Replies
3
Views
1K
Replies
1
Views
2K
Replies
1
Views
1K
Replies
8
Views
9K
Replies
9
Views
2K
Back
Top