Proofs. Chapter 2 P P Q Q

Similar documents
Proofs. Chapter 2 P P Q Q

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

Chapter 1 Elementary Logic

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

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

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

Properties of the Integers

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.

Recitation 4: Quantifiers and basic proofs

Section 3.1: Direct Proof and Counterexample 1

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

MATH 135 Fall 2006 Proofs, Part IV

1 Predicates and Quantifiers

Intro to Logic and Proofs

Structure of R. Chapter Algebraic and Order Properties of R

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

3 The language of proof

Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

In N we can do addition, but in order to do subtraction we need to extend N to the integers

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

First order Logic ( Predicate Logic) and Methods of Proof

6c Lecture 14: May 14, 2014

Foundations of Discrete Mathematics

Proof Techniques (Review of Math 271)

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

Real Analysis Math 131AH Rudin, Chapter #1. Dominique Abdi

Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here.

The Process of Mathematical Proof

Mathematical Reasoning & Proofs

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

AN INTRODUCTION TO MATHEMATICAL PROOFS NOTES FOR MATH Jimmy T. Arnold

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

In N we can do addition, but in order to do subtraction we need to extend N to the integers

Conjunction: p q is true if both p, q are true, and false if at least one of p, q is false. The truth table for conjunction is as follows.

CSE 1400 Applied Discrete Mathematics Proofs

is equal to = 3 2 x, if x < 0 f (0) = lim h = 0. Therefore f exists and is continuous at 0.

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

A Guide to Proof-Writing

Solutions to Assignment 1

Math1a Set 1 Solutions

Sequences. Chapter 3. n + 1 3n + 2 sin n n. 3. lim (ln(n + 1) ln n) 1. lim. 2. lim. 4. lim (1 + n)1/n. Answers: 1. 1/3; 2. 0; 3. 0; 4. 1.

MTH 299 In Class and Recitation Problems SUMMER 2016

Real Analysis Notes Suzanne Seager 2015

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

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

Contribution of Problems

Practice Test III, Math 314, Spring 2016

1.1 Statements and Compound Statements

2 Lecture 2: Logical statements and proof by contradiction Lecture 10: More on Permutations, Group Homomorphisms 31

MAT 417, Fall 2017, CRN: 1766 Real Analysis: A First Course

5 Set Operations, Functions, and Counting

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

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

Basic properties of the Integers

Lecture 5 : Proofs DRAFT

Math 3320 Foundations of Mathematics

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

Math 511, Algebraic Systems, Fall 2017 July 20, 2017 Edition. Todd Cochrane

Topics in Logic and Proofs

FOUNDATIONS & PROOF LECTURE NOTES by Dr Lynne Walling

Logic, Sets, and Proofs

Divisibility = 16, = 9, = 2, = 5. (Negative!)

We have seen that the symbols,,, and can guide the logical

Basic Proof Examples

Commutative Rings and Fields

Mathmatics 239 solutions to Homework for Chapter 2

Chapter 1 : The language of mathematics.

PRIME NUMBERS YANKI LEKILI

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

Lecture 2: Proof Techniques Lecturer: Lale Özkahya

Mat 243 Exam 1 Review

Advanced Calculus: MATH 410 Real Numbers Professor David Levermore 5 December 2010

WUCT121. Discrete Mathematics. Logic. Tutorial Exercises

Solutions to Homework Set 1

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

Today. Proof using contrapositive. Compound Propositions. Manipulating Propositions. Tautology

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics. Introductory Notes in Discrete Mathematics Solution Guide

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

Basic Logic and Proof Techniques

Preparing for the CS 173 (A) Fall 2018 Midterm 1

Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i

Tools for reasoning: Logic. Ch. 1: Introduction to Propositional Logic Truth values, truth tables Boolean logic: Implications:

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

CHAPTER 2. FIRST ORDER LOGIC

MA 180 Lecture. Chapter 0. College Algebra and Calculus by Larson/Hodgkins. Fundamental Concepts of Algebra

