MATH10040: Numbers and Functions Homework 1: Solutions

Similar documents
Solutions to Assignment 1

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

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

Mathematics 228(Q1), Assignment 2 Solutions

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

Homework 3: Solutions

PGSS Discrete Math Solutions to Problem Set #4. Note: signifies the end of a problem, and signifies the end of a proof.

Homework 3, solutions

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

MATH 271 Summer 2016 Practice problem solutions Week 1

Class IX Chapter 1 Number Sustems Maths

Proof worksheet solutions

Math 109 HW 9 Solutions

Cool Results on Primes

1.2 The Well-Ordering Principle

Math 104: Homework 1 solutions

Midterm Preparation Problems

CHAPTER 1 REAL NUMBERS KEY POINTS

Carmen s Core Concepts (Math 135)

Math 283 Spring 2013 Presentation Problems 4 Solutions

Research Methods in Mathematics Homework 4 solutions

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

Recitation 7: Existence Proofs and Mathematical Induction

COT 2104 Homework Assignment 1 (Answers)

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

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

Fundamentals of Pure Mathematics - Problem Sheet

MATH 220 (all sections) Homework #12 not to be turned in posted Friday, November 24, 2017

MATH 2200 Final LC Review

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

Basic Proof Examples

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

Proof Techniques 1. Math Camp n = (1 = n) + (2 + (n 1)) ( n 1. = (n + 1) + (n + 1) (n + 1) + n + 1.

Solutions to Practice Final

1 Implication and induction

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

Discrete Mathematics. Spring 2017

What can you prove by induction?

Math Homework # 4

Chapter 1 The Real Numbers

Math /Foundations of Algebra/Fall 2017 Foundations of the Foundations: Proofs

n f(k) k=1 means to evaluate the function f(k) at k = 1, 2,..., n and add up the results. In other words: n f(k) = f(1) + f(2) f(n). 1 = 2n 2.

MATH 3030, Abstract Algebra FALL 2012 Toby Kenney Midyear Examination Friday 7th December: 7:00-10:00 PM

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

, p 1 < p 2 < < p l primes.

MATH 2200 Final Review

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

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

Introduction Integers. Discrete Mathematics Andrei Bulatov

As the title suggests, we tackle three famous theorems in this chapter. 4.1 The Fundamental Theorem of Arithmetic

Divisibility of Natural Numbers

Problem Set #3 Solutions

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

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

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.

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

(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.

Some Review Problems for Exam 1: Solutions

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

Solutions for Homework Assignment 2

Proofs Not Based On POMI

Question 1: Is zero a rational number? Can you write it in the form p, where p and q are integers and q 0?

Fall 2017 Test II review problems

Written Homework # 4 Solution

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction

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])

CSE 20. Final Review. CSE 20: Final Review

means is a subset of. So we say A B for sets A and B if x A we have x B holds. BY CONTRAST, a S means that a is a member of S.

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

. As the binomial coefficients are integers we have that. 2 n(n 1).

Math 242: Principles of Analysis Fall 2016 Homework 1 Part B solutions

1 The Well Ordering Principle, Induction, and Equivalence Relations

Homework 3 Solutions, Math 55

10.1 Radical Expressions and Functions Math 51 Professor Busken

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

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

God may not play dice with the universe, but something strange is going on with the prime numbers.

Mathematical Induction

Proofs Not Based On POMI

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

Summer HSSP Week 1 Homework. Lane Gunderman, Victor Lopez, James Rowan

University of Toronto Faculty of Arts and Science Solutions to Final Examination, April 2017 MAT246H1S - Concepts in Abstract Mathematics

MATH CSE20 Homework 5 Due Monday November 4

Lecture 2: Continued fractions, rational approximations

There are seven questions, of varying point-value. Each question is worth the indicated number of points.

RED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam

What is proof? Lesson 1

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

Climbing an Infinite Ladder

Number Theory and Graph Theory. Prime numbers and congruences.

To hand in: (a) Prove that a group G is abelian (= commutative) if and only if (xy) 2 = x 2 y 2 for all x, y G.

Masters Tuition Center

Chapter 17. Proof by Contradiction The method

D - E - F - G (1967 Jr.) Given that then find the number of real solutions ( ) of this equation.

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

