Skip to main content

Section 3.2 More Methods of Proof

Beginning Activity Beginning Activity 2: Using the Contrapositive

The following statement was proven in Task 3.c in Section 1.2.

If n is an odd integer, then n2 is an odd integer.

Now consider the following proposition:

For each integer n, if n2 is an odd integer, then n is an odd integer.

1.

After examining several examples, decide whether you think this proposition is true or false.

2.

Try completing the following know-show table for a direct proof of this proposition. The question is, โ€œCan we perform algebraic manipulations to get from the โ€˜knowโ€™ portion of the table to the โ€˜showโ€™ portion of the table?โ€ Be careful with this! Remember that we are working with integers and we want to make sure that we can end up with an integer q as stated in Step Q1.

Step Know Reason
P n2 is an odd integer. Hypothesis
P1 (โˆƒkโˆˆZ)(n2=2k+1) Definition of โ€œodd integerโ€
โ‹ฎ โ‹ฎ โ‹ฎ
Q1 (โˆƒqโˆˆZ)(n=2q)
Q n is an odd integer. Definition of โ€œodd integerโ€
Step Show Reason

Recall that the contrapositive of the conditional statement Pโ†’Q is the conditional statement ยฌQโ†’ยฌP, which is logically equivalent to the original conditional statement. (It might be a good idea to review Beginning Activity 2 from Section 2.2.) Consider the following proposition once again:

For each integer n, if n2 is an odd integer, then n is an odd integer.

3.

Write the contrapositive of this conditional statement. Please note that โ€œnot oddโ€ means โ€œeven.โ€ (We have not proved this, but it can be proved using the Division Algorithm in Section 3.5.)

5.

By completing the proof in Exercise 4, have you proven the given proposition? That is, have you proven that if n2 is an odd integer, then n is an odd integer? Explain.

Beginning Activity Beginning Activity 2: A Biconditional Statement

1.

In Task 4.a from Section 2.2, we constructed a truth table to prove that the biconditional statement, Pโ†”Q, is logically equivalent to (Pโ†’Q)โˆง(Qโ†’P). Complete this exercise if you have not already done so.

2.

Suppose that we want to prove a biconditional statement of the form Pโ†”Q. Explain a method for completing this proof based on the logical equivalency in Exercise 1.

3.

Let n be an integer. Assume that we have completed the proofs of the following two statements:

  • If n is an odd integer, then n2 is an odd integer.

  • If n2 is an odd integer, then n is an odd integer.

(See Task 3.c from Section 1.2 and Beginning Activity 1.) Have we completed the proof of the following proposition?

For each integer n, n is an odd integer if and only if n2 is an odd integer.
Explain.

Subsection Review of Direct Proofs

In Section 1.2 and Section 3.1, we studied direct proofs of mathematical statements. Most of the statements we prove in mathematics are conditional statements that can be written in the form Pโ†’Q. A direct proof of a statement of the form Pโ†’Q is based on the definition that a conditional statement can only be false when the hypothesis, P, is true and the conclusion, Q, is false. Thus, if the conclusion is true whenever the hypothesis is true, then the conditional statement must be true. So, in a direct proof,

  • We start by assuming that P is true.

  • From this assumption, we logically deduce that Q is true.

We have used the so-called forward and backward method to discover how to logically deduce Q from the assumption that P is true.

Subsection Proof Using the Contrapositive

As we saw in Beginning Activity 1, it is sometimes difficult to construct a direct proof of a conditional statement. This is one reason we studied logical equivalencies in Section 2.2. Knowing that two expressions are logically equivalent tells us that if we prove one, then we have also proven the other. In fact, once we know the truth value of a statement, then we know the truth value of any other statement that is logically equivalent to it.

One of the most useful logical equivalencies in this regard is that a conditional statement Pโ†’Q is logically equivalent to its contrapositive, ยฌQโ†’ยฌP. This means that if we prove the contrapositive of the conditional statement, then we have proven the conditional statement. The following are some important points to remember.

  • A conditional statement is logically equivalent to its contrapositive.

  • Use a direct proof to prove that ยฌQโ†’ยฌP is true.

  • Caution: One difficulty with this type of proof is in the formation of correct negations. (We need to be very careful doing this.)

  • We might consider using a proof by contrapositive when the statements P and Q are stated as negations.

Subsection Writing Guidelines

One of the basic rules of writing mathematical proofs is to keep the reader informed. So when we prove a result using the contrapositive, we indicate this within the first few lines of the proof. For example,

  • We will prove this theorem by proving its contrapositive.

  • We will prove the contrapositive of this statement.

In addition, make sure the reader knows the status of every assertion that you make. That is, make sure you state whether an assertion is an assumption of the theorem, a previously proven result, a well-known result, or something from the reader's mathematical background. Following is a completed proof of a statement from Beginning Activity 1.

Proof.

We will prove this result by proving the contrapositive of the statement, which is

For each integer n, if n is an odd integer, then n2 is an odd integer.

However, in Theorem 1.10, we have already proven that if x and y are odd integers, then xโ‹…y is an odd integer. So using x=y=n, we can conclude that if n is an odd integer, then nโ‹…n, or n2, is an odd integer. We have thus proved the contrapositive of the theorem, and consequently, we have proved that if n2 is an even integer, then n is an even integer.

Subsection Using Other Logical Equivalencies

As was noted in Section 2.2, there are several different logical equivalencies. Fortunately, there are only a small number that we often use when trying to write proofs, and many of these are listed in Theorem 2.12 at the end of Section 2.2. We will illustrate the use of one of these logical equivalencies with the following proposition:

For all real numbers a and b, if aโ‰ 0 and bโ‰ 0, then abโ‰ 0.

First, notice that the hypothesis and the conclusion of the conditional statement are stated in the form of negations. This suggests that we consider the contrapositive. Care must be taken when we negate the hypothesis since it is a conjunction. We use one of De Morgan's Laws as follows:

ยฌ(aโ‰ 0โˆงbโ‰ 0)โ‰ก(a=0)โˆจ(b=0).

Progress Check 3.9. Using Another Logical Equivalency.

(a)

In English, write the contrapositive of, โ€œFor all real numbers a and b, if aโ‰ 0 and bโ‰ 0, then abโ‰ 0.โ€

Solution.

For all real numbers a and b, if ab=0, then a=0 or b=0.

(b)

The contrapositive is a conditional statement in the form Xโ†’(YโˆจZ). The difficulty is that there is not much we can do with the hypothesis (ab=0) since we know nothing else about the real numbers a and b. However, if we knew that a was not equal to zero, then we could multiply both sides of the equation ab=0 by 1a. This suggests that we consider using the following logical equivalency based on a result in Theorem 2.12:

Xโ†’(YโˆจZ)โ‰ก(XโˆงยฌY)โ†’Z.

In English, use this logical equivalency to write a statement that is logically equivalent to the contrapositive from Task 3.9.a.

Solution.

For all real numbers a and b, if ab=0 and aโ‰ 0, b=0.

(c)

The logical equivalency in Task 3.9.b makes sense because if we are trying to prove YโˆจZ, we only need to prove that at least one of Y or Z is true. So the idea is to prove that if Y is false, then Z must be true.

Use the ideas presented in the progress check to complete the proof of the following proposition.

Proof.

We will prove the contrapositive of this proposition, which is

For all real numbers a and b, if ab=0, then a=0 or b=0.

This contrapositive, however, is logically equivalent to the following:

For all real numbers a and b, if ab=0 and aโ‰ 0, then b=0.
To prove this, we let a and b be real numbers and assume that ab=0 and aโ‰ 0. We can then multiply both sides of the equation ab=0 by 1a. This gives

Now complete the proof.
โ‹ฎ

Therefore, b=0. This completes the proof of a statement that is logically equivalent to the contrapositive, and hence, we have proven the proposition.

Solution.

This gives

1a(ab)=1aโ‹…0.

We now use the associative property on the left side of this equation and simplify both sides of the equation to obtain

(1aโ‹…a)b=01โ‹…b=0b=0

Therefore, b=0 and this completes the proof of a statement that is logically equivalent to the contrapositive. Hence, we have proved the proposition.

Subsection Proofs of Biconditional Statements

In Beginning Activity 2, we used the following logical equivalency:

(Pโ†”Q)โ‰ก(Pโ†’Q)โˆง(Qโ†’P).

This logical equivalency suggests one method for proving a biconditional statement written in the form โ€œP if and only if Q.โ€ This method is to construct separate proofs of the two conditional statements Pโ†’Q and Qโ†’P. For example, since we have now proven each of the following:

we can state the following theorem.

Subsection Writing Guidelines

When proving a biconditional statement using the logical equivalency (Pโ†”Q)โ‰ก(Pโ†’Q)โˆง(Qโ†’P), we actually need to prove two conditional statements. The proof of each conditional statement can be considered as one of two parts of the proof of the biconditional statement. Make sure that the start and end of each of these parts is indicated clearly. This is illustrated in the proof of the following proposition.

Proof.

We will prove this biconditional statement by proving the following two conditional statements:

  • For each real number x, if x equals 2 , then x3โˆ’2x2+x=2.

  • For each real number x, if x3โˆ’2x2+x=2, then x equals 2.

For the first part, we assume x=2 and prove that x3โˆ’2x2+x=2. We can do this by substituting x=2 into the expression x3โˆ’2x2+x. This gives

x3โˆ’2x2+x=23โˆ’2(22)+2=8โˆ’8+2=2.

This completes the first part of the proof.

For the second part, we assume that x3โˆ’2x2+x=2 and from this assumption, we will prove that x=2. We will do this by solving this equation for x. To do so, we first rewrite the equation x3โˆ’2x2+x=2 by subtracting 2 from both sides:

x3โˆ’2x2+xโˆ’2=0.

We can now factor the left side of this equation by factoring an x2 from the first two terms and then factoring (xโˆ’2) from the resulting two terms. This is shown below.

x3โˆ’2x2+xโˆ’2=0x2(xโˆ’2)+(xโˆ’2)=0(xโˆ’2)(x2+1)=0.

Now, in the real numbers, if a product of two factors is equal to zero, then one of the factors must be zero. So this last equation implies that

xโˆ’2=0 or x2+1=0.

The equation x2+1=0 has no real number solution. So since x is a real number, the only possibility is that xโˆ’2=0. From this we can conclude that x must be equal to 2.

Since we have now proven both conditional statements, we have proven that x=2 if and only if x3โˆ’2x2+x=2.

Subsection Constructive Proofs

We all know how to solve an equation such as 3x+8=23, where x is a real number. To do so, we first add โˆ’8 to both sides of the equation and then divide both sides of the resulting equation by 3. Doing so, we obtain the following result:

If x is a real number and 3x+8=23, then x=5.

Notice that the process of solving the equation actually does not prove that x=5 is a solution of the equation 3x+8=23. This process really shows that if there is a solution, then that solution must be x=5. To show that this is a solution, we use the process of substituting 5 for x in the left side of the equation as follows: If x=5, then

3x+8=3(5)+8=15+8=23.

This proves that x=5 is a solution of the equation 3x+8=23. Hence, we have proven that x=5 is the only real number solution of 3x+8=23.

We can use this same process to show that any linear equation has a real number solution. An equation of the form

ax+b=c,

where a, b, and c are real numbers with aโ‰ 0, is called a linear equation in one variable.

Proof.

Assume that a, b, and c are real numbers with aโ‰ 0. We can solve the linear equation ax+b=c by adding โˆ’b to both sides of the equation and then dividing both sides of the resulting equation by a ( since aโ‰ 0), to obtain

x=cโˆ’ba.

This shows that if there is a solution, then it must be x=cโˆ’ba. We also see that if x=cโˆ’ba, then

ax+b=a(cโˆ’ba)+b=(cโˆ’b)+b=c.

Therefore, the linear equation ax+b=c has exactly one real number solution and the solution is x=cโˆ’ba.

The proof given for Proposition 3.13 is called a constructive proof. This is a technique that is often used to prove a so-called existence theorem. The objective of an existence theorem is to prove that a certain mathematical object exists. That is, the goal is usually to prove a statement of the form

There exists an x such that P(x).
For a constructive proof of such a proposition, we actually name, describe, or explain how to construct some object in the universe that makes P(x) true. This is what we did in Proposition 3.13 since in the proof, we actually proved that cโˆ’ba is a solution of the equation ax+b=c. In fact, we proved that this is the only solution of this equation.

Subsection Nonconstructive Proofs

Another type of proof that is often used to prove an existence theorem is the so-called nonconstructive proof. For this type of proof, we make an argument that an object in the universal set that makes P(x) true must exist but we never construct or name the object that makes P(x) true. The advantage of a constructive proof over a nonconstructive proof is that the constructive proof will yield a procedure or algorithm for obtaining the desired object.

The proof of the Intermediate Value Theorem from calculus is an example of a nonconstructive proof. The Intermediate Value Theorem can be stated as follows:

If f is a continuous function on the closed interval [a,b] and if q is any real number strictly between f(a) and f(b), then there exists a number c in the interval (a,b) such that f(c)=q.

The Intermediate Value Theorem can be used to prove that a solution to some equations must exist. This is shown in the next example.

Example 3.14. Using the Intermediate Value Theorem.

Let x represent a real number. We will use the Intermediate Value Theorem to prove that the equation x3โˆ’x+1=0 has a real number solution.

To investigate solutions of the equation x3โˆ’x+1=0, we will use the function

f(x)=x3โˆ’x+1.

Notice that f(โˆ’2)=โˆ’5 and that f(0)=1. Since f(โˆ’2)<0 and f(0)>0, the Intermediate Value Theorem tells us that there is a real number c between โˆ’2 and 0 such that f(c)=0. This means that there exists a real number c between โˆ’2 and 0 such that

c3โˆ’c+1=0,

and hence c is a real number solution of the equation x3โˆ’x+1=0. This proves that the equation x3โˆ’x+1=0 has at least one real number solution.

Notice that this proof does not tell us how to find the exact value of c. It does, however, suggest a method for approximating the value of c. This can be done by finding smaller and smaller intervals [a,b] such that f(a) and f(b) have opposite signs.

Exercises Exercises

1.

Let n be an integer. Prove each of the following:

(a)

If n is even, then n3 is even.

Hint.

Let n be an even integer. Since n is even, there exists an integer k such that n=2k. Now use this to prove that n3 must be even.

(b)

If n3 is even, then n is even.

Hint.

Prove the contrapositive.

2.

In Section 3.1, we defined congruence modulo n where n is a natural number. If a and b are integers, we will use the notation aโ‰ขb(modn) to mean that a is not congruent to b modulo n.

(a)

Write the contrapositive of the following conditional statement:

For all integers a and b, if aโ‰ข0(mod6) and bโ‰ข0(mod6), then abโ‰ข0(mod6).

Answer.

The contrapositive is, For all integers a and b, if abโ‰ก0(mod6), then aโ‰ก0(mod6) or bโ‰ก0(mod6).

(b)

Is this statement true or false? Explain.

3.

Complete the following.

(a)

Write the contrapositive of the following statement: For all positive real numbers a and b, if abโ‰ a+b2, then aโ‰ b.

Answer.

The contrapositive is: For all positive real numbers a and b, if a=b, then ab=a+b2.

(b)

Is this statement true or false? Prove the statement if it is true or provide a counterexample if it is false.

Answer.

The statement is true. If a=b, then a+b2=2a2=a, and ab=a2=a. This proves the contrapositive.

4.

Are the following statements true or false? Justify your conclusions.

(a)

For each aโˆˆZ, if aโ‰ก2(mod5), then a2โ‰ก4(mod5).

Answer.

True. If aโ‰ก2(mod5), then there exists an integer k such that aโˆ’2=5k. Then,

a2โˆ’4=(2+5k)2โˆ’4=20k+25k2.

This means that a2โˆ’4=5(4k+5k2), and hence, a2โ‰ก4(mod5).

(b)

For each aโˆˆZ, if a2โ‰ก4(mod5), then aโ‰ก2(mod5).

Answer.

False. A counterexample is a=3 since 32โ‰ก4(mod5) and 3โ‰ข2(mod5).

(c)

For each aโˆˆZ, aโ‰ก2(mod5) if and only if a2โ‰ก4(mod5).

Answer.

False. Part (b) shows this is false.

5.

Is the following proposition true or false?

For all integers a and b, if ab is even, then a is even or b is even.
Justify your conclusion by writing a proof if the proposition is true or by providing a counterexample if it is false.

6.

Consider the following proposition: For each integer a, aโ‰ก3(mod7) if and only if (a2+5a)โ‰ก3(mod7).

(a)

Write the proposition as the conjunction of two conditional statements.

Answer.

For each integer a, if aโ‰ก3(mod7), then (a2+5a)โ‰ก3(mod7), and for each integer a, if (a2+5a)โ‰ก3(mod7), then aโ‰ก3(mod7).

(b)

Determine if the two conditional statements in Task 6.a are true or false. If a conditional statement is true, write a proof, and if it is false, provide a counterexample.

Answer.

For each integer a, if aโ‰ก3(mod7), then (a2+5a)โ‰ก3(mod7) is true. To prove this, if aโ‰ก3(mod7), then there exists an integer k such that a=3+7k. We can then prove that

(a2+5a)โˆ’3=21+77k+49k2=7(3+11k+7k2).

This shows that (a2+5a)โ‰ก3(mod7). For each integer a, if (a2+5a)โ‰ก3(mod7), then aโ‰ก3(mod7) is false. A counterexample is a=6. When a=6, a2+5a=66 and 66โ‰ก3(mod7) and 6โ‰ข3(mod7).

(c)

Is the given proposition true or false? Explain.

Answer.

Since one of the two conditional statements in Part (b) is false, the given proposition is false.

7.

Consider the following proposition: For each integer a, aโ‰ก2(mod8) if and only if (a2+4a)โ‰ก4(mod8).

(a)

Write the proposition as the conjunction of two conditional statements.

(b)

Determine if the two conditional statements in Part (a) are true or false. If a conditional statement is true, write a proof, and if it is false, provide a counterexample.

(c)

Is the given proposition true or false? Explain.

8.

For a right triangle, suppose that the hypotenuse has length c feet and the lengths of the sides are a feet and b feet.

(a)

What is a formula for the area of this right triangle? What is an isosceles triangle?

(b)

State the Pythagorean Theorem for right triangles.

(c)

Prove that the right triangle described above is an isosceles triangle if and only if the area of the right triangle is 14c2.

Answer.

Prove both of the conditional statements: (1) If the area of the right triangle is c2/4, then the right triangle is an isosceles triangle. (2) If the right triangle is an isosceles triange, then the area of the right triangle is c2/4.

9.

A real number x is defined to be a rational number provided

 there exist integers m and n with nโ‰ 0 such that x=mn.

A real number that is not a rational number is called an irrational number. It is known that if x is a positive rational number, then there exist positive integers m and n with nโ‰ 0 such that x=mn. Is the following proposition true or false? Explain.

For each positive real number x, if x is irrational, then x is irrational.

Answer.

The statement is true. It is easier to prove the contrapositive, which is:

For each positive real number x, if x is rational, then x is rational.
Let x be a positive real number. If there exist positive integers m and n such that x=mn, then x=m2n2.

10.

Is the following proposition true or false? Justify your conclusion.

For each integer n, n is even if and only if 4 divides n2.

Hint.

Remember that there are two conditional statements associated with this biconditional statement. Be willing to consider the contrapositive of one of these conditional statements.

11.

Prove that for each integer a, if a2โˆ’1 is even, then 4 divides a2โˆ’1.

12.

Prove that for all integers a and m, if a and m are the lengths of the sides of a right triangle and m+1 is the length of the hypotenuse, then a is an odd integer.

13.

Prove the following proposition:

If p,qโˆˆQ with p<q, then there exists an xโˆˆQ with p<x<q.

14.

Are the following propositions true or false? Justify your conclusion.

(a)

There exist integers x and y such that 4x+6y=2.

(b)

There exist integers x and y such that 6x+15y=2.

(c)

There exist integers x and y such that 6x+15y=9.

15.

Prove that there exists a real number x such that x3โˆ’4x2=7.

Hint.

Define an appropriate function and use the Intermediate Value Theorem.

16.

Let y1,y2,y3,y4 be real numbers. The mean, yโ€•, of these four numbers is defined to be the sum of the four numbers divided by 4. That is,

yโ€•=y1+y2+y3+y44.

Prove that there exists a yi with 1โ‰คiโ‰ค4 such that yiโ‰ฅyโ€•.

Hint.

One way is to let y max  be the largest of y1,y2,y3,y4.

17.

Let a and b be natural numbers such that a2=b3. Prove each of the propositions in Parts (a) through (d). (The results of Exercise 1 and Theorem 3.11 may be helpful.)

(a)

If a is even, then 4 divides a.

(b)

If 4 divides a, then 4 divides b.

Answer.

Since 4 divides a, there exist an integer n such that a=4n. Using this, we see that b3=16n2. This means that b3 is even and hence by Exercise (1), b is even. So there exists an integer m such that b=2m. Use this to prove that m3 must be even and hence by Exercise 1, m is even.

(c)

If 4 divides b, then 8 divides a.

(d)

If a is even, then 8 divides a.

(e)

Give an example of natural numbers a and b such that a is even and a2=b3, but b is not divisible by 8.

18.

Prove the following proposition:

Let a and b be integers with aโ‰ 0. If a does not divide b, then the equation ax3+bx+(b+a)=0 does not have a solution that is a natural number.

Hint.

It may be necessary to factor a sum of cubes. Recall that

u3+v3=(u+v)(u2โˆ’uv+v2).

19. Evaluation of Proofs.

See the instructions for Exercise 19 from Section 3.1.

(a)
Proposition

If m is an odd integer, then (m+6) is an odd integer.

Proof

For m+6 to be an odd integer, there must exist an integer n such that

m+6=2n+1.

By subtracting 6 from both sides of this equation, we obtain

m=2nโˆ’6+1=2(nโˆ’3)+1.

By the closure properties of the integers, (nโˆ’3) is an integer, and hence, the last equation implies that m is an odd integer. This proves that if m is an odd integer, then m+6 is an odd integer.

(b)
Proposition

For all integers m and n, if mn is an even integer, then m is even or n is even.

Proof

For either m or n to be even, there exists an integer k such that m=2k or n=2k. So if we multiply m and n, the product will contain a factor of 2 and, hence, mn will be even.

Activity 13. Using a Logical Equivalency.

Consider the following proposition:

(a)

Notice that the hypothesis of the proposition is stated as a conjunction of two negations ( โ€œ3 does not divide a and 3 does not divide bโ€). Also, the conclusion is stated as the negation of a sentence ( โ€œ3 does not divide the product aโ‹…b.โ€). This often indicates that we should consider using a proof of the contrapositive. If we use the symbolic form (ยฌQโˆงยฌR)โ†’ยฌP as a model for this proposition, what is P, what is Q, and what is R?

(b)

Write a symbolic form for the contrapositive of (ยฌQโˆงยฌR)โ†’ยฌP.

(c)

Write the contrapositive of the proposition as a conditional statement in English.

We do not yet have all the tools needed to prove the proposition or its contrapositive.

(e)

Assume that Proposition 3.16 is true and use it to help construct a proof of the contrapositive of the given proposition. In doing so, you will most likely have to use the logical equivalency Pโ†’(QโˆจR)โ‰ก(PโˆงยฌQ)โ†’R.