(cos(x))^4 into a Fourier series

In summary, the Fourier series expansion allows you to approximate a function by breaking it down into its individual frequencies of Cos and Sin. This is possible because of the orthogonality of Cos and Sin functions. By finding the inner product of the function with each frequency, you can determine the coefficients for each term in the series. This allows you to better understand the behavior of the original function and make approximations for it.
  • #1
kottur
56
0

Homework Statement



Put [itex]cos^{4}(x)[/itex] into a Fourier series.

Homework Equations



[itex]cos^{4}(x)=(\frac{e^{ix}+e^{-ix}}{2})^{4}[/itex]

[itex]a_0+\sum^{\infty}_{n=1}(a_{n}cos(nx)+b_{n}sin(nx))[/itex]

The Attempt at a Solution



I don't get what I'm supposed to use as [itex]a_{0}[/itex], [itex]a_{n}[/itex] and [itex]b_{n}[/itex] so I'm stuck...
 
Physics news on Phys.org
  • #2
kottur said:

Homework Statement



Put [itex]cos^{4}(x)[/itex] into a Fourier series.

Homework Equations



[itex]cos^{4}(x)=(\frac{e^{ix}+e^{-ix}}{2})^{4}[/itex]

[itex]a_0+\sum^{\infty}_{n=1}(a_{n}cos(nx)+b_{n}sin(nx))[/itex]

The Attempt at a Solution



I don't get what I'm supposed to use as [itex]a_{0}[/itex], [itex]a_{n}[/itex] and [itex]b_{n}[/itex] so I'm stuck...

As a starting point , see what type of function it's ^ . Sketch the graph , and check whether it's even or odd. You should be aware that depending on the nature of the function , coefficients cancel out.
Odd : a - >0 - , Even - > b -> 0

I have got test on the same thing tomorrow.

EDIT: On the question , does it gave any range to which this is to be found ?
 
  • #3
The simplest way to do this is using the trig identity,
[itex]cos^2(x)= (1/2)(1+ cos(2x))[/itex].
 
  • #4
Okay well it's an even function so [itex]b_{n}=0[/itex].

And no I'm not given any interval so I'm not entirely sure how to find [itex]a_0[/itex] and [itex]a_n[/itex]. I thought I was supposed to find them with:

[itex]a_0=\frac{1}{2L}\int^{L}_{-L}f(x)dx[/itex]

[itex]a_n=\frac{1}{L}\int^{L}_{-L}f(x)cos(\frac{n\pi x}{L})dx[/itex] [itex](n\geq1)[/itex]

[itex][-L;L][/itex] being the interval of course.
 
  • #5
Okay HallsofIvy, that would be:

[itex]\frac{1}{8}(4cos(2x)+cos(4x)+3)[/itex]

But what should I do about the interval that I don't have?
 
  • #6
Ahh shouldn't I use the period of the function as the interval?
 
  • #7
?There was nothing in your question that said anything about an interval.
 
  • #8
The period is [itex]\pi[/itex] so should I use the interval [itex][0;\pi][/itex]?
 
  • #9
Yes but if I have to use these formulas:

[itex]a_0=\frac{1}{2L}\int^{L}_{-L}f(x)dx[/itex]

[itex]a_n=\frac{1}{L}\int^{L}_{-L}f(x)cos(\frac{n\pi x}{L})dx[/itex] [itex](n\geq1)[/itex]

Then I need to know what L is... And it is half of the period of the function f. So it would be [itex]\frac{\pi}{2}[/itex]? No?
 
  • #10
Why do you have to use those equations? Please write the problem exactly as it was given to you.
 
  • #11
No I don't have to use them, that's just the only Idea I've got.

The problem is exactly like this:

Expand [itex]cos^{4}(x)[/itex] into Fourier series.

Nothing else given.
 
  • #12
And you have already done that in post #5. The integral formula you give is one method of finding the Fourier series. You are not required to use it and for special special functions there may be easier methods. What do you think the Fourier series for sin(3x) is?
 
  • #13
But how is my answer in #5 a series? Shouldn't I have a sum there or something...?

I'm sorry I'm confused now. And I don't know what the series expansion for sin(3x) is, I would probably try to use the formulas for it.
 
  • #14
kottur said:
But how is my answer in #5 a series? Shouldn't I have a sum there or something...?

I'm sorry I'm confused now. And I don't know what the series expansion for sin(3x) is, I would probably try to use the formulas for it.

Do you know about the orthogonality of the trig functions?
That Sin[n x] and Sin[m x] ,m≠n are orthogonal on any interval in which sin is periodic, that is to say on [0,2π], [-π,π],[-5π,5π] etc?
You should really know this if you're using series expansion.

Do you know WHY you can use Fourier series and what you're doing when you're taking a Fourier series?
 
  • #15
I think I know what you mean about the orthogonality.

And about the Fourier series. I find the series to try to approximate a certain function. :smile:
 
  • #16
Yes, but to you know WHY it works?
 
  • #17
No, I don't think so, I only know what it's supposed to do unfortunately.
 
  • #18
No, unfortunately I only know what it is supposed to give me.

I know that it approximates a function but how exactly I don't know.
 
  • #19
Okay, I'll try and explain it

