# Deriving even odd function expressions

What is the logic/thinking process behind deriving an expression for even and odd functions in terms of $f(x)$ and $f(-x)$?

I've been pondering about it for a few hours now, and I'm still not sure how one proceeds from the properties of even and odd functions to derive:
\begin{align*} E(x) &= \frac{f(x) + f(-x)}{2}\\ O(x) &= \frac{f(x) - f(-x)}{2} \end{align*} What is the logic and thought process from using the respective even and odd properties, \begin{align*} f(-x) &= f(x)\\ f(-x) &= -f(x) \end{align*}

to derive $E(x)$ and $O(x)$?

The best I get to is:
For even: $f(x)-f(-x)=0$ and for odd: $f(x)+f(-x)=0$

Given the definition of $E(x)$ and $O(x)$, it makes a lot of sense (hindsight usually is) but starting from just the properties. Wow, I feel I'm missing something crucial.

• The first thing to realise is that $E(x)$ and $O(x)$ aren't the only odd/even functions in existence; thye are related to $f$. Indeed the relation sought between these is that $f(x)=E(x)+O(x)$ for all $x$. With this requirement plus the fact that $E$ and $O$ are even resp. odd (and not $f$, as it seems in your question), you can derive their expressions. Mar 18, 2012 at 18:02
• do you mean to ask why, if $E(x)$ is an even function, then there exists a function $f(x)$ such that $E(x) = (f(x)+f(-x))/2$ ? Mar 18, 2012 at 18:04
• what is $E(x)$? Mar 18, 2012 at 18:08
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 17, "wp-katex-eq": 0, "align": 5, "equation": 0, "x-ck12": 0, "texerror": 0}