Propositional Calculus and Predicate Calculus are two branches of formal logic that provide frameworks for expressing logical statements and reasoning systematically. Both are fundamental in fields such as mathematics, philosophy, and computer science, especially in areas like formal proofs, artificial intelligence, and algorithm design.
Propositional calculus is the branch of logic that deals with propositions (statements that are either true or false) and logical connectives that combine these propositions. It is concerned with the truth values of propositions and the logical relationships between them.
Propositions: A proposition is a declarative sentence that is either true or false. For example:
Logical Connectives (Operators): These are symbols used to combine or modify propositions.
Truth tables show the possible truth values of a compound proposition based on the truth values of its components. For example:
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | F |
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
Propositional calculus also involves several important logical equivalences, such as:
Predicate calculus, also known as first-order logic (FOL), is an extension of propositional calculus that deals with predicates and quantifiers. While propositional logic is concerned with the truth of entire propositions, predicate logic is used to express statements that involve variables and quantifiers.
Predicates: A predicate is a function that takes an argument (or arguments) and returns a truth value. For example, "is a prime number" can be expressed as the predicate , where is a variable representing a number.
Variables: Variables represent unknown or general elements. In predicate logic, they are often used in predicates to make general statements about sets of objects.
Quantifiers:
Universal Statement:
Existential Statement:
In predicate logic, truth is determined based on:
For example, the statement would be true if every element in the domain (say, the set of natural numbers) is a prime number. Similarly, would be true if at least one element in the domain is a prime number.
Predicate logic allows more complex statements using quantifiers. The quantifiers are governed by the following rules:
Predicate calculus is widely used in:
| Feature | Propositional Logic | Predicate Logic (First-Order Logic) |
|---|---|---|
| Objects | Deals with entire propositions (statements). | Deals with predicates, variables, and quantifiers. |
| Complexity | Simpler, only focuses on propositions. | More expressive, handles predicates and variables. |
| Examples of Statements | "It is raining," "5 > 3." | "For all , is greater than 1." |
| Quantifiers | No quantifiers. | Uses (for all) and (there exists). |
| Expressiveness | Less expressive, limited to simple propositions. | More expressive, allows detailed logical expressions. |
| Applications | Used in areas like logic circuits, basic proofs. | Used in mathematics, artificial intelligence, databases. |
Propositional logic (or sentential logic) is a simpler system that deals with truth values of entire propositions and is used for logical reasoning involving statements like "if-then" and "and/or". Predicate logic extends propositional logic by allowing the use of variables, predicates, and quantifiers to make more detailed and powerful logical expressions. Predicate logic is particularly useful for expressing mathematical and logical relationships, and is a fundamental tool in areas such as formal proofs, computer science, and artificial intelligence.
Open this section to load past papers