Even, Odd, or Neither Functions

April 12, 2026

Problem

Test f(x)=x³+x (odd) and g(x)=x⁴+x² (even). Show symmetry.

Explanation

Definitions

  • Even function: f(x)=f(x)f(-x) = f(x) for all xx. The graph has y-axis symmetry (mirror image across the y-axis). Examples: x2x^2, x4x^4, cosx\cos x, x|x|.
  • Odd function: f(x)=f(x)f(-x) = -f(x) for all xx. The graph has origin symmetry (180° rotation about the origin). Examples: x3x^3, xx, sinx\sin x.
  • Neither: Most functions are neither even nor odd. Example: x2+xx^2 + x.

How to test algebraically

Step 1 — Compute f(x)f(-x) by replacing every xx with (x)(-x).

Step 2 — Compare f(x)f(-x) with f(x)f(x) and f(x)-f(x).

Step-by-step: Test f(x)=x3+xf(x) = x^3 + x

Step 1: f(x)=(x)3+(x)=x3xf(-x) = (-x)^3 + (-x) = -x^3 - x

Step 2: Compare with f(x)=(x3+x)=x3x-f(x) = -(x^3 + x) = -x^3 - x.

Since f(x)=f(x)f(-x) = -f(x), the function is odd. ✓

Geometric check: f(2)=8+2=10f(2) = 8 + 2 = 10 and f(2)=82=10=f(2)f(-2) = -8 - 2 = -10 = -f(2). The point (2,10)(2, 10) and (2,10)(-2, -10) are reflections through the origin.

Step-by-step: Test g(x)=x4+x2g(x) = x^4 + x^2

Step 1: g(x)=(x)4+(x)2=x4+x2g(-x) = (-x)^4 + (-x)^2 = x^4 + x^2

Step 2: g(x)=g(x)g(-x) = g(x) → the function is even. ✓

Geometric check: g(3)=81+9=90g(3) = 81 + 9 = 90 and g(3)=81+9=90=g(3)g(-3) = 81 + 9 = 90 = g(3). Same y-value at x=3x = 3 and x=3x = -3.

Step-by-step: Test h(x)=x3+x2h(x) = x^3 + x^2

Step 1: h(x)=(x)3+(x)2=x3+x2h(-x) = (-x)^3 + (-x)^2 = -x^3 + x^2

Step 2: Is h(x)=h(x)=x3+x2h(-x) = h(x) = x^3 + x^2? No (x3+x2x3+x2-x^3 + x^2 \neq x^3 + x^2). Is h(x)=h(x)=x3x2h(-x) = -h(x) = -x^3 - x^2? No (x3+x2x3x2-x^3 + x^2 \neq -x^3 - x^2). Neither even nor odd.

Quick pattern

  • All terms have even exponents (including constants) → even function.
  • All terms have odd exponents → odd function.
  • Mix of even and odd exponents → neither.

Try it in the visualization

Select a function and see f(x)f(x) (cyan) and f(x)f(-x) (pink dashed) graphed together. For even functions, they overlap perfectly. For odd functions, f(x)f(-x) matches f(x)-f(x). Test at specific points to see the numerical relationship.

Interactive Visualization

Parameters

x³+x (odd)
2.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day