ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalGE-167Proof By Contrapositio…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    GE-167

    Discrete Structures

    Progress0 / 67 done
    Topics67
    1Propositional and Predicate Logic
    2Logical Operators3Translations Between Symbolic Expressions and Formal English Expression4Logical Equivalences
    5Quantifiers6Nested Quantification7Equivalences in Predicate Logic8Translations Between Symbolic Forms and Formal English
    9Proof Methods and Strategies10Direct Proof11Proof by Contraposition12Proof by Induction13Proof by Implication14Existence Proof15Uniqueness Proofs16Trivial Proofs17Vacuous Proofs
    18Notations and Set Operations19Venn Diagrams20Countable and Uncountable Sets
    21Equivalence Relations and Partitions22Partial Orderings23Recurrence Relations51Reflexive, Symmetric, Transitive, and Antisymmetric52Equivalence Relations and Equivalence Classes53Partial Orders
    24Injective, Surjective, Bijective25Special Types of Functions26Function Composition27Inverse Functions28Recursive Functions29Compositions
    30Sequences and Series
    31Inclusion and Exclusion Principle32Pigeonhole Principle33Permutations and Combinations46Product Rule and Sum Rule47Principle of Inclusion-Exclusion48Binomial Coefficients49Pascal's Identity and Pascal’s Triangle50Binomial Theorem
    34Division Theorem35Modular Arithmetic36LCM and GCD37Euclidean and Extended Euclidean Method38Finding Solutions to Congruence
    39Fundamental Theorem of Arithmetic40Characterizations of Primes41Mersenne Primes
    42Weak Induction43Strong Induction
    44Formulation of Recurrences45Closed Formulas
    54Terminologies55Elements of Graph Theory56Planar Graphs57Graph Coloring58Euler Graph59Hamiltonian Path60Rooted Trees61Graph Traversals62Handshaking Lemma and Corollary63Special Families of Graphs64Graph Isomorphism65Planarity in Graphs66Eulerian and Hamiltonian Graphs67Trees in Graph Theory
    5 min read
    Topic 11 of 67
    Topic Study Note Illustration
    11

    Proof by Contraposition

    A proof by contraposition is a method of proof that is logically equivalent to a direct proof but uses a different approach. In this method, you prove...

    A proof by contraposition is a method of proof that is logically equivalent to a direct proof but uses a different approach. In this method, you prove the contrapositive of a statement instead of proving the statement itself directly.

    Contrapositive:

    The contrapositive of an implication of the form P→QP \rightarrow QP→Q (i.e., "If PPP, then QQQ") is the statement ¬Q→¬P\neg Q \rightarrow \neg P¬Q→¬P (i.e., "If not QQQ, then not PPP").

    • Original statement: P→QP \rightarrow QP→Q ("If PPP, then QQQ")
    • Contrapositive: ¬Q→¬P\neg Q \rightarrow \neg P¬Q→¬P ("If not QQQ, then not PPP")

    It turns out that a statement and its contrapositive are logically equivalent. This means that if you prove the contrapositive, you have also proven the original statement.

    Steps in a Proof by Contraposition:

    1. Restate the statement: Start with the original statement, typically of the form "If PPP, then QQQ".
    2. Form the contrapositive: Write the contrapositive of the statement, which will be of the form "If not QQQ, then not PPP".
    3. Prove the contrapositive: Prove the contrapositive directly, i.e., prove that ¬Q\neg Q¬Q implies ¬P\neg P¬P.
    4. Conclude the original statement: Since the contrapositive is logically equivalent to the original statement, proving the contrapositive proves the original statement.

    Example of Proof by Contraposition:

    Let's prove the following statement by contraposition:

    Statement: If n2n^2n2 is even, then nnn is even.

    Step 1: Restate the original statement

    The original statement is:

    "If n2n^2n2 is even, then nnn is even."

    This is in the form of an implication: P→QP \rightarrow QP→Q, where:

    • PPP: n2n^2n2 is even.
    • QQQ: nnn is even.

    Step 2: Form the contrapositive

    The contrapositive of this statement is:

    "If nnn is not even (i.e., nnn is odd), then n2n^2n2 is not even (i.e., n2n^2n2 is odd)."

    This is equivalent to:

    "If nnn is odd, then n2n^2n2 is odd."

    Step 3: Prove the contrapositive

    Now, we prove the contrapositive: "If nnn is odd, then n2n^2n2 is odd."

    • If nnn is odd, then by definition, n=2k+1n = 2k + 1n=2k+1, where kkk is an integer.

    • Squaring both sides of n=2k+1n = 2k + 1n=2k+1, we get:

      n2=(2k+1)2n^2 = (2k + 1)^2n2=(2k+1)2

      Expanding this:

      n2=4k2+4k+1n^2 = 4k^2 + 4k + 1n2=4k2+4k+1

      Notice that 4k2+4k4k^2 + 4k4k2+4k is an even number, because it is divisible by 2. Therefore, n2n^2n2 is of the form 2m+12m + 12m+1, where mmm is an integer, which means n2n^2n2 is odd.

    Thus, we've shown that if nnn is odd, then n2n^2n2 is odd.

    Step 4: Conclude the original statement

    Since we have proven the contrapositive, which is logically equivalent to the original statement, we can conclude that the original statement is true: "If n2n^2n2 is even, then nnn is even."


    General Structure of Proof by Contraposition:

    1. State the original implication: P→QP \rightarrow QP→Q.
    2. Write the contrapositive: ¬Q→¬P\neg Q \rightarrow \neg P¬Q→¬P.
    3. Prove the contrapositive: Show that ¬Q\neg Q¬Q implies ¬P\neg P¬P.
    4. Conclude that the original implication P→QP \rightarrow QP→Q is true.

    Why Use Contraposition?

    • Simplicity: Sometimes proving the contrapositive is easier or more direct than proving the original statement.
    • Logical equivalence: Since a statement and its contrapositive are logically equivalent, proving one is as good as proving the other.

    If you need further help with specific examples or problems involving contraposition, feel free to ask!

    ← Previous topic 10
    Direct Proof
    Next topic 12 →
    Proof by Induction

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    5mremaining
    832words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Discrete Structures