Proofs Crash Course. Winter 2011

Similar documents
WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Handout #1: Mathematical Reasoning

3. Mathematical Induction

Practice with Proofs

Solutions for Practice problems on proofs

Introduction. Appendix D Mathematical Induction D1

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Cartesian Products and Relations

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

6.2 Permutations continued

Basic Proof Techniques

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

A Few Basics of Probability

Math 55: Discrete Mathematics

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

def: An axiom is a statement that is assumed to be true, or in the case of a mathematical system, is used to specify the system.

An Innocent Investigation

Mathematical Induction. Mary Barnes Sue Gordon

1 if 1 x 0 1 if 0 x 1

Normal distribution. ) 2 /2σ. 2π σ

Real Roots of Univariate Polynomials with Real Coefficients

Mathematical Induction

Cardinality. The set of all finite strings over the alphabet of lowercase letters is countable. The set of real numbers R is an uncountable set.

Math 3000 Section 003 Intro to Abstract Math Homework 2

Mathematical Induction. Lecture 10-11

Session 7 Fractions and Decimals

Mathematical Induction

The last three chapters introduced three major proof techniques: direct,

8 Divisibility and prime numbers

Polynomial Invariants

3 Some Integer Functions

mod 10 = mod 10 = 49 mod 10 = 9.

SECTION 10-2 Mathematical Induction

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

6.3 Conditional Probability and Independence

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

p: I am elected q: I will lower the taxes

Lecture 13 - Basic Number Theory.

Full and Complete Binary Trees

Linear Programming Notes V Problem Transformations

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

DISCRETE MATH: LECTURE 3

x a x 2 (1 + x 2 ) n.

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

Math Circle Beginners Group October 18, 2015

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

5.1 Radical Notation and Rational Exponents

Factoring Polynomials

Properties of Real Numbers

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

The Mean Value Theorem

Inductive Reasoning Page 1 of 7. Inductive Reasoning

Pigeonhole Principle Solutions

6.080 / Great Ideas in Theoretical Computer Science Spring 2008

Math Workshop October 2010 Fractions and Repeating Decimals

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Chapter 11 Number Theory

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

Math 319 Problem Set #3 Solution 21 February 2002

Solutions to Math 51 First Exam January 29, 2015

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)

Five High Order Thinking Skills

Solution to Homework 2

Vieta s Formulas and the Identity Theorem

Chapter 3. Distribution Problems. 3.1 The idea of a distribution The twenty-fold way

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

INCIDENCE-BETWEENNESS GEOMETRY

5544 = = = Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1

MULTIPLICATION AND DIVISION OF REAL NUMBERS In this section we will complete the study of the four basic operations with real numbers.

Homework until Test #2

MATH 289 PROBLEM SET 4: NUMBER THEORY

Sample Induction Proofs

Objective. Materials. TI-73 Calculator

So let us begin our quest to find the holy grail of real analysis.

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

The Chinese Remainder Theorem

1. Prove that the empty set is a subset of every set.

THE BANACH CONTRACTION PRINCIPLE. Contents

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

GCDs and Relatively Prime Numbers! CSCI 2824, Fall 2014!

Colored Hats and Logic Puzzles

14.1 Rent-or-buy problem

k, then n = p2α 1 1 pα k

88 CHAPTER 2. VECTOR FUNCTIONS. . First, we need to compute T (s). a By definition, r (s) T (s) = 1 a sin s a. sin s a, cos s a

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10

CALCULATIONS & STATISTICS

Cosmological Arguments for the Existence of God S. Clarke

CHAPTER 2. Logic. 1. Logic Definitions. Notation: Variables are used to represent propositions. The most common variables used are p, q, and r.

Mechanics 1: Vectors

Math 4310 Handout - Quotient Vector Spaces

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

SCORE SETS IN ORIENTED GRAPHS

36 CHAPTER 1. LIMITS AND CONTINUITY. Figure 1.17: At which points is f not continuous?

Graph Theory Problems and Solutions

Likewise, we have contradictions: formulas that can only be false, e.g. (p p).

Section 3-3 Approximating Real Zeros of Polynomials

INTRODUCTORY SET THEORY

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL

Hypothesis Testing for Beginners

Psychology and Economics (Lecture 17)

Transcription:

Proofs Crash Course Winter 2011

Today s Topics O Why are Proofs so Hard? O Proof by Deduction O Proof by Contrapositive O Proof by Contradiction O Proof by Induction

Why are Proofs so Hard? If it is a miracle, any sort of evidence will answer, but if it is a fact, proof is necessary -Mark Twain

Why are Proofs so Hard? O Proofs are very different from the math problems that you re used to in High School. O Proofs are problems that require a whole different kind of thinking. O Most proofs will not give you all of the information you need to complete them.