5. Use a truth table to determine whether the two statements are equivalent. Let t be a tautology and c be a contradiction.

STRATEGIES OF PROBLEM SOLVING

EECS 1028 M: Discrete Mathematics for Engineers

Chapter 1. Sets and Numbers

Practice Midterm Exam Solutions

Proof Terminology. Technique #1: Direct Proof. Learning objectives. Proof Techniques (Rosen, Sections ) Direct Proof:

Chapter 1 The Real Numbers

What is the decimal (base 10) representation of the binary number ? Show your work and place your final answer in the box.

DISCRETE MATH: FINAL REVIEW

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

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

Lecture Notes 1 Basic Concepts of Mathematics MATH 352


Transcription:

Chapter Proofs In this chapter we develop three methods for proving a statement. To start let s suppose the statement is of the form P Q or if P, then Q. Direct: This method typically starts with P. Then, using definitions, axioms, mathematical ideas and logic, arrives at Q. It does NOT use the English language to argue. The logic is called modus ponens or the law of detachment and can be summarized by P P Q Q A direct proof of a statement of the form P ( x)q(x) sometimes starts let x... That is, the arbitrary x is part of the antecedent. We will see many examples of this. Contrapositive: We recall from Theorem 1.13 that P Q is equivalent to the contrapositive Q P. The contrapositive method is a direct proof of Q P. Contradiction: For this method we suppose P Q is false. That is, we assume P Q is true (see Theorem 1.13). A contradiction is a statement which is always false. For example, let R be any statement. Then R R is always false for any statement R. To implement a proof by contradiction, we prove the connective statement (P Q) (R R) is true for some statement R (which we have to supply). This leads to a contradiction and implies (P Q) is false. That is, P Q is true. A proof by contradiction has the logical forms P Q (P Q) (R R) R R P Q (P Q) P P P 17

18. Proofs If the statement to be proved is not in the form P Q but perhaps simply a statement P, then there is no contrapositive. However, the remaining two methods apply. Direct: Verify P using mathematical ideas. Contradiction: For this method we assume P is true. Then we have to find a statement R so that P (R R) - a contradiction. A proof by contradiction in this case has the logical form P P (R R) R R.1. Copious Examples of Proofs Many examples follow Theorem.1. The is irrational. Proof #1 Suppose were rational. Then = p/q for some natural numbers p and q. Thus q = p. The Fundamental Theorem of Arithmetic shows every natural number can be factored in to prime numbers. Thus q has an odd number of factors while p has an even number. Hence q 6= p - a contradiction. Proof # Suppose were rational. Then = p/q. Let us suppose p/q is in reduced form - that is, all of the common factors have been canceled. Then q = p. Thus p is even and so p is even. It follows p = r for some natural number r. Thus q = r and we see q is even. This contradicts p/q being in reduced form and so must be irrational. When a statement is in the form P Q and P is in the form P 1 P... we may use Example 1.17 in the last chapter to make the contrapositive easier to work with. Our three methods have the form (1) (Direct) If P 1 and P,..., then Q. () (Contrapositive) If Q, then P 1 or P. (3) (Contradiction) If P 1, P, and Q, then P 1. As we saw in the Chapter One, the contrapositive in () is equivalent to () (Contrapositive) If Q and P 1, then P. Definition.. The set of even numbers is {k k Z}. The set of odd numbers is {k + 1 k Z}. For now we conjecture that each integer is either even or odd and not both. We will prove this a bit later on. Example.3. Consider the statement If n is even, n is even.

