Skip to main content
Engineering LibreTexts

1.7: Proof by Cases

  • Page ID
    49292
    • Eric Lehman, F. Thomson Leighton, & Alberty R. Meyer
    • Google and Massachusetts Institute of Technology via MIT OpenCourseWare
    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Breaking a complicated proof into cases and proving each case separately is a common, useful proof strategy. Here’s an amusing example.

    Let’s agree that given any two people, either they have met or not. If every pair of people in a group has met, we’ll call the group a club. If every pair of people in a group has not met, we’ll call it a group of strangers.

    Theorem

    Every collection of 6 people includes a club of 3 people or a group of 3 strangers.

    Proof

    The proof is by case analysis5. Let \(x\) denote one of the six people. There are two cases:

    1. Among 5 other people besides \(x\), at least 3 have met \(x\).
    2. Among the 5 other people, at least 3 have not met \(x\).

    Now, we have to be sure that at least one of these two cases must hold,6 but that’s easy: we’ve split the 5 people into two groups, those who have shaken hands with \(x\) and those who have not, so one of the groups must have at least half the people.

    Case 1: Suppose that at least 3 people did meet \(x\).

    This case splits into two subcases:

    Case 1.1: No pair among those people met each other. Then these people are a group of at least 3 strangers. The theorem holds in this subcase.

    Case 1.2: Some pair among those people have met each other. Then that pair, together with \(x\), form a club of 3 people. So the theorem holds in this subcase.

    This implies that the theorem holds in Case 1.

    Case 2: Suppose that at least 3 people did not meet \(x\).

    This case also splits into two subcases:

    Case 2.1: Every pair among those people met each other. Then these people are a club of at least 3 people. So the theorem holds in this subcase.

    Case 2.2: Some pair among those people have not met each other. Then that pair, together with \(x\), form a group of at least 3 strangers. So the theorem holds in this subcase.

    This implies that the theorem also holds in Case 2, and therefore holds in all cases. \(\quad \blacksquare\)

     

    5Describing your approach at the outset helps orient the reader.

    6Part of a case analysis argument is showing that you’ve covered all the cases. This is often obvious, because the two cases are of the form “\(P\)” and “not \(P\).” However, the situation above is not stated quite so simply.


    This page titled 1.7: Proof by Cases is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by Eric Lehman, F. Thomson Leighton, & Alberty R. Meyer (MIT OpenCourseWare) .

    • Was this article helpful?