Drag to pan; mouse wheel to zoom (Shift = y-zoom, Ctrl = zoom both axes). Double-click to reset view. Axis numbers are shown; the probe point prints coordinates when enabled.
Even or Odd Decomposition
Math Algebra • Functions
Frequently Asked Questions
What is even and odd decomposition of a function?
It writes any function as f(x)=e(x)+o(x), where e(x) is even and o(x) is odd. The parts are defined by e(x)=(f(x)+f(-x))/2 and o(x)=(f(x)-f(-x))/2.
How do I compute the even part e(x) and odd part o(x)?
Compute f(-x) by replacing x with -x in f(x), then form e(x)=(f(x)+f(-x))/2 and o(x)=(f(x)-f(-x))/2. Simplify the expressions if possible to see the structure clearly.
Why can the decomposition be undefined for some x-values?
The formulas require both f(x) and f(-x) to be defined. If either side is not real or not defined at a value, then e(x) and o(x) may also be undefined there.
What does the recomposition check verify?
It tests numerically that e(x)+o(x) matches f(x) within the chosen tolerance across the plotted window where the function is defined. Small differences can occur from sampling and numeric rounding.
How do the graphs help confirm the decomposition?
The even part should be symmetric about the y-axis and the odd part should be symmetric about the origin. Overlaying f(x) and probing x0 and -x0 makes it easy to see how the two parts combine back into f(x).