.1. Copious Examples of Proofs 19 Rewrite it in each of the three forms and prove each. Solution. The three forms are (1) (Direct) If n is even, n is even. () (Contrapositive) If n is odd, n is odd. (3) (Contradiction) If n is even and n is odd, then n is odd. Proof. (Direct) If n = 0, then n = 0 and n is even. If n 6= 0 and n is even, by the fundamental theorem of arithmetic n = n n = ( p 1... p k )( p 1... p k ), where p 1,..., p k are prime numbers. Dividing by n we find n = p 1... p k and n is even. Proof. (Contrapositive) Suppose n is odd. We need to show n is odd. Since n is odd, n = k + 1 for some k Z. Then n = 4k + 4k + 1 = (k + k) + 1. Since k + k Z, we see n is odd. Proof. (Contradiction) Suppose n is even and n is odd. Since n is odd, n = k+1 for some k Z. Then n = 4k + 4k + 1 = (k + k) + 1. Since k + k Z, we see n is odd - a contradiction. Example.4. Consider the following statement. Suppose x, y R. Prove that, if x y = x + y, then, if y 6= 0, then x 6= 0. Rewrite it in each of the three forms and prove each. Scratch Work. The statement has the form (P Q) R. We saw in Example 1.16 in the previous chapter this is equivalent to (P Q) R. Solution. The three forms are (1) (Direct) Suppose x, y R. If x y = x + y, y 6= 0, then x 6= 0. () (Contrapositive) Let x, y R. If x = 0, then x y 6= x + y or y = 0. (3) (Contradiction) Let x, y R. If x y = x + y, y 6= 0, and x = 0, then y = 0. Proof. (Direct) Suppose y 6= 0 and x y = x + y. Applying the quadratic formula we find x = ± p 4 + 4y y = 1 ± p 1 + y. y Since y 6= 0, 1 + y > 1. This implies p 1 + y > 1 (see HW.3 below). Thus 1 + p 1 + y > and 1 p 1 + y < 0. That is, x 6= 0. Proof. (Contrapositive) Suppose x = 0 and x y = x + y. This immediately implies y = 0 as required. If x y 6= x + y we again arrive at the conclusion of the contrapositive. Proof. (Contradiction) Suppose x = 0, x y = x + y, and y 6= 0. Plugging x = 0, we find y = 0 - a contradiction.

0. Proofs Example.5. Consider the following statement. If a, b, c are odd, then ax + bx + c = 0 has no solution in the set of rational numbers. Rewrite it in each of the three forms and give a direct prove. Scratch Work. The statement has the form P Q. Here Q ( x Q)(ax + bx + c = 0) ( x Q)(ax + bx + c 6= 0). The entire statement has the form h i ( a, b, c Z) (a O b O) c O ( x Q)(ax + bx + c 6= 0). Here O represents the set of all odd integers Since Q(x) is universally quantified, a direct proof could include x Q in the antecedent. Solution. The three forms are 1. (Direct) If a, b, c are odd, then, for all x Q, ax + bx + c 6= 0. 1. (Direct) If a, b, c are odd and x Q, then ax + bx + c 6= 0.. (Contrapositive) Suppose a, b, c Z. If there exists x Q such that ax + bx + c = 0, then at least one of a, b, c is even. 3. (Contradiction) If a, b, c are odd and x Q exists so that ax + bx + c = 0, then (some) contradiction. Proof. (Direct) Suppose a, b, c are odd and x Q. Then x = p/q (reduced form) for some p, q Z and q 6= 0. Note that p and q cannot both be even. We need to consider the quantity ap + bpq + cq. Specifically, we need to show that this quantity is never zero. If p is even and q odd, then ap and bpq are both even while cq is odd. Since the sum of an even an odd integer is odd, the quantity ap + bpq + cq cannot sum to zero which is even. Similarly, if p is odd and q even, ap is odd while the other terms are even. If both p and q are odd, all three terms in ap + bpq + cq odd. Thus, in all cases ax + bx + c 6= 0. Proof. (Contradiction) Suppose a, b, c are odd and x Q exists so that ax + bx + c = 0. Since x Q, it may be expressed form x = p/q (reduced form) for some p, q Z and q 6= 0. Note both p and q cannot be even. Plugging in our equation, we find ap + bpq + cq = 0. If p is even, cq = 0 ap bpq is even. Since c is odd, q is even. This implies q is even and contradicts our assumption p/q is in reduced form. A similar argument follows if q is assumed even. Thus p and q must be odd. But this would imply 0 is odd - another contradiction. Example.6. Consider the following statement. If a is less than or equal to every real number greater than b, then a b. Rewrite it in each of the three forms and prove the contrapositive and contradiction.

