2.2.10 · D2Functions

Visual walkthrough — Even and odd functions — graphical and algebraic tests

2,029 words9 min readBack to topic

This page proves the parent result's crown jewel — that any function is secretly the sum of a mirror-symmetric part and a rotation-symmetric part — starting from a blank board. We build every symbol before we use it, and every step has a picture. By the end you will see why and had to exist.

We only assume you can plot points and add numbers. Everything else we grow here.


Step 1 — What "a function" and "its mirror twin" even look like

WHAT. A function is a rule: feed it a number , it hands back a height . Plot the point for every input and you get a curve. We will use a lopsided example on purpose — one with no symmetry — so the magic later is real, not staged: Here is the input (how far left/right), is a bowl-shaped term (always ), and the lone is a tilt that leans the curve.

WHY. Before we can split symmetry out of a function, we must first look at the single most important companion of any curve: its reflected input. Define the mirror value — the same rule, but fed the opposite-signed input. Geometrically, reading at means walking to the mirror-image position across the vertical axis.

PICTURE. The blue curve is . The pink curve is : literally the blue curve flipped left-to-right across the -axis. Notice they meet exactly on the -axis (where , so and are the same spot).

Figure — Even and odd functions — graphical and algebraic tests

Step 2 — Two pure symmetries: the fold and the spin

WHAT. There are exactly two "clean" curves we want to manufacture:

  • An even part that satisfies — its mirror twin is itself.
  • An odd part that satisfies — its mirror twin is itself turned upside-down.

WHY. These are the only two ways a curve can be "self-similar under sign flip." Even the curve equals its own -axis reflection (fold the paper on the -axis, both halves match). Odd the curve equals its own spin about the origin (turn the paper upside down, it lands on itself). Any other behaviour is a mixture — which is the whole point of what follows.

PICTURE. Left: an even curve; the dashed fold line is the -axis and the two halves kiss. Right: an odd curve with a marked point and its partner — the same point after a half-turn about the origin (the black dot).

Figure — Even and odd functions — graphical and algebraic tests

Step 3 — The guess: write as fold-part plus spin-part

WHAT. We hope our lopsided can be assembled from one even piece and one odd piece:

WHY. We don't yet know or . But we have one equation and two unknown curves — hopeless alone. The trick that unlocks everything: evaluate this same identity at the mirror input . That gives a second, independent equation for free, because we already know how and react to a sign flip (Step 2).

PICTURE. The stacked bars show, at a fixed input , the total height made of a blue even block sitting on top of a pink odd block. Same idea at : the even block is identical, the odd block has flipped below the axis.

Figure — Even and odd functions — graphical and algebraic tests

Term by term, the equation says:

  • — the known total height we can measure.
  • — the unknown even contribution.
  • — the unknown odd contribution.

Step 4 — Feed it the mirror input to get a second equation

WHAT. Substitute everywhere in : Now apply Step 2's defining properties and :

