mathematical induction proof template - villanova …map/1300/s17/mathinduction.pdf ·  ·...

2
Note: If appropriate, use P(0), P(2) or other value instead. THEOREM: “For every n , PROOF: By mathematical induction. Basis: (1) asserts that which is true because Inductive step: Assume for an arbitrary , () is true, i.e., namely: We will now show that + 1 is also true, i.e.: Proof of inductive step: We thus have that (1) and , + 1 , so by the principle of mathematical induction, it follows that () is true for all natural numbers . Q.E.D. Steps of a mathematical induction proof: 1) state the theorem, which is the proposition P(n) 2) show that P(base case) is true. Base case is usually P(1), but sometimes P(0) or P2) or other value is appropriate. 3) state the inductive hypothesis (substitute k for n) 4) state what must be proved (substitute k+1 for n) 5) state that you are beginning your proof of the inductive step, and proceed to manipulate the inductive hypothesis (which we assume is true) to find a link between the inductive hypothesis and the statement to be proven. Always state explicitly where you are invoking the inductive hypothesis. 6) finish your proof by invoking the principle of mathematical induction that allows you to infer that is true for all natural numbers. n (()) State and prove ( 1 ) State () (inductive hypothesis) Mathematical Induction Proof Template State ( + 1) Prove ( ) ( + 1) () All done: wrap up proof

Upload: hathuan

Post on 23-Apr-2018

223 views

Category:

Documents


2 download

TRANSCRIPT

Note:Ifappropriate,

useP(0),P(2)orother

valueinstead.

THEOREM: “Foreveryn ∈ ℕ,

PROOF:Bymathematicalinduction.

Basis:𝑃(1) assertsthat

whichistruebecause

Inductivestep:Assumeforanarbitrary𝑘 ∈ ℕ,𝑃(𝑘)istrue,i.e.,namely:

Wewillnowshowthat𝑃 𝑘 + 1 isalsotrue,i.e.:

Proofofinductivestep:

Wethushavethat𝑃(1)and∀𝑘 ∈ ℕ,𝑃 𝑘 → 𝑃 𝑘 + 1 ,sobytheprincipleofmathematicalinduction,itfollowsthat𝑃(𝑛)istrueforallnaturalnumbers𝑛.

Q.E.D.Stepsofamathematicalinductionproof:1)statethetheorem,whichisthepropositionP(n)2)showthatP(basecase)istrue.BasecaseisusuallyP(1),butsometimesP(0)orP2)orothervalueisappropriate.3)statetheinductivehypothesis(substitutekforn)4)statewhatmustbeproved(substitutek+1forn)5)statethatyouarebeginningyourproofoftheinductivestep,andproceedtomanipulatetheinductivehypothesis(whichweassumeistrue)tofindalinkbetweentheinductivehypothesisandthestatementtobeproven.Alwaysstateexplicitlywhereyouareinvokingtheinductivehypothesis.6)finishyourproofbyinvokingtheprincipleofmathematicalinductionthatallowsyoutoinferthat𝑃 𝑛 istrueforallnaturalnumbers.

∀n ∈ ℕ (𝑃(𝑛))

Stateandprove𝑃(1)

State𝑃(𝑘) (inductivehypothesis)

MathematicalInductionProofTemplate

State 𝑃(𝑘 + 1)

Prove

𝑃 ( 𝑘)⇒𝑃(𝑘+1)

𝑃(𝑛)

Alldone:wrapupproof

Statethefollowingandtrytofigureoutwhytheyaretrue.Thenseeifapatternemergesthatyoucangeneralize.Trysomemorebasecases: 𝑃(2)𝑃(3) 𝑃(4) Ifit’snotyetclearwhatmakestheinductivesteptrue(i.e.,whatisitintheinductivehypothesis𝑃 𝑘 thatcausestheconclusion𝑃(𝑘 + 1)toalsobetrue?),trysomelargerconsecutivenumbers.Asyouworktheseexamples,seeifyoucanmakeuseoftheinductivehypothesisinprovingtheconclusion(ratherthanprovingitindependently).Notethatusingexampleswithlargenumberssometimesforcesyoutotakeashortcut;thatshortcutisoftenthekeytoprovingtheinductivestep.𝑃 8 ⇒ 𝑃(9) 𝑃 25 ⇒ 𝑃(26) 𝑃 1,000,000 ⇒ 𝑃(1,000,001)

Stuckontheproofoftheinductivestep?Dosomeexamplesforinspiration!