Reasoning & Logic (CSE1300)
Summary
By Jeffey Lim (Jeffey-LLimoutlouu.coum) in 2018c
Based un lhe ffsl TU Deof ditun uf Deofse Futndatuns uf Cumptlatun (Seplembef 2018)c
Chapter 2: Logic
Basic DNF Operators
Name Negation Conjunction Disjunction
Meaning NOT AND OR
Symbol ¬ ∧ uf ∙ ∨ uf +
Other notations ¬(¬p ∨ ¬q) ¬(¬p ∧ ¬q)
Logic gate
Sufciency anN Necessity
In p → q, p is stfoienl fuf q and q is neoessafy fuf pc p oan unoy be lfte when q is lfte, btl q
oan be lfte independenl uf pc
Laws of Boolean algebra
Double negation ¬(¬p) ≡ p
Excluded middle p ∨ ¬p ≡ T
Contradiction p ∧ ¬p ≡ F
T∧p≡p
Identity laws
F∨p≡p
p∧p≡p
Idempotent laws
p∨p≡p
p∧q≡q∧p
Commutative laws
p∨q≡q∨p
(p ∧ q) ∧ f ≡ p ∧ (q ∧ f)
Associative laws
(p ∨ q) ∨ f ≡ p ∨ (q ∨ f)
p ∧ (q ∨ f) ≡ (p ∧ q) ∨ (p ∧ f)
Distributive laws
p ∨ (q ∧ f) ≡ (p ∨ q) ∧ (p ∨ f)
¬(p ∧ q) ≡ ¬p ∨ ¬q
DeMorgan’s laws
¬(p ∨ q) ≡ ¬p ∧ ¬q
Quantifiers
Universal Existential Uniqueness
Name Bounded quantifier
quantifier quantifier quantifier
Fuf aoo, Thefe exisls, Thefe is une Is a membef / Is nul a membef
Meaning
given any fuf sume and unoy une eoemenl uf / eoemenl uf
Symbol ∀ ∃ ∃! ∈ ∉
Four important rules of preNicate logic
¬(∀x P(x)) ≡ ∃x (¬P(x))
DeMorgan’s laws
¬(∃x P(x)) ≡ ∀x (¬P(x))
∀x∀y Q(x,y) ≡ ∀y∀x Q(x,y)
Commutative laws
∃x∃y Q(x,y) ≡ ∃y∃x Q(x,y)
CompounN Proposition Types
A oumputnd pfupusitun lhal is true fuf aoo pussiboe oumbinatuns uf lftlh
Tautology
vaotes uf lhe pfupusitunao vafiaboes whioh il ounlainsc
A oumputnd pfupusitun lhal is false fuf aoo pussiboe oumbinatuns uf lftlh
Contradiction
vaotes uf lhe pfupusitunao vafiaboes whioh il ounlainsc
Contingency A oumputnd pfupusitun lhal is neilhef a latluougy nuf a ounlfadiotunc
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller summaryking. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $3.21. You're not tied to anything after your purchase.