Science Fair Projects Ideas - Truth table

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

Truth table

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 derive from the work of Gottlob Frege, Charles Peirce and others from about the 1880s. They came to their present form in 1922 through the work of Emil Post and Ludwig Wittgenstein. 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. \land (AND), \lnot (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" (\land), signifying the conjunction "A and B" or A \land B. In common English, if both A and B are true, then the conjunction "A \land B" is true; under all other possible assignments of truth values to A \land B, the conjunction is false. This relationship is defined as follows:

A B A \land B
F F F
F T F
T F F
T T T

In a boolean logic system, all the operators can be explicitly defined this way. For example, the NOT (\lnot) relationship is defined as follows:

A \lnot A
F T
T F

The OR (\lor) relationship is defined as follows:

A B A \lor B
F F F
F T T
T F T
T T T

Compound expressions can be constructed, using parenthesis to denote precedence. The negation of conjunction \lnot ( A \land B ), is depicted as follows:

A B A \land B \lnot ( A \land B )
F F F T
F T F T
T F F T
T T T F

Truth tables can be used to prove logical equivalence. The truth table for the disjunction of \lnot A \land \lnot B is:

A B \lnot A \lnot B A \land B \lnot ( \lnot A \lor \lnot B )
F F T T F F
F T T F F F
T F F T F F
T T F F T T

Since the enumeration of all possible truth-values for A and B yields the same truth-value under both A \land B and \lnot (\lnot A \lor \land B), the two are logically equivalent, and may be substituted for each other. This equivalence is one of DeMorgan's Laws.

Here is a truth table giving definitions of the most commonly used 5 of the 16 possible truth functions of 2 binary variables (P,Q are thus boolean variables):

P Q P \land Q P \lor Q P \oplus Q P \rightarrow Q P \leftrightarrow Q
F F F F F T T
F T F T T T F
T F F T T F F
T T T T F T T

Key:

T = true, F = false
\land = AND (logical conjunction)
\lor = OR (logical disjunction)
\oplus = XOR (exclusive disjunction)
\rightarrow = conditional or "if-then"
\leftrightarrow = biconditional or "if-and-only-if"

Johnston diagrams, similar to Venn diagrams and Euler diagrams, provide a way of visualizing truth tables. An interactive Johnston diagram illustrating truth tables is at LogicTutorial.com

See also

12-03-2008 10:22:39
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice