01 / 21

Structured
Solution Steps

Master the art of explaining proofs and solutions in discrete math with clarity, logical flow, and mathematical rigor.

Discrete Math

What Does Structured Mean?

A structured solution is one where each step follows logically from the previous one, every claim is justified, and a reader can follow your reasoning from hypothesis to conclusion without gaps.

Logical Flow
Each step connects to the next through valid inference rules or definitions.
Justification
Every claim cites a theorem, definition, or prior result: no unexplained leaps.
Clarity
Notation is defined, variables are introduced, and language is precise.

Why Structure Matters

In discrete math, a correct answer with a disorganized explanation is not a proof. Mathematicians and graders evaluate your reasoning chain, not just your final answer.

Anatomy of a Solution

1. State the Claim 2. Set Up / Definitions 3. Logical Steps 4. Justify Each Step 5. Conclude "Prove that..."
"Let \(n \in \mathbb{Z}\)..."
Algebra, logic, rules "by Def. 2.1", "by IH"
"Therefore, \(\square\)"

The Five-Part Framework

1
State the claim: Write exactly what you intend to prove, e.g., "Prove that for all \(n \geq 1\), \(\sum_{i=1}^{n} i = \frac{n(n+1)}{2}\)."
2
Set up definitions and notation: Introduce variables, state assumptions, and cite relevant definitions.
3
Execute logical steps: Apply axioms, theorems, or algebraic manipulations in sequence.
4
Justify each step: Label every deduction with its source: a theorem name, definition number, or inductive hypothesis.
5
Conclude explicitly: Restate the result and close with \(\square\) or "Q.E.D."

Proof Strategies at a Glance

Direct Proof
Assume \(P\), derive \(Q\) step by step. Best for implications \(P \Rightarrow Q\).
Contrapositive
Prove \(\neg Q \Rightarrow \neg P\). Useful when the direct path is hard.
Contradiction
Assume \(\neg C\) and derive a falsehood. Ideal for irrationality or infinitude proofs.
Induction
Prove a base case, then show \(P(k) \Rightarrow P(k+1)\). The workhorse of discrete math.

Direct vs. Contradiction

Direct Proof Proof by Contradiction
Starting Point Assume hypothesis \(P\) Assume \(\neg C\) (negation of claim)
Goal Derive conclusion \(Q\) Derive a contradiction \(F\)
Structure \(P \Rightarrow \cdots \Rightarrow Q\) \(\neg C \Rightarrow \cdots \Rightarrow F\)
Best When The path forward is clear Direct derivation is blocked
Closing Line "Therefore \(Q\). \(\square\)" "Contradiction. Thus \(C\). \(\square\)"

How to Apply the Framework

1
Read the problem twice. Identify what is given (hypotheses) and what must be shown (conclusion).
2
Choose a proof strategy (direct, contrapositive, contradiction, or induction) based on the claim's structure.
3
Write the setup: introduce all variables, state their domains, and list any definitions you will use.
4
Execute and justify: for every equality or implication, write the reason in parentheses or as a side note.
5
Close with a conclusion: restate what was proven and write \(\square\).

Example 1: Direct Proof

1
Setup: Let \(n\) be an odd integer. By definition, \(n = 2k + 1\) for some \(k \in \mathbb{Z}\).
2
Compute: \(n^2 = (2k+1)^2 = 4k^2 + 4k + 1\). (algebra)
3
Factor: \(n^2 = 2(2k^2 + 2k) + 1\). (factoring out 2)
4
Justify: Since \(2k^2 + 2k \in \mathbb{Z}\), we have \(n^2 = 2m + 1\) where \(m = 2k^2 + 2k\). (closure of \(\mathbb{Z}\) under addition and multiplication)
5
Conclude: By definition, \(n^2\) is odd. \(\square\)

Example 2: Induction (Setup)

