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
SUMMARY

The discussion focuses on the even and odd extensions of a function for solving differential equations using Fourier series with a period of $2L$. The even extension, defined as $g(x)=\left\{\begin{matrix} f(x) & ,0 \leq x \leq L,\\ f(-x) & ,-L PREREQUISITES

  • Understanding of Fourier series and periodic functions
  • Knowledge of even and odd functions
  • Familiarity with differential equations
  • Basic graphing skills for piecewise functions
NEXT STEPS
  • Study the properties of Fourier series and their applications in solving differential equations
  • Learn about the graphical representation of even and odd functions
  • Explore the implications of periodicity in function definitions
  • Investigate the role of piecewise functions in mathematical modeling
USEFUL FOR

Mathematicians, physics students, and anyone involved in solving differential equations or studying Fourier analysis will benefit from this discussion.

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: 152
  • even.png
    even.png
    11.4 KB · Views: 168
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: 151
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 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K