.1. Copious Examples of Proofs 1 Scratch Work. The statement has the form P Q. Here P ( x > b)(a x) Q a b. Note the negation of P is P ( x > b)(a > x). Solution. The three forms are (1) (Direct) If a x for all x > b, then a b. () (Contrapositive) If a > b, then there exists a x > b such that a > x. (3) (Contradiction) If a > b and a x for all x > b, then a b. Proof. (Contrapositive) Suppose a > b. Set x = a+b. Then b = b + b < a + b = x < a + a = a. Thus, there exists an x > b such that a > x. Proof. (Contradiction) Suppose a > b and a x for all x > b. Consider x = a+b. Then b = b+b < a+b = x. Our assumptions imply a x or a a+b. This implies a b - a contradiction. Definition.7. Suppose E R. We say M R is a maximum element of E iff (i) x M for all x E, (ii) M E. Example.8. Show the set E = {x 0 < x < 1} has no maximum element. Scratch Work. This statement is in the form P, so there is no contrapositive. If we wish to prove it directly, it might help to know what no maximum means. If E has a maximum then There is no maximum if Q ( M E)( x E)(x M). Q ( M E)( x E)(x M). Since Q is in the form ( M)Q(M), a direct proof starts let M E. Proof. (Direct) Let M E. Set x = M+1. Then M = M + M < 1 + M = x < 1 + 1 = 1. Thus for all M E there exists x E such that x M and the set E does not have a maximum. Proof. (Contradiction) Suppose E has a maximum M. Then x M for all x E and M E. However, y = M+1 is in E and M < y. This contradicts M being a maximum of the set E.

. Proofs Example.9. Prove the following statement. Among the numbers y 1, y,..., y n some number is as large as average 1 n (y 1 + y + + y n ). Scratch Work. While the y i are arbitrary, the statement does not imply they change - they are given fixed numbers. Set I = {i i N, 1 i n}. We need to work with the statement 1 ( i I) n (y 1 + y + + y n ) y i. There does not seem to be a contrapositive. Solution. We have (1) (Direct) Let y i R for 1 i n be given and set Y = 1 n exists y i such that Y y i. () (Contradiction) If y i R for 1 i n and Y = 1 n 1 i n, y i < Y, then Y < Y - a contradiction. nx y i. Then there i=1 nx y i, and, if for all Proof. (Direct) Let y m = max{y 1,..., y n } (we will assume the maximum exists without proof). Then y i y m for all 1 i n. Summing both sides and dividing by n, we find Y y m. Proof. (Contradiction) Suppose Y = 1 nx y i and y i < Y for all 1 i n. n i=1 Summing both sides of y i < Y and dividing by n we find Y < Y, a contradiction. Example.10. Prove the following statement. There is not a largest real number. Proof. Suppose there were a largest real number M. Then x M for all x R. Since M + 1 R, we have M + 1 M or 1 0, a contradiction. For problems involving sets, we say A = B if and only if A B and B A. Example.11. Let A, B, C and D are sets. Suppose A \ B C D. Show A \ D B. Scratch Work. In logic notation the statement is in the form (A \ B C D) ( x A \ D)(x B). The consequent is Q ( x A\D)(x B). Its negation is Q ( x A\D)(x 6 B). i=1

