Proofs of Mathematical Properties
Proofs of Mathematical Properties
Fall 2006
Pat Rossi Name
Instructions: Prove or Disprove the following. In the case where the claim is false, provide
a counter-example.
Without loss of generality, we can assume that m and n are relatively prime.*
√
⇒ 2= m n
m2
⇒2= n2
⇒ 2n2 = m2
⇒ m2 is even
⇒ m is even.
⇒ n2 = 2k2
⇒ n2 is even
⇒ n is even
*If m and n are not relatively prime, then let d be the greatest common divisor of
m and n. There exist relatively
√ prime integers m1 and√n1 such that m = dm1 and
n = dn1 . Thus we can write 2 = n = dm
m 1
dn1
= m 1
n1
, and 2 is written as the quotient
of relatively prime integers.
Proof. Let x, y ∈ Q.
m
Then ∃ m, n, r, s ∈ Z with n, s 6= 0 such that x = n
and y = rs .
m r ms±nr
Observe: x ± y = n
± s
= ns
.
ms±nr
Since integers are closed under addition, subtraction, and multiplication, x±y = ns
is the quotient of integers, hence rational.
2
5. The product of rational numbers is rational.
Proof. Let x, y ∈ Q.
m
Then ∃ m, n, r, s ∈ Z with n, s 6= 0 such that x = n
and y = rs .
m r mr
Observe: x · y = n
· s
= ns
.
mr
Since integers are closed under multiplication, x · y = ns
is the quotient of integers,
hence rational.
6. The quotient of rational numbers is rational, provided that the divisor is non-zero.
Proof. Let x, y ∈ Q.
m
Then ∃ m, n, r, s ∈ Z with n, r, s 6= 0 such that x = n
and y = rs .
x ( mn ) m s ms
Observe: = = · =
y ( rs ) n r nr
x ms
Since integers are closed under multiplication, y
= nr
is the quotient of integers, hence
rational.
z − |{z}
Then y = |{z} x ⇒ y is rational, since it is the difference of rationals.
∈Q ∈Q
Since the assumption that z ∈ Q leads to a contradiction, it must be the case that
z ∈ Qc .
This is false. Let y be any irrational number. Then 0·y = 0 is the product of a rational
and an irrational, and yet it is rational.
0
Similarly, y
= 0 is the quotient of a rational and an irrational, and yet it is rational.
3
9. The product or quotient of a non-zero rational number and an irrational number is
irrational.
Since the assumption that z ∈ Q leads to a contradiction, it must be the case that
z ∈ Qc .
Since the assumption that z ∈ Q leads to a contradiction, it must be the case that
z ∈ Qc .
Similarly, since the quotient xy is irrational, its reciprocal xy also has to be irrational -
otherwise, it would be the quotient of integers, and hence xy would be the quotient of
rationals, which we know to be false.
4
10. The sum or difference of two irrational numbers may or may not be irrational.
First, we will show that the sum or difference of two irrational numbers can be rational.
√ ¡ √ ¢
Observe: 2 + − 2 = 0 is the sum of irrationals, and the sum is rational.
√ √
Similarly, 2 − 2 = 0 is the difference of irrationals, and the difference is rational.
Next, we will show that the sum or difference of two irrational numbers can be irra-
tional.
√ √ √
Observe: 2 + 2 = 2 2 is the sum or irrationals. To see that this sum is irrational,
we will assume the contrary and derive a contradiction.
√ √
If 2 2 were rational, then 2 2 2 would be the quotient of two rational numbers, hence,
rational.
√ √
However, 2 2 2 = 2 which we know to be irrational.
5
11. The product or quotient of two irrational numbers may or may not be irrational.
To show that
√ the product or quotient of two irrational numbers may be rational, observe
that 1 + 2 is the irrational, as it is the sum of a rational and an irrational.
¡ √ ¢¡ √ ¢ √
Thus, 1 + 2 1 + 2 = 3 + 2 2 is the product of irrationals, and this product is
irrational.
√ √
Also, 1+√2 2 = √1
2
+ √2
2
= √1
2
+ 1 is the quotient of irrationals and this quotient is
irrational.
Alternate Proof: If we accept the fact that the square root of any integer that is
not a perfect square is irrational, then we have easier proofs that the product or
quotient of irrationals can be irrational:
√ √ √
Observe: 3 2 = 6 is the product of irrationals, and this product is irrational.
√ √
Observe: √63 = 2 is the quotient of irrationals, and this quotient is irrational.
12. Between any two distinct rational numbers there is another rational number.
Proof. Let x, y ∈ Q, with x 6= y.
6
13. Between any two real numbers there is a rational number.
⇒ Ny − Nx = Nε > 1.
Since Ny − Nx > 1, there exists an integer M such that Nx < M < Ny.
M
⇒x< N
< y.
M
Since N
is the quotient of integers, it is rational.
M
i.e., N
is a rational number between x and y.
Thus, ky − kx = kε > 1.
N
Remark 1 The problem with this proof, is that N may be zero. In that case, k
is not
irrational.
7
Proof: (Correct) Let x, y ∈ R, with x 6= y.
Thus, ky − kx = kε > 2.
8
17. Prove or disprove:
Let y ∈ R be given.
Scratchwork:
We want: x such that f (x) = y.
⇒ 5x + 3 = y
⇒ 5x = y − 3
⇒ x = y−3
5
Therefore our claim is false. For example, given y = 0, There does not exist an x
such that f (x) = 0
9
(e) f : R → R given by f (x) = 5x3 + 3 is onto
Let y ∈ R be given.
¡ y−3 ¢ 13
Let x ∈ R be given by x = 5
³¡ ¢ 1 ´3 ¡ y−3 ¢
3 y−3 3
Observe: f (x) = 5x + 3 = 5 5
+ 3= 5 5
+ 3 = (y − 3) + 3 = y.
¡ y−3 ¢ 13
Thus, given y ∈ R, ∃x ∈ R (namely x = 5
) such that f (x) = y.
Scratchwork:
We want: x such that f (x) = y.
⇒ 5x3 + 3 = y
⇒ 5x3 = y − 3
⇒ x3 = y−3
¡ 5 ¢ 13
⇒ x = y−35
Proof. Let the hypothesis be given. (i.e., Suppose that f : X → Y is one to one, and
10
g : Y → Z is one to one.)
Proof. Let the hypothesis be given. (i.e., Suppose that f : X → Y is onto, and
g : Y → Z is onto.)
Let z ∈ Z.
Hence, g ◦ f is onto.
11
20. Given f : X → Y and g : Y → Z, Suppose that g ◦ f : X → Z is one to one. Is either
f or g necessarily one to one?
f g
X Y Z
a
1 x
b
2 y
Proof. Let the hypothesis be given. (i.e., suppose that g ◦ f : X → Z is one to one.)
Suppose also, for the sake of deriving a contradiction, that f : X → Y is not one to
one. Then ∃x1, x2 ∈ X, with x1 6= x2 , such that f (x1 ) = f (x2 ) .
⇒ g (f (x1 )) = g (f (x2 )) .
Since the assumption that f is not one to one yields a contradiction, it must be false.
12
21. Given f : X → Y and g : Y → Z, Suppose that g ◦ f : X → Z is onto. Is either f or
g necessarily onto?
f g
X Y Z
a
1 x
b
2 y
13
22. A function f : X → Y has an inverse if and only if it is one to one and onto.
Since f −1 ◦ f is one to one and onto, then by previous exercises (20 and21), f must be
one to one, and f −1 must be onto.
Since f ◦ f −1 is one to one and onto, then by previous exercises (20 and21), f −1 must
be one to one, and f must be onto.
Let the hypothesis be given. (i.e., Suppose that f : X → Y is one to one and onto.)
Note that since f is onto, for any value of y ∈ Y, there exists an x ∈ X such that
f (x) = y.
Since f is one to one, there is only one x ∈ X such that f (x) = y. We’ll call it xy
Thus, f −1 ◦ f = 1X
Remark 2 Note that if ∃f : X → Y that is one to one and onto, then ∃g : Y → X that is
one to one and onto (e.g., f −1 )
Remark 3 If ∃f : S → N that is one to one and onto, then ∃g : N → S that is one to one
and onto also.
Thus, to show that a set is denumerable, we can show that ∃g : N → S that is one to one
and onto, or we can show that ∃f : S → N that is one to one and onto. Either is sufficient.
14
Remark 4 Since the composition of one to one and onto functions is also one to one
and onto, if a set A is known to be denumerable, then any set B that can be put into a
one to one correspondence with A is also one to one and onto. (Since A is denumerable,
one to one one to one
−−→ −−→
∃f : N onto A. Similarly,∃g : A onto B. Thus, (g ◦ f ) : N → B is one to one and onto.)
The point is this: As an alternate way of showing that a set B is denumerable, we
can exhibit a one to one correspondence between B and a set A, where A is known to be
denumerable.
Proof. Observe: N = { 1, 2, 3, 4, 5, 6, . . . }
↓ ↓ ↓ ↓ ↓ ↓
E = { 2, 4, 6, 8, 10, 12, . . . }
Define f : N → E by f (n) = 2n
Clearly from the diagram above, f is one to one and onto. Hence, E is denumerable.
Proof. Observe: N = { 1, 2, 3, 4, 5, 6, . . . }
↓ ↓ ↓ ↓ ↓ ↓
O = { 1, 3, 5, 7, 9, 11, . . . }
Define f : N → O by f (n) = 2n − 1.
Clearly from the diagram above, f is one to one and onto. Hence, O is denumerable.
Proof. Observe:
N = { 1, 2, 3, 4, 5, 6, 7, ... }
f↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
Z = { 0, 1, −1, 2, −2, 3, −3, . . . }
⎧ n
⎨ 2 if n is even
Define f : N → Z by f (n) =
⎩ n−1
− 2 if n is odd
Clearly from the diagram above, f is one to one and onto. Hence, Z is denumerable.
15
26. Z ∼ nZ (and consequently, nZ is denumerable)
Define f : Z → nZ by f (k) = kn
Clearly from the diagram above, f is one to one and onto. Hence, Z ∼nZ, and therefore,
nZ is denumerable by Remark 4 on page 15.
If we consider the ordered pair (i, j) in the ith row and jth column to represent the
quotient of integers ji , then every positive rational number appears in the table at least
once. (e.g., the rational number m n
appears in the mth row and nth column.)
Furthermore, the arrows in the table induce an exhaustive ordering of the positive
rational numbers as follows:
1, 12 , 2, 3, 13 , 14 , 23 , 32 , 4, 5, 15 , . . .
(Note that we have discarded repititions of rationals if they occur. e.g., we have
discarded (2, 2) because it is equaivalent to (1, 1) which is already on our list.)
Note also that since the positive rationals are ordered, they are in a one to one
correspondence with the natural numbers.
16
28. The set of negative rational numbers Q− is denumerable.
¡ ¢
Proof. The function f : Q+ → Q− given by f m n
= −m n
is clearly one to one and
onto.
Thus, f is onto.
29. The union of a denumerable set and a finite set is denumerable (you can assume that
the two sets are disjoint).
Observe: N = { 1, 2, 3, . . . , k, k + 1, k + 2, k + 3, . . . }
f↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
(A ∪ B) = { a1 , a2 , a3 , . . . , ak b1 , b2 , b3 , ... }
⎧
⎨ an if n ≤ k
Define f : N → (A ∪ B) by f (n) =
⎩
bn−k if n > k
Clearly from the diagram above, f is one to one and onto. Hence, (A ∪ B) is denumerable.
Observe:
N = { 1, 2, 3, 4, 5, 6, . . . }
f↓ ↓ ↓ ↓ ↓ ↓ ↓
(A ∪ B) = { a1 , b1 , a2 , b2 , a3 , b3 , . . . }
⎧
⎨ a n+1 if n is odd
2
Define f : N → (A ∪ B) by f (n) =
⎩
b n2 if n is even
Clearly from the diagram above, f is one to one and onto. Hence, (A ∪ B) is denumerable.
17
31. The union of finitely many (disjoint) denumerable sets is denumerable (i.e., if A1 , A2 , . . . , An are
denumerable, then ∪ni=1 Ai is denumerable.)
Proof. Suppose that A1 , A2 , . . . , An are denumerable. Then we can name their ele-
ments as follows:
Consider:
N = { 1, 2, n, n + 1, n + 2, 2n, 2n + 1, 2n + 2, 3n, . . .
↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
n
∪i=1 Ai = { a11 , a21 , . . . , an1 , a12 , a22 . . . , an2 , a13 , a23 , . . . , an3 , . . .
Alternate Proof
18
32. The union of denumerably many denumerable sets is denumerable (i.e., if A1 , A2 , . . . , An , . . . are
denumerable, then ∪∞
i=1 Ai is countable.) (Again, you can assume that the sets are dis-
joint.)
Proof. Let sets A1 , A2 , . . . , An , . . . be denumerable and given by:
A1 = {a11 , a12 , a13 , . . .}
A2 = {a21 , a22 , a23 , . . .}
A3 = {a31 , a32 , a33 , . . .}
..
.
An = {an1 , an2 , an3 , . . .}
..
.
(Note that aij is the j th element of the ith set.)
Consider the table of elements from ∪∞
i=1 Ai listed below:
Furthermore, the arrows in the table induce an exhaustive ordering of the elements
of ∪∞
i=1 Ai as follows:
a11 , a12 , a21 , a31 , a22 , a13 , a14 , a23 , a32 , a41 , a51 , a42 , a33 , a24 , a15 , . . .
19
34. The real numbers 0.5 and 0.499999 . . . are equal. (i.e., 0.5 = 0.4999 . . .)
i.e., 9x = 4.5
Hence, x = 0.5
Remark: The pervious proof hinges upon the supposition that we know how to add and
subtract non-terminating decimals and that when we do, “things work out" just as we
think they should.
Then 0.5 > 0.4999 . . . and consequently, ∃ε > 0 such that 0.5 − 0.4999 . . . = ε
Since the assumption that 0.5 6= 0.4999 . . . leads to a contradiction, the assumption
must be false. Hence, 0.5 6= 0.4999 . . .
36. The set of real numbers in the interval [0, 1] is uncountable (non-denumerable).
Suppose, for the sake of deriving a contradiction, that the set of real numbers in the
interval [0, 1] is denumerable.
Then there exists an exhaustive ordering of the set of real numers in the interval [0, 1] .
{x1 , x2 , x3 , . . . , xn , . . .}
20
Note that this ordering contains ALL of the real numbers in the interval [0, 1] .
Observe: Here, xij is the jth digit past the decimal point in the decimal expansion of
the ith real number xi .
Also: If xi can be written in terminating and non-terminating form (e.g., 0.5 can be
written as 0.499999 . . .), then we choose the non-terminating form.
y = 0.y1 y2 y3 . . . yn... where yi is the ith digit past the decimal point in the decimal
expansion of y.
The reason for this is that, by construction of y, the nth digit of y is different from the
nth digit of xn (i.e., yn 6= xnn ) for all n ∈ N.
Hence, y 6= xn ∀n ∈ N.
This contradicts our assumption that our list contains ALL of the real numbers in the
interval [0, 1] .
Since the assumption that the set of real numbers in the interval [0, 1] is denumerable
led to this contradiction, the assumption must be false. Hence, the numbers in the
interval [0, 1] is non-denumerable (uncountable).
21
37. The set of real numbers in the interval (0, 1) has the same cardinality as the set of real
numbers in the interval [0, 1] . (i.e., ∃f : [0, 1] → (0.1) that is one to one and onto.)
f iirrat (0,1)
Corollary The set of real numbers in the interval (0, 1) is non-denumerable (incountable).
Remark: By assuming that Q[(0,1) (the set of rational numbers in the interval (0, 1)) is
denumerable, we have assumed the (intuitively) obvious fact that the subset of a de-
numerable set is denumerable (or finite). Time permitting, we may or may not prove
this fact.
22
38. The entire set of real numbers R is uncountable (non-denumerable).
Proof. Since the set of real numbers in the interval (0, 1) is non-denumerable, it
suffices to exhibt a function f : (0, 1) → R that is one to one and onto.
10
y
5
0
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
x
-5
-10
Clearl, from the graph of f (x) , we see that f (x) is one to one and onto.
Proof.
(Alternate Proof) Since the set of real numbers in the interval (0, 1) is non-denumerable,
it suffices to exhibt a function f : (0, 1) → R that is one to one and onto.
⎧ 1
⎨ 1 − 2x for 0 < x < 12
Define f : (0, 1) → R by f (x) =
⎩ 1
2−2x
−1 for 12 ≤ x < 1
1
Observe: f (x) ≥ 0 ⇐⇒ 2
≤ x < 1.
23
f is one to one
Suppose that f (x1 ) = f (x2 ) ≥ 0.
1 1
⇒ 2−2x1
−1= 2−2x2
−1
1 1
⇒ 2−2x1
= 2−2x2
⇒ 2 − 2x2 = 2 − 2x1
⇒ 2x2 = 2x1
⇒ x2 = x1
i.e., (x2 ) = f (x2 ) ≥ 0 ⇒ x1 = x2
Similarly, if f (x1 ) = f (x2 ) < 0, then
1 1
1− 2x1
=1− 2x2
⇒ − 2x11 = − 2x12
⇒ 2x2 = 2x1
⇒ x2 = x1
i.e., f (x2 ) = f (x2 ) < 0 ⇒ x1 = x2
Hence, f is one to one.
f is onto
Suppose that y ≥ 0
£ ¢
Let x ∈ 12 , 1 be given by x = 1 − 1
2(y+1)
1 1 1 1
Observe: f (x) = −1 = 2−2(1− 2(y+1)
−1 = −1 = 1 −1 =
2−2x 1
) 2−(2− (y+1)
1
) (y+1)
(y + 1) − 1 = y
i.e., f (x) = y
Suppose that y < 0
¡ ¢
Let x ∈ 0, 12 be given by x = 1
2(1−y)
1 1 1
Observe: f (x) = 1 − 2x
=1− 1
=1−
1
= 1 − (1 − y) = y
2 2(1−y) (1−y)
i.e., f (x) = y
Thus, given y ∈ R, ∃x ∈ R such that y = f (x) .
Hence, f is onto.
24
Scratch Work
1
⇒ 2 − 2x = y+1
1
⇒1−x= 2(y+1)
1
⇒1−x= 2(y+1)
1
⇒ x − 1 = − 2(y+1)
1
⇒x=1− 2(y+1)
1
⇒x= 2(1−y)
25