Understanding Half Range Sine Series: A_0 Value and Theoretical Expectations

Click For Summary

Homework Help Overview

The discussion revolves around the half range sine series and the calculation of the coefficient \( a_0 \) for a piecewise function defined on the interval \( (0, 1) \). The original poster expresses confusion regarding why their calculated value of \( a_0 \) does not equal zero, despite theoretical expectations that it should for half range sine series.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants explore the distinction between half range sine and cosine series, questioning the implications of odd and even function extensions on the calculation of \( a_0 \). The original poster seeks clarification on their calculations and the theoretical basis for \( a_0 \) being zero.

Discussion Status

The discussion is ongoing, with participants providing insights into the nature of the functions involved and the differences between their Fourier series expansions. Some guidance has been offered regarding the relationship between half range sine series and full range expansions, but no consensus has been reached on the original poster's calculations.

Contextual Notes

There is an emphasis on understanding the definitions and properties of the functions being analyzed, particularly regarding their extensions and the implications for Fourier series coefficients. The original poster's calculations are noted to be for different types of series, which may contribute to the confusion.

foo9008
Messages
676
Reaction score
4

Homework Statement


f(x) = x , 0 <x<1/2
1/2 , 1/2 < x <1
in this question , I am not convinced that a_ 0 = 0 for half range sine series , because i found that
I5muGdJ.jpg

but , thoerically , for half rang sine series , a_ 0 must be = 0 , ,am i right ? why the value of A- 0 that i got is not = 0 ? what's wrong with my working ?

Homework Equations

The Attempt at a Solution

 
Physics news on Phys.org
Your calculation of ##a_0## is for the half range cosine series. It represents the even extension of your function. The half range sine series represents the odd extension of your function. They aren't the same thing.
 
LCKurtz said:
Your calculation of ##a_0## is for the half range cosine series. It represents the even extension of your function. The half range sine series represents the odd extension of your function. They aren't the same thing.
sorry , can you explain further ? i did http://i.imgur.com/I5muGdJ.jpg
because i want to show that for half rang sine series , a_0 = 0 , however , i get the value of a_ 0 not equal to 0 ... what's wrong with my working ?
 
There is nothing wrong with your calculations. They are FS of different functions. If we call the even extension of your ##f(x)## by ##f_{even}(x)##, its equation on ##(-1,1)## is$$
f_{even}(x) = \left \{ \begin{array}{r,l}
\frac 1 2,&-1<x<-\frac 1 2\\
-x, & -\frac 1 2 < x < 0\\
x, & 0 < x < \frac 1 2 \\
\frac 1 2, &\frac 1 2 < x < 1
\end{array}\right .$$
Similarly, the odd extension ##f_{odd}(x)## is given by$$
f_{odd}(x) = \left \{ \begin{array}{r,l}
-\frac 1 2,&-1<x<-\frac 1 2\\
x, & -\frac 1 2 < x < \frac 1 2\\
\frac 1 2, &\frac 1 2 < x < 1
\end{array}\right .$$These are both defined on ##(-1,1)## and of period ##2##. If you do the full range FS of ##f_{even}## you will find out that ##b_n=0## and you get only ##a_n## nonzero terms, and ##a_0## is what you have calculated. That's what the half range cosine series is.

If you expand ##f_{odd}## as a full range FS you will find all ##a_n = 0## and only ##b_n##'s are non-zero.

The half range formulas are just shortcuts for these two series taking advantage of the even and oddness. They are two different functions. But note they both represent the same thing on ##(0,1)##.
 
  • Like
Likes   Reactions: foo9008
LCKurtz said:
There is nothing wrong with your calculations. They are FS of different functions. If we call the even extension of your ##f(x)## by ##f_{even}(x)##, its equation on ##(-1,1)## is$$
f_{even}(x) = \left \{ \begin{array}{r,l}
\frac 1 2,&-1<x<-\frac 1 2\\
-x, & -\frac 1 2 < x < 0\\
x, & 0 < x < \frac 1 2 \\
\frac 1 2, &\frac 1 2 < x < 1
\end{array}\right .$$
Similarly, the odd extension ##f_{odd}(x)## is given by$$
f_{odd}(x) = \left \{ \begin{array}{r,l}
-\frac 1 2,&-1<x<-\frac 1 2\\
x, & -\frac 1 2 < x < \frac 1 2\\
\frac 1 2, &\frac 1 2 < x < 1
\end{array}\right .$$These are both defined on ##(-1,1)## and of period ##2##. If you do the full range FS of ##f_{even}## you will find out that ##b_n=0## and you get only ##a_n## nonzero terms, and ##a_0## is what you have calculated. That's what the half range cosine series is.

If you expand ##f_{odd}## as a full range FS you will find all ##a_n = 0## and only ##b_n##'s are non-zero.

The half range formulas are just shortcuts for these two series taking advantage of the even and oddness. They are two different functions. But note they both represent the same thing on ##(0,1)##.
do you mean to get a_ 0 = 0 , we have to do the full range sine series ... so , we just need to follow the book stated that for half range sine series , a_ 0 = 0 ?
we wouldn't get a_ 0 = 0 if we do half range sine series only ?
 
foo9008 said:
do you mean to get a_ 0 = 0 , we have to do the full range sine series ... so , we just need to follow the book stated that for half range sine series , a_ 0 = 0 ?

You just need to understand that when you do a half range sine expansion of ##f(x)##, you are really doing the full range expansion of ##f_{odd}(x)##. But ##f_{odd}(x)## is an odd function, so its FS will have only nonzero ##b_n## and you don't have to calculate the ##a_n##. The advantage of using the half range formula for ##b_n## is that the integral only involves ##f(x)## so you don't have to figure out the full formula for ##f_{odd}(x)##.
 
  • Like
Likes   Reactions: foo9008

Similar threads

Replies
12
Views
7K
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
7
Views
2K
  • · Replies 47 ·
2
Replies
47
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K