← mapLogic & Proof

Direct Proof

⚗ Dr. Möbius, from the lab

Everything until now was loading the gun. Today you fire the damn thing. A proof is the only thing that separates mathematics from astrology — it's an argument so airtight that any sane being who follows it is forced to agree, whether they like it or not. We start with the workhorse: the direct proof. Definitions in, logic through, QED out. No hand-waving, no vibes, no "I feel like it works" — not in my lab.

THE BIG IDEA

A direct proof unwraps the definitions in the hypothesis, manipulates them with valid logic, and arrives at the conclusion — and a universal claim is proven by reasoning about a single arbitrary element.

A proof is a program that runs on brains

A theorem is almost always an implication, usually with a hidden \forall out front (you X-rayed those in the last two lessons): "for all integers nn, if P(n)P(n) then Q(n)Q(n)." A direct proof of PQP \to Q does the obvious-but-disciplined thing: assume PP, and through a chain of justified steps, arrive at QQ. That's it. Every step must follow from definitions, earlier steps, or established facts. Nothing smuggled in.

Think of a proof as a program that runs on brains: you write the steps once, and anyone who executes them reaches the same forced conclusion. The hypothesis is your input; the conclusion is your output; the steps are the code. A gap in the proof is a bug, and bugs are not tolerated. I have zero sympathy for bugs. None. The reactor doesn't care about your feelings.

Definitions are the ammunition

You cannot prove a damn thing about "even" until you know exactly what "even" means. Vague notions are useless in a proof — they are worse than useless, they are active saboteurs. Precise definitions are the only ammunition you get. Here are the three you'll fire today, stated with zero wiggle room. Throughout, lowercase letters are integers.

  • Even. An integer nn is even if n=2kn = 2k for some integer kk.
  • Odd. An integer nn is odd if n=2k+1n = 2k + 1 for some integer kk.
  • Divides. For integers a,ba, b with a0a \ne 0, we say "aa divides bb" (written aba \mid b) if b=amb = a m for some integer mm.

Each definition is an existence claim in disguise — "even" means "there exists an integer kk with n=2kn = 2k." So when you assume nn is even, you immediately get to name that witness: "since nn is even, write n=2kn = 2k for some integer kk." That naming move is the heartbeat of every proof below.

Worked: the sum of two evens is even

Claim. For all integers m,nm, n: if mm and nn are even, then m+nm + n is even.

Proof. Assume mm and nn are even. By the definition of even, there exist integers jj and kk with m=2jm = 2j and n=2kn = 2k. Then m+n=2j+2k=2(j+k),m + n = 2j + 2k = 2(j + k), where we factored out the 22 using distributivity (one of the laws of arithmetic — that law is doing real work here, not decoration). Since j+kj + k is an integer, m+nm + n has the form 2(integer)2 \cdot (\text{integer}), which is exactly the definition of even. Therefore m+nm + n is even. \blacksquare

Watch the shape: assume the hypothesis, unwrap each "even" into its witness, manipulate to expose the target form 2(integer)2 \cdot (\text{integer}), then re-wrap by citing the definition. Unwrap, manipulate, re-wrap. Unglamorous as hell, and it proves a shocking amount of mathematics.

Worked: the product of two odds is odd

Claim. For all integers m,nm, n: if mm and nn are odd, then mnmn is odd.

Proof. Assume mm and nn are odd. By definition, write m=2j+1m = 2j + 1 and n=2k+1n = 2k + 1 for integers j,kj, k. Then mn=(2j+1)(2k+1)=4jk+2j+2k+1=2(2jk+j+k)+1,mn = (2j + 1)(2k + 1) = 4jk + 2j + 2k + 1 = 2(2jk + j + k) + 1, where the expansion uses distributivity and the regrouping uses associativity and commutativity — the arithmetic laws, earning their keep again. Set =2jk+j+k\ell = 2jk + j + k, an integer. Then mn=2+1mn = 2\ell + 1, which is the definition of odd. Therefore mnmn is odd. \blacksquare

Same rhythm. The only "cleverness" was the algebra to force a "2(integer)+12 \cdot (\text{integer}) + 1" shape — and even that wasn't cleverness, it was just following where the definition told you to go. The definition is the compass. Stop trying to be clever and start following the compass.

Worked: divisibility is transitive

Claim. For all integers a,b,ca, b, c (with a,b0a, b \ne 0): if aba \mid b and bcb \mid c, then aca \mid c.

Proof. Assume aba \mid b and bcb \mid c. By the definition of "divides," there exist integers ss and tt with b=asb = a s and c=btc = b t. Substitute the first into the second: c=bt=(as)t=a(st),c = b t = (a s) t = a (s t), using associativity of multiplication. Since sts t is an integer, c=a(integer)c = a \cdot (\text{integer}), which is the definition of aca \mid c. Therefore aca \mid c. \blacksquare

The engine was substitution: bb appeared in two facts, so we routed one through the other. Keep an eye out for shared symbols — they're exactly where proofs connect, and ignoring them is how students stare at a problem for an hour accomplishing nothing.

Why an "arbitrary" element proves "for all"

Every claim above was a \forall statement, yet none of them checked infinitely many cases. How is that legal? Because we proved it for a completely arbitrary integer — we named it nn (or mm, aa, …) and assumed nothing special about it. We never used "nn is positive" or "n=7n = 7"; we only used "nn is an integer satisfying the hypothesis."

