Even and odd Functions question

  • Thread starter Thread starter Tido611
  • Start date Start date
  • Tags Tags
    even Functions
AI Thread Summary
Every function can be expressed as the sum of an even function and an odd function, which is demonstrated by the equations h(x) = (f(x) + f(-x))/2 and k(x) = (f(x) - f(-x))/2. The function h(x) is always even because it satisfies the condition h(-x) = h(x), while k(x) is odd since k(-x) = -k(x). The discussion emphasizes the importance of recognizing these properties to understand the decomposition of functions. The participants clarify the origin of the 1/2 factor in the equations and confirm the definitions of even and odd functions. This foundational concept aids in analyzing various functions, including exponential functions and their even and odd components.
Tido611
Messages
79
Reaction score
0
My prof said "every function is the sum of an even and an odd function, explain."

ive spent about 2 hours off and on thinking about this and i haven't come up with anything really.

is it because f(g(x)) is an even function if either f(x) or g(x) is even, and you can just split every function into simpler functions , one being even and the other odd? or is that just proving that every function is a product of an even and an odd?
 
Last edited:
Mathematics news on Phys.org
Suppose you write f(x) as
f(x) = \frac{f(x)+f(-x)}{2} + \frac{f(x)-f(-x)}{2}
Can you say anything about the evenness or oddness of (f(x)+f(-x)) and (f(x)-f(-x))?
 
is (f(x) + f(-x)) an even function because even function, f(x)= f(-x) and
is (f(x) - f(-x)) an odd function because even functions, f(x) = -f(x)?


im not really sure
 
Last edited:
First, do you agree that I can write
f(x) = \frac{f(x)+f(-x)}{2} + \frac{f(x)-f(-x)}{2}
for any f(x)?

Second, do you know the definition of even and odd functions?
For an even function g(x): g(x) = g(-x)
For an odd function g(x): g(-x) = -g(x)

Now let h(x) = f(x)+f(-x)
and let k(x) = f(x) - f(-x)

Check to see if h or k are even or odd.
 
umm i agree with your second point but I am still not understanding the first one.
 
Ok, the point I'm trying to make is that for any f(x), I can always write

f(x) = \frac{f(x)+f(-x)}{2} + \frac{f(x)-f(-x)}{2}

Now I'm going to define

h(x) = \frac{f(x)+f(-x)}{2} \;,\;\; k(x) = \frac{f(x)-f(-x)}{2}

By our definitions of h and k, it is clearly true that
f(x) = h(x) + k(x)
So if you can show that h(x) is always even and k(x) is always odd, then you are done. To do this, apply the definition of even and odd functions.
i.e.
h(x) = 1/2(f(x) + f(-x))
h(-x) = 1/2(f(-x) + f(--x)) = 1/2(f(-x)+f(x)) = ?

Then do the same for k(x). If you find that h(x)=h(-x) or h(x)=-h(-x), then you can say h is even or odd.
 
Very Nice, now every thing makes sense thank you soo much but the only thing I am still wondering is where did the the 1/2 come from?

h(x) is the even function and k(x) is the odd function right?


but that doesn't really show that all functions are a sum of...
 
Last edited:
A lot of times it helps to rewrite things by cleverly adding 0 or multiplying by 1.
Consider
f(x) = \frac{2}{2}f(x) = \frac{1}{2}(f(x)+f(x)) = \frac{f(x)}{2}+\frac{f(x)}{2} = \frac{f(x)}{2}+\frac{f(x)}{2} + 0 = \frac{f(x)}{2}+\frac{f(x)}{2} + \left( f(-x) - f(-x) \right) =

\frac{f(x)}{2}+\frac{f(x)}{2} + \frac{1}{2}\left( f(-x) - f(-x) \right) =

\frac{f(x)}{2}+\frac{f(x)}{2} + \frac{f(-x)}{2}-\frac{f(-x)}{2} = \left(\frac{f(x)}{2}+\frac{f(-x)}{2} \right) + \left(\frac{f(x)}{2} -\frac{f(-x)}{2} \right)
 
HaHa(giddy laugh)

LeBrad you are a King, thank you very much for you help.
 
  • #10
By the way, sine and cosine are already odd and even functions (respectively) but ex is not. It's even and odd "parts"
are
\frac{e^x+ e^{-x}}{2}= cosh(x)
and
\frac{e^x- e^{-x}}{2}= sinh(x)
 
Back
Top