Odd & Even Extension of a Function: Explained

  • Context: MHB 
  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    even Extension
Click For Summary

Discussion Overview

The discussion revolves around the even and odd extensions of a function, particularly in the context of Fourier series and differential equations. Participants explore the definitions and properties of these extensions, using a specific example function to illustrate their points.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes the even extension of a function as defined for $x=L$ but not for $x=-L$, questioning the reasoning behind this choice.
  • Another participant agrees with the even extension but challenges the correctness of the odd extension, suggesting a correction to the graph representation of the odd function.
  • A later reply reiterates the challenge to the odd extension, emphasizing the requirement for the graph of an odd function to exhibit symmetry when rotated 180 degrees around the origin.
  • Further clarification is provided regarding the definition of the function at $x=-L$, stating that it is unnecessary due to the periodic nature of the function.

Areas of Agreement / Disagreement

Participants generally agree on the definition of the even extension, while there is disagreement regarding the representation of the odd extension. The discussion remains unresolved concerning the exact nature of the odd extension and its graphical representation.

Contextual Notes

There are unresolved aspects regarding the graphical representation of the odd extension and the implications of periodicity on function definitions at specific points.

evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

According to my notes:

For the solution of problems with differential equations it is often useful to expand to a Fourier series with period $2L$ a function $f$ that is initially only defined on the interval $[0,L]$. We could

  • define a function $g$ with period $2L$ such that $g(x)=\left\{\begin{matrix}
    f(x) & ,0 \leq x \leq L,\\
    f(-x) & ,-L<x<0
    \end{matrix}\right.$.

    So the function $g$ is the even extension of $f$.
  • We could also define a function $h$ with period $2L$ such that $h(x)=\left\{\begin{matrix}
    f(x) & ,0 < x <L,\\
    0 & , x=0,L \\
    -f(-x) & ,-L<x<0
    \end{matrix}\right.$.

    So the function $h$ is the odd extension of $f$.
I was wondering why we define the extensions so that the functions are defined for $x=L$ but not for $x=-L$.

Suppose that we have the function $f(x)=2-x, 0<x<2$.

Then we get the following even and odd extension respectively:$g(x)=\left\{\begin{matrix}
2-x & , 0 \leq x \leq 2\\
2+x &, -2 <x<0\\
\end{matrix}\right.$

and

$h(x)=\left\{\begin{matrix}
2-x &,0<x<2 \\
0 & , x=0,2\\
-2+x & ,-2<x<0
\end{matrix}\right.$

Right?The graphs of the even and odd extension of $f$ will then be the following, respectively:View attachment 6577

View attachment 6576

Am I right?
 

Attachments

  • odd.png
    odd.png
    11.4 KB · Views: 154
  • even.png
    even.png
    11.4 KB · Views: 173
Physics news on Phys.org
The even extension is correct. The odd one is not, because the line segment from $(-2,-4)$ to $(0,-2)$ should actually go from $(-2,0)$ to $(0,-2)$. (The graph of an odd function should look the same when it is rotated through $180^\circ$ around the origin.)
 
Opalg said:
The odd one is not, because the line segment from $(-2,-4)$ to $(0,-2)$ should actually go from $(-2,0)$ to $(0,-2)$. (The graph of an odd function should look the same when it is rotated through $180^\circ$ around the origin.)

Oh right... It should be as follows, right?

View attachment 6578
 

Attachments

  • oddr.png
    oddr.png
    11.3 KB · Views: 155
evinda said:
Oh right... It should be as follows, right?
Yes. (Yes)

evinda said:
I was wondering why we define the extensions so that the functions are defined for $x=L$ but not for $x=-L$.
The reason that the function is not defined at $x=-L$ is that it does not need to be. The function has period $2L$, so its value at $x=-L$ must automatically be the same as the value at $x=L$.
 
Opalg said:
The reason that the function is not defined at $x=-L$ is that it does not need to be. The function has period $2L$, so its value at $x=-L$ must automatically be the same as the value at $x=L$.
Ah I see... Thanks a lot! (Happy)
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K