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

In summary, the conversation discussed a function, g(\theta), that has two different definitions depending on the value of theta. It was then shown that the even and odd parts of this function can be expressed as g_e=\frac{\pi}{2} and g_o = \theta + \begin{cases} -\frac{\pi}{2}, & 0\leq\theta\leq\pi\\ \frac{\pi}{2}, & -\pi\leq\theta < 0 \end{cases} respectively. It was also emphasized that separating a function into its even and odd parts does not change the original function, and the relationship between the original function and its even and odd parts is that f
  • #1
Dustinsfl
2,281
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
  • #2
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), [tex]f_e(x)=\frac{f(x)+ f(-x)}{2}[/tex] is an even function, [tex]f_o(x)= \frac{f(x)- f(-x)}{2}[/tex] is an odd function, and [tex]f(x)= f_e(x)+ f_o(x)[/tex]
 

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

1. What is a function?

A function is a mathematical rule that takes an input and produces an output. In other words, it is a relationship between two sets of numbers.

2. How do you make a function even?

To make a function even, you need to ensure that the input and output values are the same when the input is positive and negative. This can be achieved by using only even powers of the input variable in the function.

3. How do you make a function odd?

To make a function odd, you need to ensure that the input and output values are opposite when the input is positive and negative. This can be achieved by using only odd powers of the input variable in the function.

4. Why is it important to know how to make a function even and odd?

Knowing how to make a function even and odd is important because it helps in understanding the behavior of functions and their graphs. It also allows for simplification of complex functions and makes it easier to solve equations involving them.

5. Can all functions be made even or odd?

No, not all functions can be made even or odd. Some functions, such as constant functions, cannot be made even or odd because they do not have any variable terms. Additionally, some functions may have both even and odd terms, making it impossible to make the entire function even or odd.

Similar threads

Replies
2
Views
1K
Replies
13
Views
4K
Replies
3
Views
994
Replies
3
Views
453
  • Calculus and Beyond Homework Help
Replies
9
Views
375
Replies
2
Views
1K
Replies
3
Views
1K
Replies
1
Views
11K
  • Introductory Physics Homework Help
Replies
2
Views
707
  • Calculus
Replies
24
Views
1K
Back
Top