.. Proofs Using Axioms 3 Solution. (1) (Direct) If A \ B C D and x A \ D, then x B. () (Contrapositive) If there exists x A\D such that x 6 B, then A\B 6 C D. (3) (Contradiction) If A \ B C D and x A \ D exists such that x 6 B, then contradiction. Proof. (Contrapositive) Suppose x A\D exists such that x 6 B. Since x A\D, x A. It follows x A \ B. However, x cannot be in C D since x 6 D. Thus, there exists an element in A \ B which is not in C D. That is, A \ B 6 C D... Proofs Using Axioms We assume the set of real numbers, R, has two binary operations, denoted + and (i.e. a function whose domain is R R and range in R). The operations are called addition and multiplication respectively. Moreover, they satisfy the following properties: (A1) a + b = b + a a b = b a (A) a + (b + c) = (a + b) + c a (b c) = (a b) c (A3) a (b + c) = a b + a c (commutative laws) (associative laws) (distributive law) (A4) There exists unique, distinct real numbers 0 and 1 such that, for all a R, a + 0 = a a 1 = a (identity elements) (A5) For each a R and b R, b 6= 0, there exists a R and b 1 := 1/b R such that a + ( a) = 0 b b 1 = 1 (inverse elements) The above axioms show that (R, +, ) is a field in the sense of abstract algebra. We note that (Q, +, ) is a field, where Q is the set of rational numbers. This is so since the sum or product of two fractions is again a fraction. That is, the rational numbers are closed under addition and multiplication. Order Axioms for R We assume the existence of an order property on R, denoted by <, with the following properties: (O1) For all a, b R, exactly one of the following holds: a = b, a < b, b < a (trichotomy)

4. Proofs (O) For all a, b, c R, if a < b, then a + c < b + c. (O3) For all a, b, c R, if a < b and 0 < c, then ac < bc. (O4) For all a, b, c R, if a < b and b < c, then a < c (transitivity). Note that we did not assume in (A5) that the additive and multiplicative inverses are unique. The uniqueness of these follow from the uniqueness of 1 and 0. Theorem.1. Suppose a R. Then the additive inverse a and the multiplicative inverse, a 1 (a 6= 0) are unique. Proof. Suppose a, b R satisfy a + ( a) = 0 and a + b = 0. Then, applying the axioms, b = b + 0 = b + (a + a) = (a + b) + a = 0 + a = a. Similarly, if a 6= 0, a a 1 = 1 and ab = 1, then b = b 1 = b (a a 1 ) = (a b) a 1 = 1 a 1 = a 1. Theorem.13. Suppose a, b R. Then (a) 0 a = 0, (b) a = 1 a. (c) 1 1 = 1. Proof. Part (a) By (A4), a = 1 a = (1 + 0) a. Applying (A3) we find a = 1 a + 0 a = a + 0 a. Finally, (A4) shows 0 a = 0, since 0 is the only real number with this property. To prove (b), we apply (A4), (A3), (A5) and the previous part, respectively, to find, Part (b) follows from (A5). a + 1 a = 1 a + 1 a = (1 + 1) a = 0 a = 0. To prove (c) we apply (b) with a = 1. Then ( 1) = 1 1. Apply the axioms we find 1 = 1 + 0 = 1 + ( 1 + ( 1)) = (1 + 1) + ( 1) = 0 + ( 1) = 1 1. Theorem.14. For all a, b R, a < b implies b < a.

.4. One Last Example: P xq(x) 5 Proof. By (O) a + ( a) < b + ( a). This implies 0 < b a. Adding b to both sides give b < a as desired. Corollary.15. For all a, b, c R, c < 0, and a < b, implies cb < ca. Proof. By the theorem 0 < c. By (O3), ac < cb. Again by the theorem, cb < ca..3. Existence and Uniqueness Proofs Sometimes we need to show a solution exists to a problem and that the solution is unique. The next example illustrates how to do this. Example.16. Suppose x is a real number. Then there is a unique real number y such that x y = x y. Scratch Work: Given x we can easily solve for y to find y = 1 x +1. Proof. Existence: Set y = 1 x +1. Then one checks that x y = x y. Uniqueness: Suppose y 1 and y solve x y 1 = x y 1 and x y = x y respectively. Subtracting the two, we find x (y 1 y ) = (y 1 y ). That is, (x +1)(y 1 y ) = 0. This implies y 1 y = 0 or y 1 = y, and so the solution is unique..4. One Last Example: P xq(x) Theorems of the form P xq(x) sometimes require special treatment. It may seem counter intuitive, but statements of this form often must start Let x... Then P is used to help arrive at Q(x). Problems.13,.17,.0,.5,.31 in the following homework are in this form. You don t need to understand the mathematical concepts in the following example to follow the logic. Definition.17. We say a set K R n is compact if and only if, for all collections of open sets {G α } which cover K, that is, K α G α, there exists a finite subcovering. That is, K N i G i - a finite number of the G α cover F. (It turns out that functions continuous on a compact set have a maximum and a minimum.) Consider the following statement (a homework problem from MAT 37). Theorem.18. Suppose K R n is compact and F is a closed subset of K. Then F is compact. The statement is in the form P Q. Here Q F is compact. But compact means for all open coverings of F there exists a finite subcovering. So we must start with a collection of open sets covering F. If we start with the antecedent K is compact and apply the definition of compact to K, we get a collection of open sets which have nothing to do with F. The theorem is a story about open sets which cover F, and somehow K being compact will help us.

