Odd & Even Extension of a Function: Explained

In summary, the function $f$ can be expanded in a series with period $2L$ to get the even and odd extensions of $f$, respectively.
  • #1
evinda
Gold Member
MHB
3,836
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: 94
  • even.png
    even.png
    11.4 KB · Views: 97
Physics news on Phys.org
  • #2
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.)
 
  • #3
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: 89
  • #4
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$.
 
  • #5
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)
 

FAQ: Odd & Even Extension of a Function: Explained

What is the purpose of odd and even extension of a function?

The purpose of odd and even extension of a function is to extend the domain of a function to include both positive and negative values. This allows for a more complete and accurate understanding of the behavior of the function.

How is an odd function extended?

An odd function is extended by reflecting the function across the origin. This means that the output for a negative input will be the same as the output for the positive input of equal magnitude but opposite sign.

How is an even function extended?

An even function is extended by reflecting the function across the y-axis. This means that the output for a negative input will be the same as the output for the positive input of equal magnitude.

What are the characteristics of an odd function?

An odd function has the following characteristics:
- It is symmetric about the origin
- The y-intercept is always 0
- The degree of the function is always odd
- The product of two odd functions is an even function

How does odd and even extension help in graphing a function?

Odd and even extension helps in graphing a function by providing a more complete picture of the function's behavior. By extending the domain to include negative values, we can identify any potential symmetry in the function and accurately plot the graph. It also helps in identifying the behavior of the function at the origin, which can be useful when finding the roots or intercepts of the function.

Back
Top