1
State the proof method: "We proceed by mathematical induction on \(n\)."
2
Base case (\(n = 1\)): LHS \(= 1\). RHS \(= \frac{1 \cdot 2}{2} = 1\). LHS = RHS. \(\checkmark\)
3
Inductive hypothesis (IH): Assume the formula holds for some \(k \geq 1\): \(\sum_{i=1}^{k} i = \frac{k(k+1)}{2}\).

Example 2: Induction (Step)

4
Inductive step: Show \(P(k+1)\) holds. We must show \(\sum_{i=1}^{k+1} i = \frac{(k+1)(k+2)}{2}\).
5
Compute: \(\sum_{i=1}^{k+1} i = \left(\sum_{i=1}^{k} i\right) + (k+1) = \frac{k(k+1)}{2} + (k+1)\) (by IH)
6
Simplify: \(= \frac{k(k+1) + 2(k+1)}{2} = \frac{(k+1)(k+2)}{2}\) (algebra)
7
Conclude: By the principle of mathematical induction, the formula holds for all \(n \geq 1\). \(\square\)

Example 3: Contradiction

1
Assume for contradiction: Suppose \(\sqrt{2} = \frac{a}{b}\) where \(a,b \in \mathbb{Z}\), \(b \neq 0\), and \(\gcd(a,b) = 1\).
2
Square both sides: \(2 = \frac{a^2}{b^2}\), so \(a^2 = 2b^2\). Thus \(a^2\) is even, hence \(a\) is even. (if \(a^2\) is even, \(a\) is even)
3
Write \(a = 2c\): Then \(4c^2 = 2b^2\), so \(b^2 = 2c^2\). Thus \(b\) is also even. (same lemma)
4
Contradiction: Both \(a\) and \(b\) are even, contradicting \(\gcd(a,b)=1\). Therefore \(\sqrt{2}\) is irrational. \(\square\)

Choosing Your Strategy

Read the claim
For all \(n\)?
(quantifier)
Yes Induction No Existence/ negation? Yes Contradiction No Direct Proof

The Language of Justification

Every non-obvious step needs a reason. Here are the standard justification phrases used in discrete math proofs:

Definitional
"By definition of even integer..." or "By Def. 3.2..."
By Hypothesis
"By assumption...", "Since \(P\) is given...", "By IH..."
By Theorem
"By the Division Algorithm...", "By Theorem 4.7..."
Algebraic
"By algebra...", "Simplifying...", "Substituting..."

Common Mistakes

✕ Skipping Setup
Jumping into algebra without defining variables or stating assumptions leaves the reader guessing what \(n\) even represents.
✕ Missing Justifications
Writing "so \(a\) is even" without citing why. Every deduction needs a reason: "since \(a^2 = 2b^2\), \(a^2\) is even, hence \(a\) is even by Lemma 1."
✕ Circular Reasoning
Assuming what you are trying to prove. In induction, the inductive step must use \(P(k)\) to derive \(P(k+1)\), not assume \(P(k+1)\).

Summary Checklist

Step What to Write Example Phrase
1. Claim Formal statement "Prove that for all \(n \geq 1\)..."
2. Setup Variables, assumptions "Let \(n \in \mathbb{Z}^+\)..."
3. Method Proof strategy label "We proceed by induction."
4. Steps Each derivation + reason "...by the IH."
5. Conclusion Restate and close "Therefore... \(\square\)"

Question 1 of 5

Which of the following is the correct first line of a proof by mathematical induction?

Question 2 of 5

In the proof that "if \(n\) is odd then \(n^2\) is odd," which justification is needed after writing \(n^2 = 2(2k^2 + 2k) + 1\)?

Question 3 of 5

A student writes: "Since \(a^2\) is even, \(a\) is even." This step is justified by:

Question 4 of 5

Which of the following is an example of circular reasoning in a proof?

Question 5 of 5

A well-structured proof of "\(\sqrt{2}\) is irrational" ends with: