Mathematics 228(Q1), Assignment 2 Solutions

Similar documents
Solutions to Assignment 1

MATH10040: Numbers and Functions Homework 1: Solutions

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

Complete Induction and the Well- Ordering Principle

We want to show P (n) is true for all integers

Fall 2017 Test II review problems

Lecture 2: Continued fractions, rational approximations

Exercises Exercises. 2. Determine whether each of these integers is prime. a) 21. b) 29. c) 71. d) 97. e) 111. f) 143. a) 19. b) 27. c) 93.

REAL NUMBERS. Any positive integer a can be divided by another positive integer b in such a way that it leaves a remainder r that is smaller than b.

Math 109 HW 9 Solutions

REVIEW Chapter 1 The Real Number System

CSCE 222 Discrete Structures for Computing. Proofs. Dr. Hyunyoung Lee. !!!!! Based on slides by Andreas Klappenecker

Carmen s Core Concepts (Math 135)

Numbers. 2.1 Integers. P(n) = n(n 4 5n 2 + 4) = n(n 2 1)(n 2 4) = (n 2)(n 1)n(n + 1)(n + 2); 120 =

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z.

Solutions to Practice Final

Number Theory and Graph Theory. Prime numbers and congruences.

In Exercises 1 12, list the all of the elements of the given set. 2. The set of all positive integers whose square roots are less than or equal to 3

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

Math 110 HW 3 solutions

COT 2104 Homework Assignment 1 (Answers)

Cool Results on Primes

Mathematics 228(Q1), Assignment 3 Solutions

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

Introduction to Induction (LAMC, 10/14/07)

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

CSE 215: Foundations of Computer Science Recitation Exercises Set #5 Stony Brook University. Name: ID#: Section #: Score: / 4

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

NOTES ON SIMPLE NUMBER THEORY

Proof worksheet solutions

2.2 Some Consequences of the Completeness Axiom

and LCM (a, b, c) LCM ( a, b) LCM ( b, c) LCM ( a, c)

