MHB How do I separate a function into its even and odd parts?

  • Thread starter Thread starter Dustinsfl
  • Start date Start date
  • Tags Tags
    even Function
AI Thread Summary
The discussion revolves around separating a function into its even and odd parts using the example of the function g(θ). The even part, g_e, is calculated as the average of g(θ) and g(-θ), resulting in a constant value of π/2. The odd part, g_o, is derived from the difference between g(θ) and g(-θ), leading to a piecewise function dependent on the interval of θ. It is clarified that this process does not change the function into even or odd forms but rather identifies and separates these components. The fundamental formulas for even and odd functions are reiterated for general application.
Dustinsfl
Messages
2,217
Reaction score
5
There was a question but I figured it out.
$$
g(\theta) = \begin{cases}
\theta, & 0\leq\theta\leq\pi\\
\theta+\pi, & -\pi\leq\theta < 0
\end{cases}
$$
So $g_e=\frac{g(\theta)+g(-\theta)}{2}$ and $g_o=\frac{g(\theta)-g(-\theta)}{2}$
\begin{alignat}{3}
g_e & = & \frac{\begin{cases}
\theta, & 0\leq\theta\leq\pi\\
\theta+\pi, & -\pi\leq\theta < 0
\end{cases}+\begin{cases}
-\theta, & 0\leq -\theta\leq\pi\\
-\theta+\pi, & -\pi\leq -\theta < 0
\end{cases}}{2}\\
& = & \frac{\begin{cases}
\theta, & 0\leq\theta\leq\pi\\
\theta+\pi, & -\pi\leq\theta < 0
\end{cases}+\begin{cases}
-\theta, & 0\geq \theta\geq -\pi\\
-\theta+\pi, & \pi\geq \theta > 0
\end{cases}}{2}\\
& = & \frac{\pi}{2}
\end{alignat}
For $g_o$, we have
\begin{alignat*}{3}
g_o & = & \frac{\begin{cases}
\theta, & 0\leq\theta\leq\pi\\
\theta + \pi, & -\pi\leq\theta < 0
\end{cases} -
\begin{cases}
-\theta, & 0\leq -\theta\leq\pi\\
-\theta + \pi, & -\pi\leq -\theta < 0
\end{cases}}{2}\\
& = & \frac{\begin{cases}
\theta, & 0\leq\theta\leq\pi\\
\theta + \pi, & -\pi\leq\theta < 0
\end{cases} +
\begin{cases}
\theta, & 0\geq \theta\geq -\pi\\
\theta - \pi, & \pi\geq \theta > 0
\end{cases}}{2}\\
& = & \theta +
\begin{cases} -\frac{\pi}{2}, & 0\leq\theta\leq\pi\\
\frac{\pi}{2}, & -\pi\leq\theta < 0
\end{cases}
\end{alignat*}
 
Mathematics news on Phys.org
It should be emphasized that you are NOT "making" the function "even" or "odd", you are separating it into its "even" and "odd' parts.

For any function, f(x), f_e(x)=\frac{f(x)+ f(-x)}{2} is an even function, f_o(x)= \frac{f(x)- f(-x)}{2} is an odd function, and f(x)= f_e(x)+ f_o(x)
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...

Similar threads

Back
Top