Exercise Set 3 Solutions Math 2020 Due: March 6, Exercises for practice: Do the following exercises from the text:

Similar documents
SOLUTIONS FOR PROBLEM SET 2

Applications of Fermat s Little Theorem and Congruences

The last three chapters introduced three major proof techniques: direct,

Section 4.2: The Division Algorithm and Greatest Common Divisors

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

Homework until Test #2

MATH10040 Chapter 2: Prime and relatively prime numbers

8 Divisibility and prime numbers

k, then n = p2α 1 1 pα k

GREATEST COMMON DIVISOR

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

( ) FACTORING. x In this polynomial the only variable in common to all is x.

1.3 Polynomials and Factoring

MATH 22. THE FUNDAMENTAL THEOREM of ARITHMETIC. Lecture R: 10/30/2003

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

CS 103X: Discrete Structures Homework Assignment 3 Solutions

SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by

Factoring Polynomials

SECTION 10-2 Mathematical Induction

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

Simplification of Radical Expressions

Handout #1: Mathematical Reasoning

6.1 The Greatest Common Factor; Factoring by Grouping

Continued Fractions and the Euclidean Algorithm

4.2 Euclid s Classification of Pythagorean Triples

Intermediate Math Circles March 7, 2012 Linear Diophantine Equations II

SUM OF TWO SQUARES JAHNAVI BHASKAR

On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples

MATH 90 CHAPTER 6 Name:.

This is Factoring and Solving by Factoring, chapter 6 from the book Beginning Algebra (index.html) (v. 1.0).

Factoring and Applications

The Euclidean Algorithm

11 Ideals Revisiting Z

Today s Topics. Primes & Greatest Common Divisors

FACTORING OUT COMMON FACTORS

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any.

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

Math 319 Problem Set #3 Solution 21 February 2002

DIVISIBILITY AND GREATEST COMMON DIVISORS

Quotient Rings and Field Extensions

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Some practice problems for midterm 2

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

MATH 289 PROBLEM SET 4: NUMBER THEORY

26 Integers: Multiplication, Division, and Order

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

RSA and Primality Testing

SOLVING POLYNOMIAL EQUATIONS

Rational Exponents. Squaring both sides of the equation yields. and to be consistent, we must have

5.1 Radical Notation and Rational Exponents

V Quantitative Reasoning: Computers, Number Theory and Cryptography

NSM100 Introduction to Algebra Chapter 5 Notes Factoring

Chapter 3. if 2 a i then location: = i. Page 40

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)

FACTORING POLYNOMIALS

CONTINUED FRACTIONS AND PELL S EQUATION. Contents 1. Continued Fractions 1 2. Solution to Pell s Equation 9 References 12

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

z 0 and y even had the form

15 Prime and Composite Numbers

MATH Fundamental Mathematics IV

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

8 Primes and Modular Arithmetic

Public Key Cryptography: RSA and Lots of Number Theory

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

SPECIAL PRODUCTS AND FACTORS

Chapter 7 - Roots, Radicals, and Complex Numbers

Number Theory: A Mathemythical Approach. Student Resources. Printed Version

Lecture 13 - Basic Number Theory.

Page 331, 38.4 Suppose a is a positive integer and p is a prime. Prove that p a if and only if the prime factorization of a contains p.

Math 115 Spring 2011 Written Homework 5 Solutions

The Fundamental Theorem of Arithmetic

This is a square root. The number under the radical is 9. (An asterisk * means multiply.)

of Nebraska - Lincoln

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

s = s = s =

Handout NUMBER THEORY

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, Notes on Algebra

Factoring a Difference of Two Squares. Factoring a Difference of Two Squares

Factoring Methods. Example 1: 2x * x + 2 * 1 2(x + 1)

Just the Factors, Ma am

FACTORING ax 2 bx c. Factoring Trinomials with Leading Coefficient 1

How To Solve Factoring Problems

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test


17 Greatest Common Factors and Least Common Multiples

Test1. Due Friday, March 13, 2015.

Chapter 4 -- Decimals

Discrete Mathematics, Chapter 4: Number Theory and Cryptography

Computing exponents modulo a number: Repeated squaring

PYTHAGOREAN TRIPLES KEITH CONRAD

Algebraic Structures II

9. POLYNOMIALS. Example 1: The expression a(x) = x 3 4x 2 + 7x 11 is a polynomial in x. The coefficients of a(x) are the numbers 1, 4, 7, 11.

5. Factoring by the QF method

Chapter 11 Number Theory

Fibonacci Numbers and Greatest Common Divisors. The Finonacci numbers are the numbers in the sequence 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,...

Factoring Special Polynomials

Welcome to Math Video Lessons. Stanley Ocken. Department of Mathematics The City College of New York Fall 2013

Solutions for Practice problems on proofs

Transcription:

Exercises for practice: Do the following exercises from the text: Section NT-1 (page 60): 1.1, 1.2, 1.3, 1.4, 1.6, 1.7, 1.13, 1.14, 1.15, 1.17. Section NT-2 (page 76): 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8. These exercises have (as do all the exercises from the text) solutions in the Solutions section. Exercises to turn in from the number theory handout: From Pages 9 10: 1. By using the Euclidean algorithm find the greatest common divisor (g.c.d.) of (a) 7469 and 2464; Solution. Using the division algorithm repeatedly gives: 7469 = 2464 3 + 77 2464 = 77 32 + 0. Hence the greatest common divisor is (7469, 2464) = 77. (c) 2947 and 3997; Solution. Using the division algorithm repeatedly gives: 3997 = 1 2947 + 1050 2947 = 2 1050 + 847 1050 = 1 847 + 203 847 = 4 203 + 35 203 = 5 35 + 28 35 = 1 28 + 7 28 = 4 7 + 0. Hence the greatest common divisor is (3997, 2947) = 7. 2. Find the greatest common divisor g of the numbers 1819 and 3587, and then find integers x and y to satisfy 1819x + 3587y = g. Solution. Use the Euclidean algorithm to find g: 3587 = 1819 1 + 1768 1819 = 1768 1 + 51 1768 = 51 34 + 34 51 = 34 1 + 17 34 = 17 2 + 0. 1

Hence the greatest common divisor is g = (3587, 1819) = 17. To find x and y reverse the chain of equalities used in the Euclidean algorithm: 17 = 51 34 1 = 51 (1768 51 34) = 51 35 1768 = (1819 1768) 35 1768 = 1819 35 1768 36 = 1819 35 (3587 1819) 36 = 1819 71 3587 36. Thus, we have written g = 17 = 1819 71 3587 36 = 1819x + 3587y, where x = 71 and y = 36. 3. Find values of x and y to satisfy (a) 243x + 198y = 9; Solution. Start by find the greatest common divisor of 243 and 198 via the Euclidean algorithm: 243 = 198 1 + 45 198 = 45 4 + 18 45 = 18 2 + 9. Since 9 divides 18, it follows that 9 is the greatest common divisor of 243 and 198. Now reverse the steps to write 9 as a combination of 243 and 198: 9 = 45 18 2 = 45 (198 45 4) 2 = 45 9 198 2 = (243 198) 9 198 2 = 243 9 198 11. Hence 9 = 243x + 198y where x = 9 and y = 11. (c) 43x + 64y = 1. Solution. Use the Euclidean algorithm: 64 = 43 + 21 43 = 21 2 + 1. 2

Thus 1 = 43 21 2 = 43 (64 43) 2 = 43 3 64 2. Hence, if x = 3 and y = 2, we have 1 = 43x + 64y. 10. Given a b and c d prove that ac bd. Proof. Assuming that a b and c d means that we can write b = ax and d = cy where x and y are integers. Then bd = (ax)(cy) = (ac)(xy). Since xy is an integer (because the product of integers is an integer) we have that bd = (ac)w where w is an integer. This is what is means for ac to divide bd. 12. Given that (a, 4) = 2 and (b, 4) = 2, prove that (a + b, 4) = 4. Proof. Since the positive divisors of 4 are 1, 2, and 4, the fact that (a, 4) = 2 means that 2 a, but 4 does not divide a. Hence we can write a = 2k where k is not divisible by 2, that is k is odd so that a = 2(2m + 1). Similarly, the fact that (b, 4) = 2 means that b = 2(2n+1). Then, a+b = 2(2m+1)+2(2n+1) = 2(2m+2n+2) = 4(m+n+1) so that 4 (a + b) and hence (a + b, 4) = 4 since there cannot be a divisor of 4 larger than 4. 21. Prove that if an integer is of the form 6k + 5 then it is necessarily of the form 3k 1, but not conversely. Proof. Let n be an integer of the form 6k +5. This means that we can write n = 6k +5 for some choice of the integer k. Since 6 = 5 1, we can then write n = 6k + 5 = 6k + 6 1 = 6(k + 1) 1 = 3(2(k + 1)) 1 = 3r 1. That is, if n = 6k + 5, then we can also write n as 3 times an integer (namely 2(k + 1)) minus 1, which is what is required for n to have the form 3k + 1. (Note that the same k is not used in both representations.) The converse statement is not true, since 2 is an integer that can be written in the form 3k 1 (using k = 1), but 2 cannot be written in the form 6k + 5 for any choice of k since if 6k + 5 = 2 this requires that 6k = 3 for some integer k. But k = 1/2 is not an integer. From Page 18: 16. If (a, b) = p, a prime, what are the possible values of (a 2, b)? of (a 3, b)? of (a 2, b 3 )? 3

