MA/CSSE 473/474 How (not) to do an induction proof.

Slides:



Advertisements
Similar presentations
Mathematical Induction
Advertisements

PROOF BY CONTRADICTION
2.6 Factor x2 + bx + c.
Induction and Recursion. Odd Powers Are Odd Fact: If m is odd and n is odd, then nm is odd. Proposition: for an odd number m, m k is odd for all non-negative.
Induction and recursion
Proof Points Key ideas when proving mathematical ideas.
1.  The set N = {1,2,3,4,……..} is known as natural numbers or the set of positive integers  The natural numbers are used mainly for :  counting  ordering.
CSE115/ENGR160 Discrete Mathematics 04/03/12 Ming-Hsuan Yang UC Merced 1.
1 Intro to Induction Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
CSE115/ENGR160 Discrete Mathematics 03/22/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 03/31/11
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 12 Number theory Mathematical induction Proof by induction Examples.
1 Section 3.3 Mathematical Induction. 2 Technique used extensively to prove results about large variety of discrete objects Can only be used to prove.
CSE115/ENGR160 Discrete Mathematics 03/29/11 Ming-Hsuan Yang UC Merced 1.
Induction and Recursion by: Mohsin tahir (GL) Numan-ul-haq Waqas akram Rao arslan Ali asghar.
Induction and recursion
Algorithm Design and Analysis (ADA)
What it is? Why is it a legitimate proof method? How to use it?
ICS 253 Presents Mathematical Induction Sultan Almuhammadi muhamadi
MATH 224 – Discrete Mathematics
Induction and recursion
Introduction to Proofs
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
1 Introduction to Abstract Mathematics Chapter 4: Sequences and Mathematical Induction Instructor: Hayk Melikya 4.1- Sequences. 4.2,
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
Math Review Data Structures & File Management Computer Science Dept Va Tech July 2000 ©2000 McQuain WD 1 Summation Formulas Let N > 0, let A, B, and C.
Discrete Mathematics Tutorial 11 Chin
Chapter 2 Mathematical preliminaries 2.1 Set, Relation and Functions 2.2 Proof Methods 2.3 Logarithms 2.4 Floor and Ceiling Functions 2.5 Factorial and.
9.4 Mathematical Induction
Chapter 2.7 – Absolute Value Inequalities. Objectives Solve absolute value inequalities of the form /x/ < a Solve absolute value inequalities of the form.
Section 3.3: Mathematical Induction Mathematical induction is a proof technique that can be used to prove theorems of the form:  n  Z +,P(n) We have.
ICS 253: Discrete Structures I Induction and Recursion King Fahd University of Petroleum & Minerals Information & Computer Science Department.
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
3.2 Solving Equations by Using Addition and Subtraction Addition Property of Equality –If the same number is added to each side of an equation, the resulting.
CS 103 Discrete Structures Lecture 13 Induction and Recursion (1)
Mathematical Induction Section 5.1. Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If.
CSE373: Data Structures and Algorithms Lecture 2: Proof by Induction Linda Shapiro Winter 2015.
Mathematical Induction
Copyright © Cengage Learning. All rights reserved. Sequences and Series.
1 2/21/2016 MATH 224 – Discrete Mathematics Sequences and Sums A sequence of the form ar 0, ar 1, ar 2, ar 3, ar 4, …, ar n, is called a geometric sequence.
CompSci 102 Discrete Math for Computer Science March 13, 2012 Prof. Rodger Slides modified from Rosen.
Chapter 5. Section 5.1 Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Induction Practice CS1050. Prove that whenever n is a positive integer. Proof: Basis Case: Let n = 1, then.
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
CSE 311 Foundations of Computing I Lecture 8 Proofs Autumn 2012 CSE
Section 5.1. Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach a particular.
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
Week 8 - Wednesday.  What did we talk about last time?  Relations  Properties of relations  Reflexive  Symmetric  Transitive.
Mathematical Induction EECS 203: Discrete Mathematics Lecture 11 Spring
Mathematical Induction What it is? Why is it a legitimate proof method? How to use it?
3.3 Mathematical Induction 1 Follow me for a walk through...
Chapter 5 1. Chapter Summary  Mathematical Induction  Strong Induction  Recursive Definitions  Structural Induction  Recursive Algorithms.
Mathematical Induction. The Principle of Mathematical Induction Let S n be a statement involving the positive integer n. If 1.S 1 is true, and 2.the truth.
CSE15 Discrete Mathematics 03/22/17
EECS 203: Discrete Mathematics
CSE 311 Foundations of Computing I
Chapter 3 The Real Numbers.
Induction and recursion
Methods of Proof A mathematical theorem is usually of the form pq
Induction and recursion
CSE 311: Foundations of Computing
Solving Equations and Inequalities with Absolute Value
MA/CSSE 474 More Math Review Theory of Computation
Elementary Number Theory & Proofs
Copyright © Cengage Learning. All rights reserved.
Mathematical Induction
Mathematical Induction
Mathematical Induction
11.4 Mathematical Induction
Presentation transcript:

MA/CSSE 473/474 How (not) to do an induction proof

A  B (A implies B) means that whenever A is true, B is true also. The only way A  B can be false is when A is true and B is false. The inverse, B  A, is not the same as A  B. Example. Let a be x<5 and B be x<12 –Clearly, A  B is true for all x, because every number that is less than 5 is also less then 12. –But B  A is not always true, e.g., x = 8. If you are trying to prove A  B, it is incorrect to instead prove B  A. It is the contrapositive, not the inverse, that is equivalent to the original: –i.e., A  B if and only if (not B)  (not A). Reminder of some simple logic

An induction proof is not like solving an equation! Sometimes solving an equation can lead to the insight of how we might prove something. But the induction process is more like checking the solution that you have already found. The "do the same thing to both sides of the equation" approach is seldom appropriate as part of an induction proof.

Induction Review To show that property P(n) is true for all integers n≥n 0, it suffices to show: –Ordinary Induction P(n 0 ) is true For all k≥n 0, if P (k) is true, then P(k+1) is also true. or –Strong Induction P(n 0 ) is true (sometimes you need multiple base cases) For all k>n 0, if P(j) is true for all j with n 0 ≤ j < k, then P(k) is also true. In this context, a property is a function whose domain is a subset of the non-negative integers and whose range is {true, false}

Induction Review To show that property P(n) is true for all integers n≥n 0, it suffices to show: –Ordinary Induction P(n 0 ) is true For all k≥n 0, if P (k) is true, then P(k+1) is also true. Note that what we need to prove for all k is P(k)  P(k+1), not P(k+1)  P(k). Thus it is incorrect to instead start with P(k+1) and show that the induction assumption leads to P(k), or that it leads to some true statement. You will lose points on homework assignments if you use the "start with P(k+1) and work backwards" approach.

Induction example For all N≥0, –This is formula 7 from the "Important Summation Formulas" in Appendix A of the 473 book, and is useful in one of the HW2 problems. –The idea applies ot 474 and 230 students as well.

Induction example For all N≥0, –This is formula 7 on P 470, and is useful in one of the HW2 problems. Proof of base case, N=0. –Left side is 0 because the sum is empty. –Right side is 2 – 2 = 0. Induction step: next slide

Induction example, continued What we need to show. For all N≥0, if, then Next, an invalid "proof":

Correct induction step What we need to show. For all N≥0, if, then Now, a correct proof: