Math1a Set 1 Solutions

Similar documents

MATH 271 Summer 2016 Practice problem solutions Week 1

Proof by Contradiction

Proofs. Chapter 2 P P Q Q

Simplifying Rational Expressions and Functions

( 3) ( ) ( ) ( ) ( ) ( )

Multiplication of Polynomials

Math 3450 Homework Solutions

Contribution of Problems

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line?


(3,1) Methods of Proof

(Rgs) Rings Math 683L (Summer 2003)

Polynomial and Rational Functions. Copyright Cengage Learning. All rights reserved.

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

REVIEW Chapter 1 The Real Number System

Proofs. Chapter 2 P P Q Q

2. THE EUCLIDEAN ALGORITHM More ring essentials

SYMBOL NAME DESCRIPTION EXAMPLES. called positive integers) negatives, and 0. represented as a b, where

Some Review Problems for Exam 1: Solutions

Math 261 Exercise sheet 5

Section 2.4: Add and Subtract Rational Expressions

Section Summary. Proof by Cases Existence Proofs

3.6. Disproving Quantified Statements Disproving Existential Statements

Chapter Five Notes N P U2C5

Polynomials. In many problems, it is useful to write polynomials as products. For example, when solving equations: Example:

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 0310 Final Exam Review

Selected Math 553 Homework Solutions

Math 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2

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

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

Algebra I. Book 2. Powered by...

MATH FINAL EXAM REVIEW HINTS

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

1 Overview and revision

Homework #2 Solutions

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

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

Ch 4.2 Divisibility Properties

Fast Polynomial Multiplication

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

be any ring homomorphism and let s S be any element of S. Then there is a unique ring homomorphism

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

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

Chapter 6: Rational Expr., Eq., and Functions Lecture notes Math 1010

Homework 8 Solutions to Selected Problems

Foundations of Discrete Mathematics

Which one of the following is the solution to the equation? 1) 4(x - 2) + 6 = 2x ) A) x = 5 B) x = -6 C) x = -5 D) x = 6

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

Solutions for Homework Assignment 2

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

Solutions to Homework Set 1

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

Notes for Math 345. Dan Singer Minnesota State University, Mankato. August 23, 2006

Arithmetic, Algebra, Number Theory

COMP Intro to Logic for Computer Scientists. Lecture 15

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

Polynomial Rings. i=0. i=0. n+m. i=0. k=0

0 Sets and Induction. Sets

Solutions 2017 AB Exam

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman

Analysis I (Math 121) First Midterm Correction

6x 3 12x 2 7x 2 +16x 7x 2 +14x 2x 4

a factors The exponential 0 is a special case. If b is any nonzero real number, then

Homework 3, solutions

Section Properties of Rational Expressions

3.4. ZEROS OF POLYNOMIAL FUNCTIONS

Cool Results on Primes

Chapter 8. Exploring Polynomial Functions. Jennifer Huss

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

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

A Level Maths. Induction Booklet CONTENTS

Rings If R is a commutative ring, a zero divisor is a nonzero element x such that xy = 0 for some nonzero element y R.

Mathematics (MEI) Advanced Subsidiary GCE Core 1 (4751) May 2010

AMB111F Notes 1: Sets and Real Numbers

PYTHAGOREAN TRIPLES KEITH CONRAD

SCHOOL OF MATHEMATICS MATHEMATICS FOR PART I ENGINEERING. Self-paced Course

Algebra Review 2. 1 Fields. A field is an extension of the concept of a group.

Discrete Mathematics Logics and Proofs. Liangfeng Zhang School of Information Science and Technology ShanghaiTech University

Mathematical Reasoning & Proofs

Definition For a set F, a polynomial over F with variable x is of the form

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

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 =

Polynomial and Rational Functions. Chapter 3

where c R and the content of f is one. 1

An Introduction to Proof-based Mathematics Harvard/MIT ESP: Summer HSSP Isabel Vogt

Homework 7 solutions M328K by Mark Lindberg/Marie-Amelie Lawn

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

Direct Proof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Direct Proof Fall / 24

MATH 135 Fall 2006 Proofs, Part IV

Proofs: A General How To II. Rules of Inference. Rules of Inference Modus Ponens. Rules of Inference Addition. Rules of Inference Conjunction

Chapter 5: The Integers

CHAPTER 1. Review of Algebra

Section September 6, If n = 3, 4, 5,..., the polynomial is called a cubic, quartic, quintic, etc.

Contribution of Problems

Notes: Pythagorean Triples

Equations and Inequalities

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.

Transcription:

Math1a Set 1 Solutions October 15, 2018 Problem 1. (a) For all x, y, z Z we have (i) x x since x x = 0 is a multiple of 7. (ii) If x y then there is a k Z such that x y = 7k. So, y x = (x y) = 7k is also a multiple of 7, i.e. y x. (iii) If x y and y z then there exist k, l Z such that x y = 7k, y z = 7l and consequently x z = (x y)+(y z) = 7k +7l = 7(k +l) is also a multiple of 7. So, x z. Therefore, satisfies all axioms of an equivalence relation. (b) We will show that S = {0, 1, 2, 3, 4, 5, 6} is a set of representatives for Y = X/. To prove that S is a set of representatives, one has to show 1. Elements of S are pairwise inequivalent; 2. Every integer is equivalent to one element of S. Now we show these two for S 1. The difference between two different elements of S is never a multiple of 7. This means that elements of S are pairwise inequivalent. 2. Given any integer n, we may write (by division by 7) n = 7a + r, with a, r Z, such that the remainder r satisfies: 0 r 6, i.e. r S. Since n r is a multiple of 7, we know that n r. So, any integer n is equivalent to one element of S. We showed that S is a set of representatives for Y = X/. Hence the cardinality of Y is equal to the cardinality of S, which is 7. Problem 2. The method of contrapositive is to prove P = Q by showing Q = P. Let a, b Z. We are to show that if 1

(i) ab even either a or b is even (ii) ab odd both a and b are odd (i): To use the method of contrapositive for this problem, we let P be the statement that ab is even, and let Q be the statement that either a or b is even. Note that: 1. P is the statement that ab is not even, or equivalently ab is odd. 2. Q is the statement that neither a nor b is even, or equivalently a and b are both even. By the method of contrapositive, to prove this problem we have to show that Q = P, or equivalently if both a and b are odd, then ab is odd. We show this now. If both a and b are odd, then there are k, l Z such that a = 2k + 1, b = 2l + 1. Then ab = (2k + 1)(2l + 1) = 4kl + 2k + 2l + 1 = 2(2kl + k + l) + 1 is also odd. (ii): To use the method of contrapositive for this problem, we let P be the statement that ab is odd, and let Q be the statement that a and b are both odd. Note that: 1. P is the statement that ab is not odd, or equivalently ab is even. 2. Q is the statement that either a or b is not odd, or equivalently either a or b is even. By the method of contrapositive, to prove this problem we have to show that Q = P, or equivalently if either a or b is even, then ab is even. We show this now. If either a or b is even, we may assume a is even (the case of b being even can be done identically swapping the names of a and b). So, there is a k Z such that a = 2k. This means ab = 2kb, i.e. ab is even. Problem 3. Set up for the proof by contradiction: to prove the statement of the problem by contradiction, we keep the conditions (i.e. x and y are positive integers), but we assume the opposite of what we are trying to prove (ie. that there exist such x and y satisfying the equation x 2 y 2 = 2). 2

