Loading…

Even or Odd Decomposition

Math Algebra • Functions

View all topics

Enter \(f(x)\) using ^ for powers and * for multiplication. Supported functions (depending on difficulty): sin, cos, tan, sqrt, ln, log, exp, abs (and more in University mode).

Ready
x₀ = 2
Enter \(f(x)\) and press Calculate.
Overlay (drag to pan, wheel to zoom)

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.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

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).