Skip to main content

Section 4.4 Practice Problems for Chapter 4

Exercises

1.

(a)

Determine at least five different integers that are congruent to 2 modulo 4. Are any of these integers congruent to 3 modulo 6?

Solution.

Some integers that are congruent to 2 modulo 4 are 6; 2; 2; 6; 10. None of these integers are congruent to 3 modulo 6. For example, 103(mod6) since 103=7 and 6 does not divide 7.

(b)

Is the following proposition true or false? Justify your conclusion with a counterexample (if it is false) or a proof (if it is true).

Propostion. For each integer n, if n2(mod4), then n3(mod6).

Solution.
Proof.

We will use a proof by contradiction. Let nZ and assume that n2(mod4) and that n3(mod6). Since n2(mod4), we know that 4 divides n2. Hence, there exists an integer k such that

(3)n2=4k

We can also use the assumption that n3(mod6) to conclude that 6 divides n3 and that there exists an integer m such that

(4)n3=6m

If we now solve equations (3) and (4) for n and set the two expressions equal to each other, we obtain

4k+2=6m+3

However, this equation can be rewritten as

2(2k+1)=2(3m+1)+1.

Since 2k+1 is an integer and 3m+1 is an integer, this last equation is a contradiction since the left side is an even integer and the right side is an odd integer. Hence, we have proven that if n2(mod4), then n3(mod6).

2.

For the following, it may be useful to use the facts that the set of rational numbers Q is closed under addition, subtraction, multiplication, and division by nonzero rational numbers.

Prove the following proposition:

Proposition. For all real numbers x and y, if x is rational and x0 and y is irrational, then x+y is irrational.

Solution.
Proof.

We will use a proof by contradiction. So we assume that there exist real numbers x and y such that x is rational, y is irrational, and x+y is rational. Since x is rational, we know that x is rational. Since the rational numbers are closed under addition, we know that (x)+(x+y) is rational, and we see that

(x)+(x+y)=((x)+x)+y=0+y=y

However, this shows that y must be a rational number, but we have also assumed that y is irrational. Since a real number cannot be both rational and irrational, this is a contradiction. We have therefore proved that for all real numbers x and y, if x is rational and y is irrational, then x+y is irrational.

3.

Is the base 2 logarithm of 3, log23, a rational or irrational number? Justify your conclusion.

Solution.
Proof.

We will use a proof by contradiction to prove that log23 is an irrational number.

So we assume that log23 is a rational number. So, if log23=a, then 2a=3. This means that a is a positive rational number, and hence, there exist natural numbers m and n such that 2mn=3. Hence,

(2mn)n=3n,

From this, we conclude that 2m=3n. However, 2m is an even integer and 3n is an odd integer. This is a contradiction, and so we have proved that log23 is an irrational number.

4.

Is the real number 2+3 a rational or irrational number? Justify your conclusion.

Solution.
Proof.

We will use a proof by contradiction to prove that 2+3 is an irrational number. So we assume that 2+3 is a rational number and so we can write 2+3=r, where r is a rational number and r0. We now rewrite this equation and then square both sides of the resulting equation to obtain

3=r23=r22r2+2

We continue and rewrite this equation to isolate 2 on one side of the equation.

2r2=r212=r212r

Since r0, 2r0, and since the rational numbers are closed under division by a nonzero rational number, the last equation shows that 2 is a rational number. This is a contradiction since it is known that 2 is irrational. This proves that 2+3 is an irrational number.