6. Proofs.5. Proof-Writing Guidelines Write in complete sentences. While 1+=3 is a complete sentence it is not possible in a proof since we never start a sentence with a mathematical expression or symbol. Moreover, writing too many equations without words looks more like scratch work. Make all equations part of a sentence. It is fine to display lengthy equations. Only use the (subjective) pronoun we - no other. Organize sentences into paragraphs. Create a new paragraph when the logic changes or you prove a different part of the theorem. If you find yourself making an argument using only words - stop. Look for mathematical ideas to convey your reasoning. Look at many mathematical proofs. Frequently proofs only contain English words like: for all, there exists, since, then, because, therefore, it follows, we see, hence... A mathematical proof consists of logical arguments starting ONLY from axioms, definitions, or previous results which follow logically from axioms or definitions. Do not use a variable without defining it first. Read your proof like a computer would read/compile a program. All quantities must be defined. Do not use quantifier logic notation in a proof (,,,,, ). Words are better for this. Often theorems are of the form P Q. A direct proof frequently starts with Suppose P. Then P is unraveled mathematically and manipulated to arrive at the meaning of Q. The exception occurs when Q contains a universal quantifier and/or is itself in the form P 1 Q. Then a direct proof starts Let x be in.. or Suppose P 1. For example, if the theorem were in the form P ( x A)Q(x), then the statement is about something happening when x A. So the proof starts, suppose P and x A. It ends with Q(x). The proof of an infinite number of statements, P (n), requires induction if the P (n) cannot be directly verified for arbitrary n N. Read, not for understanding but for style, many, many proofs. Your book is a great source for this activity. Check out your calculus or linear algebra book too.

.6. Homework 7.6. Homework Instructions. When possible restate each problem in each of the following forms. Then choose one and provide a careful, well-written proof. (1) (Direct) If P 1 and P,..., then Q. () (Contrapositive) If Q, then P 1 or P. (3) (Contradiction) If P 1, P, and Q, then (a contradiction). Then choose a version and prove it. You may have to adapt the logic to the given problem. Exercise.1. Suppose a, b R. Prove the following. (a) If a 6= 0, then 1/a 6= 0 and 1/(1/a) = a. (b) If a b = 0, then a = 0 or b = 0. (c) ( a) ( b) = a b. Exercise.. Suppose m, n, p, q R are all nonzero. Using only the axioms and the previous theorem, provide proofs of the following equalities (you may find proving them in order useful) m p n q = mp nq, m n + p mq + np =, m q nq n = m 1 l n, = n n l, m n p q = mq np. Exercise.3. Suppose a, b R. (a) If 0 < a < b, show a < b. (b) If 0 < a < b, show a < b. Exercise.4. A square of an even number is an even number. Exercise.5. An integer n is odd if and only if n is odd. Exercise.6. The product of a nonzero rational number and an irrational number is irrational. Exercise.7. The n is irrational if n is a positive integer that is not a perfect square. Exercise.8. If x and y are distinct real numbers, then (x + 1) = (y + 1) if and only if x + y =. How does the conclusion change if we allow x = y? Exercise.9. Suppose x and y are real numbers, y + x = y x, and x and y are not both zero. Prove that y 6= 0. Exercise.10. Suppose that x and y are real numbers. Prove that if x 6= 0, then if y = 3x + y x, then y = 3. +

