lecture 14 - university of jordansites.ju.edu.jo/sites/alzalg/documents/2321/cse2321lec14.pdflecture...

3
baha2math gmail.com Lecture 1 4 The Scope of a variable P X X is an even Q X X is an odd HX P X V QC XD TRUE every NN is eithes even as odd b X PED V TX QCD FALSE either every NN is even os every NN sfddjj.pe Ej iii tix y CP v QCyD Mathematical Induction Powerful elegant technique for proving certain types of mathematical statements like falling dominos Prove the first statement true knock over first domino Prove if claim k is true then claim beti is true when the beth domino falls it knocks ones domino ki 1 infinite of daims to prove claim l claim 2 Claim n If the steps are accomplished we are assured all the claims are the

Upload: others

Post on 30-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 14 - University of Jordansites.ju.edu.jo/sites/Alzalg/Documents/2321/cse2321lec14.pdfLecture 14 baha2math gmail.com The Scopeof a variable P X X is an even Q X X is an odd

baha2math gmail.comLecture 14The Scopeof a variableP X X is an even

Q X X is an oddHX P X V QCXD TRUE

every NN is eithes even as odd

bX PED V TX QCD FALSE

either every NN is even osevery NN

sfddjj.pe Ej iiitix y CP v QCyD

Mathematical Induction

Powerful elegant technique for provingcertain types of mathematical statements

like falling dominosProve the first statement true knock over first

dominoProve if claim k is true then claim beti is truewhen the beth domino falls it knocks onesdomino ki 1

infinite of daims to proveclaim l claim 2 Claim n

If the steps are accomplished we are assuredall the claims are the

Page 2: Lecture 14 - University of Jordansites.ju.edu.jo/sites/Alzalg/Documents/2321/cse2321lec14.pdfLecture 14 baha2math gmail.com The Scopeof a variable P X X is an even Q X X is an odd

Principleof mathematical inductionfespedicatesLet Pcx be a sentence whose domain is INsuch that I

PG is true BasestepReissue P KH is true for all KEN

InductiveP is true for all n E IN step

inductive hypothesis

Ex prove that the sum of the first n

integers is ninth2

show that 1 2 3 t tn NCI2Look for the base case

Substitute na II He

2I I

state inductive hypothesisI 2 3 t t R kCk

INDUCTIVE STEP 2

PCRtl 1 2 t t bet KH Chet1 Rts2

kCktD2

Page 3: Lecture 14 - University of Jordansites.ju.edu.jo/sites/Alzalg/Documents/2321/cse2321lec14.pdfLecture 14 baha2math gmail.com The Scopeof a variable P X X is an even Q X X is an odd

Plbett becbgIDD.C.kz brzt1 Ebrt2