Mathematical-Reasoning · Unit 7 · Video 1 · Interactive Practice

Proving the Contrapositive When a Direct Proof Stalls

IKey Formulas

StatementNameRelation to P→QP \to Q
¬Q→¬P\neg Q \to \neg PContrapositive: swap the parts and negate bothP→Q≡¬Q→¬PP \to Q \equiv \neg Q \to \neg P, so a proof of one proves the other
Q→PQ \to PConverse: swap the parts, negate neitherNot logically equivalent to P→QP \to Q; it needs its own proof
P↔QP \leftrightarrow QBiconditionalP↔Q≡(P→Q)∧(Q→P)P \leftrightarrow Q \equiv (P \to Q) \land (Q \to P): prove both directions

Key Insight: A direct proof of “if nn is even, then n2n^2 is even” proves “if n2n^2 is odd, then nn is odd”. Together with the earlier theorem “if nn is odd, then n2n^2 is odd”, it proves that for each integer nn, nn is odd if and only if n2n^2 is odd.

IICounterexamples Travel with the Contrapositive

A conditional and its contrapositive fail at exactly the same integers; the converse can fail elsewhere.

IIITwo Know-Show Tables

Reaching nn from n2n^2 needs a square root; reaching n2n^2 from nn only needs squaring.

StepKnow / ShowReason
PPn2n^2 is an odd integer.Hypothesis
P1P1(∃k∈Z)(n2=2k+1)(\exists k \in \mathbb{Z})(n^2 = 2k + 1)Definition of odd integer
⋮\vdotsgap
⋮\vdotsn=±2k+1n = \pm\sqrt{2k + 1}, and no form 2q+12q + 1 appears: stalledSquare root of both sides of P1P1
Q1Q1(∃q∈Z)(n=2q+1)(\exists q \in \mathbb{Z})(n = 2q + 1)?
QQnn is an odd integer.Definition of odd integer
StepKnow / ShowReason
PPnn is an even integer.Hypothesis
P1P1(∃m∈Z)(n=2m)(\exists m \in \mathbb{Z})(n = 2m)Definition of even integer
P2P2n2=(2m)2=4m2=2(2m2)n^2 = (2m)^2 = 4m^2 = 2(2m^2)Substitution and algebra
P3P32m22m^2 is an integer.Closure of the integers under multiplication
Q1Q1(∃q∈Z)(n2=2q)(\exists q \in \mathbb{Z})(n^2 = 2q)?Steps P2P2 and P3P3, with q=2m2q = 2m^2
QQn2n^2 is an even integer.Definition of even integer

💡 For an integer, “not odd” means “even”; the course takes this fact as given for now.

IVProving Both Directions

Each proved conditional rules out the one truth-table row where it is false.

VQuiz Questions

Problem 1 · Form the Contrapositive

Given: the proposition “For each integer nn, if n2n^2 is even, then nn is even.” For integers, not even means odd. Which statement is its contrapositive?

✅ Correct! Swap the two parts and negate both: ¬Q\neg Q is “nn is odd” and ¬P\neg P is “n2n^2 is odd”. This contrapositive is the theorem proved early in the course, so the proposition is already proved too.
❌ That is the converse. It swaps the two parts but negates neither, and a converse is not logically equivalent to the original statement.
❌ Not quite. This negates the conclusion but keeps the hypothesis in place. The contrapositive swaps the hypothesis and the conclusion and negates both of them.
❌ That is the negation. The negation of a true statement is false, while the contrapositive always has the same truth value as the original. The quantifier “for each integer nn” stays in front of the contrapositive.
Show solution

Let PP be “n2n^2 is even” and QQ be “nn is even”. The proposition is (∀n∈Z)(P→Q)(\forall n \in \mathbb{Z})(P \to Q).

The contrapositive of P→QP \to Q is ¬Q→¬P\neg Q \to \neg P. For an integer, ¬Q\neg Q (“nn is not even”) becomes “nn is odd”, and ¬P\neg P (“n2n^2 is not even”) becomes “n2n^2 is odd”. The quantifier stays out in front:

(∀n∈Z) (n is odd→n2 is odd).(\forall n \in \mathbb{Z})\,(n \text{ is odd} \to n^2 \text{ is odd}).

So the answer is c. Option a is the converse Q→PQ \to P, option b is P→¬QP \to \neg Q, and option d is the negation of the proposition; none of them is logically equivalent to the original.

Problem 2 · Converse or Contrapositive?

Given: the true statement “For every real number xx, if x=3x = 3, then x2=9x^2 = 9.” Which statement is logically equivalent to it, and therefore also true?

✅ Correct! This is the contrapositive ¬Q→¬P\neg Q \to \neg P, which has the same truth value as P→QP \to Q in every row of the truth table.
❌ That is the converse. It is false: x=−3x = -3 gives x2=9x^2 = 9 while x≠3x \neq 3.
❌ Not quite. The biconditional contains the converse as one of its two directions, and the converse fails at x=−3x = -3.
❌ Close, but… the parts are swapped, yet only the new hypothesis is negated. With x=0x = 0 the hypothesis x2≠9x^2 \neq 9 is true and the conclusion x=3x = 3 is false.
Show solution