WHY. This is the crucial move. Reflecting the input costs nothing (it's even) but flips 's sign (it's odd). So the same and now appear in a new combination — a subtraction instead of an addition. Two equations, two unknowns: solvable.

PICTURE. Side-by-side "recipe cards." Card 1 (at ): . Card 2 (at ): . The even block is copied unchanged; only the odd block's sign toggles.

Figure — Even and odd functions — graphical and algebraic tests

Annotating the second equation:

  • — measurable height at the mirror spot.
  • unchanged, because even means "mirror does nothing."
  • — the same odd piece, now subtracted, because odd means "mirror flips the sign."

Step 5 — Add the two equations: the even part falls out

WHAT. Stack the two facts and add them:

Adding column by column, the and annihilate:

WHY. Adding cancels the odd part by design — odd contributions come in equal-and-opposite pairs, so their average is zero. What survives the averaging is exactly the fold-symmetric skeleton. The division by is because each equation contributed one full copy of .

PICTURE. The blue curve and pink curve are added; their point-by-point average (yellow) is the even curve — you can see it is perfectly -axis-symmetric.

Figure — Even and odd functions — graphical and algebraic tests

Step 6 — Subtract the two equations: the odd part falls out

WHAT. Same two facts, now subtract the second from the first:

WHY. Subtracting cancels the even part this time — because . The even skeleton is identical in both equations, so their difference erases it, leaving only the piece that changed under the mirror: the odd tilt. Again a factor appears because showed up as and .

PICTURE. The pink mirror curve is subtracted from the blue original; the half-difference (yellow) is the odd curve — verify it has the spin symmetry, passing through the origin.

Figure — Even and odd functions — graphical and algebraic tests

Applied to our lopsided example :

  • .
  • (the even bowl).
  • (the odd tilt).
  • Check: . ✓ The split is the original.

Step 7 — Prove the two manufactured pieces really are even and odd

WHAT. We called them even and odd — but we must verify the formulas actually obey the Step 2 tests, not just hope. Flip the input in each formula:

WHY. Because , feeding into just swaps the two terms in the sum — addition doesn't care about order, so is unchanged (even). In , swapping the two terms of a subtraction flips the overall sign (odd). This is the proof the guess in Step 3 was legitimate: the pieces exist and behave.

PICTURE. Two mini-panels: landing on top of (arrows show the term-swap that changes nothing), and landing on the reflection of (the term-swap that introduces a minus).

Figure — Even and odd functions — graphical and algebraic tests

Step 8 — The degenerate cases: nothing breaks

WHAT. Three edge cases must be checked so the reader never hits a surprise.

  1. already even. Then , so . The odd part is the flat zero line — no tilt to extract. Good.
  2. already odd. Then , so . The even part vanishes.
  3. Value at . For an odd part, always. So every odd function is forced through the origin. If a curve claiming to be odd misses , it isn't odd.

WHY. These aren't lucky accidents — the formulas guarantee them, which is exactly why the decomposition is trustworthy on any symmetric-domain function.

Figure — Even and odd functions — graphical and algebraic tests

Step 9 — The payoff: births and

WHAT. Run the machine on the exponential (see Polynomial functions-free growth; here from Function transformations). Its mirror is :

WHY. The Hyperbolic functions are not arbitrary definitions — they are literally the even and odd halves of , forced out by Steps 5–6. That is why (even, peaks at the axis) and (odd, through the origin, per Step 8). And of course rebuilds the original.

PICTURE. The blue and its pink mirror ; their average is the yellow bowl (even), their half-difference is the yellow S-curve (odd).

Figure — Even and odd functions — graphical and algebraic tests

The one-picture summary

Everything above, on one board: the lopsided splitting cleanly into its even bowl and its odd tilt , driven by add-the-mirror and subtract-the-mirror.

Figure — Even and odd functions — graphical and algebraic tests
Recall Feynman retelling — say it like a story

Take any curve. Draw its mirror image across the vertical line. Now you have two curves: the real one and its flipped twin. Average them and you get a curve that looks the same in a mirror — that's the even part; all the sideways lean has been washed out by the averaging. Take half the difference instead and you get a curve that flips upside-down in a mirror — that's the odd part; the symmetric bowl cancelled out, leaving only the lean. Add these two back together and you rebuild the exact original curve, because average-plus-half-the-difference of two things is just the first thing again. That single trick — evaluate at , evaluate at , then add and subtract — is the whole theorem. It's also why and exist: they're nothing but the mirror-average and mirror-difference of .

Recall

Why does adding give the even part? ::: The odd contributions are equal-and-opposite, so their sum is zero; only the fold-symmetric part survives (halved). Why must every odd function pass through the origin? ::: , always. What are and , really? ::: The even and odd parts of . When is the split impossible? ::: When the domain is not symmetric, so is undefined.

Related uses of this decomposition: Symmetry in calculus (odd integrals over vanish) and Fourier series (even cosines only, odd sines only), with themselves being the even/odd stars from Trigonometric functions.