Truth table

A truth table is a table that lists all possible states of a statement.[1] Truth tables are commonly used to compare statements; if two statements share the same truth table, then the two statements are said to be logically equivalent. Truth tables are also able to be used to find negations of statements.

Cogito ergo sum
Logic and rhetoric
Key articles
General logic
Bad logic
v - t - e

Equivalent statements

If two statements, and , have truth tables that contain the same elements, then the two statements are logically equivalent.[2][3] That is, the two statements will be true or false under the same conditions. and being logically equivalent is denoted as: . Finding equivalent statements is a tool used in mathematics as it may be difficult to directly prove one statement, but easy to prove an equivalent statement.

Example of equivalent statements

One can show that, for two statements and , is logically equivalent to by showing that they have the same truth table. Consider the truth table for :

TTT
FFT
TFF
FTT

In the above table, T is true and F is false. Now consider the truth table for :

TTT
FFT
TFF
FTT

Observing the two tables, they have the same elements. Thus, is logically equivalent to .

Negation of statements

Given a statement , another statement is the negation of if the state of is opposite of given the same conditions. That is, is false when is true, and is true when is false. If this holds, then is the negation of , written as (sometimes as ~).[4]

TF
FT

The negation of , , is visualized in the above truth table.

Example of negated statements

One can show that is the negation of via a truth table.

TTTF
FFTF
TFFT
FTTF
gollark: Well, I paid £100 for the primary server node™.
gollark: I could buy ten osmarks.tk™ server nodes™ with that!
gollark: Even my dirt-cheap phone has an octacore SoC, and while it has half the clockrate of my laptop's CPU and uses some old ARM cores, newer phone CPUs go up to *ten* cores for some reason, can (very briefly, I assume) reach 3GHz, and have better IPC.
gollark: Unless you really like gaming on your phone for some reason, but stop doing that. Or unless you need really good cameras, but there are comparatively cheap ones with good-enough ones.
gollark: yes.

See also

Truth Tables, Tautologies, and Logical Equivalences

References

This article is issued from Rationalwiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.