Let PP be “x=3x = 3” and QQ be “x2=9x^2 = 9”. The given statement is P→QP \to Q.

  • Contrapositive ¬Q→¬P\neg Q \to \neg P: if x2≠9x^2 \neq 9, then x≠3x \neq 3. Logically equivalent, so it is true. This is d.
  • Converse Q→PQ \to P: if x2=9x^2 = 9, then x=3x = 3. False at x=−3x = -3.
  • Biconditional P↔Q≡(P→Q)∧(Q→P)P \leftrightarrow Q \equiv (P \to Q) \land (Q \to P): false, because its second part is the converse.
  • ¬Q→P\neg Q \to P: if x2≠9x^2 \neq 9, then x=3x = 3. False at x=0x = 0.

Problem 3 · Rescue a Stalled Proof

Given: the proposition “For each integer nn, if 5n+35n + 3 is even, then nn is odd.” A direct proof writes 5n+3=2k5n + 3 = 2k and stalls at n=2k−35n = \frac{2k - 3}{5}. For integers, not odd means even and not even means odd. The proof of the contrapositive writes n=2mn = 2m and needs an integer qq with 5n+3=2q+15n + 3 = 2q + 1.

Which statement should be proved directly instead?

Which choice completes the proof?

✅ Correct! 5(2m)+3=10m+3=2(5m+1)+15(2m) + 3 = 10m + 3 = 2(5m + 1) + 1, and 5m+15m + 1 is an integer, so the contrapositive and therefore the proposition are proved.
❌ That is the converse. It swaps the parts without negating them, so proving it would not prove the proposition.
❌ Only half negated. This is ¬Q→P\neg Q \to P: the new hypothesis “nn is even” is negated, but the new conclusion “5n+35n + 3 is even” is not. It is false at n=0n = 0, where 5n+3=35n + 3 = 3.
❌ Only half negated. This is Q→¬PQ \to \neg P: the conclusion is negated but the hypothesis “nn is odd” is not. It is false at n=1n = 1, where 5n+3=85n + 3 = 8.
❌ Check the form. Swap hypothesis and conclusion, then negate both: ¬Q\neg Q is “nn is even” and ¬P\neg P is “5n+35n + 3 is odd”.
❌ Not an integer. 10m+3=2(5m+32)10m + 3 = 2\left(5m + \tfrac{3}{2}\right) is true, but qq must be an integer, and the target form is 2q+12q + 1, not 2q2q.
❌ The factor of 2 is missing. With q=10m+2q = 10m + 2, 2q+1=20m+52q + 1 = 20m + 5, which is not 10m+310m + 3. Split 10m+310m + 3 as (10m+2)+1(10m + 2) + 1 and factor 22 out of 10m+210m + 2.
❌ Off by 2. With q=5mq = 5m, 2q+1=10m+12q + 1 = 10m + 1, but 5(2m)+3=10m+35(2m) + 3 = 10m + 3. Write 10m+3=(10m+2)+110m + 3 = (10m + 2) + 1 instead.
❌ Check the algebra. Compute 2q+12q + 1 for your choice and compare it with 5(2m)+3=10m+35(2m) + 3 = 10m + 3.
Show solution

Let PP be “5n+35n + 3 is even” and QQ be “nn is odd”. For an integer, ¬Q\neg Q is “nn is even” and ¬P\neg P is “5n+35n + 3 is odd”, so the contrapositive is: for each integer nn, if nn is even, then 5n+35n + 3 is odd.

Know: nn is even, so there is an integer mm with n=2mn = 2m.

5n+3=5(2m)+3=10m+3=(10m+2)+1=2(5m+1)+1.5n + 3 = 5(2m) + 3 = 10m + 3 = (10m + 2) + 1 = 2(5m + 1) + 1.

By closure of the integers under multiplication and addition, q=5m+1q = 5m + 1 is an integer, so 5n+3=2q+15n + 3 = 2q + 1 is odd.

The contrapositive is proved for every integer nn. Since P→Q≡¬Q→¬PP \to Q \equiv \neg Q \to \neg P, the original proposition is proved as well.

Problem 4 · Assemble a Biconditional

Given: two proved statements: “for each integer nn, if nn is even, then n2n^2 is even” (this video) and “for each integer nn, if nn is odd, then n2n^2 is odd” (early in the course). For integers, not even means odd. What do they prove together?

✅ Correct! The second statement is the contrapositive of “if n2n^2 is even, then nn is even”, so both conditionals hold and their conjunction is the biconditional.
❌ Not quite. “If nn is odd, then n2n^2 is odd” is exactly the contrapositive of “if n2n^2 is even, then nn is even”, so that direction is already proved.
❌ Not quite. With PP: “nn is even” and QQ: “n2n^2 is even”, the second statement is ¬P→¬Q\neg P \to \neg Q. That is the contrapositive of Q→PQ \to P, not of P→QP \to Q.
❌ Not quite. P↔Q≡(P→Q)∧(Q→P)P \leftrightarrow Q \equiv (P \to Q) \land (Q \to P), so two proved conditionals are a proof of the biconditional.
Show solution

Let PP be “nn is even” and QQ be “n2n^2 is even”.

  • The first statement is P→QP \to Q.
  • For an integer, “nn is odd” is ¬P\neg P and “n2n^2 is odd” is ¬Q\neg Q, so the second statement is ¬P→¬Q\neg P \to \neg Q. Its contrapositive is ¬¬Q→¬¬P\neg\neg Q \to \neg\neg P, that is, Q→PQ \to P.

Both P→QP \to Q and Q→PQ \to P are proved for every integer nn, so their conjunction is proved, and

(P→Q)∧(Q→P)≡P↔Q.(P \to Q) \land (Q \to P) \equiv P \leftrightarrow Q.

Therefore, for each integer nn, nn is even if and only if n2n^2 is even. The answer is b.

Solved: 0 / 4