Discrete Math Tutor

Proof / Direct And Contrapositive

Least You Need to Know: Direct Proof and Contrapositive

When a statement has the form **if P, then Q**, you need to choose a proof path that preserves logic instead of guessing from examples.

The least you need to know

Key notation

P → Q if P then Q
¬Q → ¬P contrapositive
therefore
is an element of

Tiny worked example

  • Claim: If n is even, then n^2 is even.\n- Let n = 2k. Then n^2 = 4k^2 = 2(2k^2), so n^2 is even.\n- The proof starts from the hypothesis and rewrites it in a useful form.

Common mistakes

How to recognize this kind of problem

Start practice