TL;DR
Invariant Arguments: Find a quantity preserved by every operation — if start and goal differ on it, the task is impossible. This concept is essential for quantitative trading interviews and is frequently tested at top firms.
By Valenke Exam Prep Team·Last updated 2026-06-01
Combinatorics
Invariant Arguments
Find a quantity preserved by every operation — if start and goal differ on it, the task is impossible.
An invariant is a quantity that does not change under the allowed operations of a problem. If the initial and target states have different invariant values, the transformation is impossible.
The strategy:
1. Identify a candidate invariant (parity, a sum, a modular residue, a coloring)
2. Prove it is preserved by every allowed move
3. Check whether the initial and target states agree on the invariant
Concrete example: You have a row of 100 coins, all heads up. Each move flips exactly 3 adjacent coins. Can you make them all tails? Observe that each move changes the number of heads by or — all odd changes. The number of heads starts at 100 (even). After any number of moves, the parity of the head count remains even. But 0 heads is also even, so parity alone does not settle it. Instead, consider the count modulo 3: it starts at , and each move changes it by . The target 0 . Since , it is impossible.
Common invariants:
- Parity (even/odd count) — the most common
- Sum modulo — especially mod 2 or mod 3
- Coloring arguments — assign colors to positions and track color sums
- Monovariants — quantities that only increase (or decrease), eventually forcing termination
When to use: Problems that ask "is this transformation possible?" or "prove this process terminates." If you suspect impossibility, hunt for an invariant. If you need termination, look for a monovariant — a quantity that strictly changes in one direction with each step.
Ready to practice for the Valenke Finance Exam?
Adaptive practice powered by Item Response Theory targets your weak areas. Start with 3 free sessions.
Start free practice →