



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
when creating a truth table. These operations are the conjunction, disjunction, negation, conditional, and bi-conditional. These operations are also ...
Typology: Lecture notes
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Provided by the Academic Center for Excellence 1 Logic and Truth Tables Reviewed August 2017
A truth table is a tool that helps you analyze statements or arguments in order to verify whether or not they are logical, or true. There are five basic operations that you will utilize when creating a truth table. These operations are the conjunction, disjunction, negation, conditional, and bi-conditional. These operations are also referred to as “and,” “or,” “not,” “if-then,” and “if and only if.” The rules for these operations are as follows:
(conjunction)
And Statements – These statements are true only when both p and q are true ( as the rigorous definition of “and” implies.) p q (^) p ∧ q Example:^ “I will bring both a pen AND a pencil to the tutoring T T T session.” Only if I bring both is this true. T F F F T F F F F
(disjunction)
Or Statements – These statements are false only when both p and q are false (follows the definition of “or”.) p q (^) p ∨ q Example:^ “I will bring a pen OR a pencil to the tutoring T T T appointment.” Only if I don’t do either is this false. T F T F T (^) T F F (^) F
(negation)
Not Statements – The “not” is simply the opposite or complement of its original value. p ~p Example: p = “It is raining” T F ~p = “It is NOT raining” F T
(conditional)
If → Then Statements – These statements are false only when p is true and q is false (because anything can follow from a false premise.) p q p → q Example: “IF I am elected THEN taxes will go down.”
T T T Only if I am elected and taxes don’t go down is this false. T F F F T T F F (^) T
(bi-conditional)
If and Only If Statements – These statements are true only when both p and q have the same truth values.
p q p ↔ q
Example : “Taxes will go down IF AND ONLY IF I am elected.” T T T Only if I am elected and taxes go down, or I am not elected and taxes T F F do not go down is this true. F T F F F (^) T
To create a truth table, follow these steps:
TWO VARIABLE THREE VARIABLE p q p q r T T T T T T F T T F F T T F T F F T F F F T T F T F F F T F F F
There are a number of equivalents in logic. This means that these statements have been proven true, and you can use these statements without having to prove them. The symbol for equivalent is ≡. The following are the most commonly used equivalents:
A logical argument is made up of two parts: the premises and the conclusion. Arguments are usually written in the following form:
If it is cold, then my motorcycle will not start. My motorcycle started. It is not cold.
Arguments of this form can be turned into a logical statement. First, assign variables to each premise and conclusion.
If it is cold, then my motorcycle will not start. My motorcycle started. It is not cold.
“It is cold” = p “It is not cold” = ~ p “My motorcycle will start” = q “My motorcycle will not start” = ~ q
You can now re-write the argument using logical operators. Look for keywords like “if” and “not.”
If it is cold, then my motorcycle will not start. My motorcycle started. It is not cold.
p → ~q q ~ p
Finally, the argument can be rewritten as a logical statement. Arguments can always be written in the following form:
Our example would be rewritten as:
This statement can then be proven valid or invalid using a truth table, as shown on the following page.
Statement: [ (p → ~q) ∧ q ] → ~p
p q T T T F F T F F
p q ~p T T F T F F F T T F F T
p q ~p ~q T T F F T F F T F T T F F F T T
p q ~p ~q (^) (p → ~q) T T F (^) F F T F F T T F T T (^) F T F F T (^) T T
p q ~p ~q (^) (p → ~q) (p → ~q) ∧ q T T F (^) F F F T F F T T F F T T F T T F F T (^) T T F
p q ~p ~q (^) (p → ~q) (p → ~q) ∧ q [ (p → ~q) ∧ q ] → ~p T T F F F F T T F F T T F T F T T (^) F T T T F F T (^) T T F T
Step 1: Determine the number of variables and rows needed, then write down all possible combinations of p and q.
Step 2:
Write down values of ~p (or “not p ”)
Step 3:
Write down values of ~q (or “not q ”)
Step 4:
Left Side: Start within the inner most parentheses. Is (p → ~q) true? Use values from p and ~ q columns.
Step 5:
Left Side: Work outwards towards the outer most parentheses. Is [ (p → ~q) ∧ q ] true? Use values from (p → ~q) and q columns.
Step 6:
Is the entire statement true? Yes. This is a tautology