Docsity

Inductive Proofs: Base Cases, Inductive Hypotheses, and Inductive Steps - Prof. Jandelyn D, Study notes of Discrete Structures and Graph Theory

Toggle sidebar
bg1
1
Inductive Proofs Must Have
• Base Case (value):
– where you prove it is tru e about the base case
• Inductive Hypothesis (value):
– where you state what wi ll be assume in this proof
• Inductive Step (value):
– show:
• where you state what will be proven below
– proof:
• where you prove what is stated in the show portion
• this proof must use the Inductive Hypothesis sometime during
the proof
Prove this statement:
Base Case (n=1):
Inductive Hypothesis (n=p):
Inductive Step (n=p+1):
Show:
Proof:(in class)
=
+
=
n
i
nn
i
1
2
)1(
=
=
1
1
1
i
i1
2
2
2
)
1
1
(
1
2
)
1
(
==
+
=
+
n
n
=
+
=
p
i
pp
i
1
2
)1(
+
=
+++
=
1
1
2
)1)1)((1(
p
i
pp
i
Variations
• 2+4+6+8+…+20 = ??
• If you can use the fac t:
• Rearrange it into a form t hat works.
• If you can’t – you must prove it from scratch
=
+
=
n
i
nn
i
2
)1(
pf3
pf4
pf5

Partial preview of the text

Download Inductive Proofs: Base Cases, Inductive Hypotheses, and Inductive Steps - Prof. Jandelyn D and more Study notes Discrete Structures and Graph Theory in PDF only on Docsity!

Inductive Proofs Must Have

  • Base Case (value):
    • where you prove it is true about the base case
  • Inductive Hypothesis (value):
    • where you state what will be assume in this proof
  • Inductive Step (value):
    • show:
      • where you state what will be proven below
    • proof:
      • where you prove what is stated in the show portion
      • this proof must use the Inductive Hypothesis sometime during the proof

Prove this statement:

Base Case (n=1):

Inductive Hypothesis (n=p):

Inductive Step (n=p+1): Show:

Proof:(in class)

=

n = + i

i n^ n 1 2

=

1 1

i

i (^) 1 2

n ( n + 1 ) = + = =

=

p = + i

i p^ p 1 2

=

p ( 1 )(( 1 ) 1 ) i

i p^ p

Variations

  • 2+4+6+8+…+20 = ??
  • If you can use the fact:
  • Rearrange it into a form that works.
  • If you can’t – you must prove it from scratch



n

i

n n

i

Less Mathematical Example

  • If all we had was 2 and 5 cent coins, we could make any value greater than 3.
  • Base Case (n = 4):
  • Inductive Hypothesis (n=k):
  • Inductive Step (n=k+1): show: proof:

More Examples

to be done in class

  • Geometric Progression

, 3 |( )

∀ n ∈ Z n − n

2 2 1 1

= + −



n

n

k

k

1

,

−

− ∀∈ ∀∈ ∀∈ =

 r

ar a r R a R n Z ar

n^ n

j

j

Proving Inequalities with Induction

  • Inductive Hypothesis
    • has the form y

All Integers greater than 1

are divisible by a prime

Base Case (n=2): 2|2 2 ∈Zprime Inductive Hypothesis (n=i ∀i 2≤i

Another Example

even

∀ n ∈ Z a n ∈ Z

  • Assume the following definition of a recurrence relation:
  • Prove that all elements in this relation have this property:

2

∀∈^3 = +



 



≥ i Z ai ai

a 1 = 0

a 2 = 2

Well-Ordering Principle

  • For any set S of
    • one or more
    • integers
    • all larger than some value
  • S has a least element

Use this to prove the

Quotient Remainder Theorem

  • The quotient-remainder theorem said
    • Given
      • any positive integer n
      • and any positive integer d
    • There exists an r and a q
      • where n = dq + r
      • where 0 ≤ r < d
      • which are integers
      • which are unique