So the argument works verbatim no matter which integer you plug in. If it holds for a no-name, assumption-free element, it holds for all of them. That's the universal-proof principle: to prove x, P(x)\forall x,\ P(x), take an arbitrary xx, assume only that it's in the domain, and prove P(x)P(x). Don't pick a specific example — examples prove \exists, never \forall (the asymmetry from the quantifiers lesson — you remember, right? Tell me you remember). Pick a generic.

Style rules (break these and I will know)

A proof is writing, not a pile of symbols. The non-negotiables:

  1. Write in sentences. "Since m=2jm = 2j, we have…" — prose with embedded math, not a naked equation dump.
  2. Justify every step. "by definition of even," "by distributivity," "by substitution." A step without a reason is a confession.
  3. Never start from what you want to prove. Begin at the hypothesis and move toward the conclusion. Assuming the conclusion and shuffling it around is the most common way to fake a proof — and it proves nothing. Start at PP, end at QQ.
  4. Mark the end. \blacksquare or "QED" — tell the reader the program has halted.

Now go. You have the definitions, you have the rhythm, you have the laws of arithmetic underneath you like a solid floor. Stop reading and do the damn gauntlet.

🔬 SPECIMENS (worked examples)

Worked example 1 — even plus odd is odd

Prove: for all integers m,nm, n, if mm is even and nn is odd, then m+nm + n is odd.

Proof. Assume mm is even and nn is odd. By the definitions, there exist integers j,kj, k with m=2jm = 2j and n=2k+1n = 2k + 1 (note the different witness letters — mm and nn are unrelated). Then m+n=2j+(2k+1)=2(j+k)+1,m + n = 2j + (2k + 1) = 2(j + k) + 1, by associativity and distributivity (the arithmetic laws). Since j+kj + k is an integer, m+nm + n has the form 2(integer)+12 \cdot (\text{integer}) + 1, which is the definition of odd. Therefore m+nm + n is odd. \blacksquare

Same unwrap–manipulate–re-wrap rhythm as the lesson's examples. The whole job was steering the algebra into the "2()+12(\cdot) + 1" shape.

Worked example 2 — the square of an even is divisible by 4

Prove: for every even integer nn, 4n24 \mid n^2.

Proof. Let nn be an arbitrary even integer. By the definition of even, write n=2kn = 2k for some integer kk. Then n2=(2k)2=4k2,n^2 = (2k)^2 = 4k^2, using the laws of arithmetic to expand the square. Since k2k^2 is an integer, n2=4(integer)n^2 = 4 \cdot (\text{integer}), which by the definition of "divides" means 4n24 \mid n^2. As nn was an arbitrary even integer, the result holds for all even integers. \blacksquare

Notice the explicit "let nn be arbitrary" at the top and "as nn was arbitrary" at the bottom — that's the bookkeeping that turns a single argument into a universal claim. We assumed nothing about nn beyond "even," so the proof covers every even integer at once.

Worked example 3 — the trap: always route through the witness

Prove: for all integers a,ba, b (with a0a \ne 0), if aba \mid b, then a7ba \mid 7b.

Proof. Assume aba \mid b. By the definition of "divides," there is an integer mm with b=amb = a m. Multiply both sides by 77: 7b=7(am)=a(7m),7b = 7(a m) = a(7 m), using associativity and commutativity of multiplication to move the aa out front. Since 7m7m is an integer, 7b=a(integer)7b = a \cdot (\text{integer}), so by the definition of "divides," a7ba \mid 7b. \blacksquare

The trap students fall into here is trying to "see" the answer and write "a7ba \mid 7b because 7b7b is a multiple of bb" — true-sounding, but it skips the definition and doesn't actually connect aa to 7b7b. The honest move is to name the witness mm from aba \mid b, then build a new witness 7m7m for a7ba \mid 7b. Always route through the witness.

☠ KNOWN HAZARDS

  • Starting from what you want to prove. Manipulating the conclusion until you reach something true proves nothing. Begin at the hypothesis and derive the conclusion, in that direction.

  • Reusing the same witness for two objects. If mm and nn are both even, they are m=2jm = 2j and n=2kn = 2k with different letters. Writing both as 2k2k secretly assumes m=nm = n — a fatal, invisible error that will make your proof wrong while looking completely fine. This particular blunder has a way of hiding from even careful readers, so stamp it out before it starts.

  • "Proving" a \forall with an example. Checking n=4n = 4 proves nothing universal. An example proves an \exists; a \forall needs an arbitrary element.

  • Skipping the justification. "Therefore m+n=2(j+k)m+n = 2(j+k)" with no "by distributivity" is a gap. Every nontrivial step names its reason, or it isn't a proof — it's a vibe.

TL;DR

  • A direct proof of PQP \to Q assumes PP and reaches QQ through justified steps — definitions in, logic through, conclusion out.

  • Precise definitions are the ammunition: nn even means n=2kn = 2k; nn odd means n=2k+1n = 2k+1; aba \mid b means b=amb = am — each lets you name a witness.

  • The rhythm: unwrap each definition into its witness, manipulate (using the arithmetic laws) to expose the target form, re-wrap by citing the definition.

  • To prove x, P(x)\forall x,\ P(x), argue about an arbitrary element using nothing special about it; what holds for a generic holds for all.

  • Style: write sentences, justify every step, mark the end, and never start from the conclusion — start at the hypothesis and move forward.

unlocks