Logic and Proposition
Logic and Proposition
A proposition (or statement) is a declarative statement which is true or false, but not both.
i.
ii.
iii. iv. v. vi.
Ice floats in water. China is in Europe. 2+2=4 2+2=5 Where are you going? Do your homework.
Many propositions are composite, that is, composed of subpropositions and various connectives discussed subsequently. Such composite propositions are called compound propositions. A proposition is said to be primitive if it cannot be broken down into simpler propositions, that is, if it is not composite.
Primitive proposition:
Compound proposition:
Roses are red and violets are blue. John is smart or he studies every night.
Let p be a proposition. The negation of p, denoted by p (also denoted by p), is the statement It is not the case that p. The proposition p is read not p. The truth value of the negation of p, p, is the opposite of the truth value of p.
a1) Ice floats in water. a2) It is false that ice floats in water. a3) Ice does not float in water. b1) 2 + 2 =5 b1) It is false that 2 + 2 = 5. b1) 2 + 2 5
Any two propositions can be combined by the word or to form a compound proposition called the disjunction of the original propositions. Symbolically, pq The proposition p q is read p or q, denotes the disjunction of p and q.
Any two propositions can be combined by the word and to form a compound proposition called the conjunction of the original propositions. Symbolically, pq The proposition p q is read p and q, denotes the disjunction of p and q.
Let P(p, q, . . .) denote an expression constructed from logical variables p, q, . . ., which take on the value TRUE (T) or FALSE (F), and the logical connectives , , and . Such an expression P(p, q, . . .) will be called a proposition.
Remarks: In order to avoid an excessive number of parentheses, we sometimes adopt an order of precedence for the logical connectives. Specifically, has precedence over which has precedence over
not (p q)
and
j p q p j q
1 2
Simply:
( j p ) ( q ( p )) ( j ( q ))
Note: For 2 variables, as above, 4 rows are necessary; for 3 variables, 8 rows are necessary; and, in general, for n variables, 2n rows are required.
(jpq)
F F F T F T F T
1. 2. 3. 4.
Let p and q be propositions. The conditional statement p q is the proposition if p, then q. The conditional statement p q is false when p is true and q is false, and true otherwise.
Let p and q be propositions. The biconditional statement p q is the proposition p if and only if q. The biconditional statement p q is true when p and q have the same truth values, and is false otherwise.
Prepared by: Engr. Francis A. Malabanan ECE, Instructor First Asia Institute of Technology and Humanities