Professional Documents
Culture Documents
A proposition is a declarative sentence (that is, a sentence that declares a fact) that is either
true or false, but not both. It is also called a statement.
Notation:
the conventional letters used for propositional variables are p, q, r, s etc. The truth
value of a proposition is true, denoted by T, if it is a true proposition, and the truth value of a
proposition is false, denoted by F, if it is a false proposition.
Propositional Calculus:
The area of logic that deals with propositions is called the
propositional calculus or propositional logic. It was first developed systematically
by the Greek philosopher Aristotle more than 2300 years ago.
Negation:
Statement Negation
They are used to form new compound propositions from two or more existing
propositions. The logical operators are also called connectives.
For example, p: today is Friday.
q: it is raining today.
Compound proposition is,
r: today is Friday and it is raining today.
Logical operators ( connectives)
Conjunction (AND)
Disjunction (OR)
Exclusive or (XOR)
Implication (if- then)
Biconditional (if and only if)
Conjunction:
Let p and q be propositions. The conjunction of p and q is the compound proposition. It
is denoted by p ∧ q and read as “p and q.” The conjunction p ∧ q is true when both p and q are
true and is false otherwise.
The Truth Table for the Conjunction
For example,
of Two Propositions.
p: “it is cold.”
p q p∧q
q: “it is raining.”
T T T
p ∧ q: “it is cold and it is raining.” T F F
F T F
F F F
Disjunction:
Let p and q be two statements. The disjunction of p and q is the compound
proposition.it is denoted by p ∨ q and read as “p or q.” The disjunction p ∨ q is false when
both p and q are false and is true otherwise.
The Truth Table for the Disjunction of
For example,
Two Propositions.
P: “it is cold.”
Q: “it is raining.” p q p∨q
p ∨ q: “it is cold or it is raining.” T T T
T F T
F T T
F F F
Conditional Statement p → q.
p → q: “if i am elected, then I will lower the taxes.”
P: “I am elected.” p q p→q
T T T
q: “ I will lower the taxes.” T F F
F T T
Biconditional Proposition: F F T
(p → q) ∧ (q → p).
Example: Let p be the statement “You can take the flight,” and let q be the statement
“You buy a ticket.” Then p ↔ q is the statement
“You can take the flight if and only if you buy a ticket.”
This statement is true if p and q are either both true or both false.