Chapters 0.1 and 0.2 were about finding a proof. This one is about writing it down so that someone else, usually a grader in a hurry, can check it line by line and agree. A correct idea written badly loses points, and often hides a gap you did not notice. Each rule below has a reason: readers cannot check what they cannot follow.
Chapter 0.2: the proof techniques.
The picture: scratch work and the write-up
Every proof has two lives. The scratch work is where you find the idea: messy, out of order, full of crossed-out attempts, often working backwards from the conclusion. The write-up is a clean argument in the forward direction, from what you are given to what you must show. The reader only ever sees the write-up. The most common mistake is to hand in the scratch work.
Scratch work
Scratch work is everything you do to find the proof: examples, diagrams, working backwards from the conclusion, false starts. It is not handed in.
In one lineThe private search for a proof: any order, any guesses, often working backwards from the goal.
Why it existsFinding a proof and presenting it are different tasks; mixing them produces unreadable or circular write-ups.
Proof write-up
A proof write-up states what is assumed, declares every object it uses, proceeds forward one justified step at a time, and ends by stating the conclusion.
In one lineThe finished argument: declared objects, forward steps each with a reason, and a final sentence stating what was proved.
Why it existsIt is what a reader can check line by line.
In analysis (Unit 1) the split is sharp. The scratch work for an - proof works backwards from to find ; the write-up starts with “Let . Set ” and runs forwards. Chapter 1.3 shows both side by side.
The two-column “statement | reason” layout is a teaching device. It grew up in United States school geometry in the early twentieth century, after the 1890s reforms made geometry the place where students were taught to prove. Research mathematicians write their proofs as ordinary paragraphs, with the reasons woven into the sentences. Paul Halmos’s essay “How to write mathematics” (1970) is a classic statement of why: a proof is written for a reader, so the writer should have something to say and should say it to someone. Its section headings include “Say something” and “Speak to someone”. Keith Conrad’s guide, which Spagnolie linked for MATH 375, is a modern short version of the same advice.
The rules, with reasons
1. Say what you are proving and how
Start with the statement (or its name), then “Proof.” If you use a technique other than direct proof, say so in the first line: “We prove the contrapositive.” “Suppose, for contradiction, that…” “We use induction on .” The reader then knows what to expect.
2. Declare every object before you use it
Every letter needs an introduction: “Let be an odd integer”, “Let ”, “Since , there are scalars with .” An undeclared letter is the most common reason a grader cannot follow a proof. Make clear whether a letter is arbitrary (chosen by the reader: “let be any…”) or specific (constructed by you: “set ”).
3. Go forward, and give a reason for every step that is not routine algebra
Each line should follow from earlier lines, definitions, axioms or cited theorems, and the reason should be visible: “by the triangle inequality”, “since is linear”, “by the induction hypothesis”. Routine algebra (expanding brackets) needs no comment. Anything a classmate might ask “why?” about needs one.
4. Write in sentences, with words between formulas
“Then”, “so”, “since”, “hence” tell the reader how each line relates to the last. Two formulas side by side with no words force the reader to guess the logic. Never use "" as shorthand for “so” inside a proof; it means implication, which is a different thing.
Solution.
- Declare the object and the assumption. “Let be an even integer.” The chain starts with an undeclared . A sentence introduces it and says it is arbitrary.
- Turn the first arrow into a word. “Then for some integer .” This arrow is the definition of even, so the sentence says which fact is used and names the integer it provides.
- Turn the second arrow into a word. “So .” “So” says the line follows from the one before. The step is algebra, so no extra reason is needed.
- Turn the last arrow into a closing sentence. “Since is an integer, is even.” This names the condition being checked, an integer inside the bracket, and states the claim.
Answer. “Let be an even integer. Then for some integer . So . Since is an integer, is even.”
5. End by saying what you showed
Close with a sentence that matches the statement: “Hence is odd. ” or “This contradicts being in lowest terms, so is irrational. ” The reader should not have to work out whether you are done.
6. Use the right level of detail
Spagnolie on Piazza: “Assume that any properties of the real numbers hold without proof. The point of this chapter is to learn about linear spaces… Later we will… assume that any properties of linear spaces hold without proof. … We will build a house, one solid brick at a time.” So: what the current chapter is about must be justified carefully; what earlier chapters established can be cited.
From scratch work to write-up
The scratch work (what you might write while thinking). “rational means fraction. , . add: . top and bottom integers. bd not 0 since b, d not 0. done.”
The write-up.
- State the setup. Let and be rational numbers. Declares the objects as arbitrary.
- Unfold the hypothesis with named integers. Then and for some integers with and . Definition of rational. The non-zero conditions are part of the definition and are needed later.
- Compute, in a sentence. So . Routine algebra; no reason needed.
- Check every condition of the target definition. Here and are integers, since sums and products of integers are integers, and because neither nor is zero. ‘Rational’ needs integer top, integer bottom, and bottom non-zero. All three must be checked.
- State the conclusion. Hence is rational. Matches the statement exactly.
Answer. The ideas are the same as the scratch work. The write-up adds declarations, the full definition (including ), the reasons, and an ending.
Solution.
- Identify what was actually proved. The proof starts from "" (the conclusion) and derives ” even” (the hypothesis). Compare the first line with the claim’s hypothesis, and the last line with its conclusion.
- Name the error. That is the converse, “if is even then is even”. It is true, but it is a different theorem. Proving the converse is the most common logical error.
- Repair it. Prove the contrapositive: if is odd, , then is odd. So if is even, cannot be odd, and is even. The contrapositive of the claim is equivalent to it and easy to prove directly.
Answer. The original ‘proof’ proved the converse. The repaired proof says “We prove the contrapositive” in its first line.
Solution.
- The step is asserted, not shown. “Then ” is the thing to prove; no reason is given. A grader cannot check a line with no justification.
- The variable is reused. The hypothesis uses , the same letter as the statement for all , which blurs “assume one case” with “assume all cases”. Use a separate letter for the fixed case.
- Rewrite. Base case: . Inductive step: let and assume . Then , using the hypothesis and then . Hence . By induction, for all . Every inequality now has its reason.
Answer. The fixed version declares , shows the step with reasons, and states the conclusion.
Solution.
- Name the set and the technique. “Let . We use the subspace test: is non-empty, closed under addition and closed under scaling.” Rule 1: say what you prove and how. Naming the three checks tells the reader what to look for.
- Check the zero vector. “Since , we have .” Scratch work says “ok”. The write-up says why it is ok, using the membership condition .
- Declare the arbitrary elements and unfold. “Let . Then and for some real numbers .” Rule 2. Membership means , so the second entry is three times the first. Different letters, because and need not be equal.
- Check addition. “Then , whose second entry is three times its first, so .” The write-up states the membership condition being verified, so the reader can see the check is complete.
- Check scaling. “For any real , , so .” Same, for the second closure property.
- End with the conclusion. “By the subspace test, is a subspace of .” Rule 5, matching the claim exactly.
Answer. The scratch work had the right computations. The write-up adds the technique, the declared objects, the membership condition being checked, and an ending.
Solution. The plan: assume the opposite, use it to write as a fraction, and read off a contradiction.
- State the technique and the exact assumption. “Suppose, for contradiction, that is rational, is irrational, and is rational.” The negation of ‘if P then Q’ is ‘P and not Q’ (0.1). The first line tells the reader which technique we use.
- Unfold both rational numbers, with different letters. “Then and for integers with and .” Items 3 and 4 of the self-check below: declare the objects, and unfold the definition fully including the side conditions .
- Solve for . “So .” Routine algebra. It rewrites in the form that the word ‘rational’ demands.
- Check every condition. “Here and are integers, and because and .” Integer top, integer bottom, non-zero bottom: all three parts of the definition are checked.
- State the contradiction and the conclusion. “So is rational, contradicting that is irrational. Hence is irrational.” Rule 5: the last sentence matches the claim.
Answer. The sum of a rational and an irrational number is irrational.
Solution.
- Check each line of the proof. The last line (“Hence”) follows from the two before it, since . Do not assume the flaw is where you first look. This line is fine.
- Check the multiplications. Multiplying by a number keeps the direction only if that number is positive. We multiplied by and by without knowing their signs. The rule ‘multiply both sides by ’ needs . For the inequality flips.
- Name the missing hypothesis. The claim needs (or at least ). Under that hypothesis both multiplications are allowed, and the proof is correct.
- Find a counterexample to the claim as stated. Take and . Then , but . A single case where the hypothesis holds and the conclusion fails disproves a ‘for every’ claim.
Answer. The gap is multiplying an inequality by a number whose sign is unknown. The statement is false in general (, ) and true for .
Tap the lines in the order a proof would write them. Each line can only use what is already above it.
Each line of the proof is shown in order. Choose the reason that justifies it, then press Check.
- Let and be even integers.
- Then and for some integers .
- So .
- Since is an integer, is even.
The self-check list
Before handing in a proof, check each item. This is the list a grader uses, in the order they use it.
- Statement. Did I prove the statement asked, not its converse or a special case?
- Technique. If not direct, did I say which technique, and is the starting assumption exactly right (for contradiction: P and not Q)?
- Objects. Is every letter declared, and is it clear which are arbitrary and which I constructed?
- Definitions. Did I unfold each definition fully, including side conditions (non-zero denominators, “for some integer”)?
- Reasons. Could a classmate ask “why?” about any line I did not justify?
- Direction. Does the write-up go forwards, with no step that assumes the conclusion?
- Quantifiers. For “for every”, did I use an arbitrary object? For “there exists”, did I construct one and check it works?
- Ending. Does the last sentence state exactly what was claimed?
Where it is used
MATH 521, 541 and 551 are graded on write-ups. A correct idea without declarations, reasons and an ending typically earns partial credit; the same idea written to this checklist earns full credit. MATH 375 HW1 made it explicit: 4 of 20 points were for clarity alone.
A proof write-up is the mathematical version of a pull request. Reviewers at software companies ask the same things a grader does: is every variable defined, does each change have a reason, does it do what the description claims? Proof assistants (Lean, Coq) go one step further and refuse a proof with any unjustified step. Lean’s mathematics library now contains formal proofs of large parts of undergraduate mathematics, each written as declarations plus justified steps.
Traps
Working backwards from the conclusion is how you find a proof; it is not a proof. Rewrite the argument forwards before handing it in.
Each of these words replaces a reason. Graders read them as “the writer did not check this”.
“Take ” proves nothing about all . An example belongs in scratch work, or in a disproof.
If and , you have silently assumed . Different objects get different letters.
Problems
Find every problem with this proof: “If then . Proof: , so . Clearly done.”
Solution
, , and are never declared (“Let be integers with ; then for some integer ”). “Clearly done” should be “so , and since is an integer, .”
Which of the self-check items does this violate? “Claim: every subspace contains . Proof: the -axis contains .”
Solution
Item 7 (quantifiers): a ‘for every’ statement proved by one example. Also item 1: it proves a special case.
Rewrite as a sentence with words: "".
Solution
“Let , so . Since is linear, , so .”
Write a complete proof, following the checklist: the product of two odd integers is odd.
Solution
Let and be odd integers. Then and for some integers . So . Since is an integer, is odd.
This scratch work found a proof that is a subspace of : “(0,0) ok. (a,-a)+(b,-b)=(a+b,-(a+b)) ok. c(a,-a)=(ca,-ca) ok.” Write it up properly.
Solution
Let . We use the subspace test. First, , so . Next, let ; then and for some real , because means . Then , whose entries add to 0, so . Finally, for any real , . By the subspace test, is a subspace of .
Write a complete proof by contradiction, with the first line stating the assumption: there is no largest even integer.
Solution
Suppose, for contradiction, that there is a largest even integer . Then is an integer, and where , so is even. But , contradicting that is the largest even integer. Hence there is no largest even integer.
Write a complete proof by induction, with the base case, hypothesis (using ) and conclusion each labelled: for all .
Solution
Base case: . Inductive step: let and assume , say for an integer . Then , so . By induction, for all .
Find the gap: “Claim: if and are increasing functions, then is increasing. Proof: let . Then and , so .” Then find a counterexample.
Solution
Multiplying inequalities is only valid for positive quantities. With on , both are increasing, but decreases on : . The missing hypothesis is that and are positive.
Summary
- Scratch work finds the proof; the write-up presents it, forwards, for a reader.
- Say what you prove and which technique. Declare every object, and whether it is arbitrary or constructed.
- Give a reason for every step a classmate might question. Use words between formulas. Never “clearly”.
- End with a sentence that states the claim.
- Cite what earlier “bricks” established; prove carefully what the current chapter is about.
- Before handing in, run the eight-item self-check.