Carmen s Core Concepts (Math 135)

Similar documents
Carmen s Core Concepts (Math 135)

WUCT121. Discrete Mathematics. Logic. Tutorial Exercises

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

CSE 20 DISCRETE MATH WINTER

CSE 20 DISCRETE MATH SPRING

Exercise Set 1 Solutions Math 2020 Due: January 30, Find the truth tables of each of the following compound statements.

Carmen s Core Concepts (Math 135)

1 Predicates and Quantifiers

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

CSE 20 DISCRETE MATH. Winter

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations

MATH 271 Summer 2016 Practice problem solutions Week 1

Complete Induction and the Well- Ordering Principle

Intro to Logic and Proofs

Proof by Contradiction

Section 2.1: Introduction to the Logic of Quantified Statements

Selected problems from past exams

Section Summary. Proof by Cases Existence Proofs

With Question/Answer Animations. Chapter 2

Section 1.7 Proof Methods and Strategy. Existence Proofs. xp(x). Constructive existence proof:

CSC165. Larry Zhang, October 7, 2014

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

First order Logic ( Predicate Logic) and Methods of Proof

2. Sets. 2.1&2.2: Sets and Subsets. Combining Sets. c Dr Oksana Shatalov, Spring

Chapter 0 Introduction. Fourth Academic Year/ Elective Course Electrical Engineering Department College of Engineering University of Salahaddin

More examples of mathematical. Lecture 4 ICOM 4075

CSE 20. Final Review. CSE 20: Final Review

Thinking of Nested Quantification

Contradiction MATH Contradiction. Benjamin V.C. Collins, James A. Swenson MATH 2730

Mathematics Review for Business PhD Students

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

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

COT 2104 Homework Assignment 1 (Answers)

Equivalence of Propositions

Math Circles: Number Theory III

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

Basic Logic and Proof Techniques

18.S097 Introduction to Proofs IAP 2015 Lecture Notes 1 (1/5/2015)

Set Theory. CSE 215, Foundations of Computer Science Stony Brook University

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.

Discrete Mathematics. (c) Marcin Sydow. Sets. Set operations. Sets. Set identities Number sets. Pair. Power Set. Venn diagrams

Logic, Sets, and Proofs

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

CHAPTEER - TWO SUBGROUPS. ( Z, + ) is subgroup of ( R, + ). 1) Find all subgroups of the group ( Z 8, + 8 ).

Recitation 4: Quantifiers and basic proofs

Chapter 1 : The language of mathematics.

CSCE 222 Discrete Structures for Computing. Review for Exam 1. Dr. Hyunyoung Lee !!!

Steinhardt School of Culture, Education, and Human Development Department of Teaching and Learning. Mathematical Proof and Proving (MPP)

MATH 2200 Final Review

Proofs. Chapter 2 P P Q Q

Announcements. Read Section 2.1 (Sets), 2.2 (Set Operations) and 5.1 (Mathematical Induction) Existence Proofs. Non-constructive

Proofs. Chapter 2 P P Q Q

MATH FINAL EXAM REVIEW HINTS

Test 1 Solutions(COT3100) (1) Prove that the following Absorption Law is correct. I.e, prove this is a tautology:

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

Sets McGraw-Hill Education

Math 13, Spring 2013, Lecture B: Midterm

A set is an unordered collection of objects.

Theoretical Cryptography, Lectures 18-20

COMP Logic for Computer Scientists. Lecture 16

Introduction to Decision Sciences Lecture 10

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

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

Negations of Quantifiers

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

CS 173: Discrete Structures. Eric Shaffer Office Hour: Wed. 1-2, 2215 SC

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

Scott Taylor 1. EQUIVALENCE RELATIONS. Definition 1.1. Let A be a set. An equivalence relation on A is a relation such that:

Grade 11/12 Math Circles Rational Points on an Elliptic Curves Dr. Carmen Bruni November 11, Lest We Forget

