How to Write Your First Proof
A step-by-step way to write a first proof, with scratch work, a polished version, two worked examples and a checklist to test your own.
Key takeaways
- Write down the assumptions and the goal in your own words before attempting anything.
- Definitions are your main tool: translate each technical word into an equation or condition you can manipulate.
- Discover the argument in any order, then present it so that each line follows from earlier ones.
- Use general letters, introduce each one, and give separate objects separate names.
- Reread as a skeptic who asks "why?" after every sentence.
To write your first proof, state what you may assume and what you must show, replace the key words with their definitions, work out a route on scratch paper, and then write the route in order, with a reason for every step. The finished text should let a doubtful reader check each line.
Most beginners get stuck because they expect the proof to come out in its final form. It rarely does for anyone. There is a messy discovery stage and a tidy writing stage, and you are allowed to treat them separately.
Pick a claim and take it apart
Start with this one: the product of two odd integers is odd.
First, put it in "if, then" form. If a and b are odd integers, then ab is an odd integer.
Now list what you have and what you want.
Assume: a is an odd integer, b is an odd integer
Show: ab is an odd integer Next, unpack the definition. An integer is odd if it equals 2k + 1 for some integer k. So "a is odd" gives you something concrete: a = 2m + 1. And "ab is odd" tells you the shape your answer must reach: ab = 2(some integer) + 1.
You now know where you start and what the end looks like. The proof is the bridge between them.
Do the scratch work
Try examples first: 3 × 5 = 15, 7 × 9 = 63, (−3) × 5 = −15. All odd, as expected.
Then compute with the general forms. Use different letters for the two numbers.
(2m + 1)(2n + 1) = 4mn + 2m + 2n + 1
= 2(2mn + m + n) + 1 There is the target shape, with 2mn + m + n as the integer. The discovery is done, and it took two lines.
Write the clean version
Here is the proof as you might hand it in.
Claim. If a and b are odd integers, then ab is odd. Proof. Let a and b be odd integers. By the definition of odd, there are integers m and n with a = 2m + 1 and b = 2n + 1. Then ab = (2m + 1)(2n + 1) = 4mn + 2m + 2n + 1 = 2(2mn + m + n) + 1. Since m and n are integers, 2mn + m + n is an integer. Therefore ab is odd. ∎
Look at the structure. The first sentence sets up the assumption. The second applies a definition. The third computes. The fourth checks a condition the definition requires. The last states the conclusion in the words of the claim.
The fourth sentence is the one beginners drop. The definition of odd asks for an integer k, so you must say that your expression is one.
A second example with a chain
Claim: if a divides b and b divides c, then a divides c. All three are integers.
The word to unpack is "divides". We say a divides b when b = ak for some integer k.
Assume: b = ak for some integer k
c = bj for some integer j
Show: c = a × (some integer) Substitute the first equation into the second.
Proof. Suppose a, b and c are integers such that a divides b and b divides c. Then there are integers k and j with b = ak and c = bj. Substituting, c = (ak)j = a(kj). The number kj is an integer, so a divides c. ∎
Notice that we never divided anything. Working with the multiplication form avoids fractions and avoids trouble when a is 0. That choice comes straight from using the definition rather than a vague picture of "goes into".
A third example with a hidden step
Claim: if n is an integer, then n² + n is even.
The assumption is only that n is an integer. The goal is to write n² + n as twice an integer. Scratch work gives n² + n = n(n + 1), a product of two consecutive integers. One of them must be even, but you cannot tell which, so the argument splits.
Proof. Let n be an integer. Then n is even or odd. Suppose first that n is even, so n = 2k for some integer k. Then n² + n = 2k(2k + 1) = 2[k(2k + 1)]. Suppose instead that n is odd, so n = 2k + 1 for some integer k. Then n² + n = (2k + 1)(2k + 2) = 2[(2k + 1)(k + 1)]. In both cases n² + n is twice an integer, so it is even. ∎
Two features are worth copying. The proof says that the cases are exhaustive, since every integer is even or odd. It also reaches the same conclusion in each case and then states it once for all. This pattern is called proof by cases.
Style rules that help the reader
- Open with your assumptions. A reader should not have to guess what is given.
- Introduce every symbol: "there is an integer k such that...".
- Write sentences. Equations are parts of sentences, and words such as "so", "since" and "therefore" carry the logic.
- Say which result you are using when it is not obvious.
- Keep one idea per sentence.
- Announce your method if it is not a direct argument: "We prove the contrapositive."
- Mark the end clearly.
Do not start a proof by writing down the thing you want to show and manipulating it until you reach something true. A true consequence does not establish the statement you began with. From 1 = −1 you can square both sides and get 1 = 1. The trap is examined in direction errors in proofs.
Working backward is fine as scratch work. Then write it forward, checking that each step really can be run in that direction.
Weak and strong versions of a sentence
Comparing drafts shows what a reader needs. Here are some frequent first attempts at the product of odd numbers, with better versions.
| First attempt | Problem | Better |
|---|---|---|
| "3 × 5 = 15, so it works" | One example only | Begin with arbitrary odd a and b |
| "a = 2k + 1" | k is never introduced | "a = 2m + 1 for some integer m" |
| "Odd times odd is obviously odd" | Repeats the claim | Compute ab from the definitions |
| "ab = 4mn + 2m + 2n + 1. Done." | Skips the link to the definition | Factor out 2 and name the integer |
None of these fixes requires a new idea. They require saying out loud what you were taking for granted, which is most of the craft at this stage.
Choosing a method
If the direct route stalls, other routes exist.
| If the claim looks like... | Consider |
|---|---|
| "If P then Q" and P gives you something to work with | Direct proof |
| "If P then Q" and "not Q" gives more to work with | Contrapositive |
| "There is no..." or "it is impossible that..." | Contradiction |
| "For every positive integer n..." with each case building on the last | Induction |
| Behavior that differs by type, such as even and odd | Cases |
| "Every object has this property" and you doubt it | Search for a counterexample |
Each has its own article, beginning with direct proof with worked examples.
Check your own work
Put the draft aside, then read it as someone who hopes to find a hole.
- Did you use every hypothesis? An unused one is a warning sign.
- Does any line rely on the conclusion?
- Are your letters general? Writing a = 2k + 1 and b = 2k + 3 would cover only consecutive odd numbers.
- Did any step divide by something that could be zero, or take a square root without attention to sign?
- Did you prove the claim for all cases, or only for an example?
- Could a classmate follow it without asking you anything?
For a longer list of traps, see common mistakes in student proofs.
Ask for feedback and revise
A proof is addressed to a reader, so a real reader is the best test. Give your draft to a classmate, teacher or study group and ask them to point at the first sentence they doubt. Resist explaining aloud. If the explanation is needed, it belongs in the text.
Revision usually shortens as well as clarifies. Delete scratch calculations that the argument never uses, and merge steps that say the same thing twice. Check that the final sentence states exactly the claim you set out to prove, with the same hypotheses and no stronger conclusion than your lines support.
Keep your earlier drafts. Looking back after a few weeks, you will often see which habits have changed, and which kind of gap you still tend to leave.
Common questions
What if I cannot find the idea?
Try smaller cases, special cases and the contrapositive. Write what you know about each term in the claim. Taking a break often helps. Being stuck is a normal part of the work, and notes on what failed are useful when you return or ask for help.
How long should a proof be?
As long as the reasoning needs. Many good first proofs are four or five sentences.
Can I include examples?
Yes, to help the reader, as long as they sit outside the logical chain. An example illustrates a proof and cannot replace the general argument.
Practice claims to try
Prove that the sum of two even integers is even, that the square of an even integer is divisible by 4, and that if a divides b and a divides c then a divides b + c. Each yields to the same routine: assume, unpack, compute, name the integer and conclude.