4.6 Proving equivalences

We have already seen and proven some conditional statements, i.e. ones of the form P⇒QP\Rightarrow Q. Recall, from Section 3.2.5, that saying two statements PP and QQ are equivalent means that P⇒QP\Rightarrow Q and Q⇒PQ\Rightarrow P. Hence proving P⇔QP\Leftrightarrow Q means proving P⇒QP\Rightarrow Q and Q⇒PQ\Rightarrow P.

4.6.1 Proving P⇔QP\Leftrightarrow Q by proving P⇒QP\Rightarrow Q and Q⇒PQ\Rightarrow P separately

As we saw with the proofs of the Pythagorean theorem and its converse (Section 4.2.1), it may be simplest to prove P⇒QP\Rightarrow Q and Q⇒PQ\Rightarrow P separately and then conclude that P⇔QP\Leftrightarrow Q.

Example 4.26.

Suppose that n=10⁢a+bn=10a+b for positive integers aa and bb. We shall prove that (a+b)(a+b) is a multiple of 99 if and only if nn is a multiple of 99.

[Take a few minutes to make sure you understand what this statement is claiming.]

Note that a positive integer being a multiple of 99 means that it can be written in the form 99 times an integer. So the above statement is claiming that

n=9⁢k⇔(a+b)=9⁢ln=9k\quad\Leftrightarrow\quad(a+b)=9l

for some integers ll and kk.

First we will prove the statement n=9⁢k⇒(a+b)=9⁢ln=9k\Rightarrow(a+b)=9l. Suppose n=9⁢kn=9k. Then

n\displaystyle n =10⁢a+b\displaystyle=10a+b (definition of nn)
⇔\displaystyle\Leftrightarrow\quad 9⁢k\displaystyle 9k =10⁢a+b\displaystyle=10a+b (replacing nn)
⇔\displaystyle\Leftrightarrow\quad 9⁢k\displaystyle 9k =9⁢a+(a+b)\displaystyle=9a+(a+b) (rewriting the right-hand side)
⇔\displaystyle\Leftrightarrow\quad a+b\displaystyle a+b =9⁢k−9⁢a\displaystyle=9k-9a (rearranging)
⇔\displaystyle\Leftrightarrow\quad a+b\displaystyle a+b =9⁢(k−a)\displaystyle=9(k-a) (factorising).

Since k−ak-a is an integer, we can conclude that a+ba+b is a multiple of 99.

Now we prove that (a+b)=9⁢l⇒n=9⁢k(a+b)=9l\Rightarrow n=9k. Suppose (a+b)=9⁢l(a+b)=9l. Then

n\displaystyle n =10⁢a+b\displaystyle=10a+b (definition of nn)
⇔\displaystyle\Leftrightarrow\quad n\displaystyle n =9⁢a+(a+b)\displaystyle=9a+(a+b) (rewriting the right-hand side)
⇔\displaystyle\Leftrightarrow\quad n\displaystyle n =9⁢a+9⁢l\displaystyle=9a+9l (replacing a+ba+b)
⇔\displaystyle\Leftrightarrow\quad n\displaystyle n =9⁢(a+l)\displaystyle=9(a+l) (factorising).

Since a+la+l is an integer, we can conclude that nn is a multiple of 9.

We have proved n=9⁢k⇒(a+b)=9⁢ln=9k\Rightarrow(a+b)=9l and (a+b)=9⁢l⇒n=9⁢k(a+b)=9l\Rightarrow n=9k and so we have proved n=9⁢k⇔(a+b)=9⁢ln=9k\Leftrightarrow(a+b)=9l.

Exercise 4.27.

Prove that a positive integer nn is a multiple of 66 if and only if nn is a multiple of 22 and of 33.

  • ​

    Solution.First we will prove that if nn is a multiple of 66 then nn is a multiple of 22 and of 33.

    Suppose nn is a multiple of 66, i.e. n=6⁢kn=6k for some integer kk. Then

    n\displaystyle n =2×(3⁢k),\displaystyle=2\times(3k), hence nn is a multiple of 2,
    and n\displaystyle n =3×(2⁢k),\displaystyle=3\times(2k), hence nn is a multiple of 3.

    Now we prove that if nn is a multiple of 22 and of 33 then nn is a multiple of 66. Suppose:

    • –
      ​

      nn is a multiple of 2, i.e. let n=2⁢ln=2l for some integer ll, and

    • –
      ​

      nn is a multiple of 3, i.e. let n=3⁢mn=3m for some integer mm.

    Then

    n\displaystyle n =3⁢n−2⁢n\displaystyle=3n-2n (see the note below)
    =3⁢(2⁢l)−2⁢(3⁢m)\displaystyle=3(2l)-2(3m) (replacing nn)
    =6⁢l−6⁢m\displaystyle=6l-6m (simplifying)
    =6⁢(l−m)\displaystyle=6(l-m) (factorising).

    Because l−ml-m is an integer, it follows that nn is a multiple of 6. The proof is complete.

A key step in the solution presented above is realising that you can write nn as 3⁢n−2⁢n3n-2n. The identity n=3⁢n−2⁢nn=3n-2n is obvious, but it is not obvious that this fact is going to be useful in a proof. Most mathematics students struggle with this phenomenon – you may read a proof, follow the logical argument, but be left feeling ‘I would not have thought of that’. The point you should take away from this exercise is that figuring out how to construct a proof (e.g. realising that writing n=3⁢n−2⁢nn=3n-2n might help) is part of what doing mathematics is all about. You will get better at finding arguments the more you practice and build your repertoire of ideas.

4.6.2 Proving P⇔QP\Leftrightarrow Q directly

In some cases, it might be possible to prove a statement P⇔QP\Leftrightarrow Q directly, rather than proving P⇒QP\Rightarrow Q and Q⇒PQ\Rightarrow P separately.

Example 4.28.

Suppose that aa and bb are real numbers. We shall prove that a<b⇔a+b2<ba<b\Leftrightarrow\frac{a+b}{2}<b.

[As usual, take a few minutes to understand this claim.]

Here is a proof.

a<b\displaystyle a<b\quad ⇔a+b<b+b\displaystyle\Leftrightarrow\quad a+b<b+b (adding bb to both sides)
⇔a+b<2⁢b\displaystyle\Leftrightarrow\quad a+b<2b
⇔a+b2<b\displaystyle\Leftrightarrow\quad\frac{a+b}{2}<b (dividing both sides by 22).

All statements made in this argument are equivalent; the proof is complete.

Note that we could have presented proofs of a<b⇒a+b2<ba<b\Rightarrow\frac{a+b}{2}<b and a+b2<b⇒a<b\frac{a+b}{2}<b\Rightarrow a<b separately (as we did in the previous section) but in this case it is possible and neater to do both at once.

4.6.3 Proving that more than two statements are equivalent

In Sections 4.6.1 and 4.6.2 we discussed how to prove statements of the form P⇔QP\Leftrightarrow Q. We now discuss what it means to prove that more than two statements are equivalent.

We do this by discussing an example and leave the details of the proof as an exercise.

Example 4.29.

Suppose that nn is an integer and consider the following statements.

  • AA:
    ​

    nn is even.

  • BB:
    ​

    n/2n/2 is an integer.

  • CC:
    ​

    n+1n+1 is odd.

  • DD:
    ​

    n+2n+2 is even.

These statements are all equivalent; if one is true then the others are true, and if one is false then the others are false. Take a few minutes to convince yourself of this.

One way to prove that AA, BB, CC and DD are equivalent would be to do so pairwise, i.e. to prove A⇔BA\Leftrightarrow B, A⇔CA\Leftrightarrow C, A⇔DA\Leftrightarrow D, B⇔CB\Leftrightarrow C, B⇔DB\Leftrightarrow D, C⇔DC\Leftrightarrow D. But this is quite inefficient and is not necessary if we think things through logically.

Suppose instead we can prove A⇒BA\Rightarrow B, B⇒CB\Rightarrow C, C⇒DC\Rightarrow D and D⇒AD\Rightarrow A. We can then deduce that all four statements are equivalent. To see this, observe that we would have established this loop of implications.

A{A}B{B}D{D}C{C}

Now, for example, we can deduce that A⇔CA\Leftrightarrow C: we know that A⇒BA\Rightarrow B and B⇒CB\Rightarrow C and so A⇒CA\Rightarrow C; and we know that C⇒DC\Rightarrow D and D⇒AD\Rightarrow A and so C⇒AC\Rightarrow A.

Observe, too, that it is not necessary to take the statements in the order they are given above. For example, it might be easier to prove B⇒A⇒C⇒D⇒BB\Rightarrow A\Rightarrow C\Rightarrow D\Rightarrow B. As long as there is a loop of implications involving all statements, you can deduce that the statements are equivalent.

Exercise 4.30.

Let nn be an integer. Prove that the following are equivalent.

  • AA:
    ​

    nn is even.

  • BB:
    ​

    n/2n/2 is an integer.

  • CC:
    ​

    n+1n+1 is odd.

  • DD:
    ​

    n+2n+2 is even.

  • ​

    Solution.As suggested above, we will prove B⇒A⇒C⇒D⇒BB\Rightarrow A\Rightarrow C\Rightarrow D\Rightarrow B.

    B⇒AB\Rightarrow A: Assuming n/2n/2 is an integer kk, then

    n/2=k⇔n=2⁢k.n/2=k\quad\Leftrightarrow\quad n=2k.

    This is the form of an even number so we can conclude nn is even.

    A⇒CA\Rightarrow C: By Definition 2.6, if nn is even, we can write n=2⁢ln=2l for some integer ll. Then n+1=2⁢l+1n+1=2l+1 is odd.

    C⇒DC\Rightarrow D: If n+1n+1 is odd, we can write n+1=2⁢p+1n+1=2p+1 for some integer pp and

    n+2\displaystyle n+2 =(n+1)+1\displaystyle=(n+1)+1
    =(2⁢p+1)+1\displaystyle=(2p+1)+1
    =2⁢p+2\displaystyle=2p+2
    =2×(p+1).\displaystyle=2\times(p+1).

    This is the form of an even number so we conclude n+2n+2 is even.

    D⇒BD\Rightarrow B: Assuming n+2n+2 is even, then there is an integer qq such that n+2=2⁢qn+2=2q. Rearranging, we have n=2⁢q−2=2×(q−1)n=2q-2=2\times(q-1) which shows nn is even as required.