xy xyy 1 = ey 1 = y 1 i.e.

Name (print): Question 4. exercise 1.24 (compute the union, then the intersection of two sets)

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

Sec$on Summary. Mathematical Proofs Forms of Theorems Trivial & Vacuous Proofs Direct Proofs Indirect Proofs

- involve reasoning to a contradiction. 1. Emerson is the tallest. On the assumption that the second statement is the true one, we get: 2. 3.

Sets and Functions. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Sets and Functions

Mathematics Review for Business PhD Students Lecture Notes

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

Cool Results on Primes

Proof worksheet solutions

Sets and Functions. (As we will see, in describing a set the order in which elements are listed is irrelevant).

Group 5. Jeremy Gutierrez. Jesus Ochoa Perez. Alvaro Gonzalez. MATH 170: Discrete Mathematics. Dr. Lipika Deka. March 14, 2014.

Exclusive Disjunction

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

CSE 20 DISCRETE MATH SPRING

STRATEGIES OF PROBLEM SOLVING

(3,1) Methods of Proof

Foundation of proofs. Jim Hefferon.

Topics in Logic and Proofs

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

Section 3.1: Direct Proof and Counterexample 1

Proof by contrapositive, contradiction

REU 2007 Transfinite Combinatorics Lecture 9

CSE 20 DISCRETE MATH. Fall

