1.7 Introduction to Proofs

Ex: 3, 8, 10, 12, 13

  • Direct proof

    If nn is odd, then n3n^3 is odd.

  • Contrapositive

    If 3n+23n+2 is even, then nn is even.

  • Contradiction

    2\sqrt 2 is irrational.

  • How to prove "if and only if" statement? (pqpqqpp \iff q \equiv p \to q \land q \to p).
  • How to prove multiple statements are equivalent? (pq,qrp \to q, q \to r, and rpr \to p).

Homework

p112: 13, 26, 27, 31, 32, 42

13. Prove that if xx is irrational, then 1/x1/x is irrational.

Solution

Proof By Contraposition
If 1/x1/x is rational, then xx is rational.
Let 1x=ab\dfrac{1}{x} = \dfrac{a}{b}, where a0a \ne 0, b0b \ne 0 and a,ba,b have no common factors. It follows that

1x=abx=ba\frac{1}{x} = \frac{a}{b} \To x = \frac{b}{a}

As a0a \ne 0, b0b \ne 0 and a,ba,b have no common factors, xx is rational.
Therefore, the original statement is true.

26. Prove that if nn is a positive integer, then nn is even if and only if 7n+47n + 4 is even.

Solution

Let pp be the statement "nn is even", and qq be the statement "7n+47n + 4 is even." To prove the original statement, we need to show pqp \to q and qpq \to p.
1. pqp \to q. Let n=2kn=2k, where kk is a positive integer. It follows that

7n+4=7×2k+4=2(7k+2)7n + 4 = 7 \times 2k + 4 = 2(7k+2)

Therefore, 7n+47n+4 is even. pqp \to q is proved.
2. qpq \to p. By contraposition, the contrapositive is "If nn is odd, then 7n+47n + 4 is odd". Let n=2m+1n=2m+1, where mm is a non-negative integer.

7n+4=7×(2m+1)+4=2(7m+5)+17n + 4 = 7 \times (2m+1) + 4 = 2(7m+5) + 1

Therefore, 7n+47n+4 is odd. The contrapositive is proved, and qpq \to p is true.
Becuase both pqp \to q and qpq \to p are true, the original statement is true.

27. Prove that if nn is a positive integer, then nn is odd if and only if 5n+65n + 6 is odd.

Solution

Let pp be the statement "nn is odd", and qq be the statement "5n+65n + 6 is odd." To prove the original statement, we need to show pqp \to q and qpq \to p.
1. pqp \to q. Let n=2k+1n=2k+1, where kk is a non-negative integer. It follows that

5n+6=5×(2k+1)+6=2(5k+5)+15n + 6 = 5 \times (2k+1) + 6 = 2(5k+5) + 1

Therefore, 5n+65n+6 is odd. pqp \to q is proved.
2. qpq \to p. By contraposition, If nn is even, then 5n+65n + 6 is even. Let n=2mn=2m, where mm is a non-negative integer.

5n+6=5×2m+6=2(5m+3)5n + 6 = 5 \times 2m + 6 = 2(5m+3)

Therefore, 5n+65n+6 is even. qpq \to p is proved.
Becuase both pqp \to q and qpq \to p are true, the original statement is true.

31. Show that these statements about the integer xx are equivalent: (i) 3x+23x + 2 is even, (ii) x+5x + 5 is odd, (iii) x2x^2 is even.

Solution

Let pp be the statement (i) 3x+23x + 2 is even, qq be the statement (ii) x+5x + 5 is odd, and rr be the statement (iii) x2x^2 is even. In order to show that these statement are equivalent about the integer xx, we need to show (1)pqp \to q, (2)qrq \to r, and (3) rpr \to p.
(1) pqp \to q. If (i) 3x+23x + 2 is even, then (ii) x+5x + 5 is odd.
By contraposition, the contrapositive is "if x+5x + 5 is even, then 3x+23x + 2 is odd". Let x+5=2kx + 5 = 2k, where kk is an integer.

x+5=2kx=2k53x+2=3(2k5)+2=2(3k7)+1\begin{aligned} x + 5 &= 2k \\ x &= 2k-5 \\ 3x+2 &= 3(2k-5) + 2 = 2(3k-7) + 1 \end{aligned}

Therefore, 3x+23x+2 is odd. pqp \to q is proved.
(2) qrq \to r. If (ii) x+5x + 5 is odd, then (iii) x2x^2 is even.
Let x+5=2k+1x + 5 = 2k + 1, where kk is an integer.

x+5=2k+1x=2k4x2=(2k4)2=2(2k28k+8)\begin{aligned} x+5 &= 2k+1\\ x &= 2k-4\\ x^2 &= (2k-4)^2 = 2(2k^2 - 8k + 8) \end{aligned}

Therefore, x2x^2 is even. qrq \to r is proved.
(3) rpr \to p. If (iii) x2x^2 is even, then (i) 3x+23x + 2 is even.
We first need to proof that if x2x^2 is even, then xx is even. By contraposition, the contrapositive is "if xx is odd, then x2x^2 is odd". Let x=2k+1x = 2k + 1, where kk is an integer.

x2=(2k+1)2=2(2k2+2k)+1x^2 = (2k+1)^2 = 2(2k^2 + 2k) + 1

Therefore x2x^2 is odd. We proved that if x2x^2 is even, then xx is even.
Let x=2mx = 2m, where mm is an integer.

3x+2=3×2m+2=2(3m+1)3x + 2 = 3 \times 2m + 2 = 2(3m+1)

Therefore 3x+23x + 2 is even. rpr \to p is proved.
Because (1)pqp \to q, (2)qrq \to r, and (3) rpr \to p are all true, the statements pp, qq, and rr are equivalent.

32. Show that these statements about the real number xx are equivalent: (i) xx is rational, (ii) x/2x/2 is rational, (iii) 3x13x - 1 is rational.

Solution

Let pp be the statement (i) xx is rational, qq be the statement (ii) x/2x/2 is rational, and rr be the statement (iii) 3x13x - 1 is rational. In order to show that these statement are equivalent about the real number xx, we need to show (1)pqp \to q, (2)qrq \to r, and (3) rpr \to p.
(1) pqp \to q. If (i) xx is rational, then (ii) x/2x/2 is rational.
Let x=abx =\dfrac{a}{b}, where aa and bb have no common factors and b0b \ne 0.

x2=a2b\frac{x}{2} = \frac{a}{2b}

Therefore x2\dfrac{x}{2} is rational. pqp \to q is proved.
(2) qrq \to r. If (ii) x/2x/2 is rational, then (iii) 3x13x - 1 is rational.
Let x2=mn\dfrac{x}{2} = \dfrac{m}{n}, where mm and nn have no common factors and n0n \ne 0.

x=2mn3x1=6mnnx = \frac{2m}{n} \To 3x - 1 = \frac{6m-n}{n}

Therefore 3x13x-1 is rational. qrq \to r is proved.
(3) rpr \to p. If (iii) 3x13x - 1 is rational, then (i) xx is rational.
Let 3x1=cd3x-1 = \dfrac{c}{d}, where cc and dd have no common factors and d0d \ne 0.

x=c+d3dx = \frac{c+d}{3d}

Therefore xx is rational. rpr \to p is proved.
Because (1)pqp \to q, (2)qrq \to r, and (3) rpr \to p are all true, the statements pp, qq, and rr are equivalent.

42. Prove that these four statements about the integer nn are equivalent: (i) n2n^2 is odd, (ii) 1n1 - n is even, (iii) n3n^3 is odd, (iv) n2+1n^2 + 1 is even.

Solution

Let pp be the statement (i) n2n^2 is odd, qq be the statement (ii) 1n1 - n is even, rr be the statement (iii) n3n^3 is odd, and ss be the statement (iv) n2+1n^2 + 1. In order to show that these statement are equivalent about the real number xx, we need to show (1)pqp \to q, (2)qrq \to r, (3) rsr \to s, and (4) sps \to p.
(1) pqp \to q. If (i) n2n^2 is odd, then (ii) 1n1 - n is even.
We first need to prove that if n2n^2 is odd, then nn is odd. By contraposition, the contrapositive is "if nn is even, then n2n^2 is even." Let n=2kn = 2k, where kk is an integer.

n2=(2k)2=2(2k2)n^2 = (2k)^2 = 2(2k^2)

Therefore, n2n^2 is even. The contrapositive is proved, and the original statement "if n2n^2 is odd, then nn is odd" is true. Let n=2a+1n = 2a + 1, where aa is an integer.

1n=12a1=2(a)1-n = 1-2a-1 = 2(-a)

Therefore 1n1-n is even. pqp \to q is proved.
(2) qrq \to r. If (ii) 1n1 - n is even, then (iii) n3n^3 is odd.
Let 1n=2b1-n = 2b, where bb is an integer.

1n=2bn=12bn3=(12b)3=16b+12b28b3=2(4b3+6b23b)+1\begin{aligned} 1-n &= 2b \To n = 1-2b\\ n^3 &= (1-2b)^3 \\ &= 1-6b+12b^2-8b^3 \\ &= 2(-4b^3+6b^2-3b) +1 \end{aligned}

Therefore n3n^3 is odd. qrq \to r is proved.
(3) rsr \to s. If (iii) n3n^3 is odd, then (iv) n2+1n^2 + 1 is even.
We first need to prove that if n3n^3 is odd, then nn is odd.
By contraposition, the contrapositive is "if nn is even, then n3n^3 is even". Let n=2cn = 2c, where cc is an integer.

n3=(2c)3=2(4c3)n^3 = (2c)^3 = 2(4c^3)

Therefore n3n^3 is even. The statement "if n3n^3 is odd, then nn is odd" is true.
Let n=2d+1n = 2d+1, where dd is an integer.

n2+1=(2d+1)2+1=2(2d2+2d+1)n^2 + 1 = (2d+1)^2 +1 = 2(2d^2+2d+1)

Therefore n2+1n^2 + 1 is even. rsr \to s is proved.
(4) sps \to p. If (iv) n2+1n^2 + 1 is even, then (i) n2n^2 is odd.
We first need to prove that if n2+1n^2 + 1 is even, nn is odd. By contraposition, the contrapositive is "if nn is even, then n2+1n^2 + 1 is odd." Let n=2hn = 2h, where hh is an integer.

n2+1=(2h)2+1=2(2h2)+1n^2 + 1 = (2h)^2 + 1 = 2(2h^2) + 1

Therefore n2+1n^2 + 1 is odd. The statement "if n2+1n^2 + 1 is even, nn is odd" is true.
Let n=2f+1n = 2f+1, where ff is an integer.

n2=(2f+1)2=2(2f2+2f)+1n^2 = (2f+1)^2 = 2(2f^2+2f) + 1

Therefore n2n^2 is odd. sps \to p is proved.
Because (1)pqp \to q, (2)qrq \to r, (3) rsr \to s, and (4) sps \to p are all true, the statements pp, qq, rr, and ss are equivalent.