CHAPTER 4 SOME METHODS OF PROOF

Complete Induction and the Well- Ordering Principle

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

Practice Test III, Math 314, Spring 2016

Transcription:

MATH10040: Numbers and Functions Homework 1: Solutions 1. Prove that a Z and if 3 divides into a then 3 divides a. Solution: The statement to be proved is equivalent to the statement: For any a N, if 3 does not divide a then 3 does not divide a. Now, if 3 does not divide a, there are two possibilities: (a) a leaves remainder 1 on division by 3; i.e. a = 3k + 1 for some k N. (b) a = 3k + We consider both possibilities separately: (a) If a = 3k + 1, then a = (3k + 1) = 9k + k + 1 = 3 (3k + k) + 1 = 3m + 1 leaves remainder 1 also. (b) If a = (3k + ), then a = 9k + 1k + 4 = 3 (3k + 4k + 1) + 1 = 3t + 1 leaves remainder 1. This proves the result.. Prove that 3 is an irrational number. Solution: Suppose, FTSOC, that 3 were rational. Then (as in the case of ) we can write 3 = m n where m, n are natural numbers, not both even. Now it follows that n 3 = m 3 and hence that m 3 is even. Since the cube of an odd number is odd, m is necessarily even. But then m = t for some t N, and thus n 3 = 8t 3 = n 3 = 4t 3, so that n 3 is even, and hence n also is even. This contradicts the fact that not both n and m are even. This contradiction completes the proof that 3 is rational. 3. Prove that is irrational. Solution: Suppose, FTSOC, that were rational. So we can write = m n where m, n are natural numbers, not both even. Now it follows that n = m and hence that m is even. Since the square of an odd number is odd, m is necessarily even.

But then m = t for some t N, and thus n = 4t = 3n = t, so that 3n is even, and hence n is even ( since if a is odd then 3a is also). Thus n itself is also even. This contradicts the fact that not both n and m are even. This contradiction completes the proof that is rational. 4. (a) Show that the sum or difference of two rational numbers is rational. (b) Suppose that a 0 is rational and b is irrational. Show that a + b and ab are irrational. Solution: (a) Let a, b Q. Then a = m n and b = r s for some m, n, r, s Z. Thus a ± b = m n ± r s = ms ± nr ns is also a ratio of two integers (since ns, ms ± nr Z) and hence is rational. (b) Suppose, FTSOC, that c = a + b were rational. Then, since c is rational and a is rational, it follows from (a) that c a = b is rational, a contradiction. Prove that if r, s are rational, then so are rs and r/s (if s 0). Now suppose, FTSOC, that d = ab were rational. Then since d is rational and a 0 is rational, we deduce that d/a = b is rational, a contradiction. 5. Prove that + 3 is irrational. Solution: Suppose, FTSOC, that a = + 3 were rational. Since the square of a rational number is rational it follows that a = 5+ is rational. Therefore b = a 5 = is rational, and thus b/ = is rational, a contradiction.. Give an example of two distinct irrational numbers a and b which have the property that a + b is rational. Prove your assertions. Solution: Let a = and b =. (a b since a > 1 and b < 1). Show that b is irrational. But a + b = is rational. (Exercise: Use this idea to create 10 more examples.)

7. Show that there exist positive irrational numbers a and b with the property that a b is rational. [Hint: Consider and ( ).] Solution: Either is rational or it isn t. (I don t know which.) If it is rational, we can take a = b =. If it is not rational, take a = and b =. Then is rational. a b = ( ) = ( ) = ( ) = Either way, we have shown that there must be a, b R irrational with a b rational. 8. (a) Let n Z be of the form 4k + 3 for some k Z; i.e. n leaves remainder 3 on division by 4. Suppose that n = ab with a, b Z. Prove that exactly one of a and b is of the form 4t + 3. (b) Show that if a is a positive integer of the form 4k + 3, then a has a prime factor of the form 4k + 3. (c) Prove that there are infinitely many primes of the form 4k + 3. Solution: (a) a and b must both be odd, since otherwise ab = n would be even. Thus a and b are each either of the form 4n + 1 or 4n + 3. We must rule out the possibility that they are both of the same type. i. Suppose that a = 4n + 1 and b = 4m + 1. Then n = ab = 1nm + 4n + 4m + 1 = 4(4nm + n + m) + 1, a contradiction. ii. Suppose that a = 4n + 3 and b = 4m + 3. Then n = ab = 1nm + 1n + 1m + 9 = 4(4nm + 3n + 3m + ) + 1, a contradiction. Thus one of them is of the form 4n + 1 and the other of the form 4m + 3. (b) We will prove this statement by (complete) induction on k 1: If k = 1, then a = 3 and is prime. So the statement is true in this case. Suppose that we have proved it for all numbers k and consider a = 4(k + 1) + 3. If a is prime we re done. Otherwise a = bc where b, c < a and one of them, b say, is of the form 4n + 3 for some n k. By our inductive hypothesis, b has a prime factor p of the form 4m + 3. But p is also a factor of a. So we re done.

