Docsity

Mathematical Induction II: Quiz Problem #2 Solution and Proof, Study notes of Discrete Structures and Graph Theory

Partial preview of the text

Download Mathematical Induction II: Quiz Problem #2 Solution and Proof and more Study notes Discrete Structures and Graph Theory in PDF only on Docsity!

10/2/

CSci 243

Discrete Structures

Lecture 13

Mathematical Induction II

10/2/

Outline^ • Quiz Problem #2 Solution and Proof• Review of Induction (Quiz #1 Solution)• Strategies for Induction Proofs• More Examples & Practice

10/2/

Induction Review^ • For proving an infinite sequence of propositions• i.e. P(n), where n is an integer• Proof in two steps:

Basis step: Show that P(smallest n value) is true

Inductive step: Show that P(n)

f

P(n+1) is true for all

positive integers

10/2/

Two Ways To Prove P(n)

f

P(n+1)

  • Indirect

Start with P(n+1)

Factor it into P(n) plus extra stuff

Substitute for P(n)

Simplify to show P(n+1)

  • Direct

Start with P(n)

Add to it and simplify to get P(n+1)

10/2/

7

Direct Method

k

k

k

k

k

k

k

k

k

k

k

k

k

k

k

?

k k k k k k

10/2/

8

Indirect Method

k

k

k

k

k

k

k

k

k

k

k

k

k

?

k k k k k k

k

k

k

k

k

10/2/

  • P(k): k

3

  • k divisible by 3
    • P(k+1): (k+1)

3

  • (k+1) is divisible by 3?
    • (k

2

+2k+1)(k+1) – (k+1)

(Start with P(k+1))

  • [ (k

2

+2k+1) – 1 ] (k+1)

  • (k

2

+2k) (k+1) = k

3

+2k

2

  • k

2

+2k

  • k

3

+3k

2

+2k

  • k

3

–k + 3k

2

+3k

(Reuse P(k))

  • k

3

–k is divisible by 3, 3k

2

+3k is divisible by 3

Problem #1 (cont)

10/2/

  • Prove: • Basis Step:

n=0 means

True!

  • Inductive Step:

Choose arbitrary k

Check P(k)

f

P(k+1)

Problem #2 (Indirect Proof)• Prove:• e.g.:• Basis Step:• Inductive Step:

1

0

=

r

a

ar

ar

n

n i

i

1

− × = + + + +

×

r

r

a

r

a

r

a

ar

10/2/

  • Given: • First postulate a formula for S(n)

S(1) =?

S(2) =?

S(3) =?

S(4) =?

Quick Question, Part 1 • S(n) =?

+ × + + × + ×

n

n

10/2/

Quick Question, Part 2^ • Prove: • Basis Step:• Inductive Step: