SlideShare a Scribd company logo
1
PMAS ARID AGRICULTURE UNIVERSITY RAWALPINDI
BS SE (1B)EVENING.
COURSE TITLE: DISCRETE STRUCTURE
Group member:
1.ASIM SHAH(22-Arid-1019)
2.MASOOD-UR-REHMAN(22-Arid-1018)
3.SALIHA ALTAF(22-Arid-1054)
UNIVERSITY INSTITUTE OF INFORMATION TECHNOLOGY
AGENDA OF TODAY
Principle of mathematical induction 2.
INDUCTION
•The principle of mathematical induction is a useful tool for proving that a certain predicate is true for
all natural numbers.
•It cannot be used to discover theorems, but only to prove them.
•If we have a propositional function P(n), and we want to prove that P(n) is true for any natural
number n, we do the following:
•Show that P(1) is true.
(basis step)
• Show that if P(n) then P(n + 1) for any n  N.
(inductive step)
• Then P(n) must be true for any n  N.
(conclusion)
• Example:
• Show that n < 2n for all positive integers n.
• Let P(n) be the proposition “n < 2n.”
• 1. Show that P(1) is true.
(basis step)
• P(1) is true, because 1 < 21 = 2.
INDUCTION
• 2. Show that if P(n) is true, then P(n + 1) is true.
(inductive step)
• Assume that n < 2n is true.
• We need to show that P(n + 1) is true, i.e.
• n + 1 < 2n+1
• We start from n < 2n:
• n + 1 < 2n + 1  2n + 2n = 2n+1
• Therefore, if n < 2n then n + 1 < 2n+1
INDUCTION
Then P(n) must be true for any positive integer.(conclusion)
• n < 2n is true for any positive integer.
• End of proof.
• Another Example
• 1 + 2 + … + n = n (n + 1)/2
1. Show that P(0) is true.
(basis step)
• For n = 0 we get 0 = 0. True.
INDUCTION
2. Show that if P(n) then P(n + 1) for any n  N. (inductive step)
• 1 + 2 + … + n = n (n + 1)/2
• 1 + 2 + … + n + (n + 1) = n (n + 1)/2 + (n + 1)
• = (2n + 2 + n (n + 1))/2
• = (2n + 2 + n2 + n)/2
• = (2 + 3n + n2 )/2
• = (n + 1) (n + 2)/2
• = (n + 1) ((n + 1) + 1)/2
INDUCTION
3. Then P(n) must be true for any n  N. (conclusion)
• 1 + 2 + … + n = n (n + 1)/2 is true for all n  N.
• End of proof.
8
INDUCTION
•There is another proof technique that is very similar to the
principle of mathematical induction.
•It is called the second principle of mathematical induction.
•It can be used to prove that a propositional function P(n) is true
for any natural number n.
INDUCTION
• The second principle of mathematical induction:
• Show that P(0) is true.
(basis step)
• Show that if P(0) and P(1) and … and P(n),
then P(n + 1) for any n  N.
(inductive step)
• Then P(n) must be true for any n  N.
(conclusion)
INDUCTION
•Example: Show that every integer greater than 1 can be written as the product of
primes.
• Show that P(2) is true.
(basis step)
•2 is the product of one prime: itself.
INDUCTION
• Show that if P(2) and P(3) and … and P(n),then P(n + 1) for any n  N. (inductive step)
• Two possible cases:
• If (n + 1) is prime, then obviously P(n + 1) is true.
• If (n + 1) is composite, it can be written as the product of two integers a and b such that
2  a  b < n + 1.
• By the induction hypothesis, both a and b can be written as the product of primes.
• Therefore, n + 1 = a  b can be written as the product of primes.
INDUCTION
• Then P(n) must be true for any n  N.
(conclusion)
•End of proof.
•We have shown that every integer greater than 1 can be written as the product of
primes.
•Another example:
1+3+5+…+(2n-1)=n2
INTRODUCTION
14
Step 1: It is true for initial value. So for n=1
P(1):1(1)2
1=1
So p(n) for n=1 is true.
Step 2: We assume that
P(n) is true for n=1,2,3……k
Step: Prove it is true
Then we show that p(n) is true for n=k+1
P(k):1+3+5+…..+(2k-1)=k2
For n=k+1
P(k+1):1+3+5+……+(2K-1)+2(k+1)-1=(k+1)2
K +2k+2-1=(k+1)
K +2k+1=(k+1)
(k+1) =(k+1)
2 2
2 2
2
2

More Related Content

PPTX
Mathematical Induction DM
PPT
Introduction to mathematical Induction.ppt
PPT
Induction (1).ppt
PPTX
11-Induction CIIT.pptx
PPTX
Mathematical induction
DOC
Chapter 4 dis 2011
PPT
Per4 induction
PPTX
CMSC 56 | Lecture 11: Mathematical Induction
Mathematical Induction DM
Introduction to mathematical Induction.ppt
Induction (1).ppt
11-Induction CIIT.pptx
Mathematical induction
Chapter 4 dis 2011
Per4 induction
CMSC 56 | Lecture 11: Mathematical Induction

