9 - Proof by contradiction

Screen Shot 2023-09-24 at 10.00.31 PM.png

To prove this, draw a truth table.

Another way to think about this theorem is that if by assuming ¬R we can reach some false statement, then R must have been true after all.

There are some limitations:

The negation of
Screen Shot 2023-09-24 at 10.04.48 PM.png|138
is:
Screen Shot 2023-09-24 at 10.05.24 PM.png|157

An easy way to remember what to assume when proving an im- plication by contradiction is that you have the same assumptions as in both a direct proof and a contrapositive proof.

First, sometimes one can tell that a result could be proved by contradiction because the statement R itself has some negative sounding words. For instance, in this section we proved the following statements R:

• There is no smallest positive rational number.

• The number 2 is not rational.

• If x is even, then 2 does not divide x2+1.

Try to prove w/o contradiction first!

In Class Practice

R: There is no smallest positive rational number.
¬R: There exists a smallest positive rational number.

Assume, by way of contradiction, that there exists a smallest positive rational number x. Now consider the number x2. Since x is a rational number, x2 is also a rational number and x2>0. But x2<x, which is a contradiction.

R: xS,P(x)=>Q(x)
¬R:xS,P(x)¬Q(x)

Proposition: Let xZ. If 2x, then x(x2+1).

Proof: By way of contradiction, assume there exists xZ such that 2x and 2x2+1. Thus x=2k for some kZ and x2+1=2j for some jZ.

Proposition: Given xZ, if x2+2x3 is odd, then x2+4x5 is odd.

Proof: By way of contradiction that x2+2x3 is odd and x2+4x5 is even. Thus x2+2x3=2k+1 for some kZ. We find

x2+4x5=x2+2x3+2x2=2k+1+2x2=2(k+x1)+1

which is odd. This contradicts our assumption that x2+4x5 is even.

Proposition: If xZ is even, then x is not the sum of three integers with an odd number of them being odd.

Proof: Let xZ. By of contradiction, assume that there exists x such that x is even and x is the sum of three integers with an odd number of them being odd. There are two cases:

Case 1: Assume x=y+w+z where, without loss of generality, y is odd and w,z are even. Hence y=2k+1,w=2j,z=2h, x=2l where k,j,h,xZ.

Thus

2l=(2k+1)+(2j)+(2h)=2(k+j+h)+1$

HW 9

Ben Finch

E 9.1

R S ¬R ¬RS
T T F T
T F F T
F T T T
F F T F

The table does indeed verify that the only row where S is false and (¬R)S is true occurs when R is true.

E 9.2
Proposition: Given xZ, if 3x+1 is even, then 5x+2 is odd.

Direct Proof:
Let xZ. We work directly. Assume 3x+1 is even, thus 3x+1=2k for some kZ. Hence, 3x=2k1. We find

5x+2=3x+2x+2=2k1+2x+2=2(k+x+1)1

is an odd integer.

Contrapositive Proof:
Let xZ. We work contrapositively. Assume 5x+2 is even. Thus 5x+2=2k for some kZ. We find 3x+1=2k2x1=2(kx)1 is an odd integer.

Proof by Contradiction:
Assume, by way of contradiction, that both 3x+1 and 5x+2 are even. Thus 3x+1=2n and 5x+2=2k for some n,kZ. Plugging the two equations into each other, we get 3x+1=5x+2. Therefore, 1=2x+2=2(x+1) is even, which is false. Thus, the original implication is true.

E 9.3
Proposition: Given a,b,cZ with a2+b2=c2, then a is even or b is even.

Proof.
Assume, by way of contradiction, that a2+b2=c2 and that a is odd and b is odd. Thus a=2k+1 and b=2n+1 for some k,nZ. We find

a2+b2=c2(2k+1)2+(2n+1)2=c24k2+4k+1+4n2+4n+1=c22(2k2+2k+2n2+2n+1)=c2

which indicates that c2 is also even, which implies that c is even (since if a number's square is even, then it must also be even). Thus c=2p for some pZ. Subbing 2p in for c yields:

2(2k2+2k+2n2+2n+1)=(2p)22(2k2+2k+2n2+2n+1)=4p22(k2+k+n2+n)+1=2(p2)

which suggests some odd integer is equivalent to some even integer, which is false. Thus the original implication is true.

E 9.4
Proof:
Assume, by way of contradiction, that 3Q. We can then write 3=ab for some a,bN, with ab in lowest terms. By squaring and clearing the denominators, we have a2=2b2. Thus 2|a2 and hence 2a. So a=2k for some kZ. Plugging 2k for a in the original equation, we find

(2k)2=2b24k2=2b22k2=b2

Thus, 2b2 and hence 2b. However, now a and b are even, which contradicts
the fact that ab was assumed to be in lowest terms. Hence 3 is irrational.

E 9.5
Proof:
Assume, by way of contradiction, that 23Q. We can then write 23=ab for some a,bN, with ab in lowest terms. By cubing and clearing the denominators, we have a3=2b3. Thus 2a3 and hence 2a (by proposition 8.5). So a=2k for some kZ. Plugging 2k for a in the original equation, we find

(2k)3=2b38k3=2b32(2k3)=b3

Thus, 2b3 and hence 2b (by a proof in the book). However, now a and b are even, which contradicts the fact that ab was assumed to be in lowest terms. Hence 23 is irrational.

E 9.6
Assume, by way of contradiction, that x is rational, y is irrational, and x+y is rational. We can then write x+y=ab and x=kj for some a,b,k,jZ (where b,j0). We find

y=x+yx=(ab)(kj)=akbjbj

where akbj and bj are integers (and bj0). Thus y can be expressed as a rational number, which contradicts our assumption that y is irrational. Thus, our assumption that x+y is rational must be false. Therefore, x+y is irrational if x is rational and y is irrational.

E 9.7
Assume, by way of contradiction, that x is rational & x0, y is irrational, and xy is rational. We can then write x=ab and xy=kj for some a,b,k,jZ (where b,j0). We find

xy=kjy=kjaby=kjba=kbja

which is rational (since the product of any two rational numbers is also rational). This contradicts our original assumption that y is irrational. Therefore, if x is rational (and x0) and y is irrational, then xy is irrational.

E 9.8
Assume, by way of contradiction, that there is a smallest positive irrational number l. Now consider the number m=l2. From exercise 9.7, we know that if we multiply a non-zero rational number (1/2) and an irrational number (l), we will get an irrational number. This contradicts our assumption that l is the smallest positive irrational number since we have found a smaller positive irrational number m. Thus we find that there is no smallest positive irrational number.

E 9.9
Let x,yZ.
Assume, by way of contradiction, that 33x+132y=57. We can simplify the equation to 33(x+4y)=57. Since 33 and 57 are integers, we can assume x+4y is also an integer, since the product of two integers is an integer. However, if we divide both sides of the equation by 33 we get x+4y=5733, which is not an integer. Thus our original assumption that there exists some integer x and y such that 33x+132y=57 is false.