06 Week 6

# 06 Week 6 - CMPUT 272(Stewart Lecture 10 Reading Epp...

This preview shows pages 1–3. Sign up to view the full content.

CMPUT 272 (Stewart) Lecture 10 Reading: Epp Chapter 5.1-5.3 Mathematical Induction an additional rule of inference for proving facts about all integers greater than or equal to a certain value When do we use mathematical induction? Consider the following theorem for example. Theorem. For all n Z + , 1 + 2 + · · · + n = n ( n +1) 2 . How to prove it? It’s easy to check for the first few numbers: n = 1: 1 = 1(1+1) 2 n = 2: 1 + 2 = 2(2+1) 2 n = 3: 1 + 2 + 3 = 3(3+1) 2 . . . But we can’t check all positive integers! To prove the theorem, we check that the equality holds for n = 1, and prove that IF it holds for an an arbitrary positive integer THEN it holds for the next integer. 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
To prove IF the equality holds for an an arbitrary positive integer THEN it holds for the next integer: Let k Z + . Suppose the equality holds for n = k : 1 + 2 + · · · + k = k ( k + 1) 2 . We want to prove that the equality holds for n = k + 1, that is: 1 + 2 + · · · + ( k + 1) = ( k + 1)( k + 2) 2 . Strategy: Write the LHS of what we want to prove in terms of the LHS of the supposition: 1 + 2 + · · · + ( k + 1) = 1 + 2 + · · · + k +( k + 1) = k ( k + 1) 2 +( k + 1) by the equality for n = k = ( k + 1) k 2 + 1 = ( k + 1)( k + 2) 2 the equality holds for n = k + 1 We have proven: for all k Z + : if 1 + 2 + · · · + k = k ( k +1) 2 then 1 + 2 + · · · + ( k + 1) = ( k +1)( k +2) 2 .
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern