Beginner Topic 1 of 51 Theory & Discrete Math
Propositional Logic
Reasoning with statements that are true or false.
How it works
Propositional logic studies statements that are either true or false, called propositions, and the connectives that combine them: negation, conjunction (and), disjunction (or), implication and biconditional. The truth of a compound formula follows from the truth values of its parts, which truth tables make explicit. Key ideas are tautologies that are always true, contradictions that are always false, logical equivalence, De Morgan's laws and normal forms such as CNF and DNF.
Step-by-step walkthrough
- Propositions are statements that are true or false.
- AND is true only if both are true, so P AND Q is false.
- OR is true if at least one is true, so P OR Q is true.
- NOT flips a value, so NOT P is false.
- Truth tables list every combination, and tautologies are always true.
Where it is used
Digital circuit design, program conditions, database queries, formal specifications, SAT solvers and the foundations of mathematical proof use propositional logic.
Common pitfall
Confusing implication with causation is common: p implies q is true whenever p is false. Mixing up the converse, inverse and contrapositive leads to invalid arguments; only the contrapositive is equivalent. Operator precedence differs between notations. Verify equivalences with truth tables or known laws rather than intuition.
Where it fits in the course
Propositional Logic is topic 1 of 51 in Theory & Discrete Math, rated Beginner. It is the first topic in this area. The next topic is Predicate Logic.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Theory & Discrete Math quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Theory & Discrete Math quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Propositional Logic?
Where do people use Propositional Logic?
What is the most common mistake with Propositional Logic?
What should I learn before this topic?
How can I practice it?
Is Propositional Logic hard to learn?
How long does it take to learn Propositional Logic?
Which topics are related to Propositional Logic?
What should I study after Propositional Logic?
Related topics
- Predicate Logic (Theory & Discrete Math)
- Sets and Set Operations (Theory & Discrete Math)
- Functions and Relations (Theory & Discrete Math)
- Mathematical Induction (Theory & Discrete Math)
- Logic Gates (Computer Architecture & Logic)
- Arithmetic Logic Unit (Computer Architecture & Logic)