



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Definition. When each of P and Q is a proposition, the conditional with antecedent P and consequent Q is denoted by P Q and is read “P implies Q” or “if P then Q. ” By definition, the conditional statement P Q is false when P is true and Q is false. Otherwise, P Q is true.
Truth Table for the Conditional Statement P Q P Q P Q T T T F T T T F F F F T Note. The truth or falsity of a P Q statement is determined by the truth table - not by your intuition. Note that P Q is always true when P is false. Note. If P is true and P Q is true, then Q is true. This is important mathematics. Note. Unlike in common English usage, in propositional logic, there need not be any connection between the antecedent and consequent in a conditional statement.
Example. “If 2 3 5 , then the sky is blue.” is a true conditional statement. The antecedent is true and the consequent is true. Example. “If 2 3 6 , then the sky is green.” is a true conditional statement. The antecedent is false and the consequent is false. Example.“If 2 3 5 , then the sky is green.” is a false conditional statement. The antecedent is true and the consequent is false. Example. “If 2 3 6 , then the sky is blue.” is a true conditional statement. The antecedent is false and the consequent is true.
Note. In addition to “if P, then Qand “P implies Q, here are some other ways to express P Q. “if P, Q” “P only if Q” “P is sufficient for Q” “a sufficient condition for Q is P” “Q if P” “Q whenever P” “Q when P” “Q is necessary for P” “a necessary condition for P is Q” “Q follows from P “Q unless P” “Q provided that P”
Definition. Related to the conditional statement P Q is its converse, Q P, its inverse, P Q, and its contrapositive, Q P. Example. For the conditional statement “If the sun is shining, then he wears a hat.” the converse is “If he wears a hat, then the sun is shining.” the inverse is “If the sun is not shining, then he does not wear a hat.” and the contrapositive is “If he does not wear a hat, then the sun is not shining.”
Definition. Saying that two propositions are logically equivalent means that they have the same truth value for each possible assignment of truth values to their elementary constituents. Note. Here are the truth tables for P Q and Q P. P Q P Q T T T F T T T F F F F T
As you can see from the last columns in the two tables, P Q and Q P are logically
From this we see that compound propositions P and Q are logically equivalent when and only when P Q is a tautology.
Note. P Q is logically equivalent to P Q Q P. This is important and is easy to verify with a truth table. In English, the “if and only if ” construction is sometimes expressed by an “if, then” or an “only if” construction with the other part being implied but not stated explicitly. In the statement “If you finish your meal, then you can have desert.” the intent is “You can have desert if and only if you finish your meal.” In propositional logic and in mathematics, we will always distinguish between the implication and the biconditional. We have the symbolism and terminology that makes this easy to do.
Example Problem. Construct a truth table for P Q P Q. Solution. There are only two elementary atomic propositions P, and Q so there will be 22 4 rows. The first column will be headed by P, the second by Q, and the last by P Q P Q. Looking at P Q P Q, we see that we will need a column for P Q and a column for P Q. Looking at P Q we see that we will need a column for Q. Thus the framework for the table is as follows. P Q Q P Q P Q P Q P Q
As noted earlier, we begin with
Continuing,we have P Q Q P Q P Q P Q P Q T T F T T T F T F F F T T F T F T T F F T F T T
The compound proposition P Q P Q is always true. It is another example of a tautology.
The precedence of the logical operators which have now been defined is given in the following table. Operator Precedence 1 2 3 4 5
Unless directed otherwise by parentheses, operators with higher precedence are applied before operators with lower precedence Examples. P Q means R Q where R is P while P Q means R where R is P Q.