Factorization: We have x 2 y 2 = 2, so we can factorize both the left and right hand sides. The left side factorizes as (x y)(x + y) and since both x and y are positive integers, it follows x y is an integer (could be negative!) and x+y is a positive integer. Thus, we need to factorize 2 into two integers at least one of which is positive. This can only be done as 1 2 or 2 1. Reaching a contradiction: The two factorisations of 2 lead to the two systems of equations: x y = 2, x + y = 1, or x y = 1, x + y = 2. Both of them yield 2x = 3, so there is no solution where x is an integer, so we contradict our condition on x. Therefore, we conclude by saying our assumption must have been wrong and therefore, there do not exist positive integers x and y such that x 2 y 2 = 2. Replacing 2 by 2n: We proceed exactly as before. Let x and y be positive integers and assume there exists a solution to x 2 y 2 = 2n for some n odd. Factorizing as before gives (x y)(x+y) = 2n. Again, x y and x+y are integers. As the left hand side is the product of two integers, we should factorize the 2n into two integers, say p q. (Be careful here, there may be more factorisations than just 2 n or n 2.) Since 2n is even, at least one of p or q is even. If both p and q are even then 2n = p q is divisible by 4 which is not the case since n is odd. So, exactly one of p and q is even and the other is odd. Recall that the sum of an even integer and an odd integer is odd. But then 2x = (x y) + (x + y) = p + q is odd. So, x is again not an integer contradicting the condition on x. So, we conclude that our assumption was wrong and indeed there do not exist positive integers x and y such that x 2 y 2 = 2n where n is odd. Problem 4. [Note: a key fact that is used in the problem is the following. m is a positive integer such that m 2 n = m n for all positive integer n, iff m is square-free. In particular, this applies when m is a prime number. It is important in your solutions to make note that you understand that this is true for primes as it is not true for all numbers, for example m = 4.] To prove the statement of the problem by contradiction, we assume the opposite of what we are trying to prove (ie. that 14 is rational). We now use this fact to reach a contradiction. Since we have assumed 14 is rational, we can write it as the ratio of two integers, ie. 14 = a where a, b Z and b 0. If a is negative, then b must be too, so we can multiply a and b by 1 to make it a ratio of positive integers. In the same vein, if a and b have a positive integer divisor d in common, we can divide the numerator and denominator by d and still have 14 as the ratio of positive integers. Thus, b 3

the natural conclusion is to divide through by the greatest common divisor of a and b leaving 14 as the ratio of two positive integers with no positive integer factor in common other than 1. Hence, 14 = A B where A, B N and gcd(a, B) = 1 (We have ignored the possibility A = 0 since 14 0). Rearranging and squaring yields 14B 2 = A 2. The left hand side is divisible by 2, so the right hand side must be as well. Thus, 2 divides A 2 and hence 2 divides A as 2 is prime. We may write A = 2C where C is a positive integer. Substituting in gives 14B 2 = 4C 2. Dividing by 2 yields 7B 2 = 2C 2. The right hand side is divisible by 2, so the left hand side must be too. Since 2 does not divide 7, it must divide B 2 and hence 2 divides B since 2 is prime. So, we can write B = 2D where D is a positive integer. However, note that therefore, both A and B have a common divisor of 2 which contradicts the fact that gcd(a, B) = 1. So, our assumption is wrong and in fact, 14 is irrational. Before we continue to the second part of the problem, note that if we add, multiply, subtract, or divide two rational numbers, we again get a rational number. The second part of the problem requires us to show that 2+ 7 is irrational. Again, we proceed with a proof by contradiction. Assume 2 + 7 is rational. So, write 2 + 7 = A B where A, B Z and B 0 (we could again insist that gcd(a, B) = 1, but it actually will not be necessary). Then B( 2 + 7) = A, which after squaring yields B 2 (2 + 2 14 + 7) = A 2. We now want to isolate the 14, so subtracting 9B 2 and dividing by 2B 2 (which is nonzero because B 0) gives 14 = A 2 9B 2 2B 2. Note that the numerator is an integer as A, B and 9 are. Moreover, the denominator is a non-zero integer since B 0. So, we have written 14 as a ratio of an integer with a non-zero integer. So we conclude 14 is rational which contradicts the first part of this problem where we proved 14 is actually irrational. So, we conclude that our assumption was false and indeed it follows that 2 + 7 is irrational. Problem 5. The proposition we are going to prove is the following: P(n): Given polynomial f of degree n and real number b, there exists a polyno- 4