8. Proofs Exercise.11. Prove the following theorem: For x, y R, x < if 0 < y < 1 3 and x + 1 y < 7. Exercise.1. Prove or disprove. Suppose n 1, n, n 3, and n 4 are consecutive natural numbers. Then n 1 n n 3 n 4 is divisible by four. Exercise.13. Let A, B, C, and D be sets. Suppose that (A \ B) (C \ D). Prove that A D B. Exercise.14. Using the fact that k, with k N is a rational number if and only if k is a square, prove that 9n + 6n + 4 is irrational for all n N. Exercise.15. Let m, n be integers. Let S be the assertion m + n is odd. a) Is S a necessary condition for the product mn to be even? Give reasons for your answer. b) Is S a sufficient condition for the product mn to be even? Give reasons for your answers. Exercise.16. Suppose A and B are sets. Prove A \ (A \ B) = A B. Exercise.17. Suppose that A\B is disjoint from C, and x A. Prove that if x C, then x B. Exercise.18. Prove that n + n + 1 is odd for each n N. Exercise.19. Prove that for any x R with x > 9, if x > 0, then x > 3. Exercise.0. Prove that if A and B \ C are disjoint, then A B C. Exercise.1. Suppose n is an integer. Show the following are equivalent. i) n is even ii) n + 1 is odd iii) 3n + 1 is odd iv) 3n is even Exercise.. Prove the following result. If a and b are even integers, then (a+b) is an even integer. Exercise.3. Prove the following result. For every integer z, z + z is even. Exercise.4. A set C of real numbers is convex if and only if for all elements in x, y C and for every real numbers t with 0 t 1, tx + (1 t)y C. Suppose a, b R. Show that the set C = {x R ax b} is convex. Exercise.5. If S and T are convex sets, then S T is a convex set. Is S T always convex? Exercise.6. A function is strictly increasing if and only if for all real x, y such that x < y implies f(x) < f(y). Prove that f(x) = x 3 is strictly increasing. Exercise.7. Suppose a R and that a < ǫ for all ǫ > 0. Show that a = 0.

.6. Homework 9 Exercise.8. Suppose a, b, c R with c 6= 0. If cx + bx + a has no rational root, then ax + bx + c has no rational root. Exercise.9. Show that a party of n people has at least two people who have the same number of friends at the party. Exercise.30. The polynomial x 4 + x + x + cannot be expressed as the product of the two polynomials x + ax + b and x + cx + d in which a, b, c, d Z. You may assume two polynomials agree for all x if and only if their coefficients agree. Exercise.31. A set S of real numbers is bounded if and only if there exists a real number M > 0 such that x M for all x S. Suppose S and T are sets of real numbers with S T. If S is not bounded, prove that T is not bounded. Exercise.3. If c is an odd integer, then the equation n + n c = 0 has no integer solution for n. Exercise.33. Show that, if x, y R are such that x 0, y 0, and x + y = 0, then x = 0 and y = 0. Exercise.34. Prove that there is a unique integer n for which n 3n = 0. Exercise.35. Prove that for every real number x, if x 6= 0 and x 6= 1, then there is a unique real number y such that y/x = y x. Exercise.36. If n is a positive integer, then either n is prime, or n is a square, or n divides (n 1)!. Exercise.37. Translate the following into quantifier notation: (1) The maximum of a function f(x) on 0 x 1 is less than some y. () The minimum of a function f(x) on 0 x 1 is less than some y. Exercise.38. If S is a nonempty subset of a set T of real numbers and t is a real number such that for each element t T, t t, prove min{s s S} t. You may assume S has a minimum.