Understanding Fourier Series: Solving a Problem with Sinusoidal Functions

Click For Summary
SUMMARY

The discussion centers on the application of Fourier series to the function defined as $f(t)= 0$ on $[-\pi, 0]$ and $f(t)=\sin(\omega t)$ on $[0,\pi]$. The contributors confirm that the coefficients $a_0=\frac{2}{\pi}$ and $b_1=\frac{1}{2}$ are correct, while questioning the orthogonality of sine and cosine functions in this context. The consensus is that orthogonality applies for intervals symmetric about the x-axis, such as $[-\pi, \pi]$, but not necessarily for $[0, 2\pi]$. The integration of $\int_0^{\pi}\sin(Ax)\cos(Bx) \,dx$ is discussed, highlighting that it evaluates to zero for certain values of $n$.

PREREQUISITES
  • Understanding of Fourier series and their coefficients
  • Knowledge of orthogonality in trigonometric functions
  • Familiarity with integration techniques involving sine and cosine functions
  • Basic concepts of periodic functions
NEXT STEPS
  • Study the properties of Fourier series in different intervals
  • Learn about the orthogonality of trigonometric functions in detail
  • Explore integration techniques for products of sine and cosine functions
  • Review examples of Fourier series applied to piecewise functions
USEFUL FOR

Mathematicians, physics students, and engineers interested in signal processing or solving differential equations using Fourier series.

ognik
Messages
626
Reaction score
2
Hi, appreciate some help with this FS problem - $f(t)= 0$ on $[-\pi, 0]$ and $f(t)=sin\omega t$ on $[0,\pi]$

I get $a_0=\frac{2}{\pi}$ and $b_1 = \frac{1}{2}$, which agree with the book; all other $b_n = 0$ because Sin(mx)Sin(nx) orthogonal for $m \ne n$

But $a_n =\frac{1}{\pi}\int_{0}^{\pi}Sin(\omega t) Cos (n \omega t) \,d\omega t $ - so this should also be 0 because the terms are orthogonal, but the book's answer has Cos terms in even powers of n?
 
Physics news on Phys.org
Hi ognik,

I could be wrong, but I don't think the orthogonality property applies here because intuitively speaking, you have an odd function that is evaluated at half the period, not the full period.

i.e Consider $\int_0^{\pi}\sin\left({x}\right)\cos\left({nx}\right) \,dx$. For $n=1$, it indeed evaluates to 0, but not for any other $n$.

I suggest that you integrate it directly, which is of the form $\int \sin\left({Ax}\right)\cos\left({Bx}\right) \,dx$.
 
Last edited:
Thanks - so does orthogonality only apply for a period of $2\pi$? Both $[0,2\pi]$ and $[-\pi, \pi]$ ?
 
Rido12 said:
I believe that it has to be symmetric about the x-axis, so any period such that $-L<x<L$. That means that $[0,2\pi]$ won't work, but $[-\pi, \pi]$ will work.

Hmm...my book uses $[0,2\pi]$ when talking about this orthogonality?
 
ognik said:
Hmm...my book uses $[0,2\pi]$ when talking about this orthogonality?

Hmm...I was talking in generality, but it does seem like it would work for $[0, 2\pi]$ in this case, my bad.
This is because $\sin Ax\cdot\cos Bx$ can be split into two individual sine terms, each of which evaluate to 0 if you integrate from $[0, \text{period}]$. (A complete sine oscillation has an equal positive and negative area which cancel)
 
For myself, thinking about it further, it seems that a full period from any start point would also work (so $[x_0, x_0+2\pi]$ - because the same length of curve(s) would be included in the interval regardless of where in the curve we start from.
 
Yep, that's also correct, as in any phase shift of the function.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K