Solutions Quiz 9 Nov. 8, Prove: If a, b, m are integers such that 2a + 3b 12m + 1, then a 3m + 1 or b 2m + 1.

Similar documents
Math 109 HW 9 Solutions

Functions If (x, y 1 ), (x, y 2 ) S, then y 1 = y 2

MATH 2200 Final Review

MATH 271 Summer 2016 Practice problem solutions Week 1

A summary of factoring methods

Some Review Problems for Exam 1: Solutions

Homework 12; Due Monday, 4/9/2018

Contribution of Problems

Homework #2 solutions Due: June 15, 2012

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

Recitation 7: Existence Proofs and Mathematical Induction

Math 154 :: Elementary Algebra

Sample Problems. Lecture Notes Proof by Induction page 1. Prove each of the following statements by induction.

Epsilon Delta proofs

MATH 215 Final. M4. For all a, b in Z, a b = b a.

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

Math 319 Problem Set #2 Solution 14 February 2002

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

MATH 13 FINAL EXAM SOLUTIONS

Show Your Work! Point values are in square brackets. There are 35 points possible. Tables of tautologies and contradictions are on the last page.

Math 109 September 1, 2016

MATH 2200 Final LC Review

Basic methods to solve equations

Mathematical Induction

Mathematics 220 Midterm Practice problems from old exams Page 1 of 8

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

MATH FINAL EXAM REVIEW HINTS

Math 13, Spring 2013, Lecture B: Midterm

1 Take-home exam and final exam study guide

ASSIGNMENT 1 SOLUTIONS

ACCUPLACER MATH 0311 OR MATH 0120

Problem Set 5 Solutions

MATH CSE20 Homework 5 Due Monday November 4

Basic ALGEBRA 2 SUMMER PACKET

Hilbert s theorem 90, Dirichlet s unit theorem and Diophantine equations

Solutions to Problem Sheet for Week 6

1. Propositions: Contrapositives and Converses

CSE 20 DISCRETE MATH. Winter

ACCUPLACER MATH 0310

4.3 Division of Polynomials

Writing proofs. Tim Hsu, San José State University. May 31, Definitions and theorems 3. 2 What is a proof? 3. 3 A word about definitions 4

PRACTICE PROBLEMS: SET 1

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

Introduction. x 7. Partial fraction decomposition x 7 of. x 7. x 3 1. x 2. Decomposition of N x /D x into Partial Fractions. N x. D x polynomial N 1 x

Math Analysis/Honors Math Analysis Summer Assignment

What can I tell from a survey?

Sums of Squares. Bianca Homberg and Minna Liu

Discrete Math, Spring Solutions to Problems V

Section 4.3: Quadratic Formula

In last semester, we have seen some examples about it (See Tutorial Note #13). Try to have a look on that. Here we try to show more technique.

Math Theory of Number Homework 1

Contribution of Problems

CSE 20 DISCRETE MATH. Fall

Proof by Contradiction

Section 2.6 Limits at infinity and infinite limits 2 Lectures. Dr. Abdulla Eid. College of Science. MATHS 101: Calculus I

Solutions to Homework Set 1

Fall 2017 Test II review problems

9.4 Power Series II: Geometric Series

LESSON 6.1 EXPONENTS LESSON 6.1 EXPONENTS 253

MATH 250 TOPIC 11 LIMITS. A. Basic Idea of a Limit and Limit Laws. Answers to Exercises and Problems

MATH 301 INTRO TO ANALYSIS FALL 2016

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

Definition 8.1 Two inequalities are equivalent if they have the same solution set. Add or Subtract the same value on both sides of the inequality.

Equations and Inequalities

Math 24 Spring 2012 Questions (mostly) from the Textbook

A. Incorrect! Apply the rational root test to determine if any rational roots exist.

Chapter 3 Basic Number Theory

CS 360, Winter Morphology of Proof: An introduction to rigorous proof techniques

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

Name: Mathematics 1C03

Economics 204 Summer/Fall 2017 Lecture 1 Monday July 17, 2017

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

CSE 20 DISCRETE MATH WINTER

QUADRATIC EQUATIONS. + 6 = 0 This is a quadratic equation written in standard form. x x = 0 (standard form with c=0). 2 = 9

REVIEW PROBLEMS FOR SECOND 3200 MIDTERM

Chapter VI. Relations. Assumptions are the termites of relationships. Henry Winkler

Math 4606, Summer 2004: Inductive sets, N, the Peano Axioms, Recursive Sequences Page 1 of 10

LESSON 8.3 EQUATIONS WITH FRACTIONS

Notes on Systems of Linear Congruences

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

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

MATH 3330 ABSTRACT ALGEBRA SPRING Definition. A statement is a declarative sentence that is either true or false.

3 The language of proof

a 2 = ab a 2 b 2 = ab b 2 (a + b)(a b) = b(a b) a + b = b

Math Analysis Chapter 2 Notes: Polynomial and Rational Functions

Appendix G: Mathematical Induction

EXAMPLES OF MORDELL S EQUATION

Midterm 2 Sample Introduction to Higher Math Fall 2018 Instructor: Linh Truong

Basic Proof Examples

Review Problems for Midterm Exam II MTH 299 Spring n(n + 1) 2. = 1. So assume there is some k 1 for which

a. See the textbook for examples of proving logical equivalence using truth tables. b. There is a real number x for which f (x) < 0. (x 1) 2 > 0.

Ch 3.2: Direct proofs

INTRODUCTION TO RATIONAL EXPRESSIONS EXAMPLE:

Fundamentals of Pure Mathematics - Problem Sheet

Chapter 1 : The language of mathematics.

MATHS 315 Mathematical Logic

Divisibility Rules Algebra 9.0

Transcription:

Solutions Quiz 9 Nov. 8, 2010 1. Prove: If a, b, m are integers such that 2a + 3b 12m + 1, then a 3m + 1 or b 2m + 1. Answer. We prove the contrapositive. Suppose a, b, m are integers such that a < 3m + 1 and b < 2m + 1. Then a 3m and b 2m. Therefore 2a 6m and 3b 6m. Adding these inequalities, 2a + 3b 12m. It follows that 2a + 3b < 12m + 1. We assumed a < 3m + 1 and b < 2m + 1, and deduced 2a + 3b < 12m + 1. This proves the contrapositive: If 2a + 3b 12m + 1, then a 3m + 1 or b 2m + 1. Remarks. This is not true for a, b, m real numbers instead of integers. For eample, take m = 0, a = 1/2, b = 1/3. Then 2a + 3b = 2 and 12m + 1 = 1, so 2a + 3b 12m + 1, yet a < 3m + 1 and b < 2m + 1. So the hypothesis that a, b, m are integers can not be ignored. Also note that the negation of a 3m + 1 or b 2m + 1 is a < 3m + 1 and b < 2m + 1. The original conclusion (a 3m + 1 or b 2m + 1) is true if either condition is true, or both; it is false if both conditions are false, i.e., a < 3m + 1 and b < 2m + 1. Here is a different way to understand it. Assume that it is NOT true that a 3m + 1 or b 2m + 1. In other words we are assuming NOT(a 3m + 1 or b 2m + 1). Then neither one of them can be true, so both a < 3m + 1 and b < 2m + 1. 2. Prove: If is a nonzero real number such that + 1 < 2, then < 0. Answer 1. (contrapositive) We prove the contrapositive: If is a nonzero real number such that 0, then + 1 2. Since 0 and 0, we have > 0. Now, we know that ( 1) 2 0. This holds for any real number; we have not yet used the assumption > 0. (Eercise: Why is ( 1) 2 0?) Multiplying this out, Hence 2 2 + 1 0. 2 + 1 2. Because > 0, we can divide each side of the inequality by without reversing the direction of the inequality, giving us + 1 2, which is what we wanted to show. Answer 2. (contradiction) Let be a nonzero real number such that + 1 < 2. Suppose by way of contradiction 0. Since 0, we have > 0. Then we can multiply both

sides of the inequality by without changing the direction of the inequality, giving us 2 + 1 < 2, hence 2 2 + 1 < 0. Factoring gives us ( 1) 2 < 0. But this is impossible: for any real number y, y 2 0; so for y = 1, it is impossible that y 2 < 0. (If we allowed comple numbers we could have y 2 < 0, but we are only allowing real numbers.) This means our original assumption, 0, is impossible. Therefore < 0. Answer 3. (direct) Let be a nonzero real number such that + 1 < 2. Subtracting 2 from each side of the inequality and putting all terms on a common denominator gives 2 2 + 1 < 0 which we may rewrite as ( 1) 2 < 0. It follows that 1 0: For if 1 = 0, we would have ( 1) 2 / = 0/ = 0, whereas we have ( 1) 2 / < 0. Thus ( 1) 2 > 0. Dividing each side of the inequality by ( 1) 2 gives 1 < 0. Finally, 2 > 0 as well. (For any real number, 2 0, and we were given 0, so 2 0.) Multiplying each side of this inequality by 2 gives as claimed. < 0, 3. Consider the following relation R on the integers Z: Ry if and only if 5 2 + 3y. a. Is 4R4? Eplain. b. Is 6R8? Is 8R6? Eplain. c. Prove or disprove: R is an equivalence relation. Answer. a. We have 2 4 + 3 4 = 8 + 12 = 20, and 5 divides 20. Therefore 4R4. b. We have 26+38 = 12+24 = 36, which is not divisible by 5. Therefore 6 R 8. Similarly, 2 8 + 3 6 = 16 + 18 = 34, which is also not divisible by 5. Therefore 8 R 6. c. We prove that R is an equivalence relation. First, we prove R is refleive. Let be any integer. Then 5 is divisible by 5, by the definition of divisibility. Therefore 5 divides 2 + 3. By the definition of R, we have R. This proves R is refleive.

Net we will prove R is symmetric. Suppose Ry. Then 2 + 3y is divisible by 5, so there is some integer k such that 2 + 3y = 5k. Let us subtract each side of this equation from 5 + 5y: (5 + 5y) (2 + 3y) = (5 + 5y) (5k). Since we are subtracting equal quantities, the results will be equal. This gives us 3 + 2y = 5( + y k). Therefore 2y + 3 is divisible by 5. By the definition of R we have yr. We have shown Ry = yr, so R is symmetric. Finally we show R is transitive. Suppose Ry and yrz. Then 2 + 3y is divisible by 5 and so is 2y + 3z. It follows that their sum, 2 + 5y + 3z, is also divisible by 5. We also have that 5y is divisible by 5. Since 2 + 5y + 3z and 5y are both divisible by 5, so is their difference, 2 + 3z. Therefore Rz. This shows R is transitive. Remark. Here is an alternative approach, which is much trickier. (I wouldn t epect you to come up with this on your own, but it can be helpful to see a different approach.) We begin with two lemmas: Lemma. An integer a is divisible by 5 if and only if 3 is divisible by 5. Proof. If 5 a, say a = 5k, then 3a = 15k = 5 (3k), so 5 3a. Conversely, suppose 5 3a, say 3a = 5k. Then 6a = 10k, so a = 10k 5a = 5(2k a). Since 2k a is an integer, we get 5 a. Lemma. For any integers a and b, 5 a if and only if 5 a 5b. Proof. Eercise. Now, the first lemma shows us that Ry 5 2 + 3y 5 6 + 9y. We can apply the second lemma by subtracting 5 + 10y to get But we can recognize the right-hand side: Ry 5 y. Ry y (mod 5). So this relation R is really just a tricky rewriting of congruence modulo 5. It is proved in the tetbook that congruence modulo 5 is an equivalence relation. 4. The Fibonacci numbers are the sequence defined by F 0 = 1, F 1 = 1, and for n 2, F n = F n 1 + F n 2. Prove that for all n 1, F 2 n F n F n 1 F 2 n 1 = ( 1)n. Answer. We prove this by induction. Our basis step is n = 1. For n = 1 the statement claims that F 2 1 F 1F 0 F 2 0 = ( 1)1.

Since F 1 = F 0 = 1, we have F 2 1 F 1F 0 F 2 0 = 1 2 = 1 and this is indeed equal to ( 1)1. So the statement is true for n = 0. Now, suppose by induction that for some n 1 we have F 2 n F n F n 1 F 2 n 1 = ( 1)n. The Fibonacci number F n+1 is given by F n+1 = F n + F n 1. Therefore F 2 n+1 F n+1f n F 2 n = (F n + F n 1 ) 2 (F n + F n 1 )F n F 2 n. Multiplying this out and collecting like terms gives us F 2 n+1 F n+1f n F 2 n = F 2 n + F n F n 1 + F 2 n 1. Pulling out a factor ( 1) from the right hand side, F 2 n+1 F n+1f n F 2 n = (F 2 n + F n F n 1 + F 2 n 1 ) = ( 1)n = ( 1) n+1, where we used the induction hypothesis for the second equality. This proves that F 2 n+1 F n+1 F n F 2 n = ( 1) n+1, and completes the proof by induction. 5. For all n 1, 1 + 1 4 + 1 9 + + 1 n 2 2 1 n. a. Write out what this statement says for n = 1, 2, 3, 4 and verify that it is true for these values of n. b. Prove the statement for all n 1. (Optional: What happens if you just try to prove 1 + 1 4 +... + 1 2 by induction?) n2 Answer. We have n LHS = value RHS = value 1 1 = 1 2 1 1 = 1 2 1 + 1 4 = 5 4 2 1 = 3 2 2 3 1 + 1 + 1 4 9 = 49 36 2 1 = 5 3 3 4 1 + 1 + 1 + 1 = 205 4 9 16 144 2 1 = 7 4 4 In each case the left hand side (LHS) has a smaller value than the right hand side (RHS). For eample, 205 7 can be checked by cross-multiplication: 205 4 144 7. 144 4 Now, we prove the statement for all n 1. We have already proved it for n = 1. Suppose by induction that we have 1 + 1 4 + 1 9 + + 1 n 2 2 1 n for some n. Adding 1/(n + 1) 2 to each side of this gives us 1 + 1 4 + 1 9 + + 1 n 2 + 1 (n + 1) 2 2 1 n + 1 (n + 1) 2.

The right hand side is 2 1 n + 1 (n + 1) = 2 (n + 1)2 n = 2 n2 + n + 1 2 n(n + 1) 2 (n 2 + n)(n + 1) = 2 n2 + n + 1 1 n 2 + n n + 1. We have n 2 + n + 1 > n 2 + n, so and n 2 + n + 1 n 2 + n n 2 + n + 1 1 n 2 + n n + 1 > 1 n + 1, hence 2 n2 + n + 1 1 n 2 + n n + 1 < 2 1 n + 1. At this point we have shown that 1 + 1 4 + 1 9 + + 1 n + 1 2 (n + 1) 2 1 2 n + 1 (n + 1) = 2 n2 + n + 1 1 2 n 2 + n n + 1 < 2 1 n + 1. This proves that 1 + 1 4 + 1 9 + + 1 n + 1 2 (n + 1) < 2 1 2 n + 1, which completes the proof by induction. > 1 Remark. One upshot of this result is that for all n, 1 + 1 + + 1 < 2. Therefore the infinite 4 n 2 series 1 + 1 + is convergent, and its value is at most 2. This can also be proved using the 4 Integral Test for Convergence, as you may have seen in Math 175 (Calculus 2). You may be interested to know that the value of the infinite seres 1 + 1 + is in fact 4 π 2 /6 = 1.6449.... It was a famous problem to find the value of this series, unsolved for nearly one hundred years, until Leonhard Euler earned his fame by solving it at the age of 28. See http://en.wikipedia.org/wiki/basel_problem for more information. Remark. If we just assume 1 + 1/4 + + 1/n 2 2, then we get 1 + 1 4 + + 1 (n + 1) 2 2 + 1 (n + 1) 2. It s impossible to get this to be 2. The problem is that our hypothesis didn t give us enough to work with. The original statement had a harder conclusion ( 2 1/n instead of easier 2) but also a stronger induction hypothesis, which gave us more to work with. 6. Consider the function of real numbers f : R R given by f () = 3 + 5. Prove f is bijective. Answer. We need to prove f is injective and surjective. First we show f is injective. We must show that if f ( 1 ) = f ( 2 ), then 1 = 2. Thus, suppose 1 and 2 are real numbers such that f ( 1 ) = f ( 2 ). That is, 3 1 + 5 = 3 2 + 5.

Subtracting 5 from each side, Dividing each side by 3 gives 3 1 = 3 2. 1 = 2, and we have shown that f is indeed injective. Net we show f is surjective. We must show that Image( f ) = R. Since the output values y = f () are real numbers, we have Image( f ) R by definition. So we only need to show that R Image( f ). Thus, suppose y R is an arbitrary real number. Let = (y 5)/3. Since y is a real number, y 5 is also a real number; and since 3 0 we can divide by it, so = (y 5)/3 is also a real number. We have ( ) y 5 f () = 3 + 5 = 3 + 5 = (y 5) + 5 = y, 3 which shows that y Image( f ). This completes the proof that f is surjective. Remark. To find the epression for, we could work backward from the conclusion f () = y, i.e., 3 + 5 = y, and solve for. 7. Let f : R R be the function defined by f () = 2 + 3 + 4. a. Show that f is not injective. b. Show that f is not surjective. c. Find the image of f. (Hint: For which r is there a solution 2 + 3 + 4 = r? By the Quadratic Formula, an equation 2 + b + c = 0 has a real-number solution if and only if b 2 4c 0.) Answer. We have f (0) = 4 and f ( 3) = ( 3) 2 + 3( 3) + 4 = 9 9 + 4 = 4. So f (0) = f ( 3), yet 0 3. This shows f is not injective. We also have that f is not surjective; indeed, there is no such that f () = 0. By the Quadratic Formula, 2 + 3 + 4 = 0 for the values = 3 ± 9 16 = 3 ± 7, 2 2 which are not in R. (These are comple values such that f () = 0; but there are no real values that work.) Finally we must find the image of f. A value y is in the image of f if and only if the equation 2 + 3 + 4 = y has a solution with R. By the Quadratic Formula, this equation has a solution in R if and only if 3 2 4(4 y) 0,

in other words, 4y 7 0. So the image of f is the set {y R : y 7/4} or in other words the interval [7/4, ). So, we have found: Let us prove that this is the case. Image( f ) = [7/4, ). Claim. For f : R R given by f () = 2 + 3 + 4, the image is given by Image( f ) = [7/4, ). Proof. First, we show that Image( f ) [7/4, ). Let y Image( f ). By the definition of image, there is an 1 R such that f ( 1 ) = y, i.e., 2 1 + 3 1 + 4 = y. That means the equation 2 + 3 + (4 y) = 0 has a solution ( = 1 is a solution). By the Quadratic Formula, therefore 3 2 4(4 y) 0, therefore 4y 7 0, so y 7/4. Therefore y [7/4, ). This shows Image( f ) [7/4, ). Now we will show that [7/4, ) Image( f ). Let y [7/4, ), i.e., y 7/4. Let 1 = 3 + 4y 7. 2 By the Quadratic Formula, 1 is a solution to the equation 2 +3+(4 y) = 0, i.e., f ( 1 ) = y. (There is another solution with. We only need one solution, so I just chose to use +. The other solution would have worked equally well.) This shows there eists an such that f () = y, i.e., = 1. Therefore y Image( f ).