Before we go further O Understanding the purpose of proofs is fundamental to understanding how to solve them. O Doing proofs is like making a map O The goal is to get from point A to B using paths, roads, and highways. O Proofs show us how two statements logically connect to each other through theorems, definitions, and laws.

Proof by Deduction The two operations of our understanding, intuition and deduction, on which alone we have said we must rely in the acquisition of knowledge. -Rene Descartes

Proof by Deduction O This is the most basic proof technique. O By using laws, definitions, and theorems you can get from A to B by starting at A and progressively moving towards B. O You start by assuming the conditional (the if part) and showing the logical flow to the conclusion (the then part).

Deductive Proof Example Suppose you know the following: if A then B if B then C if C then D Show that if A then D.

Deductive Proof Example Remember that deductive proofs start at the beginning and proceed towards the conclusion Proof: Assume A is true. Therefore B must be true. Since B is true, C is true. Because C is true, D is true. Hence, D.

Deductive Proof Analysis O Notice that the path taken to get from A to D was very direct and linear. O We started by assuming that A was true. O Then we used the given laws to show that D was true.

Deductive Proof Example Prove the following statement: If Jerry is a jerk, Jerry won t get a family. Note: Many of you likely can prove this using some form of intuition. However, in order to definitively prove something, there need to be some agreed upon guidelines.

Deductive Proof Example If Jerry is a jerk, Jerry won t get a family. Let s also suppose that we have some guidelines: O If somebody doesn t date, they won t get married. O If you don t get married, you won t get a family. O Girls don t date jerks.

Deductive Proof Example How would you prove that Jerry won t get a family if he s a jerk? Given: 1. If somebody doesn t date, they won t get married. 2. If you don t get married, you won t get a family. 3. Girls don t date jerks. 4. Jerry is a jerk. (Our assumption) Conclusion: Jerry won t get a family.

Deductive Proof Solution Proof: Suppose that Jerry is a jerk. We therefore know that girls don t date him. Therefore he will never get married. Hence, he won t get a family.

Deductive Proof Example Prove the following: if f(x) is even, then f(x) is not one-to-one

Deductive Proof Example if f(x) is even, then f(-x) is not one-to-one. O How is this problem different from our previous ones? O What does it mean for f(x) to be even? O What does it mean for f(-x) to be one-to-one? O This is a main reason why proofs are so hard; they don t give you all of the information you need to solve the problem.

Deductive Proof Example Remember the following: f(x) is even if f(-x) = f(x) for all values of x. f(x) is one-to-one if for all x, f(x) is unique. How would you solve the problem? if f(x) is even, then f(x) is not one-to-one.

Deductive Proof Solution Proof: Suppose that f(x) is even. This implies that f(x) = f(-x) for all x. Therefore there exists an a and b such that f(a) = f(b). Therefore f(x) is not one-to-one. Note: Notice how we used a lot of words instead of math symbols? They are still present, but the main way of communicating with math is through using English. Who knew?

A Word of Caution A common pitfall students fall in while solving proofs is by assuming that the converse of a statement is true. BE EXTREMELY CAREFUL WHEN DOING THIS! If it is raining outside, then the sidewalk is wet. If the sidewalk is wet, then it is raining outside.

When the Converse is True O If the door is locked, I can t open it O If the door is unlocked, I can open it O Statements whose converse is guaranteed to be true have an if and only if clause. O If and only if the door is locked, I can t open it. O I can t open the door if and only if it is locked.

The Biconditional O The clause if and only if means that the statement is true read both ways. O A if and only if B is the same as saying: O If A, then B O If B, then A O Proving statements with an if and only if clause require us to show they are true in both directions.

Deductive Proof Example Prove the following: x is even if and only if x + 1 is odd Note: An even number y can be represented by y = 2k for some integer k. Similarly, an odd number z can be represented by z = 2j + 1 for some integer j.

Deductive Proof Solution Proof: Suppose that x is even. This means that there exists an integer k such that x = 2k. Therefore, x + 1 = 2k + 1. Since k is an integer, x + 1 must be odd. Now suppose that x + 1 is odd. This means that there exists an integer j such that x + 1 = 2j + 1, or in other words, x = 2j. Since j is an integer, x must therefore be even.

Deductive Proof Challenge Prove the following: x 2 2x + 2 0 for all x

Proof by Contrapositive If the dog is dead, he smells. If he doesn t smell, he s not dead.

Proof by Contrapositive O Remember that the Converse is not always true. O The Contrapositive is similar to the converse, but is always true. O If A then B If not B then not A O If it is raining, the sidewalk is wet If the sidewalk is not wet then it is not raining.

Proof by Contrapositive O This proof technique makes a lot of proofs so much easier. O Sometimes the direct route is just too difficult to deduce. O Example: If 3x + 7 is odd, then x is even.

Contrapositive Example Prove the following: If 3x + 7 is even, then x is odd.