(c) We carefully adapt Euclid s proof of the infinity of primes: Suppose, FTSOC, that there are only finitely many primes, 3 = q 1, 7 = q,..., q t, of type 4n + 3. Then consider a = 4q 1 q q t 1 = 4(q 1 q q t 1) + 3. a is of the type 4n + 3. By the previous result it has a prime factor, p say, of the form 4n + 3. But none of the q i divide a. (For a = q i s 1 for some s N.) Thus p is not one of the q i. This contradicts the supposition that we have already listed all primes of this form. 9. Prove by induction on n that for all natural numbers n 1 1 + + + n = n(n + 1)(n + 1). Solution: For n = 1 the statement reads and so is true. 1 = 1 ( + 1) = = 1 Suppose we have proved the statement for some n. Then 1 + + n + (n + 1) n(n + 1)(n + 1) = + (n + 1) (by our inductive hyp.) [ ] [ ] n(n + 1) n + 7n + = (n + 1) + n + 1 = (n + 1) (n + 3)(n + ) = (n + 1) which is precisely the statement for n + 1. So we re done, by induction. 10. Suppose that x is number other than 1. Prove by induction on n that for all natural numbers n 1 1 + x + x + + x n = xn+1 1. Solution: For n = 1, the statement reads which is clearly true. 1 =

Suppose that we have proved the statement for some n. Then 1 + x + + x n + x n+1 = xn+1 1 = xn+1 1 + x n+1 () which is the statement for n + 1. 11. Prove by induction on n that ( 1 1 4 for all integers n. ) ( 1 1 9 Solution: When n = the statement is + x n+1 (by our inductive hyp.) = xn+1 1 + x n+ x n+1 = xn+ 1 ) (1 1n ) = n + 1 n which is visibly true. 1 1 4 = 3 4 Suppose the statement is true for n. Then ( 1 1 ) (1 1n ) ( ) 1 1 4 (n + 1) = n + 1 n which is the statement for n + 1. ( 1 = n + 1 n (n + 1) 1 = (n + 1) 1 (n + 1) n(n + 1) = n + n n(n + 1) 1. Prove by induction that n > n for all n 4. = n + (n + 1) ) 1 (n + 1) Solution: For n = 4 we have 4 = 1 = 4, so the statement is true. Suppose the statement is true for some n 4. Then by our inductive hypothesis. But n+1 = n > n n (n+1) = n n 1 = (n 1) 3 > 0 = n > (n+1) and thus n+1 > (n + 1) as required. (by our inductive hyp.)

13. Let p 1 =, p = 3, p 3 = 5, p 4 = 7,... be the sequence of primes. What is p 13? Prove that p n n + 15 for all n 13. Solution: We prove the statement by induction on n 13. p 13 = 41 = 13 + 15. So the statement is true for 13. Suppose now that the statement is true for some n 13. Then p n+1 p n + (why?) and p n n + 15 by our inductive hypothesis. Thus p n+1 (n + 15) + = (n + 1) + 15 as required. 14. An infinite sequence of integers is defined by a 1 = 7 and a n+1 = 5a n 8 for all n 1. Find and prove a formula for a n. Solution: We prove that a n = 5 n + by induction on n. The case n = 1 is clear. Suppose the result is proved for n. Then a n+1 = 5a n 8 = 5 (5 n + ) 8 = 5 n+1 + 10 8 = 5 n+1 + as required.