mial g of degree n 1 and a real number c such that f(x) = (x b)g(x) + c. In this form, we can prove this using induction on n, the degree of our polynomial. One must start with the base case, which entails proving the statement for n = 1. Base Case: We want to show that if f(x) = a 1 X + a 0, with a 0, a 1 R, and b R, we can find a degree n 1 = 0 polynomial (i.e. a constant, say g R), and c R, such that f(x) = (x b)g + c. We can actually just solve this by equating polynomials: a 1 x + a 0 = gx bg + c. This yields g(x) = g = a 1 and c = a 0 + bg = a 0 + ba 1. Inductive Step: To complete this step, one must prove that the statement is true for n = k + 1 assuming it is true for all n k. First, we assume that for all n k, for any degree n polynomial f and real number b, there is a degree n 1 degree polynomial g and real number c such that f(x) = (x b)g(x) + c. (1) Next, we look at an arbitrary k + 1 degree polynomial F (x) = α k+1 x k+1 + α k x k + + α 0. Now for arbitrary b R, we can observe that: F (x) = x(α k+1 x k + α k x k 1 + + α 1 ) + α 0. (2) Notice that inside the brackets in Equation 2, is the degree k polynomial: α k+1 x k + α k x k 1 + + α 1. So, we can apply Equation 1, which tells us that there is a degree k 1 polynomial g(x) and c R such that α k+1 x k + α k x k 1 + + α 1 = (x b)g(x) + c. (3) Substituting Equation 3 into Equation 2 yields F (x) = x((x b)g(x) + c) + α 0. (4) We are not done as Equation 4 is not in the form of the proposition. We are looking for a degree k polynomial G and a real number C such that F (x) = (x b)g(x) + C. (5) Like in the base case, we attempt to solve for G and C simply using polynomial equality. In particular, using Equations 4 and 5 gives us (x b)g(x) + C = x((x b)g(x)) + c) + α 0 = (x b)(xg(x)) + cx + α 0 = (x b)(xg(x) + c) + cb + α 0. So, setting G(x) = xg(x) + c and C = cb + α 0 gives the required G and C and the induction is complete. 5

Hence, by the principle of mathematical induction, given polynomial f of degree n and real number b, there exists a polynomial g of degree n 1 and a real number c such that f(x) = (x b)g(x) + c. The second part of the problem requires us to show that b is a root of f iff c = 0. This is now much easier after having completed the induction. (only if direction): Suppose b is a root of of f. Then f(b) = 0, so (b b)g(b)+ c = 0 which simplifies to c = 0. (if direction): Suppose c = 0, then f(x) = (x b)g(x). Then f(b) = (b b)g(b) = 0, so b is a root of f. Variations on the inductive step in Problem 5 There are a couple of variations to the proof of the induction step worth mentioning. First of all, one could eliminate the top term by writing F (X) = α k+1 x k (x b) + (α k + bα k+1 )x k + α k 1 x k 1 + + α 1 + α 0. Then notice that (α k + bα k+1 )x k + α k 1 x k 1 + + α 1 + α 0 is of degree at most k, so we can apply the inductive step here: (α k + bα k+1 )x k + α k 1 x k 1 + + α 1 + α 0 = (x b)g(x) + c. Then, F (x) = α k+1 x k (x b)+(x b)g(x)+c = (x b)(g(x)+α k+1 x k )+c. So, G(x) = g(x) + α k+1 x k and C = c satisfy the requirements. Another variation is to first prove that for single term polynomials of the form x n, for any b R, there exists some degree n 1 polynomial, h(x), and c R such that x n = (x b)h(b)+c. The induction step in this proof can be done by writing x k+1 = x x k = x(x b)h(x)+cx = (x b)(xh(x)+c)+bc. Next, we can observe that the sum of degree k polynomial and degree < k polynomials is also a degree k polynomial. Also, that a nonzero scalar product of a degree n polynomial is also degree n. Now, the induction step of the original problem can be proven by applying the first step. Denote F 1 (x) = α n x n and F 2 (x) = α n 1 x n 1 + + α 0 (which is not necessarily a degree n 1 polynomial as α n 1 could be 0). Then F (x) = F 1 (x) + F 2 (x) = (x b)h(x) + c 1 + (x b)g(x) + c 2, where h(x) is a degree n 1 polynomial, and g(x) is of degree at most n 2, hence g(x) + h(x) is a degree n 1 polynomial. 6