Fourier series: relation of coefficients

  • Thread starter divB
  • Start date
  • #1
87
0

Main Question or Discussion Point

Hi,

The fourier series can (among others) expressed in terms of sines and cosines with coefficients [itex]a_n[/itex] and [itex]b_n[/itex] and solely by sines using amplitudes [itex]A_n[/itex] and phase [itex]\phi_n[/itex].

I want to express the latter using [itex]a_n[/itex] and [itex]b_n[/itex]. Using

[tex]
a_n = A_n \sin(\phi_n) \\
b_n = A_n \cos(\phi_n)
[/tex]

I quickly found [itex]A_n[/itex] by expressing the arccos and arcsin. For [itex]\phi_n[/itex] I would get

[tex]\phi_n = \arccos \frac{a_n}{\sqrt{a_n^2 + b_n^2}}[/tex]

However, according to the German Wikipedia (http://de.wikipedia.org/wiki/Fourier-Reihe) this seems not so trivial. One option there is (for n \neq 0):

[tex]\phi_n = 2 \arctan \frac{b_n}{A_n + a_n}[/tex]

or using arctan and signum function. What I am missing or is my approach also correct?

Thanks,
divB
 

Answers and Replies

  • #2
Simon Bridge
Science Advisor
Homework Helper
17,847
1,644
You are starting with the two styles of the fourier transforms:
$$\sum_n a_n\cos nx + b_n\sin nx = \sum_m A_m\sin(mx+\phi_m)$$
... and you want to relate ##\{a_n,b_n\}## to ##\{A_m,\phi_m\}## ... is that correct?
 
  • #3
87
0
yes, exactly. And I relate them with [itex]\sin(a+b) = \sin(a)\cos(b) + \cos(a)\sin(b)[/itex] to get:

[tex]
A_0 = a_0/2\\
a_0 = 2A_0
[/tex]

[tex]
a_n = A_n \sin\phi_n \\
b_n = A_n \cos\phi_n
[/tex]

For represeting [itex]A_n[/itex] I get using both equations above:

[tex]
A_n = a_n/\sin\phi_n \\
cos\phi_n = b_n/A_n \\
\phi_n = \arccos b_n/A_n = \arcsin \sqrt{1-b_n^2/A_n^2} \\
A_n = \frac{a_n}{\sqrt{1-\frac{b_n^2}{A_n^2}}} \\
\dots \\
A_n = \sqrt{a_n^2 + b_n^2}
[/tex]

I think this is correct, right?
In the same spirit, I can derive

[tex]
\phi_n = \arccos\frac{b_n}{A_n} = \arccos\frac{b_n}{\sqrt{a_n^2 + b_n^2}}
[/tex]

... but according to the German Wikipedia this is wrong. Why?
 
  • #4
Simon Bridge
Science Advisor
Homework Helper
17,847
1,644
That works ...

To put it another way - you can expand each term in the sin-only expansion in terms of the sin-cos expansion ... i.e.

$$A_n\sin(nx+\phi_n)=\sum_m a_m\cos(mx)+b_m\sin(mx)$$

Then you apply the identity.
Since you are expanding an arbitrary sine in terms of sines and cosines, the sum should only have one term in it... (for each value of n on the RHS.)

Leads you to:

##A_n^2=a_n^2+b_n^2##

##\phi_n=\arctan(a_n/b_n)##

... sure. Nicely done.
 

Related Threads for: Fourier series: relation of coefficients

  • Last Post
Replies
10
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
3
Views
2K
Replies
9
Views
5K
  • Last Post
Replies
4
Views
2K
Replies
8
Views
2K
  • Last Post
Replies
1
Views
210
  • Last Post
Replies
6
Views
3K
Top