How to express this Fourier coefficient without trig function?

  • #1
zenterix
698
83
Homework Statement
Consider the expression

$$b_n=\frac{4}{n\pi}\left (1-\cos{\left (n\frac{\pi}{2}\right )}\right )$$

This is the ##n##-th Fourier coefficient for sine factors for the function

$$f(t)=\begin{cases} 2\ \ \ \ \ 0<t<\pi/2 \\ 0\ \ \ \ \ \frac{\pi}{2}<t<\pi\end{cases}$$
Relevant Equations
Can we express this without the cosine?
Here is a little table I made with the values of ##b_n## for ##n=1,2,3,4,5,6##.

1709688834378.png


Is there a way to write a formula for ##b_n## not involving a trigonometric function?
 
Physics news on Phys.org
  • #2
How about complex exponentials?
 
  • #3
The coefficients for the cosine factors are

$$a_n=\frac{4}{n\pi}\sin{\left (n\frac{\pi}{2}\right )}$$

and noting that as ##n## varies the ##\sin## is ##1,0,-1,0,1,-1,0,\ldots## we can write

##a_{2k+1}=\frac{4(-1)^{k+1}}{\pi(2k+1)}## for ##k=0,1,2,\ldots##.

I'm looking for something similar.
 
  • #4
I think what I am looking for is something like

$$b_{2k}=\frac{4}{2k\pi}(1-(-1)^k)\tag{1}$$

for ##k=1,2,3,\ldots##

and

$$b_{2k+1}=\frac{4}{(2k+1)\pi}\tag{2}$$

for ##k=0,1,2,3,\ldots##.

We could further break down (1) as

$$b_{2+4k}=b_{2(2k+1)}=\frac{4\cdot 2}{2(1+2k)\pi}=\frac{4}{(2k+1)\pi}\tag{3}$$

$$b_{4k}=0$$

Oh well, given all these cases, not sure if this is useful at all at this point.
 
Last edited:
  • #5
This is all part of the first problem of this problem set.

I just looked at the solution and noticed I confused something though it is my impression that the problem set itself is the one that wasn't specific enough.

A function ##f## was defined as

$$f(t)=\begin{cases} 2\ \ \ \ \ 0<t<\pi/2 \\ 0\ \ \ \ \ \frac{\pi}{2}<t<\pi\end{cases}$$

and now I see that they explicitly said it has period ##2\pi##. I had understood that they were giving me one period's worth of function.

So the function looks like this according to the solutions

1709692916745.png


That being said, with only the definition and the information that it has (minimal) period ##2\pi##, the function could also be

1709693065172.png


right?
 
  • #6
zenterix said:
right?
No. It also says that the function is even.
 
  • #7
oh, right!
 

FAQ: How to express this Fourier coefficient without trig function?

How can I express a Fourier coefficient in terms of complex exponentials instead of trigonometric functions?

You can use Euler's formula, which states \( e^{ix} = \cos(x) + i\sin(x) \). By expressing the Fourier series in terms of complex exponentials, you convert the sine and cosine terms into exponential functions. This results in the Fourier series being represented as a sum of complex exponentials.

What is the relationship between the trigonometric Fourier series and the exponential Fourier series?

The trigonometric Fourier series expresses the function as a sum of sines and cosines, while the exponential Fourier series uses complex exponentials. They are mathematically equivalent, and you can convert between them using Euler's formulas: \( \cos(x) = \frac{e^{ix} + e^{-ix}}{2} \) and \( \sin(x) = \frac{e^{ix} - e^{-ix}}{2i} \).

How do I find the Fourier coefficients using complex exponentials?

To find the Fourier coefficients using complex exponentials, you integrate the function multiplied by \( e^{-inx} \) over one period. The formula is \( c_n = \frac{1}{T} \int_{T} f(x) e^{-inx} dx \), where \( T \) is the period of the function, and \( n \) is an integer.

Why would I want to use complex exponentials instead of trigonometric functions for Fourier coefficients?

Using complex exponentials can simplify the mathematics, especially when dealing with differential equations and signal processing. The exponential form can be more compact and easier to manipulate algebraically. Additionally, it can make the properties of the Fourier series, such as symmetry and orthogonality, more apparent.

Can I convert the Fourier coefficients back to trigonometric form after using complex exponentials?

Yes, you can convert the Fourier coefficients back to trigonometric form. The real part of the complex exponential corresponds to the cosine term, and the imaginary part corresponds to the sine term. Specifically, if \( c_n \) are the coefficients in the exponential form, the trigonometric form coefficients can be found using \( a_n = 2 \Re(c_n) \) and \( b_n = -2 \Im(c_n) \) for \( n \neq 0 \), where \( \Re \) and \( \Im \) denote the real and imaginary parts, respectively.

Similar threads

Replies
16
Views
1K
Replies
6
Views
968
Replies
1
Views
647
Replies
6
Views
929
Replies
2
Views
1K
Replies
8
Views
2K
Back
Top