Solution. Since (a, b) = p we can write a = pr and b = ps where r and s are integers such that (r, s) = 1. Then a 2 = p 2 r 2. Then by Theorem 1.7, (a 2, b) = (p 2 r 2, ps) = p(pr 2, s). By Theorem 1.8, (r 2, s) = 1. Thus, there are two cases to consider: if p s then (a 2, b) = p 2, and if p s then (pr 2, s) = 1 (again by Theorem 1.8) so that (a 2, b) = p in that case. Thus, there are two cases for (a 2, b): namely p or p 2. The same analysis shows that (a 3, b) must be either p, p 2, or p 3, depending on the power of p that divides b. Analyze (a 2, b 3 ) as follows. Using the notation already introduced, and Theorem 1.7, we get (a 2, b 3 ) = (p 2 r 2, p 3 s 3 ) = p 2 (r 2, ps 3 ). Since (r, s) = 1, Theorem 1.8 shows that (r 2, s 3 ) = 1. Thus, there are two possibilities for (a 2, b 3 ): { (a 2, b 3 ) = p 2 if p r, (a 2, b 3 ) = p 3 if p r. 18. If a and b are represented by (1.6), what conditions must be satisfied by the exponents is a is to be a perfect square? A perfect cube? For a b? For a 2 b 2? Solution. Using the notation of equation (1.6), a is a perfect square if each of the exponents α j is even, a is a perfect cube if each of the exponents α j is a multiple of 3, a b if and only if α j β j for each j, and the same condition is necessary for a 2 to divide b 2. 24. Determine whether the following statements are true or false. If true, prove the result, and if false, give a counterexample. (1) If (a, b) = (a, c), then [a, b] = [a, c]. Solution. False. Counterexample: a = 2, b = 3, c = 5. Then (a, b) = (a, c) = 1 but [a, b] = 6 10 = [a, c]. (2) If (a, b) = (a, c) then (a 2, b 2 ) = (a 2, c 2 ). Solution. True. Proof. Suppose first that r and s are integers such that (r, s) = 1. Then by Theorem 1.8 (Page 6) (letting a = r, b = r and m = s) it follows that (r 2, s) = 1 and applying this result a second time (with a = b = s, m = r 2 ) gives (r 2, s 2 ) = 1, so that (r, s) = (r 2, s 2 ) if (r, s) = 1. Now suppose that (a, b) = d and let r = a/d, s = b/d. Then by Theorem 1.7 (Page 6) we get that (r, s) = (a, b)/d = 1 so that we can apply the previous paragraph (and Theorem 1.6) to get (a 2, b 2 ) = (d 2 r 2, d 2 s 2 ) = d 2 (r 2, s 2 ) = d 2 = (a, b) 2. Assuming that (a, b) = (a, c) we get (a 2, b 2 ) = (a, b) 2 = (a, c) 2 = (a 2, c 2 ). 4

This can also be proved using the factorization into primes given by formula (1.6) (Page 15). (3) If (a, b) = (a, c) then (a, b) = (a, b, c). Solution. True. Proof. Suppose d = (a, b). Then d a, d b, and since we are assuming that d = (a, b) = (a, c) it follows that d c. Thus d is a common divisor of a, b, and c so d (a, b, c). But if e is any common divisor of a, b, and c, then certainly e is a common divisor of a and b so that e d = (a, b). Hence, if we take e to be the common divisor (a, b, c) we have that (a, b, c) d. Hence, (a, b) = d = (a, b, c). (4) If p is a prime and p a and p (a 2 + b 2 ) then p b. Solution. True. If p a then p a 2. If p also divides a 2 + b 2 then p divides (a 2 + b 2 ) a 2 = b 2. By Theorem 1.15, if p b 2 then p b. (5) If p is a prime and p a 7, then p a. Solution. True. This follows directly from Theorem 1.15. (6) If a 3 c 3, then a c. Solution. Writing a and c in the form of formula (1.6) gives so that a = p α 1 1 p α 2 2 p α r r, and c = p β 1 1 p β 2 2 p β r r, a 3 = p 3α 1 1 p 3α 2 2 p 3αr r, and c 3 = p 3β 1 1 p 3β 2 2 p 3βr r. Thus a 3 c 3 if and only if 3α j 3β j for j = 1, 2,..., r, and this is true if and only if α j β j for j = 1, 2,..., r, which is true if and only if a c. (7) if a 3 c 2 then a c. Solution. True. In the notation of part (6), a 3 c 2 if and only if 3α j 2β j for all j, and this is true if and only if α j (2/3)β j < β j. But this is precisely the condition that guarantees that a c. (8) If a 2 c 3, then a c. Solution. False. A counterexample is a = 8, c = 4. Then a 2 = 64 = c 3 but 8 4. 5