Mathematics

Invariant

A quantity unchanged by the allowed moves of a process, used to prove something is impossible.

The standard tool for "can you reach state X?" puzzles - and the answer is usually no, provable by finding a quantity that never changes.

Common invariants: parity (odd or even), a sum modulo some number, or a colouring argument.

The classic: a chessboard with two opposite corners removed cannot be tiled by dominoes. Each domino covers one black and one white square, but the removed corners share a colour, so the counts differ by two. No case analysis required.

Finding the invariant is the entire difficulty; verifying it is trivial.

Related terms

Practise this

Put it into practice

Knowing the definition is not the same as spotting where it applies under time pressure. Work the question bank free.

Start practising free

Browse the full quant interview glossary