4.6 Proving equivalences

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

4.6.1 Proving PQP\Leftrightarrow Q by proving PQP\Rightarrow Q and QPQ\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 PQP\Rightarrow Q and QPQ\Rightarrow P separately and then conclude that PQP\Leftrightarrow Q.

Example 4.26.

Suppose that n=10a+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=9k(a+b)=9ln=9k\quad\Leftrightarrow\quad(a+b)=9l

for some integers ll and kk.

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

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

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

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

n\displaystyle n =10a+b\displaystyle=10a+b (definition of nn)
\displaystyle\Leftrightarrow\quad n\displaystyle n =9a+(a+b)\displaystyle=9a+(a+b) (rewriting the right-hand side)
\displaystyle\Leftrightarrow\quad n\displaystyle n =9a+9l\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=9k(a+b)=9ln=9k\Rightarrow(a+b)=9l and (a+b)=9ln=9k(a+b)=9l\Rightarrow n=9k and so we have proved n=9k(a+b)=9ln=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=6kn=6k for some integer kk. Then

    n\displaystyle n =2×(3k),\displaystyle=2\times(3k), hence nn is a multiple of 2,
    and n\displaystyle n =3×(2k),\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=2ln=2l for some integer ll, and

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

    Then

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

    Because lml-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 3n2n3n-2n. The identity n=3n2nn=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=3n2nn=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 PQP\Leftrightarrow Q directly

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

Example 4.28.

Suppose that aa and bb are real numbers. We shall prove that a<ba+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<2b\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<ba+b2<ba<b\Rightarrow\frac{a+b}{2}<b and a+b2<ba<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 PQP\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 ABA\Leftrightarrow B, ACA\Leftrightarrow C, ADA\Leftrightarrow D, BCB\Leftrightarrow C, BDB\Leftrightarrow D, CDC\Leftrightarrow D. But this is quite inefficient and is not necessary if we think things through logically.

Suppose instead we can prove ABA\Rightarrow B, BCB\Rightarrow C, CDC\Rightarrow D and DAD\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 ACA\Leftrightarrow C: we know that ABA\Rightarrow B and BCB\Rightarrow C and so ACA\Rightarrow C; and we know that CDC\Rightarrow D and DAD\Rightarrow A and so CAC\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 BACDBB\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 BACDBB\Rightarrow A\Rightarrow C\Rightarrow D\Rightarrow B.

    BAB\Rightarrow A: Assuming n/2n/2 is an integer kk, then

    n/2=kn=2k.n/2=k\quad\Leftrightarrow\quad n=2k.

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

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

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

    n+2\displaystyle n+2 =(n+1)+1\displaystyle=(n+1)+1
    =(2p+1)+1\displaystyle=(2p+1)+1
    =2p+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.

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