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.

Similar documents
What is a proof? Proofing as a social process, a communication art.

More examples of mathematical. Lecture 4 ICOM 4075

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

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.

Some Review Problems for Exam 1: Solutions

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

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

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

2 Truth Tables, Equivalences and the Contrapositive

Basics of Proofs. 1 The Basics. 2 Proof Strategies. 2.1 Understand What s Going On

HOW TO WRITE PROOFS. Dr. Min Ru, University of Houston

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.

Logic, Sets, and Proofs

CSC Discrete Math I, Spring Propositional Logic

Math 10850, fall 2017, University of Notre Dame

MAT246H1S - Concepts In Abstract Mathematics. Solutions to Term Test 1 - February 1, 2018

1. Propositions: Contrapositives and Converses

1 Direct Proofs Technique Outlines Example Implication Proofs Technique Outlines Examples...

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

Mathematical Induction

Ch 3.2: Direct proofs

For all For every For each For any There exists at least one There exists There is Some

Introduction to Basic Proof Techniques Mathew A. Johnson

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination I (Spring 2008)

3 The language of proof

Introducing Proof 1. hsn.uk.net. Contents

1 The Well Ordering Principle, Induction, and Equivalence Relations

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

Midterm: Sample 3. ECS20 (Fall 2017) 1) Using truth tables, establish for each of the two propositions below if it is a tautology, a contradiction

Contribution of Problems

Computer Science 280 Spring 2002 Homework 2 Solutions by Omar Nayeem

Basic Proof Examples

Lecture 2: Proof Techniques Lecturer: Lale Özkahya

Assignment 3. Section 10.3: 6, 7ab, 8, 9, : 2, 3

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

In 1854, Karl Weierstrauss gave an example of a continuous function which was nowhere di erentiable: cos(3 n x) 2 n. sin(3 n x), 2

Midterm Exam Solution

9.5 Radical Equations

An analogy from Calculus: limits

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

Climbing an Infinite Ladder

1.1 Statements and Compound Statements

Homework 3: Solutions

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

Climbing an Infinite Ladder

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Note 2

Propositional Equivalence

CSE 331 Winter 2018 Reasoning About Code I

PS10.3 Logical implications

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

Proof by contrapositive, contradiction

Direct Proof and Proof by Contrapositive

Homework 4 Solutions

CS 173: Induction. Madhusudan Parthasarathy University of Illinois at Urbana-Champaign. February 7, 2016

The natural numbers. Definition. Let X be any inductive set. We define the set of natural numbers as N = C(X).

One sided tests. An example of a two sided alternative is what we ve been using for our two sample tests:

Definitions Chapter 1 Proof Technique (Pg.1): Proof (Pg.2): Statement (Pg.2): Conditional Statement/Implication (Pg3.): Hypothesis(Pg.

Proofs. Joe Patten August 10, 2018

Math 104: Homework 1 solutions

5.1 Increasing and Decreasing Functions. A function f is decreasing on an interval I if and only if: for all x 1, x 2 I, x 1 < x 2 = f(x 1 ) > f(x 2 )

1.4 Mathematical Equivalence

Math 300 Introduction to Mathematical Reasoning Autumn 2017 Proof Templates 1

Math 38: Graph Theory Spring 2004 Dartmouth College. On Writing Proofs. 1 Introduction. 2 Finding A Solution

Meaning of Proof Methods of Proof

Induction 1 = 1(1+1) = 2(2+1) = 3(3+1) 2

Contribution of Problems

Writing Mathematical Proofs

Algebra Year 10. Language

Handout 2 (Correction of Handout 1 plus continued discussion/hw) Comments and Homework in Chapter 1

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

Homework 1 (revised) Solutions

Section 1.2 Propositional Equivalences. A tautology is a proposition which is always true. A contradiction is a proposition which is always false.

TIPS FOR WRITING PROOFS IN HOMEWORK ASSIGNMENTS. 1. Simple rules

Elementary Linear Algebra, Second Edition, by Spence, Insel, and Friedberg. ISBN Pearson Education, Inc., Upper Saddle River, NJ.

Propositional Logic: Bottom-Up Proofs

EECS 1028 M: Discrete Mathematics for Engineers

9/5/17. Fermat s last theorem. CS 220: Discrete Structures and their Applications. Proofs sections in zybooks. Proofs.

n n P} is a bounded subset Proof. Let A be a nonempty subset of Z, bounded above. Define the set

Cartesian Products and Relations

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

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

COT 2104 Homework Assignment 1 (Answers)

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination II (Fall 2007)

Direct Proofs. the product of two consecutive integers plus the larger of the two integers

CSE 20 DISCRETE MATH. Winter

PROOFS IN MATHEMATICS

Logic in Computer Science (COMP118) Tutorial Problems 1

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

CS 124 Math Review Section January 29, 2018

Mathematical Reasoning & Proofs

Practice Midterm Exam Solutions

Proof Techniques (Review of Math 271)

Discrete Mathematics and Probability Theory Fall 2018 Alistair Sinclair and Yun Song Note 2

Math 5a Reading Assignments for Sections

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

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

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

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

Propositional Logic: Equivalence

Transcription:

For some problems, several sample proofs are given here. Problem 1. 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. Problem 2. Proof (1). Suppose that x is a positive real number with x = 1. Recall we showed in class that for every real number a = 0, we have the inequality a 2 > 0, so since x 1 = 0, we have (x 1) 2 > 0. Now, distributivity gives x 2 2x + 1 > 0, so by the addition law for inequalities (for all real numbers a, b, c, we have b > c if and only if a + b > a + c), x 2 + 1 > 2x. Finally, recall the multiplication law for inequalities, which states that for all real numbers a, b, c with a > 0, we have b > c if and only if ab > ac. Since x > 0, use the multiplication law to arrive at our desired inequality x + 1 x > 2. Note: One quick way to prove the inequality a 2 > 0 for a = 0 is to use the multiplication law with two cases: Case 1) if a > 0, then a 2 > 0 by the multiplication law, and Case 2) if a < 0, then a 2 > 0 again by the multiplication law. 1 of

