Unit2-1
Unit2-1
1. Introduction to proofs
2. Methods to prove a conditional statement
3. Examples on each of the methods
Learn How To Write Steps In Exams!!
Proof by Contradiction
Unit 2
Proofs, Relations and Analysis
of Algorithm
BY ANANYA PANDEY
Principle of Mathematical Induction
– (23 – 2a)
CS-708 3
Example – (23- 3)
CS-708 4
Solution – (23 – 3a)
CS-708 5
Solution – (23 – 3b)
CS-708 6
Solution – (23 -
4)
CS-708 7
Solution – (23 – 4a)
CS-708 8
Solution – (23 – 4b)
CS-708 9
Solution – (23 – 4c)
CS-708 1
0
Exercise – (23 - 5)
CS-708 11
Exercise – (23 – 5a)
CS-708 12
Solution – (23 -
6)
CS-708 13
Solution – (23 – 6a)
CS-708 14
Solution – (23 – 6b)
CS-708 15
Exercise – (23 - 7)
CS-708 16
Solution – (23 – 7a)
CS-708 17
Solution – (23 -
8)
CS-708 18
Solution – (23 – 8a)
CS-708 19
Exercise – (23 - 9)
CS-708 20
Solution – (23 - 10)
CS-708 21
Solution – (23 –
10a)
CS-708 22
Solution – (23 - 11)
CS-708 23
Solution – (23 –
11a)
CS-708 24
Exercise – (23 - 12)
CS-708 25
Solution – (23 - 13)
CS-708 26
Solution – (23 –
13a)
CS-708 27
Solution – (23 –
13b)
CS-708 28
Example – (23 - 15)
CS-708 29
Solution – (23 –
15a)
CS-708 30
Solution – (23 - 16)
CS-708 31
Solution – (23 –
16a)
CS-708 32
Solution – (23 –
16b)
CS-708 33
Solution – (23 - 21)
CS-708 34
Unit 2
Proofs, Relations and Algorithms
By ANANYA PANDEY
Recursive Definition
The following are some standard algorithms that follow Divide and Conquer technique: