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? (p⟺q≡p→q∧q→pp \iff q \equiv p \to q \land q \to p).
  • How to prove multiple statements are equivalent? (p→q,q→rp \to q, q \to r, and r→pr \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 a≠0a \ne 0, b≠0b \ne 0 and a,ba,b have no common factors. It follows that

1x=ab⇒x=ba\frac{1}{x} = \frac{a}{b} \To x = \frac{b}{a}

As a≠0a \ne 0, b≠0b \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 p→qp \to q and q→pq \to p.
1. p→qp \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. p→qp \to q is proved.
2. q→pq \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 q→pq \to p is true.
Becuase both p→qp \to q and q→pq \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 p→qp \to q and q→pq \to p.
1. p→qp \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. p→qp \to q is proved.
2. q→pq \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. q→pq \to p is proved.
Becuase both p→qp \to q and q→pq \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)p→qp \to q, (2)q→rq \to r, and (3) r→pr \to p.
(1) p→qp \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=2k−53x+2=3(2k−5)+2=2(3k−7)+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. p→qp \to q is proved.
(2) q→rq \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=2k−4x2=(2k−4)2=2(2k2−8k+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. q→rq \to r is proved.
(3) r→pr \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. r→pr \to p is proved.
Because (1)p→qp \to q, (2)q→rq \to r, and (3) r→pr \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) 3x−13x - 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) 3x−13x - 1 is rational. In order to show that these statement are equivalent about the real number xx, we need to show (1)p→qp \to q, (2)q→rq \to r, and (3) r→pr \to p.
(1) p→qp \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 b≠0b \ne 0.

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

Therefore x2\dfrac{x}{2} is rational. p→qp \to q is proved.
(2) q→rq \to r. If (ii) x/2x/2 is rational, then (iii) 3x−13x - 1 is rational.
Let x2=mn\dfrac{x}{2} = \dfrac{m}{n}, where mm and nn have no common factors and n≠0n \ne 0.

x=2mn⇒3x−1=6m−nnx = \frac{2m}{n} \To 3x - 1 = \frac{6m-n}{n}

Therefore 3x−13x-1 is rational. q→rq \to r is proved.
(3) r→pr \to p. If (iii) 3x−13x - 1 is rational, then (i) xx is rational.
Let 3x−1=cd3x-1 = \dfrac{c}{d}, where cc and dd have no common factors and d≠0d \ne 0.

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

Therefore xx is rational. r→pr \to p is proved.
Because (1)p→qp \to q, (2)q→rq \to r, and (3) r→pr \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) 1−n1 - 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) 1−n1 - 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)p→qp \to q, (2)q→rq \to r, (3) r→sr \to s, and (4) s→ps \to p.
(1) p→qp \to q. If (i) n2n^2 is odd, then (ii) 1−n1 - 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.

1−n=1−2a−1=2(−a)1-n = 1-2a-1 = 2(-a)

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

1−n=2b⇒n=1−2bn3=(1−2b)3=1−6b+12b2−8b3=2(−4b3+6b2−3b)+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. q→rq \to r is proved.
(3) r→sr \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. r→sr \to s is proved.
(4) s→ps \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. s→ps \to p is proved.
Because (1)p→qp \to q, (2)q→rq \to r, (3) r→sr \to s, and (4) s→ps \to p are all true, the statements pp, qq, rr, and ss are equivalent.