Invariance Formula

Invariance is a property of a mathematical object that remains unchanged when the object undergoes a particular transformation or operation.

The Formula

f(T(x))=f(x) for all x (property f is invariant under transformation T)

Ask yourself: Is there a quantity that stays exactly the same every time the given transformation is applied?

Quick example

Area is invariant under translation. Angle measures are invariant under scaling.

Notation

f(T(x))=f(x) means 'f is unchanged by T'; the invariant f is preserved

What this formula means

A property of a mathematical object that remains unchanged when the object undergoes a particular transformation or operation.

An invariant behaves like the total money in a closed room where people only trade with each other: coins and notes change hands, but the total never moves. If someone claims the room now holds more money than at the start, you know trading could not have done it, without watching a single trade.

Formal view

f is an invariant of transformation T iff ∀x (f(T(x))=f(x)); the set of invariants of T is closed under composition

Worked examples

Example 1

easy
Show that the sum of the digits of a multiple of 9 is always a multiple of 9. Verify with n=198 and n=729.
Show solution

Answer

9∣n⇔9∣(digit sum of n)

First step

1.
Any integer n can be written as n=∑iai⋅10i where ai are digits. Since 10≡1(mod9), we get n≡∑iai(mod9).

Full solution

  1. 2.
    So 9∣n⇔9∣(sum of digits) — the divisibility by 9 is an invariant property shared by n and its digit sum.
  2. 3.
    Check n=198: digit sum =1+9+8=18, which is a multiple of 9. And 198=9×22. Confirmed.
  3. 4.
    Check n=729: digit sum =7+2+9=18, multiple of 9. And 729=9×81. Confirmed.
An invariant is a property preserved across transformations. Here, taking digit sums preserves divisibility by 9 because of how 10 behaves modulo 9.

Example 2

medium
A sequence starts at 1 and each step either doubles the value or adds 3. Show that the parity (odd/even) of the value changes predictably and identify an invariant.

Example 3

medium
On a board are the numbers 1,2,3,…,100. You may replace any two numbers a,b with ∣a−b∣. After 99 such operations, one number remains. Is its parity determined, and if so, what is it?

Common mistakes

  • Saying invariant without naming the transformation - a quantity is invariant under a specific operation, not absolutely.
  • Assuming an obvious quantity is preserved - verify it survives every application before relying on it.
  • Confusing the invariant with the whole object's symmetry - one tracks a preserved value, the other a self-mapping figure.

Why this formula matters

Invariants answer 'can this ever happen?' questions that would otherwise mean checking millions of move sequences: a parity argument shows in two lines that a puzzle position is unreachable. They also run through geometry, since rotations keep every length and angle, which is why a rotated triangle is congruent to the original. Without the idea you can only try moves and hope, and failing to find a path never proves there is none.

Frequently asked questions

What is the Invariance formula?

A property of a mathematical object that remains unchanged when the object undergoes a particular transformation or operation.

How do you use the Invariance formula?

Look for an invariant when a problem describes repeated moves or a transformation and asks whether a target is possible, reachable, or forced at the end. Good candidates are parity, a total, a remainder, a length or an angle. Name the move, then check that the quantity survives every allowed move, not just one of them. If the question is whether the whole figure lands on itself, use symmetry; if it asks how much a quantity changes, track the change directly.

What do the symbols mean in the Invariance formula?

f(T(x))=f(x) means 'f is unchanged by T'; the invariant f is preserved

Why is the Invariance formula important in Math?

Invariants answer 'can this ever happen?' questions that would otherwise mean checking millions of move sequences: a parity argument shows in two lines that a puzzle position is unreachable. They also run through geometry, since rotations keep every length and angle, which is why a rotated triangle is congruent to the original. Without the idea you can only try moves and hope, and failing to find a path never proves there is none.

What do students get wrong about Invariance?

The procedure for invariance is the easy part; the trap is saying invariant without naming the transformation. Asking "Is there a quantity that stays exactly the same every time the given transformation is applied?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Invariance formula?

Before studying the Invariance formula, you should understand: transformation geo.