Just say I have a vector [itex] \left( \begin{array}{ccc}
a\\
b\\
c\end{array} \right)[/itex] and I want to expand it as a combination of [itex] \left( \begin{array}{ccc}
1\\
0\\
0\end{array} \right)[/itex], [itex] \left( \begin{array}{ccc}
0\\
1\\
0\end{array} \right)[/itex], [itex] \left( \begin{array}{ccc}
0\\
0\\
1\end{array} \right)[/itex]

I should be able to do this pretty easily if I make use of the fact that the vectors I want to expand with are orthogonal.

I set [itex] \left( \begin{array}{ccc}
a\\
b\\
c\end{array} \right) =
c_1 \left( \begin{array}{ccc}
1\\
0\\
0\end{array} \right)
+
c_2 \left( \begin{array}{ccc}
0\\
1\\
0\end{array} \right)
+
c_3 \left( \begin{array}{ccc}
0\\
0\\
1\end{array} \right)[/itex]

I can now take the inner product on both sides by each of my expansion vectors

[itex]
\left( \begin{array}{ccc}
1 & 0 & 0 \end{array} \right) . \left( \begin{array}{ccc}
a\\
b\\
c\end{array} \right) = \left( \begin{array}{ccc}
1 & 0 & 0 \end{array} \right) . (c_1 \left( \begin{array}{ccc}
1\\
0\\
0\end{array} \right)
+
c_2 \left( \begin{array}{ccc}
0\\
1\\
0\end{array} \right)
+
c_3 \left( \begin{array}{ccc}
0\\
0\\
1\end{array} \right) )[/itex]

Since my expansion vectors are both orthogonal and normal (of unit length, the inner product with itself is 1) there are no normalisation constants, and but calculating the prudcuts I find that [itex]c_1 = a[/itex]

Taking the inner product with the other expansion vectors I readily find that
[itex]c_2=b[/itex] and [itex]c_3=c[/itex]

Pretty simple right?

Well we're doing the exact same thing when we expand in terms of sin[n x] and cos[n x]. We're taking advantage of the fact that they are orthogonal, and using the inner product defined by [itex]f.g = \int f(x)g(x) dx[/itex] over whatever region we are working in. (You can compare this to what we did before where the functions f(x), g(x) are replaced by vectors in component form [itex]f_n[/itex] and [itex]g_n[/itex] so that the inner product is [itex] \vec{f}. \vec{g} = \sum_n f_n\ g_n[/itex])

Okay, so we have an f(x) and we want to expand it as a series of cos. We set

[itex]f(x) = \sum_n c_n Cos(n x)[/itex]

We take the inner product on both sides by Cos[m x]

[itex]\int Cos(m x) f(x) dx= \sum_n c_n \int Cos(n x) Cos(m x) dx[/itex]

Since cos(n x) and cos(m x) are orthogonal we end up with

[itex]\int cos(m x) f(x) dx= c_m \int cos(m x)^2 dx[/itex]

Or [itex]c_m = \frac{ \int Cos(m x)f(x) dx}{\int Cos(m x)^2 dx}[/itex]

It's pretty handy if the region you are working with is something like [0,2π] or [-π,π] because then the cos^2 integral will just turn into πThe Fourier series expansion is simply telling you 'how much' of each frequency of Cos (or Sin) there is in a function.

Do you understand what you're doing when you're taking a Fourier series?
 

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 approximate a given function by breaking it down into simpler components.

2. What is the formula for finding the Fourier series of (cos(x))^4?

The formula for finding the Fourier series of (cos(x))^4 is:
(a0/2) + (an*cos(nx)) + (bn*sin(nx))
where a0 is the average value of the function, an and bn are the Fourier coefficients, and n is the frequency of the sinusoidal function.

3. How do you determine the Fourier coefficients for (cos(x))^4?

The Fourier coefficients for (cos(x))^4 can be determined using the formula:
an = (2/pi) * ∫(cos(x))^4 * cos(nx) dx
bn = (2/pi) * ∫(cos(x))^4 * sin(nx) dx
These integrals can be evaluated using integration by parts or other techniques.

4. Can (cos(x))^4 be represented as a finite Fourier series?

Yes, (cos(x))^4 can be represented as a finite Fourier series by truncating the series after a certain number of terms. However, the accuracy of the approximation will decrease as the number of terms decreases.

5. What are the applications of representing (cos(x))^4 as a Fourier series?

One application of representing (cos(x))^4 as a Fourier series is in signal processing, where it is used to analyze and manipulate signals. It is also used in solving differential equations and in various areas of physics and engineering.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
195
  • Calculus and Beyond Homework Help
Replies
3
Views
353
  • Calculus and Beyond Homework Help
Replies
6
Views
367
  • Calculus and Beyond Homework Help
Replies
1
Views
330
  • Calculus and Beyond Homework Help
Replies
3
Views
265
  • Calculus and Beyond Homework Help
Replies
2
Views
171
  • Calculus and Beyond Homework Help
Replies
3
Views
403
  • Calculus and Beyond Homework Help
Replies
16
Views
552
  • Calculus and Beyond Homework Help
Replies
2
Views
703
  • Calculus and Beyond Homework Help
Replies
1
Views
525
Back
Top