0% found this document useful (0 votes)
207 views2 pages

Formula Sheet

Computer Science: COT3100

Uploaded by

mickeydalee2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
207 views2 pages

Formula Sheet

Computer Science: COT3100

Uploaded by

mickeydalee2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Laws of Logic

1. p  p Law of Double Negation


2. ( p  q)  p  q DeMorgan’s Law
( p  q)  p  q
3. p  q  q  p Commutative Laws
pq q p
4. p  (q  r)  ( p  q)  r Associative Laws
p  (q  r)  ( p  q)  r
5. p  (q  r)  ( p  q)  ( p  r) Distributive Laws
p  (q  r)  ( p  q)  ( p  r)
6. p  p  p Idempotent Laws
p p  p
7. p  F  p Identity Laws
p T  p
8. p  p  T Inverse Laws
p  p  F
9. p  T  T Domination Laws
pF F
10. p  ( p  q)  p Absorption Laws
p  ( p  q)  p
11. (𝑝 → 𝑞) ↔ (𝑝̅ ∨ 𝑞) Implication Identity

12. (𝑝 → 𝑞) ↔ (𝑞̅ → 𝑝̅ ) Contrapositive

Laws of Set Theory

1. 𝐴̿ = 𝐴 Law of Double Negation


2. ̅̅̅̅̅̅̅
𝐴 ∪ 𝐵 = 𝐴̅ ∩ 𝐵̅ DeMorgan’s Laws
̅̅̅̅̅̅̅
𝐴 ∩ 𝐵 = 𝐴̅ ∪ 𝐵̅
3. 𝐴 ∪ 𝐵 = 𝐵 ∪ 𝐴 Commutative Laws
𝐴∩𝐵 =𝐵∩𝐴
4. 𝐴 ∪ (𝐵 ∪ 𝐶) = (𝐴 ∪ 𝐵) ∪ 𝐶 Associative Laws
𝐴 ∩ (𝐵 ∩ 𝐶) = (𝐴 ∩ 𝐵) ∩ 𝐶
5. 𝐴 ∪ (𝐵 ∩ 𝐶) = (𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶) Distributive Laws
𝐴 ∩ (𝐵 ∪ 𝐶) = (𝐴 ∩ 𝐵) ∪ (𝐴 ∩ 𝐶)
6. 𝐴 ∪ 𝐴 = 𝐴 Idempotent Laws
𝐴∩𝐴 =𝐴
7. 𝐴 ∪ ∅ = 𝐴 Identity Laws
𝐴∩𝒰 =𝐴
8. 𝐴 ∪ 𝐴̅ = 𝒰 Inverse Laws
𝐴 ∩ 𝐴̅ = ∅
9. 𝐴 ∪ 𝒰 = 𝒰 Domination Laws
𝐴∩∅=∅
10. 𝐴 ∪ (𝐴 ∩ 𝐵) = 𝐴 Absorption Laws
𝐴 ∩ (𝐴 ∪ 𝐵) = 𝐴
Rules of Inference

1. [ p  ( p  q)]  q Rule of Detachment (Modus Ponens)

2. [( p  q)  (q  r)]  ( p  r) Law of Syllogism

3. [( p  q)  q]  p Modus Tollens

4. [( p)  (q)]  p  q Rule of Conjunction

5. [( p  q)  p]  q Rule of Disjunctive Syllogism

6. (p  F )  p Rule of Contradiction

7. ( p  q)  p Rule of Conjunctive Simplification

8. p  ( p  q) Rule of Disjunctive Amplification

9. [( p  q)  [ p  (q  r)]]  r Rule of Conditional Proof

10. [( p  r)  (q  r)]  [( p  q)  r] Rule for Proof by Cases

11. [( p  q)  (r  s)  ( p  r)]  (q  s) Rule of the Constructive Dilemma

12. [( p  q)  (r  s)  (q  s)]  (p  r) Rule of the Destructive Dilemma

13. [(𝑝 ∨ 𝑞) ∧ (¬𝑝 ∨ 𝑟)] → (𝑞 ∨ 𝑟) Rule of Resolution

14. [𝑝 → (𝑞 ∧ 𝑟)] → [(𝑝 → 𝑞) ∧ (𝑝 → 𝑟)] Distributive Rule of Implication

Sequence and Series Terms and Sums

(𝑎1 +𝑎𝑛 )𝑛
Arithmetic Sequences: 𝑎𝑛 = 𝑎1 + (𝑛 − 1)𝑑, 𝑎𝑗 = 𝑎𝑖 + (𝑗 − 𝑖)𝑑, 𝑆𝑛 =
2

𝑎1 (1−𝑟 𝑛 ) 𝑎
Geometric Sequences: 𝑎𝑛 = 𝑎1 𝑟 𝑛−1 , 𝑎𝑗 = 𝑎𝑖 𝑟 𝑗−𝑖 , 𝑆𝑛 = 1
, 𝑟 ≠ 1, 𝑆∞ = 1−𝑟 , |𝑟| < 1
1−𝑟

𝑛(𝑛+1) 𝑛(𝑛+1)(2𝑛+1) 𝑛2 (𝑛+1)2


Sum Formulas: ∑𝑛𝑖=1 𝑐 = 𝑐𝑛 ∑𝑛𝑖=1 𝑖 = , ∑𝑛𝑖=1 𝑖 2 = , ∑𝑛𝑖=1 𝑖 3 =
2 6 4

You might also like