Course: CS1050c (Fall '03) Homework2 Solutions Instructor: Prasad Tetali TAs: Kim, Woo Young: Deeparnab Chakrabarty:

MATH 2400: PRACTICE PROBLEMS FOR EXAM 1

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

Properties of the Integers

D-MATH Algebra I HS 2013 Prof. Brent Doran. Exercise 11. Rings: definitions, units, zero divisors, polynomial rings

A group of figures, representing a number, is called a numeral. Numbers are divided into the following types.

8. Given a rational number r, prove that there exist coprime integers p and q, with q 0, so that r = p q. . For all n N, f n = an b n 2

Warm-up Quantifiers and the harmonic series Sets Second warmup Induction Bijections. Writing more proofs. Misha Lavrov

(e) Commutativity: a b = b a. (f) Distributivity of times over plus: a (b + c) = a b + a c and (b + c) a = b a + c a.

Class IX Chapter 1 Number Sustems Maths

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

PRIME NUMBERS YANKI LEKILI

Try the assignment f(1) = 2; f(2) = 1; f(3) = 4; f(4) = 3;.

Standard forms for writing numbers

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers

Homework #2 solutions Due: June 15, 2012

1. (16 points) Circle T if the corresponding statement is True or F if it is False.

Chapter 5: The Integers

Math 319 Problem Set #2 Solution 14 February 2002

Chapter 17. Proof by Contradiction The method

Induction. Induction. Induction. Induction. Induction. Induction 2/22/2018

MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS. Contents 1. Polynomial Functions 1 2. Rational Functions 6

Proofs Not Based On POMI


The Chinese Remainder Theorem

n = p 1 p 2 p r = q 1 q 2 q m, then r = m (i.e. the number of primes in any prime decomposition

1 Implication and induction

A number that can be written as, where p and q are integers and q Number.

MATHEMATICS X l Let x = p q be a rational number, such l If p, q, r are any three positive integers, then, l that the prime factorisation of q is of t

D-MATH Algebra II FS18 Prof. Marc Burger. Solution 26. Cyclotomic extensions.

Inference and Proofs (1.6 & 1.7)

CHAPTER 1 REAL NUMBERS KEY POINTS

Computer Science Section 1.6

1 2 1 = = =

CSE 1400 Applied Discrete Mathematics Proofs

32 Divisibility Theory in Integral Domains

SEVENTH EDITION and EXPANDED SEVENTH EDITION

Midterm Preparation Problems

1. Given the public RSA encryption key (e, n) = (5, 35), find the corresponding decryption key (d, n).

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

ZEROS OF POLYNOMIAL FUNCTIONS ALL I HAVE TO KNOW ABOUT POLYNOMIAL FUNCTIONS

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.

Well-Ordering Principle. Axiom: Every nonempty subset of Z + has a least element. That is, if S Z + and S, then S has a smallest element.

2301 Assignment 1 Due Friday 19th March, 2 pm

Seunghee Ye Ma 8: Week 2 Oct 6

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

1 The Well Ordering Principle, Induction, and Equivalence Relations

Four Basic Sets. Divisors

MEETING 9 - INDUCTION AND RECURSION

Notes on Systems of Linear Congruences

MATH FINAL EXAM REVIEW HINTS

Chapter 5: Sequences, Mathematic Induction, and Recursion

Solution Set 2. Problem 1. [a] + [b] = [a + b] = [b + a] = [b] + [a] ([a] + [b]) + [c] = [a + b] + [c] = [a + b + c] = [a] + [b + c] = [a] + ([b + c])

Mathematical Induction

Recitation 7: Existence Proofs and Mathematical Induction

MCS-236: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, Methods of Proof

n(n + 1). 2 . If n = 3, then 1+2+3=6= 3(3+1) . If n = 2, then = 3 = 2(2+1)

1 Overview and revision

2k n. k=0. 3x 2 7 (mod 11) 5 4x 1 (mod 9) 2 r r +1 = r (2 r )

Mathematical Induction. Part Two

WORKSHEET MATH 215, FALL 15, WHYTE. We begin our course with the natural numbers:

A Level. A Level Mathematics. Proof by Contradiction (Answers) AQA, Edexcel, OCR. Name: Total Marks:

Homework 3: Solutions

Climbing an Infinite Ladder

Proofs Not Based On POMI

Ch 4.2 Divisibility Properties

Transcription:

Mathematics 228(Q1), Assignment 2 Solutions Exercise 1.(10 marks) A natural number n > 1 is said to be square free if d N with d 2 n implies d = 1. Show that n is square free if and only if n = p 1 p k for distinct primes p 1,..., p k. Solution. If the prime p occurs more than once in the prime factorization of n then p 2 is a divisor of n with the property p 1, hence n is not square-free. We deduce that if n is square-free then the primes occuring in its prime factorization are all distinct. Conversely, if n is not square-free then it admits a divisor of the form d 2, with d > 1. If n = d 2 c then, letting d = q 1 q i and c = r 1 r j be the prime factorizations of d and c, respectively, we deduce n = d 2 c = (q 1 q i )(q 1 q i )(r 1 r j ) is the prime factorization of n. In particular, the prime q 1 appears twice. We conclude that if the primes occuring in the prime factorization of n are distinct then n is square-free. Exercise 2.(15 marks) (a) Let n > 1 be an integer and suppose Show that the product ab also belongs to Zn + 1. a, b Zn + 1 = {qn + 1 : q Z}. (b) Let a 4N + 3 = {4n + 3 : n N}. Show that a has a positive prime factor in 4N + 3. (Hint : If not, what do the positive prime factors of a look like? ) (c) Show that there are infintely many primes of the form 4n + 3, n N. Solution.(a) By hypothesis, there exisits integers p and q such that a = pn + 1 and b = qn + 1. ab = (pn + 1)(qn + 1) = pqn 2 + pn + qn + 1 = (pqn + p + q)n + 1 Zn + 1. (b) Let a = p 1 p k the prime factorization of a into a product of positive primes. Since a is odd, being the sum of an even number (in fact, a multiple of 4) and an odd number (namely, 3) all the prime factors p i are odd. Exercise 3, Assignment 1 allows us to conclude that there is a suitable choice of integer k i for which p i has the form 4k i +1 or 4k i + 3. If a had no positive prime factor of the form 4k + 3 then all the factors would be of the form 4k + 1. Being a product of elements of the form 4k + 1, part (a) allows us to deduce that a would be of the form a = 4l + 1 for some integer l. This contradicts the hypothesis division of a by 4 leaves remainder 3. Therefore, a has a positive prime factor of the form 4k + 1. (c) We will prove this statement via an argument similar to that used to prove Theorem 6 in class.note that 7 is a prime of the desired form. Suppose p 1,..., p k are distinct positive primes > 3 belonging to 4N+3 and consider the integer a = 4p 1 p k + 3.

By part (b), a admits a positive prime divisor of the form 4k + 3. If p coincided with one of the p i then p i (a 4p 1 p k ) = 3, hence p i = 3, a contradiction of our assumptions on p i. Furthermore, if p = 3 then we would deduce that 3 (a 3) = 4p 1 p k which yield the same contradiction. It follows that p is distinct from each p i and > 3. The preceding procedure allows us to inductively define an infinite sequence of primes > 3 of the form 4k + 3, which completes the proof of claim. Exercise 3.(10 marks) (a) Prove that there are no non-zero integers a, b such that a 2 = 2b 2. (Hint : Use the Fundamental Theorem of Arithmetic.) (b) Show 2 is irrational. (Hint : Assume 2 = a/b where a, b Z. Use (a) to derive a contradiction.) Solution.(a) Set We investigate the prime decomposition of m. If m = a 2 = 2b 2. is the prime decomposition of a then the identity yields that m has the prime decomposition a = p 1 p k m = a 2 p 1 p k p 1 p k. The preceding decomposition allows us to conclude that if p is a (positive) prime divisor of m then the number of occurences of p in the prime factorization of m must be even; in fact it is exactly twice the number of occurences of p in the factorization of a. On the other hand, if b = q 1 q l is the prime factorization of b then the identity yields that m has the prime decomposition m = 2b 2 2q 1 q l q 1 q l. Each occurence of 2 in the prime decomposition of b thus contributes two occurences of 2 to that of m. Since there is an additonal occurence of 2 comming from factor 2, we deduce that 2 occurs an odd number of times in the prime factorization of m, a contradiction of the fact that each prime occurs an even number of times. In light of the preceding discussion, we deduce that there are no non-zero integers a and b for which a 2 = 2b 2. (b) If 2 where rational then there would exist non-zero integers a and b such that 2 = a b. Squaring both sides and clearing denominators, we deduce 2b 2 = a 2

for non-zero integers. Since this contadicts part (a), we deduce 2 is irrational. Exericse 4.(10 marks) Prove the following identities. (a) If n is a positive integer then 1 + 3 + + (2n 1) = n 2. (b) Let r 1 be a real number. If n is a positive integer then Solution. (a) If n = 1 then is true for all n 1. (b) If n = 1 then the identity allows us to conclude is true for all n 1. 1 + r + r 2 + + r n = rn+1 1. 1 = 1 2. 1 + + (2k 1) = k 2. 1 + + (2k 1) + (2(k + 1) 1) = [1 + + (2k 1)] + 2k + 1 1 + + (2n 1) = n 2 r 2 1 = ()(r + 1) r 2 1 = 1 + r. 1 + r + + r k = rk+1 1. = k 2 + 2k + 1 = (k + 1) 2. 1 + r + + r k + r k+1 = [ 1 + r + + r k] + r k+1 = rk+1 1 + r k+1 = rk+1 1 + r k+1 () = rk+2 1. 1 + r + + r n = rn+1 1 Exercise 5.(15 marks) Let (F n ) = (1, 1, 2, 3, 5, 8, 13, 21, 34, 55,...)be the Fibonacci sequence defined by Show that the following hold for n 1. (a) F 1 + F 2 + + F n = F n+2 1. (b) F 2 1 + + F 2 n = F n F n+1. (c) F n < (5/3) n. F 1 = F 2 = 1, F n = F n 1 + F n 2 if n > 2.

Solution.(a) In the case n = 1, for all n 1. (b) In the case n = 1, for all n 1. (c) We observe Let k 2 and assume that F 1 = 1 = 2 1 = F 3 1 = F 1+2 1. F 1 + + F k = F k+2 1. F 1 + + F k + F k+1 = [F 1 + + F k ] + F k+1 = F k+2 1 + F k+1 = F k+2 + F k+1 1 = F k+3 1 = F k+1+2 1. F 1 + F 2 + + F n = F n+2 1 F 2 1 = (1) 2 = 1 1 = F 1 F 2. F 2 1 + + F 2 k = F k F k+1. F 2 1 + + F 2 k + F 2 k+1 = [ F 2 1 + + F 2 k ] + F 2 k+1 F 1 = 1 < 5 3 = F k F k+1 + F 2 k+1 = (F k + F k+1 )F k+1 = F k+2 F k+1 = F k+1 F k+1+1. F 2 1 + + F 2 n = F n F n+1 and F 2 = 1 < 25/9 = F i < ( ) i 5 3 for i = 1, 2,..., k. Using inductive definition of the Fibonacci sequence, ( ) 2 5. 3 ( ) k ( ) k 1 5 5 F k+1 = F k + F k 1 < + 3 3 ( ) k 1 [ ] 5 5 = 3 3 + 1 ( ) k 1 5 = 8 3 3 ( ) k 1 5 < 25 3 9 ( ) k 1 ( ) 2 ( ) k+1 5 5 5 = =. 3 3 3 (PCI) allows us to conclude F n < (5/3) n

is true for all n 1. Exercise 6.(10 marks) (a) Show that 4 is a divisor of 7 n 3 n for every positive integer n. (b) Let r > 1 be a real number. Show that for every positive integer n, (1 + r) n 1 + rn. Solution. In the case n = 1, 7 3 = 4 is clearly divisible by 4. 4 divides 7 k 3 k. We note 7 k+1 3 k+1 = 7 k+1 7 3 k + 7 3 k 3 k+1 = 7 (7 k 3 k ) + (7 3) 3 k = 7 (7 k 3 k ) + 4 3 k. By assumption, there exists an integer q such that 7 k 3 k = 4q, hence the preceding calculation yields 7 k+1 3 k+1 = 7 4q + 4 3 k = 4(7q + 3 k ), i.e. 4 7 k+1 3 k+1. (PMI) allows to conclude 4 divides the difference 7 n 3 n for all n 1. (b) When n = 1, (1 + r) 1 = 1 + r. (1 + r) k 1 + rk. Observing that the assumption r > 1 ensures that 1 + r > 0, we calculate (1 + r) k+1 = (1 + r) k (1 + r) (1 + rk)(1 + r) = 1 + rk + r + r 2 k = 1 + r(k + 1) + r 2 k 1 + r(k + 1), since r 2 k 0. that if r 1 then (1 + r) n 1 + rn for all n 1.