Chapter Summary. Sets (2.1) Set Operations (2.2) Functions (2.3) Sequences and Summations (2.4) Cardinality of Sets (2.5) Matrices (2.

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall

PRINCIPLE OF MATHEMATICAL INDUCTION

Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula

Transcription:

Carmen s Core Concepts (Math 135) Carmen Bruni University of Waterloo Week 2

1 Divisibility Theorems 2 DIC Example 3 Converses 4 If and only if 5 Sets 6 Other Set Examples 7 Set Operations 8 More Set Terminology 9 Sets and If and Only If 10 Quantified Statements 11 Assuming a For All Statement 12 Domain Is Important! 13 Approaching Quantified Statement Problems 14 Negating Quantifiers 15 Nesting Quantifiers

Divisibility Theorems Let a, b, c Z. 1 Bounds by Divisibility (BBD): (a b b 0) a b 2 Transitivity of Divisibility (TD): (a b b c) a c 3 Divisibility of Integer Combinations (DIC): (a b a c) x, y Z a bx + cy Proof of DIC: Assume that a b and a c. Then there exist integers m and n such that am = b and an = c. Then for any x and y integers, and hence a bx + cy. bx + cy = amx + any = a(mx + ny)

DIC Example If 5 a + 2b and 5 2a + b, then 5 (a + 2b)(2) + (2a + b)( 1) and simplifying shows that 5 3b.

Converses Definition: Let A, B be statements. The converse of A B is B A. Example The converse of Bounds by Divisibility (BBD) is a b a b b 0

If and only if If and only if A B, A iff B, A if and only if B. A B A B T T T T F F F T F F F T Exercise: Show that A B (A B) (B A)

Sets A set is a collection of elements. 1 N = {1, 2,...} 2 Q = {a/b R : a Z b Z b 0} 3 {},, { } 4 x S and x / S (Important for proofs with sets)

Other Set Examples 1 Set of even numbers between 5 and 14 (inclusive). {6, 8, 10, 12, 14} or {n N : 5 n 14 2 n} 2 All odd perfect squares. {(2k + 1) 2 : k Z} (or N overlap doesn t matter!)

Set Operations Let S and T be sets. Define 1 #S or S. Size of the set S. 2 S T = {x : x S x T } (Union) 3 S T = {x : x S x T } (Intersection) 4 S T = {x S : x / T } (Set difference) 5 S or S c (with respect to universe U) the complement of S, that is S c = {x U : x / S} = U S 6 S T = {(x, y) : x S y T } (Cartesian Product)

More Set Terminology Let S and T be sets. Then 1 S T : S is a subset of T. Every element of S is an element of T. 2 S T : S is a proper/strict subset of T. Every element of S is an element of T and some element of T is not in S. 3 S T : S contains T. Every element of T is an element of S. 4 S T : S properly/strictly contains T. Every element of T is an element of S and some element of S is not in T. 5 S = T means S T and T S.

Sets and If and Only If Show S = T if and only if S T = S T. Proof: Suppose S = T. To show S T = S T we need to show that S T S T and that S T S T. First suppose that x S T. Then x S and x T. Hence x S T. Next, suppose that x S T. Then x S or x T. Since S = T we have in either case that x S and x T. Thus x S T. This shows that S T = S T and completes the forward direction. Now assume that S T = S T. We want to show that S = T which we do by showing that S T and T S. First, suppose that x S. Then x S T = S T. Hence x T. Next, suppose that x T. Then x S T = S T. Hence x S. Therefore, S = T.

Quantified Statements 1 For all 2 There exists Prove n N, 2n 2 + 11n + 15 is composite. Proof: Let n be an arbitrary natural number. Then factoring gives 2n 2 + 11n + 15 = (2n + 5)(n + 3). Since 2n + 5 > 1 and n + 3 > 1, we have 2n 2 + 11n + 15 is composite. Prove k Z such that 6 = 3k. Proof: Since 3 2 = 6, we see that k = 2 satisfies the given statement.

Assuming a For All Statement Let a, b, c Z. If x Z, a (bx + c) then a (b + c). Proof: Assume x Z, a (bx + c). Then, for example, when x = 1, we see that a (b(1) + c). Thus a (b + c).

Domain Is Important! Let P(x) be the statement x 2 = 2 and let Which of the following are true? 1 x Z, P(x) 2 x Z, P(x) 3 x R, P(x) 4 x R, P(x) 5 x S, P(x) 6 x S, P(x) Solution: 1 False 2 False 3 True 4 False 5 True 6 True S = { 2, 2}.

Approaching Quantified Statement Problems 1 A single counter example shows ( x S, P(x)) is false. Claim: Every positive even integer is composite. This claim is false since 2 is even but 2 is prime. 2 A single example does not prove that ( x S, P(x)) is true. Claim: Every even integer at least 4 is composite. This is true but we cannot prove it by saying 6 is an even integer and is composite. We must show this is true for an arbitrary even integer x. (Idea: 2 x so there exists a k N such that 2k = x and k 1.) 3 A single example does show that ( x S, P(x)) is true. Claim: Some even integer is prime. This claim is true since 2 is even and 2 is prime. 4 What about showing that ( x S, P(x)) is false? Idea: ( x S, P(x)) is false x S, P(x) is true. This idea is central for proof by contradiction which we will see later.

Negating Quantifiers 1 Everybody in this room was born before 2010. Solution: Somebody in this room was not born before 2010. 2 Someone in this room was born before 1990 Solution: Everyone in this room was born after 1990. 3 x R, x < 5 Solution: ( x R, x < 5) x R, x 5 4 x R, x 5 Solution: ( x R, x 5) x R, x > 5

Nesting Quantifiers Order Matters! 1 x R, y R, x 3 y 3 = 1 2 x R, y R, x 3 y 3 = 1 3 x R, y R, x 3 y 3 = 1 4 x R, y R, x 3 y 3 = 1 1 False (Choose x = y = 0) 2 True (Choose x = 1 and y = 0) 3 True. Proof: Let x R be arbitrary. then choose y = 3 x 3 1. Then x 3 y 3 = x 3 ( 3 x 3 1) 3 = x 3 (x 3 1) = 1 4 False. Idea: Negate and show the negation is true! ( x R, y R, x 3 y 3 = 1) x R, y R, x 3 y 3 1 Proof: Let x R be arbitrary. Take y = x. Then x 3 y 3 = x 3 x 3 = 0 1.