Similar to ppt02.ppt (20)

PDF
Math induction
PPTX
Lecture 3_Methods of Proofs (1) Ghana Communication Technology
PPT
Discrete Math Lecture 03: Methods of Proof
PPTX
Sequences
PDF
mathematicalinductionanddivisibilityrules-160711105713.pdf
PPTX
Mathematical induction and divisibility rules
PPTX
mathematical induction and stuff Induction.pptx
PPT
04-Induction and Recursion.ppt ppt bai tap
PPTX
Week 4 Mathematical Induction Mathematical Induction
PPTX
Dr hasany 2467_16649_1_lec-2-zabist
PDF
1 chapter1 introduction
PPTX
Induction.pptx
PDF
Factorials as sums
PDF
CPSC 125 Ch 2 Sec 2
PDF
Unit-1 DAA_Notes.pdf
PDF
Asymptotic notation
PPTX
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
PPT
6e-ch4.ppt
PPTX
Principle of mathematical induction
PDF
Induction.pdf
Math induction
Lecture 3_Methods of Proofs (1) Ghana Communication Technology
Discrete Math Lecture 03: Methods of Proof
Sequences
mathematicalinductionanddivisibilityrules-160711105713.pdf
Mathematical induction and divisibility rules
mathematical induction and stuff Induction.pptx
04-Induction and Recursion.ppt ppt bai tap
Week 4 Mathematical Induction Mathematical Induction
Dr hasany 2467_16649_1_lec-2-zabist
1 chapter1 introduction
Induction.pptx
Factorials as sums
CPSC 125 Ch 2 Sec 2
Unit-1 DAA_Notes.pdf
Asymptotic notation
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
6e-ch4.ppt
Principle of mathematical induction
Induction.pdf

More from MuhammadAbubakar114879 (20)

PPT
Lecture 11.pptHuman Computer Interaction
PPT
3 only package diagram till slide no. 13.ppt
PPT
4 Activity & Statechart diagram.ppt4 Activity & Statechart diagram.ppt4 Activ...
PPT
6 Design Pattern.ppt design pattern in softeare engineering
PPTX
9 Component Based SE.pptx9 Component Based SE.pptx9 Component Based SE.pptx
PPTX
8 SOA.pptx soa ppt in software engineering
PPTX
7 SPL.pptx spl ppt in software engineering
PPT
Lect_07_Use Case Diagram.ppt use case diagram
PPTX
Lab4-Software-Construction-BSSE5.pptx ppt
PPTX
Lecture3 - Methodologies - Software-Construction-BSSE5 (1).pptx
PPTX
Lecture-7.pptx software design and Arthitechure
PPTX
design_pattern.pptx design_pattern design_pattern
PPTX
10- Architectureign Design_designnn.pptx
PPTX
13- Architecture Evaluations_design.pptx
PPTX
5-Oject Design & Mapping on Code__ .pptx
PPTX
6-User Interface Design_6-User Interface Design.pptx
PPTX
3-System Design_software_design_algo .pptx
PPTX
Sequence_Diagram_software_Design_algo.pptx
PPTX
lec 14-15 Jquery_All About J-query_.pptx
PPTX
Natural_language_processingusing python.pptx
Lecture 11.pptHuman Computer Interaction
3 only package diagram till slide no. 13.ppt
4 Activity & Statechart diagram.ppt4 Activity & Statechart diagram.ppt4 Activ...
6 Design Pattern.ppt design pattern in softeare engineering
9 Component Based SE.pptx9 Component Based SE.pptx9 Component Based SE.pptx
8 SOA.pptx soa ppt in software engineering
7 SPL.pptx spl ppt in software engineering
Lect_07_Use Case Diagram.ppt use case diagram
Lab4-Software-Construction-BSSE5.pptx ppt
Lecture3 - Methodologies - Software-Construction-BSSE5 (1).pptx
Lecture-7.pptx software design and Arthitechure
design_pattern.pptx design_pattern design_pattern
10- Architectureign Design_designnn.pptx
13- Architecture Evaluations_design.pptx
5-Oject Design & Mapping on Code__ .pptx
6-User Interface Design_6-User Interface Design.pptx
3-System Design_software_design_algo .pptx
Sequence_Diagram_software_Design_algo.pptx
lec 14-15 Jquery_All About J-query_.pptx
Natural_language_processingusing python.pptx

Recently uploaded (20)

PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PPTX
Cell Structure & Organelles in detailed.
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PPTX
Cell Types and Its function , kingdom of life
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Trump Administration's workforce development strategy
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
202450812 BayCHI UCSC-SV 20250812 v17.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
Computing-Curriculum for Schools in Ghana
Microbial diseases, their pathogenesis and prophylaxis
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
Cell Structure & Organelles in detailed.
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Orientation - ARALprogram of Deped to the Parents.pptx
Cell Types and Its function , kingdom of life
Final Presentation General Medicine 03-08-2024.pptx
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
UNIT III MENTAL HEALTH NURSING ASSESSMENT
Weekly quiz Compilation Jan -July 25.pdf
Trump Administration's workforce development strategy
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Microbial disease of the cardiovascular and lymphatic systems
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3

ppt02.ppt

  • 1. 1 PMAS ARID AGRICULTURE UNIVERSITY RAWALPINDI BS SE (1B)EVENING. COURSE TITLE: DISCRETE STRUCTURE Group member: 1.ASIM SHAH(22-Arid-1019) 2.MASOOD-UR-REHMAN(22-Arid-1018) 3.SALIHA ALTAF(22-Arid-1054) UNIVERSITY INSTITUTE OF INFORMATION TECHNOLOGY
  • 2. AGENDA OF TODAY Principle of mathematical induction 2.
  • 3. INDUCTION •The principle of mathematical induction is a useful tool for proving that a certain predicate is true for all natural numbers. •It cannot be used to discover theorems, but only to prove them. •If we have a propositional function P(n), and we want to prove that P(n) is true for any natural number n, we do the following: •Show that P(1) is true. (basis step) • Show that if P(n) then P(n + 1) for any n  N. (inductive step) • Then P(n) must be true for any n  N. (conclusion)
  • 4. • Example: • Show that n < 2n for all positive integers n. • Let P(n) be the proposition “n < 2n.” • 1. Show that P(1) is true. (basis step) • P(1) is true, because 1 < 21 = 2.
  • 5. INDUCTION • 2. Show that if P(n) is true, then P(n + 1) is true. (inductive step) • Assume that n < 2n is true. • We need to show that P(n + 1) is true, i.e. • n + 1 < 2n+1 • We start from n < 2n: • n + 1 < 2n + 1  2n + 2n = 2n+1 • Therefore, if n < 2n then n + 1 < 2n+1
  • 6. INDUCTION Then P(n) must be true for any positive integer.(conclusion) • n < 2n is true for any positive integer. • End of proof. • Another Example • 1 + 2 + … + n = n (n + 1)/2 1. Show that P(0) is true. (basis step) • For n = 0 we get 0 = 0. True.
  • 7. INDUCTION 2. Show that if P(n) then P(n + 1) for any n  N. (inductive step) • 1 + 2 + … + n = n (n + 1)/2 • 1 + 2 + … + n + (n + 1) = n (n + 1)/2 + (n + 1) • = (2n + 2 + n (n + 1))/2 • = (2n + 2 + n2 + n)/2 • = (2 + 3n + n2 )/2 • = (n + 1) (n + 2)/2 • = (n + 1) ((n + 1) + 1)/2
  • 8. INDUCTION 3. Then P(n) must be true for any n  N. (conclusion) • 1 + 2 + … + n = n (n + 1)/2 is true for all n  N. • End of proof. 8
  • 9. INDUCTION •There is another proof technique that is very similar to the principle of mathematical induction. •It is called the second principle of mathematical induction. •It can be used to prove that a propositional function P(n) is true for any natural number n.
  • 10. INDUCTION • The second principle of mathematical induction: • Show that P(0) is true. (basis step) • Show that if P(0) and P(1) and … and P(n), then P(n + 1) for any n  N. (inductive step) • Then P(n) must be true for any n  N. (conclusion)
  • 11. INDUCTION •Example: Show that every integer greater than 1 can be written as the product of primes. • Show that P(2) is true. (basis step) •2 is the product of one prime: itself.
  • 12. INDUCTION • Show that if P(2) and P(3) and … and P(n),then P(n + 1) for any n  N. (inductive step) • Two possible cases: • If (n + 1) is prime, then obviously P(n + 1) is true. • If (n + 1) is composite, it can be written as the product of two integers a and b such that 2  a  b < n + 1. • By the induction hypothesis, both a and b can be written as the product of primes. • Therefore, n + 1 = a  b can be written as the product of primes.
  • 13. INDUCTION • Then P(n) must be true for any n  N. (conclusion) •End of proof. •We have shown that every integer greater than 1 can be written as the product of primes. •Another example: 1+3+5+…+(2n-1)=n2
  • 14. INTRODUCTION 14 Step 1: It is true for initial value. So for n=1 P(1):1(1)2 1=1 So p(n) for n=1 is true. Step 2: We assume that P(n) is true for n=1,2,3……k Step: Prove it is true Then we show that p(n) is true for n=k+1 P(k):1+3+5+…..+(2k-1)=k2 For n=k+1 P(k+1):1+3+5+……+(2K-1)+2(k+1)-1=(k+1)2 K +2k+2-1=(k+1) K +2k+1=(k+1) (k+1) =(k+1) 2 2 2 2 2 2