Individual differences |
Methods | Statistics | Clinical | Educational | Industrial | Professional items | World psychology |
Philosophy Index: Aesthetics · Epistemology · Ethics · Logic · Metaphysics · Consciousness · Philosophy of Language · Philosophy of Mind · Philosophy of Science · Social and Political philosophy · Philosophies · Philosophers · List of lists
Truth tables are a type of mathematical table used in logic to determine whether an expression is true or valid. (Expressions may be arguments; i.e., a conjunction of expressions, each conjunct of which is a premise with the last being the conclusion.)
Truth tables were invented to work on the propositional calculus developed by Gottlob Frege, Bertrand Russell, and others. They were first invented in 1917, by Ludwig Wittgenstein, and later and independently, in 1921, by Emil Post. Wittgenstein's Tractatus Logico-Philosophicus uses them to place truth functions in a series. The wide influence of this work led to the spread of the use of truth tables.
Truth tables are used to compute the values of truth-functional expressions (i.e., it is a decision procedure). A truth-functional expression is either atomic (i.e., a propositional variable (or placeholder) or a propositional function — e.g. Px) or built up from atomic formulas from logical operators (i.e. ∧ (AND), ∨ (OR), ¬ (NOT) — e.g. Fx & Gx).
The column headings on a truth table show (i) the propositional functions and/or variables, and (ii) the truth-functional expression built up from those propositional functions or variables and operators. The rows show each possible valuation of T or F assignments to (i) and (ii). In other words, each row is a distinct interpretation of (i) and (ii).
Truth tables for classical (i.e., bivalent) logic are limited to Boolean logic systems where only two truth values are possible, true or false, usually denoted simply T and F in the tables (as remarked above).
For example, take two propositional variables, $ A $ and $ B $, and the logical operator "AND" (∧), signifying the conjunction "A and B" or $ A $ ∧ $ B $. In common English, if both A and B are true, then the conjunction "$ A $ ∧ $ B $" is true; under all other possible assignments of truth values to $ A $ ∧ $ B $, the conjunction is false. This relationship is defined as follows:
|$ A $||$ B $||$ A $ ∧ $ B $|
The OR (∨) relationship is defined as follows:
|$ A $||$ B $||$ A $ ∨ $ B $|
In a boolean logic system, all the operators can be explicitly defined this way. For example, the NOT (¬) relationship is defined as follows:
|$ A $||¬ $ A $|
Logical nandEditCompound expressions can be constructed, using parenthesis to denote precedence.
The negation of conjunction ¬ ($ A $ ∧ $ B $) ≡ $ A $ ∧ $ B $, and the disjunction of negations ¬ $ A $ ∨ ¬ $ B $ are depicted as follows:
|$ A $||$ B $||$ A $ ∧ $ B $||$ A $ ∧ $ B $||¬ $ A $||¬ $ B $||¬ $ A $ ∨ ¬ $ B $|
Truth tables can be used to prove logical equivalence. <p> The negation of disjunction ¬ ($ A $ ∨ $ B $) ≡ $ A $ ∨ $ B $, and the conjunction of negations ¬ $ A $ ∧ ¬ $ B $ are depicted as follows:
|$ A $||$ B $||$ A $ ∨ $ B $||$ A $ ∨ $ B $||¬ $ A $||¬ $ B $||¬ $ A $ ∧ ¬ $ B $|
Comparing the above two truth tables, since the enumeration of all possible truth-values for $ A $ and $ B $ yields the same truth-value under both $ A $ ∧ $ B $ and ¬ $ A $ ∨ ¬ $ B $; and both $ A $ ∨ $ B $ and ¬ $ A $ ∧ ¬ $ B $, the two and two are logically equivalent correspondingly, and may be substituted for each other. This equivalence is one of DeMorgan's Laws.
Truth table for most commonly used logical operatorsEdit
Here is a truth table giving definitions of the most commonly used 6 of the 16 possible truth functions of 2 binary variables (P,Q are thus boolean variables):
|$ P $||$ Q $||$ P $ ∧ $ Q $||$ P $ ∨ $ Q $||$ P $ ∧ $ Q $||$ P $ ∨ $ Q $||$ P $ → $ Q $||$ P $ ← $ Q $|
- T = true, F = false
- ∧ = AND (logical conjunction)
- ∨ = OR (logical disjunction)
- ∧ = XOR (exclusive or)
- ∨ = XNOR (exclusive nor)
- → = conditional "if-then"
- ← = conditional "(then)-if"
Condensed truth tables for binary operators Edit
For binary operators, a condensed form of truth table is also used, where the row headings and the column headings specify the operands and the table cells specify the result. For example Boolean Logic uses this condensed truth table notation:
This notation is useful especially if the operations are commutative, although one can additionally specify that the rows are the first operand and the columns are the second operand. This condensed notation is particularly useful in discussing multi-valued extensions of logic, as it significantly cuts down on combinatoric explosion of the number of rows otherwise needed. It also provides for quickly recognizable characteristic "shape" of the distribution of the values in the table which can assist the reader in grasping the rules more quickly.
See also Edit
- Propositional calculus
- List of Boolean algebra topics
- Logical nand
- Logical norde:Wahrheitstabelle
|This page uses Creative Commons Licensed content from Wikipedia (view authors).|