In short
A mathematical proof is a chain of logical steps that starts from accepted truths (axioms, definitions, or previously proved results) and ends at the statement you want to establish. A direct proof is the simplest kind: you assume the hypothesis, apply definitions and known facts, and walk forward until you reach the conclusion. Every step must follow from the previous ones — no gaps, no leaps of faith, no appeals to intuition.
You already know that 2 + 3 = 5. You can check it by counting on your fingers, by adding on paper, or by punching it into a calculator. But how do you know that the sum of any two even numbers is always even — not for one specific pair, but for every pair of even numbers that could ever exist? You cannot check infinitely many cases by hand. You need a different kind of argument, one that covers all cases at once.
That argument is called a proof. A proof is the tool that takes a mathematical statement from "probably true" to "certainly true." It is the reason mathematics is the only subject where a result, once proved, is settled forever — not revised, not overturned by new data, not subject to opinion. If the proof is correct, the conclusion holds.
This article covers the anatomy of a proof and the most natural proof technique: the direct proof. Direct proof is the first technique you should reach for, and it handles a surprisingly large fraction of the results you will meet in school mathematics and beyond. The other techniques — proof by contradiction and proof by contrapositive — exist for situations where the direct path is blocked, but the direct path is the one to try first.
What a proof is made of
A proof has three ingredients:
-
Hypotheses — the starting conditions you are allowed to assume. These come from the statement you are trying to prove. "If n is even, then n^2 is even" has one hypothesis: n is even.
-
Logical steps — each step uses a definition, an axiom, an algebraic rule, or a previously proved theorem to derive something new from what you already have. Every step must be justified; the justification is what separates a proof from a guess.
-
Conclusion — the final statement you wanted to reach. When you get there, the proof is done.
The whole structure is an implication: if the hypotheses hold, then the conclusion follows. A proof is a bridge from the "if" side to the "then" side, built one plank at a time.
Definitions: the raw material of proofs
Before you can prove anything about even numbers, you need to know precisely what "even" means. Not a vague sense — a formal definition that you can use as a tool.
Even and odd integers
An integer n is even if there exists an integer k such that n = 2k. An integer n is odd if there exists an integer k such that n = 2k + 1.
This definition is the key that unlocks every proof about even and odd numbers. When you assume a number is even, you are allowed to write it as 2k for some integer k. When you want to show a number is even, you must exhibit it in the form 2m for some integer m. The definition is both the hypothesis-unpacker and the conclusion-checker.
Similarly, for divisibility:
Divisibility
An integer a divides an integer b — written a \mid b — if there exists an integer q such that b = aq. When a \mid b, you say "a is a divisor of b" or "b is a multiple of a."
So 3 \mid 12 because 12 = 3 \times 4 (take q = 4). And 3 \nmid 14 because there is no integer q with 14 = 3q. Notice the direction: "a divides b" means b is the bigger number that is a clean multiple of a, not the other way around. The notation a \mid b reads left-to-right as "a divides b."
These definitions are your building blocks. A direct proof works by unpacking hypotheses through definitions, performing algebraic manipulations, and then re-packing the result into the form the conclusion demands.
The direct proof technique
Here is the recipe:
To prove "If P, then Q" directly:
- Assume P is true.
- Use definitions and known results to manipulate the assumption.
- Arrive at Q.
That is the whole method. The difficulty is never in the recipe — it is in finding the right algebraic path from P to Q. But the structure is always the same: assume the "if" part, work forward, reach the "then" part.
Here is the simplest possible direct proof, written out in full.
Claim. If n is an even integer, then n^2 is even.
Proof. Assume n is even. By definition, n = 2k for some integer k. Then:
The expression 2k^2 is an integer (since k is an integer, k^2 is an integer, and 2k^2 is an integer). So n^2 = 2m where m = 2k^2 is an integer. By definition, n^2 is even. \square
Every line of that proof does one thing: it either applies the definition of "even" or performs an algebraic step. There are no leaps, no skipped steps, and no appeals to "you can see that." The \square symbol at the end (called a tombstone or Halmos symbol) is the standard way to mark that the proof is complete.
Proving algebraic identities
Direct proof is the natural technique for algebraic identities — statements that two expressions are always equal. The method is pure calculation: start with one side, apply algebraic rules, and transform it into the other side.
Claim. For all real numbers a and b,
Proof. Start with the left side and expand using the distributive law.
Distribute the first factor across the second:
Distribute again:
Since multiplication of real numbers is commutative, ba = ab:
This matches the right side. \square
The identity (a + b)^2 = a^2 + 2ab + b^2 has a geometric interpretation too. Picture a square with side length a + b. Its total area is (a + b)^2. Now cut the square into four pieces with a horizontal and a vertical line at distance a from one corner. You get four rectangles: one a \times a square (area a^2), one b \times b square (area b^2), and two a \times b rectangles (each with area ab, total 2ab). The four pieces tile the big square exactly, so their areas add up to (a + b)^2.
Proving divisibility properties
Direct proof is also the right tool for divisibility claims. The pattern is the same: unpack the hypothesis using the definition of divisibility, perform algebra, and repack the result.
Claim. If a \mid b and a \mid c, then a \mid (b + c).
Proof. Assume a \mid b and a \mid c. By definition, b = aq for some integer q, and c = ar for some integer r. Then:
Since q and r are integers, q + r is an integer. So b + c = a \cdot (q + r) where q + r is an integer, which means a \mid (b + c) by definition. \square
This proof is three lines long, but it is air-tight. Each line does one thing: unpack a definition, perform one algebraic step, or repack the result into a definition. If you can write proofs in this style — small, clean, with every step justified — you can prove anything that a direct proof can reach.
Here is a slightly more involved divisibility result.
Claim. If a \mid b, then a \mid bc for any integer c.
Proof. Assume a \mid b. By definition, b = aq for some integer q. Then:
Since q and c are integers, qc is an integer. So bc = a \cdot (qc) and a \mid bc. \square
The same skeleton: unpack, algebra, repack. The technique carries you through every divisibility proof in the early chapters of number theory.
Knowing when direct proof works
Direct proof works whenever there is a clear algebraic path from hypothesis to conclusion. It is the right first attempt for:
- Proving that an expression has a particular form (even, odd, divisible by something)
- Proving algebraic identities (expanding, factoring, simplifying)
- Proving inequalities by direct manipulation
- Proving set membership or subset relations by tracing definitions
Direct proof struggles when the conclusion is a negative statement — "there is no integer such that..." or "it is impossible that..." — because walking forward from the hypothesis tends to produce positive information, not negative information. For negative conclusions, proof by contradiction or proof by contrapositive is often the better tool.
The interactive figure below shows a direct proof in action. The claim is: "if n is odd, then n^2 is odd." Drag the slider to choose an odd value of n, and watch the figure compute n^2 and display its factorisation, confirming that n^2 is always of the form 2m + 1.
Two worked examples
Example 1: Prove that the sum of any two even integers is even
Claim. If m and n are even integers, then m + n is even.
Step 1. Start by unpacking the hypothesis.
Since m is even, m = 2a for some integer a. Since n is even, n = 2b for some integer b.
Why: the definition of "even" is the entry point. You cannot do anything with "m is even" until you convert it into an equation you can manipulate. The equation m = 2a is the manipulable form.
Step 2. Compute m + n.
Why: this is pure substitution — replacing m and n with their definitions. No new idea is needed; the algebra does the work.
Step 3. Factor out the common factor of 2.
Why: factoring out 2 puts the expression into the form 2 \times (\text{integer}), which is exactly the form the definition of "even" demands. The distributive law is the algebraic rule doing the work here.
Step 4. Verify that a + b is an integer.
Since a and b are integers, their sum a + b is an integer. (The integers are closed under addition — see Operations and Properties.)
Why: the definition of "even" requires n = 2k where k is an integer. You must check that a + b lands in the integers, not just assume it. Closure of \mathbb{Z} under addition is the fact that makes this step work.
Step 5. Apply the definition of "even" to conclude.
Since m + n = 2(a + b) and a + b is an integer, m + n is even by definition. \square
Result. The sum of two even integers is always even.
The proof has five steps, but the core move is just one idea: factor out the 2. The rest is definition-unpacking and definition-checking. Every clean direct proof has this shape — one key algebraic insight surrounded by careful bookkeeping.
Example 2: Prove that if $3 \mid n$ and $3 \mid m$, then $9 \mid nm$
Claim. If 3 divides n and 3 divides m, then 9 divides nm.
Step 1. Unpack the hypotheses using the definition of divisibility.
Since 3 \mid n, there exists an integer p such that n = 3p. Since 3 \mid m, there exists an integer q such that m = 3q.
Why: the definition of "3 divides n" is that n is a multiple of 3. Writing n = 3p is the algebraic form of that statement, and it gives you a handle to manipulate.
Step 2. Compute the product nm.
Why: substitute the definitions from Step 1. The product is now expressed entirely in terms of p and q, which are free integers.
Step 3. Simplify the product.
Why: 3 \times 3 = 9. The two factors of 3 — one from n and one from m — combine to give a factor of 9. This is the key insight of the proof.
Step 4. Conclude using the definition of divisibility.
Since p and q are integers, pq is an integer (closure of \mathbb{Z} under multiplication). So nm = 9 \cdot (pq) where pq is an integer, which means 9 \mid nm by definition. \square
Result. 9 \mid nm.
Notice how the area model makes the factor of 9 visually inevitable: a 3 \times 3 grid of identical blocks always has a total count that is a multiple of 9. The algebraic proof and the geometric picture are two views of the same fact.
Common confusions
-
"A proof is just checking a lot of examples." Checking examples is useful for building intuition and catching mistakes, but it is not a proof. A proof must cover all cases, including ones you have not checked. The statement "the sum of two even numbers is even" is about infinitely many pairs — no finite number of examples can settle it. Only the algebraic argument that works with 2a + 2b = 2(a + b) for arbitrary integers a and b constitutes a proof.
-
"If I cannot see the next step, the proof does not exist." Not seeing the path is different from the path not existing. Many proofs become visible only after you unpack the definitions. If you are stuck, the most reliable move is: write out the definitions of every term in the hypothesis and the conclusion, and look for a way to connect them. Most proofs at the introductory level are one or two definitions away from being obvious.
-
"The proof is finished once I get the right answer." A proof is not just the final line — it is the entire chain. Writing "m + n = 2(a + b), done" without showing where a and b came from or why a + b is an integer is an incomplete proof. Every link in the chain must be present.
-
"Direct proof is the only technique." It is the first technique to try, but not the only one. If you need to prove a statement of the form "there is no x such that..." or "it is impossible that...", direct proof will often lead you into a dead end. For those statements, proof by contradiction or proof by contrapositive gives you a better starting point.
-
"A longer proof is a better proof." The opposite is closer to the truth. A clean proof is one where every line does necessary work. Padding a proof with redundant steps or unnecessary commentary makes it harder to follow, not easier. If a proof takes three lines, write three lines.
-
"You can use specific numbers in a proof." You can use specific numbers in examples, but a proof about "all even integers" must use a generic even integer 2k, not a specific one like 6. Proving it for 6 only proves it for 6. Proving it for 2k proves it for everything.
Going deeper
If you came here to learn how to write a direct proof — what the structure is, how the steps connect, and how to handle even/odd and divisibility arguments — you have everything you need. The rest of this section is for readers who want to see how proofs connect to logic and where the formalism goes.
Proofs and logic
Every direct proof is, at its core, a chain of implications. The statement "if P, then Q" is an implication, written P \Rightarrow Q in symbolic logic. A direct proof of P \Rightarrow Q works by assuming P is true and deducing Q from it. The logical structure is:
where R_1, R_2, \dots are intermediate results. Each arrow is one step of the proof. The chain is valid because implication is transitive: if P \Rightarrow R_1 and R_1 \Rightarrow R_2 and R_2 \Rightarrow Q, then P \Rightarrow Q.
This is the connection between proofs and Logic and Propositions. The proof is the concrete construction; the logic is the abstract framework that says why the construction works. You can write perfectly good proofs without ever mentioning the word "implication," but knowing the logical skeleton makes it easier to see where a proof is going and where it might be stuck.
Uniqueness proofs
A common variation of direct proof is the uniqueness proof: showing that something is the only object with a given property. The standard method is to assume two objects both have the property and then show they must be equal. For instance, to prove that the additive identity is unique: suppose 0 and 0' are both additive identities. Then 0 = 0 + 0' = 0', where the first equality uses the fact that 0' is an identity and the second uses the fact that 0 is an identity. So 0 = 0' — there is only one.
The role of definitions
A recurring theme in this article is that definitions are tools, not just labels. The definition of "even" is not a passive description — it is an active ingredient in every proof about evenness. The same is true of every definition in mathematics. When you learn a new definition, you are not just learning what a word means; you are gaining a new tool that can be plugged into the hypothesis or conclusion of a proof. The better you know your definitions, the more proofs you can write. Bhaskara II, one of the great Indian mathematicians, was famous for the precision and clarity of his definitions — and that precision was not decoration; it was the foundation of his proofs.
Where this leads next
Direct proof is the starting point of the proof universe. Every other technique is a variation on this one, used when the direct path is blocked.
- Proof by Contradiction — when you cannot walk forward to the conclusion, assume the conclusion is false and show that leads to an impossibility.
- Proof by Contrapositive — instead of proving "if P then Q," prove the logically equivalent "if not Q then not P" by a direct proof of the contrapositive.
- Mathematical Induction — a technique for proving statements about all positive integers, one at a time, using a domino-chain argument.
- Logic and Propositions — the formal framework of propositions, connectives, and truth tables that underpins the logical structure of every proof.
- Number Theory Basics — where divisibility proofs of the kind in this article become the main tool for exploring primes, GCD, LCM, and modular arithmetic.