Mathematical Induction - Discrete Math - Lecture Slides, Slides of Discrete Mathematics

Some concept of Discrete Math are Unique Path, Addition Rule, Clay Mathematics, Complexity Theory, Correspondence Principle, Discrete Mathematics, Group Theory, Random Variable, Major Concepts. Main points of this lecture are: Mathematical Induction, Discrete Maths, Introduce, Mathematical, Induction, Motivation, Induction Defined, Maths Notation Reminder, Four Examples, More General Induction Proofs

Typology: Slides

2012/2013

Uploaded on 04/27/2013

emee
emee 🇮🇳

4.3

(30)

134 documents

1 / 34

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Discrete Maths
Objective
to introduce mathematical induction
through examples
1. Mathematical
Induction
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22

Partial preview of the text

Download Mathematical Induction - Discrete Math - Lecture Slides and more Slides Discrete Mathematics in PDF only on Docsity!

Discrete Maths

  • Objective
    • to introduce mathematical induction through examples

1. Mathematical

Induction

Docsity.com

Overview

  1. Motivation
  2. Induction Defined
  3. Maths Notation Reminder
  4. Four Examples
  5. More General Induction Proofs
  6. A Fun Tiling Problem
  7. Further Information

Docsity.com

  • Induction is often used to derive mathematical estimates of program running time - timings based on the size of input data - e.g. time increases linearly with the number of data items processed - timings based on the number of times a loop executes

Docsity.com

  1. Induction Defined
  • Induction is used to solve problems such as:
    • is S(n) correct/true for all n values?
      • usually for all n >= 0 or all n >=
  • Example:
    • let S(n) be "n^2 + 1 > 0"
    • is S(n) true for all n >= 1?

continued

S(n) can be much more complicated, such as a program that reads in a n value.

Docsity.com

Induction to the Rescue

  • Induction is a technique for quickly proving S(n) true or false for all n - we only have to do two things
  • First show that S(1) is true
    • do that by calculation as before

continued Docsity.com

  • Second, assume that S(n) is true, and use it to show that S(n+1) is true - mathematically, we show that S(n) --> S(n+1)
  • Now we know S(n) is true for all n>=1.
  • Why?

continued

"--> stands for "implies"

Docsity.com

Let’s do it

  • Prove S(n): "n^2 + 1 > 0" for all n >= 1.
  • First task: show S(1) is true
    • S(1) == 1^2 + 1 == 2, which is > 0
    • so S(1) is true
  • Second task: show S(n+1) is true by assuming S(n) is true

continued Docsity.com

  • Assume S(n) is true, so n^2 +1 > 0
  • Prove S(n+1)
    • S(n+1) == (n+1)^2 + 1 == n^2 + 2n + 1 + == (n^2 + 1) + 2n + 1
    • since n^2 + 1 > 0, then (n^2 + 1) + 2n + 1 > 0
    • so S(n+1) is true, by assuming S(n) is true
    • so S(n) --> S(n+1)

continued Docsity.com

Induction More Formally

  • Three pieces:
      1. A statement S(n) to be proved
      • the statement must be about an integer n
      1. A basis for the proof. This is the statement S(b) for some integer. Often b = 0 or b = 1.

continued Docsity.com

    1. An inductive step for the proof. We prove the statement “S(n) --> S(n+1)” for all n.
  • The statement S(n), used in this proof, is called the inductive hypothesis
  • We conclude that S(n) is true for all n >= b
  • S(n) might not be true for some n < b

Docsity.com

  1. Example 1
  • Prove the statement S(n):

for all n >= 1

  • e.g. 1+2+3+4 = (4*5)/2 = 10
  • Basis. S(1), n = 1

so 1 = (1*2)/

2

( 1 ) 1

∑ =

n n i

n

i

=

1 1

1 i

i

continued

(1)

Docsity.com

  • Induction. Assume S(n) to be true.

Prove S(n+1), which is:

Notice that:

2

( 1 )( 2 ) 2

(^11) ( 1 1 )

1

=

∑ =

=

n n n n i

n

i

(2)

∑ ∑

= =

= + +

1

1 1

( 1 )

n

i

n

i

i i n (3)

continued Docsity.com

Example 2

  • Prove the statement S(n):

for all n >= 0

  • e.g. 1+2+4+8 = 16-
  • Basis. S(0), n = 0

so 2^0 = 2^1 -

2 2 1 1 0

= + −

n n

i

i

=

0 0

2 20 i

i

continued

(1)

Docsity.com

  • Induction. Assume S(n) to be true.

Prove S(n+1), which is:

Notice that:

2 2 2 1

1

0

= + −

=

n n

i

i (^) (2)

∑ ∑

= =

(^1) = + +

0 0

n 2 2 2 1

i

n

i

i i n (3)

continued Docsity.com