what makes a function even or odd
A function is even if its values mirror perfectly left and right of the y-axis, and odd if its values mirror with a sign flip around the origin.
Core idea
- Even: f(βx)=f(x)f(-x)=f(x)f(βx)=f(x) for every xxx in the domain.
- Odd: f(βx)=βf(x)f(-x)=-f(x)f(βx)=βf(x) for every xxx in the domain.
- If neither equation holds for all xxx, the function is neither even nor odd.
Visual picture
- Even function graphs are symmetric across the y-axis: folding the graph along the y-axis makes the two sides overlap.
* Example: f(x)=x2f(x)=x^2f(x)=x2 or f(x)=cosβ‘(x)f(x)=\cos(x)f(x)=cos(x).
- Odd function graphs are symmetric about the origin: rotate the graph 180β180^\circ 180β around the origin and it overlaps itself.
* Example: f(x)=x3f(x)=x^3f(x)=x3 or f(x)=sinβ‘(x)f(x)=\sin(x)f(x)=sin(x).
Quick test procedure
- Start with your function f(x)f(x)f(x).
- Compute f(βx)f(-x)f(βx) by plugging βx-xβx in place of xxx.
- Compare:
- If the result simplifies to exactly f(x)f(x)f(x), the function is even.
* If the result simplifies to βf(x)-f(x)βf(x), the function is **odd**.
* Otherwise, it is **neither**.
Simple examples
- f(x)=x2f(x)=x^2f(x)=x2:
- f(βx)=(βx)2=x2=f(x)f(-x)=(-x)^2=x^2=f(x)f(βx)=(βx)2=x2=f(x) β even.
- g(x)=x3g(x)=x^3g(x)=x3:
- g(βx)=(βx)3=βx3=βg(x)g(-x)=(-x)^3=-x^3=-g(x)g(βx)=(βx)3=βx3=βg(x) β odd.
- h(x)=x3+1h(x)=x^3+1h(x)=x3+1:
- h(βx)=βx3+1h(-x)=-x^3+1h(βx)=βx3+1 (not equal to h(x)h(x)h(x) or βh(x)-h(x)βh(x)) β neither.
Extra neat fact
Any function on a symmetric domain (like (ββ,β)(-\infty,\infty)(ββ,β)) can be split into an even part and an odd part, which is why these types are so useful in higher math and physics.
TL;DR: βEvenβ means f(βx)f(-x)f(βx) matches f(x)f(x)f(x) and the graph reflects across the y-axis, while βoddβ means f(βx)f(-x)f(βx) is the negative of f(x)f(x)f(x) and the graph has origin symmetry.