Proof (2). Suppose that x is a positive real number with x = 1. We will work backward. Notice this series of backward implications: x + 1 x > 2 = x 2 + 1 > 2x by the multiplication law, since x > 0. = x 2 2x + 1 > 0 by the addition law. = (x 1) 2 > 0 by distributivity. = x 1 = 0 as shown in class. We know that x 1 = 0 since x = 1, so we are done. Note: It is critical for the proof just shown that the implications go backward because we began with what we wanted to show. You must keep this in mind while working out the proof and point out clearly to the reader what you are doing. Otherwise, the proof is simply wrong, sometimes in a catastrophic way. We often work out the ideas of a proof by starting from what we want to show, but you should take extra care if you write it out this way. Proof (3). Suppose that x is a positive real number with x = 1, and assume for contradiction that x + 1/x 2. Then x + 1 x 2 x 2 + 1 2x by the multiplication law, since x > 0. x 2 2x + 1 0 by the addition law. (x 1) 2 0 by distributivity. But recall from class that a 2 > 0 for all a = 0, so (x 1) 2 > 0 since x = 1. This gives a contradiction, so our assumption must have been false; instead, we must have x + 1/x > 2. Note: Notice that this proof by contradiction uses forward implications between each inequality, even though it looks very similar to the previous proof where we worked backward. There is a simple explanation for this: every implication used in this proof is the contrapositive of that used in the previous proof, so they are logically equivalent. (Remember: the contrapositive of P = Q is Q = P, which you ve learned are logically equivalent to each other.) We don t need to point out or indicate these forward implications with = because it is always understood that implications go forward unless indicated otherwise. In these two proofs, the implications between the inequalities happen to go both ways (they are ), so they are simple to deal with. However, this is not the case in general. For example, if you use an implication like x > 0 = x 2 > 0, you have to be careful because x > 0 = x 2 > 0. 2 of

Problem 3. Proof (1). Notice that 6m + 1n = 3(2m + n), but 3 does not divide 2, so there cannot be such m and n. Proof (2). Suppose that each of m and n is a positive integer, and assume for contradiction that 6m + 1n = 2. Then 3(2m + n) = 2. (1) Now, since m and n are both positive integers, the sum 2m + n must also be a positive integer, so 2m + n 1, 3(2m + n) 3 > 2, which is a contradiction to Equation (1), so our assumption must have been false; instead, we must have 6m + 1n = 2. Problem 4. Proof. We will prove this by induction on n. Base case: If n = 1, then n (2i + 1) = 1 (2i + 1) = (2(0) + 1) + (2(1) + 1) = 4 = (1 + 1) 2 = (n + 1) 2. Inductive step: Suppose that k (2i + 1) = (k + 1)2 for some positive integer k. Then k+1 (2i + 1) = k (2i + 1) + (2(k + 1) + 1) = (k + 1) 2 + 2(k + 1) + 1 = ((k + 1) + 1) 2. 3 of

Problem. a. Proof. We will prove this by strong induction on n. Base cases: We need two base cases because neither a 1 nor a 2 will be covered by our inductive step. First, if n = 1, then a n = a 1 = 1/2 < 2. Second, if n = 2, then a n = a 2 = 1 < 2. Inductive step: Suppose that for some positive integer k 2, we have a n < 2 for all positive integers n k. Then because a k < 2, we have a k 2 < 4, and furthermore a k 1 < 2 by the inductive hypothesis, so a k+1 = a k 2 + a k 1 + 4 < 4 + 2 + 4 = 2. b. Proof. We will prove this by strong induction on n. Base cases: Again, we need two base cases because neither a 1 nor a 2 will be covered by our inductive step. First, if n = 1, then Second, if n = 2, then a n = a 1 = 1 2 < 1 = a 2 = a n+1. a n = a 2 = 1 < 12 + 1/2 + 4 = a 3 = a n+1. Inductive step: Suppose that for some positive integer k 2, we have a n < a n+1 for all positive integers n k. Then because a k < a k+1, we have a 2 k < a 2 k+1, and furthermore a k 1 < a k = a (k+1) 1 by the inductive hypothesis, so a k+1 = a k 2 + a k 1 + 4 < a k+1 2 + a (k+1) 1 + 4 = a k+2. 4 of

Problem 6 Proof (1). We will show that the two derived sets are equal by showing that each is a subset of the other. Let each of A, B, and C be a subset of some universal set U. First, to show that A \ (B C) (A \ B) (A \ C), let x A \ (B C). Then by definition, x A and x / (B C), from which it follows that x / B and x / C. These imply that x A \ B and x A \ C, and so x (A \ B) (A \ C). Now, to show that A \ (B C) (A \ B) (A \ C), let x (A \ B) (A \ C). Then x A \ B and x A \ C, so by definition, x A and x / B, and x A and x / C. It follows that x / B C, and so x A \ (B C). Therefore, since each of the two sets in question is a subset of the other, they are equal. Note: The proof above was the kind of proof you were expected to understand and use, and you need to make sure you are able to write these proofs confidently. But the following proof using set identities was also accepted for this problem. Proof (2). Let each of A, B, and C be a subset of some universal set U. Then A \ (B C) = A (B C) = A (B C ) = (A B ) (A C ) = (A \ B) (A \ C). of