Docsity

Understanding Mathematical Induction & Recursive Definitions: Inductive Proofs & Dominos, Slides of Discrete Mathematics

Partial preview of the text

Download Understanding Mathematical Induction & Recursive Definitions: Inductive Proofs & Dominos and more Slides Discrete Mathematics in PDF only on Docsity!

Inductive Proofs and Inductive

Definitions

Mathematical Induction

  • Some theorems state that P ( n ) is true for some value n , say n = 1.
  • Other (more general!) theorems state that P ( n ) is true for all positive integers n.
  • This requires a proof of infinite cases!

Dominos Example

  • Let P (1) be the proposition that the first domino will fall.
  • Let P( n ) be the proposition that the n th domino will fall.
  • Let each domino be exactly the same distance apart.
  • How do we know if they will ALL fall?

Inductive Proof

  • We want to prove we can knock all the domino’s down: 1. ( Basis Step) : I can push over the first one. 2. ( The Inductive Step ): For all the domino’s, if domino n falls, then domino n + 1 will also fall
  • Therefore, I can knock down ALL the domino’s. (by knocking over the first!)

Mathematical Induction Example

  • Let P ( n ) be the proposition:
  • Prove the theorem that:

∀ n : P ( n ).

2

( 1 ) 1 2 3

        • =

n n ... n

Inductive Proof Example

  • Since there are infinite positive integers, we cannot simply substitute each possible value of n and check.
  • However suppose that:
    1. (basis) we can show P (1) is true, and
    2. (induction) if P ( k ) holds for some positive integer n , then it also holds for P ( k + 1).
  • Then P ( n ) must hold for all n ≥ 1!

Inductive Proof Example

  1. Basis: P (1)

Prove P (1): Let n = 1. Then

or 1 = 1, which is true!

2

(^11) ( 1 1 ) 1

=^ + ∑ i =

i

Inductive Proof Example

  1. Induction: P ( k ) → P ( k + 1).

Assume P ( k ) is true for some value k ( Inductive Hypothesis ):

Prove that P ( k + 1) will also be true:

2

( 1 ) 1

∑ =

k k i

k

i

1

∑ =

=

k k
i

k

i

Inductive Proof Example

2

( 1 ) (^1 )(^2 ) 1

    • = +^ +

=

k i k k k i

2

( 1 )( 2 ) ( 1 ) 2

( 1 ) + +

    • =
  • k k k k k

Substitute using P ( k ) (Inductive Hypothesis)

2

( 1 ) 1

∑ =

k k i

k

i

P ( k + 1) (want to prove)

P ( k ) (Assumed true)

Inductive Proof Example

2

( 1 )( 2 ) ( 1 ) 2

( 1 ) + +

    • =
  • k k k k k Showing thistrue will prove P ( k + 1)

2

2 ( 1 ) 2

( 1 ) (^1 ) 2

k ( k + 1 ) + k + = k k + + k +

2

= k (^ k +^1 )+^2 ( k +^1 )

2

= (^ k +^2 )( k +^1 )

2 = (^ k +^1 )( k +^2 )

Same!

Mathematical Induction

  • Mathematical Induction allows us to prove all cases simply by proving only two subcases: 1. Basis Step: The proposition is true for P (1). 2. The Inductive Step: If the proposition P ( k ) is true, then the proposition P ( k +1) is true, e.g. P ( k ) → P ( k +1).

The inductive hypothesis P ( k ) is used to show that P ( k +1) is true

Mathematical Induction

  • Formally:
  • [ P (1) ∧ ∀ i :( P ( i ) → P ( i +1))] → ∀ i : P ( i ).
  • Note we ARE NOT showing P ( n ) is true, rather that IF P ( n ) is true, then P ( n +1) is too.

Inductive Proof Example

  • Proof that n < 2 n^ for all n ≥ 1

1. Basis : Let n = 1.

Then 1 < 2 1 or 1 < 2. True!

Inductive Proof Example

Proof that n < 2 n^ for all n ≥ 1

  1. Induction: Inductive Hypothesis : Assume k < 2 k^ for some positive integer k ≥ 1

Prove: that k + 1 < 2 k +1^ is true