Contrapositive Solution Proof: Suppose that x is even. This implies that x = 2k for some integer k. Thus, 3x + 7 = 3(2k) + 7 = 6k + 7 = 6k + 6 + 1 = 2(3k + 3) + 1. And since 3k + 3 is an integer, then 3x + 7 is even. Note: this may seem odd, assuming the opposite of the conclusion and proving the opposite of the condition, but this is perfectly legitimate.

Contrapositive Example Prove the following: If x 2 is even, then x is even.

Contrapositive Solution Proof: Suppose that x is odd. This implies that x = 2k + 1 for some integer k. Thus, x 2 = (2k + 1) 2 = 4k 2 + 4k + 1 = 2(2k 2 + 2k) + 1 Since 2k 2 + 2k is an integer, then x 2 is odd.

Contrapositive Challenge Prove the following: If 3n 5 is an odd integer, then n is an odd integer.

Proof by Contradiction Contradictions do not exist. Whenever you think you are facing a contradiction, check your premises. You will find that one of them is wrong. -Ayn Rand

Proof by Contradiction O If you could prove that a statement could never be false, then it must be true. O For example, Let s assume that somebody in this room robbed the bookstore about 2 minutes ago. O Can we prove that they didn t commit the crime?

Proof by Contradiction O Well, you were all here during the last two minutes. Therefore you couldn t have committed the crime. Therefore you are innocent. O That is the basic structure of a proof by contradiction: O Assume the conclusion is false O Find a contradiction

Contradictive Proof Example Prove the following: No odd integer can be expressed as the sum of three even integers. Note: there is no if or then clause, and the statement sounds negative. This is usually a hint that proof by contradiction is the method of choice.

Contradictive Proof Solution Proof: Assume to the contrary that an odd integer x can be expressed as the sum of three even integers, a, b, and c. This implies that there exist integers i, j, and k such that a = 2i, b = 2j, c = 2k. Thus: x = a + b + c = 2i + 2j + 2k = 2(i + j + k) Since i + j + k is an integer, then x is even, a contradiction.

Contradictive Proof Example Prove the following: There is no largest positive integer.

Contradictive Proof Solution Proof: Assume to the contrary that there exists a largest positive integer, notated by k. However, k+1 is an integer and k+1 > k. Therefore k+1 is a larger integer, a contradiction.

Contradictive Proof Challenge Prove the following: There do not exist integers x and y such that 9 = 4x + 2y.

Proof by Induction The only hope [of science]... is in genuine induction -Sir Francis Bacon

Proof by Induction O This proof technique is used when you want to show that something works for several cases. O These cases are typically denoted by n, representing positive integers.

Proof by Induction O Proof by Induction can prove statements such as: 1 + 2 + + n = n(n + 1)/2, for all n

Proof by Induction O There is a very systematic way to prove this: 1. Prove that it works for a base case (n = 1) 2. Assume it works for n = k 3. Show that is works for n = k + 1 O Think of this as a row of dominoes. 1. Knock over the first domino 2. Assume that a random one will get knocked over 3. Show that the random one will hit the next one. O Thus all of the dominoes get knocked down.

Inductive Proof Example Prove the following: 1 + 2 +... + n = n(n + 1)/2, for all n

Inductive Proof Solution Proof: Let n = 1. Since 1 = 1(2)/2 = 1(1 + 1)/2, then the statement holds for a base case. Now assume that it holds for n = k, or in other words: Hence, 1 + 2 +... + k = k(k + 1)/2 1 + 2 +... + k + (k + 1) = k(k + 1)/2 + (k + 1) = (k + 1)(k/2 + 1) = (k + 1)(k + 2)/2 = (k + 1)((k+1) + 1)/2 Therefore it holds for n = k + 1, and the statement is true by induction.

Inductive Proof Example Prove the following: 2 n > n for all nonnegative integers

Inductive Proof Solution Proof: Let n = 0. Thus 2 0 = 1 > 0, and the statement holds for n = 0. Now assume that 2 k > k. Hence, 2 k+1 = (2)2 k > 2k = k + k k + 1 Thus the statement holds for n = k + 1. Therefore the statement is true by induction.

Inductive Proof Challenge Prove the following: 2 * 6 * 10 *... * (4n 2) = (2n)!/n!, for all n

Conclusion Don't cry because it's over. Smile because it happened. -Dr. Seuss

A Few Words of Wisdom O You are now very well-equipped to handle almost any proof that comes your way. O Even so, you will likely get stuck in the future.

A Few Words of Wisdom Remember these tips when you get stuck: 1. Start writing something! O The epiphanies come when you start messing around with ideas. 2. Check to see if you ve overlooked a theorem O So much suffering and head-banging is prevented by simply re-skimming the chapter. 3. Try a fresh approach O Sometimes our first ideas just aren t the right ones.

Conclusion Now go show your professors that they can t intimidate you with proofs anymore! Thanks for coming!