Many introductory direct proofs look intimidating on first read and turn out to be three lines of algebra once you see the trick. The trick is a pattern, and once you learn to spot it the proof almost writes itself.

The pattern is this: when the hypothesis and the conclusion reference the same variable, the proof is almost always "unpack the hypothesis into an equation for that variable, substitute into the conclusion, simplify." No clever rearrangement, no case split, no change of technique. The structure is mechanical.

Learning to recognise this shape at a glance — in two seconds, before you start writing — is the difference between proofs that take you twenty minutes and proofs that take you ninety seconds.

What the shape looks like

Hold a candidate claim up against this mould.

If P(n), then Q(n) — where both P and Q are statements about the same n.

Concrete examples:

Contrast with claims where the variables are different across sides:

These non-matching cases still have direct proofs, but they need a slightly different workflow: combine multiple hypotheses, track the relations between objects, and build the conclusion. The matching-variable case is the simpler one, and it deserves its own two-second recognition move.

The three-step recipe

For a claim of shape "if P(n), then Q(n)":

Step 1 — Unpack P(n) using a definition. "n is even" becomes n = 2k. "n is divisible by 6" becomes n = 6m. Your hypothesis is now an equation you can substitute.

Step 2 — Substitute the equation into Q(n). Wherever the conclusion mentions n, replace it with the right-hand side of the hypothesis equation.

Step 3 — Simplify and repack using the definition needed by Q(n). The algebra should reveal the form Q(n) demands — a factor of 2 for even, a factor of 3 for divisibility by 3, a square for "is a perfect square," and so on.

Why this works: the hypothesis equation n = 2k (or whatever) is a substitution rule — it says "anywhere you see n, you can write 2k instead." Step 2 is just this rule in action. Step 3 is algebra plus the conclusion's definition, which converts the rearranged expression back into the form the conclusion asks for. There is no creative leap; the definitions and the substitution do all the work.

The pattern, visualised

Three-step pipeline for same-variable direct proofsA horizontal pipeline with three labelled boxes. The leftmost box, Unpack P, shows the hypothesis P parenthesised n being rewritten as an equation n equals some expression in k. A single arrow leads to the middle box, Substitute, which replaces the letter n inside the conclusion Q parenthesised n with that expression. A final arrow leads to the rightmost box, Repack with Q's definition, which shows the expression rearranged into the form the conclusion demands and concluded with QED. The three-step pipeline 1. Unpack P P(n): "n is even" becomes n = 2k 2. Substitute Q(n): n² = ? becomes (2k)² = 4k² 3. Repack factor the 2: 4k² = 2·(2k²) matches Q(n): n² is even ∎ the hypothesis equation feeds the conclusion expression; algebra finishes the job
The pipeline that handles the majority of same-variable direct proofs. Step 1 converts the hypothesis into a substitution rule. Step 2 plugs it into the conclusion expression. Step 3 rearranges the algebra into the form the conclusion's definition asks for. No other moves are required.

A template proof to memorise

Claim. If n is even, then n^2 is even.

Proof.

Three lines, one per step. Most same-variable direct proofs have exactly this silhouette.

A longer example with the same skeleton

Claim. If n is divisible by 6, then n is divisible by 3.

Unpack. n = 6k for some integer k.

Substitute. Check whether n fits the "divisible by 3" form: n = 6k = 3 \cdot (2k).

Repack. 2k is an integer, so n = 3m with m = 2k, and n is divisible by 3. \blacksquare

The only move that looks "creative" is rewriting 6k as 3 \cdot 2k. That is not creativity — that is recognising which factor the conclusion needs (3) and exposing it in the algebra. Practising with a dozen of these will make the re-exposure automatic.

The failure mode to avoid

Students who have not internalised this pattern often try to prove same-variable claims by case analysis, example checking, or induction — all of which work but take ten times longer than the substitution template. Worse, they sometimes freeze because the opening "unpack" step looks trivial and they assume they are "missing something." They are not. The substitution is the whole proof.

If you find yourself five minutes into a same-variable direct proof with no algebra on the page, stop. Go back to step 1 and ask: what does the hypothesis mean, written as an equation? Then substitute. Then simplify. If the recipe does not yield the conclusion in three lines, that is the signal that the claim is not a same-variable direct proof in the easy sense — and you can start thinking about whether to use contrapositive, contradiction, or a multi-object argument. But the default is the three-line recipe, and the default succeeds most of the time.

The two-second tell

When you read "If P, then Q" in a homework problem, check:

Two yeses means: write the unpacking equation, substitute into the conclusion, simplify. Do not reach for a more elaborate technique until the template has been given a chance and failed.

Mastering this single pattern — same variable, substitute, simplify — is the fastest route from "proofs feel impossible" to "proofs feel mechanical" in your first algebra-heavy proof course.

Related: Mathematical Proof — Direct Proof · Work Backwards on Scratch Paper, Forwards on the Final Paper · When the Hypothesis Is a Negation, Direct Proof Stalls — Switch · For-All-n Statements Without Recursive Structure — Prefer Direct, Not Induction