Docsity

Math 310 Homework 3 Solutions: Proofs about Integer Divisibility and Even Numbers, Assignments of Mathematics

Toggle sidebar
bg1
Math 310: Introduction to Mathematical Reasoning
Summer 2006
Homework 3 Solutions
(From An Introduction to Mathematical Reasoning, by Peter J. Eccles.)
Definition: Given two integers aand b, we say that adivides bor bis a multiple of ato mean
that there is an integer qsuch that aq =b. Written in symbols we write a|bfor adivides b.
1. Prove that for all integers a,band c,
(adivides b) and (bdivides c) =⇒(adivides c).
Proof. Suppose adivides band bdivides c. The there is a q∈Zsuch that aq =b. Likewise
there is a p∈Zsuch that bp =c. Then substituting aq for bwe have
c=bp = (aq)p=a(qp).
Since the integers are closed under multiplication, qp is an integer and hence by definition, a
divides c.
2. Prove that the square of an even integer is even. (Hint: An even integer is one that is a
multiple of 2.)
Proof. Suppose n∈Zis even. Then there is an integer kwith n= 2k. Thus
n2= (2k)2= 2(2k2).
Then by definition, n2is even.
3. Prove that 0 divides an integer aif and only if a= 0.
Proof. This is an “if and only if” statement, so we have two things to prove.
First, assume 0 divides a. Then for some integer q, 0q=a. We have already proven that for
any integer, 0q= 0. Thus
a= 0q= 0.
Now suppose a= 0. Then since 0q= 0 for every q∈Z, we see that 0 divides 0 by defintion.
1
pf2

Partial preview of the text

Download Math 310 Homework 3 Solutions: Proofs about Integer Divisibility and Even Numbers and more Assignments Mathematics in PDF only on Docsity!

Math 310: Introduction to Mathematical Reasoning

Summer 2006

Homework 3 Solutions

(From An Introduction to Mathematical Reasoning, by Peter J. Eccles.)

Definition: Given two integers a and b, we say that a divides b or b is a multiple of a to mean that there is an integer q such that aq = b. Written in symbols we write a|b for a divides b.

  1. Prove that for all integers a, b and c,

(a divides b) and (b divides c) =⇒ (a divides c).

Proof. Suppose a divides b and b divides c. The there is a q ∈ Z such that aq = b. Likewise there is a p ∈ Z such that bp = c. Then substituting aq for b we have

c = bp = (aq)p = a(qp).

Since the integers are closed under multiplication, qp is an integer and hence by definition, a divides c.

  1. Prove that the square of an even integer is even. (Hint: An even integer is one that is a multiple of 2.)

Proof. Suppose n ∈ Z is even. Then there is an integer k with n = 2k. Thus

n^2 = (2k)^2 = 2(2k^2 ).

Then by definition, n^2 is even.

  1. Prove that 0 divides an integer a if and only if a = 0.

Proof. This is an “if and only if” statement, so we have two things to prove. First, assume 0 divides a. Then for some integer q, 0q = a. We have already proven that for any integer, 0q = 0. Thus a = 0q = 0.

Now suppose a = 0. Then since 0q = 0 for every q ∈ Z, we see that 0 divides 0 by defintion.

  1. Prove by contradiction that for an integer n

n^2 is odd =⇒ n is odd.

Proof. To prove this by contradiction, we assume that n^2 is odd and n is even. But in problem 2 above we showed that n even implies n^2 even. Thus n^2 is both even and odd, a contradiction. Therefore our initial assumption was wrong and n must be odd.