3-PROPOSITIONAL-LOGIC
3-PROPOSITIONAL-LOGIC
PROPOSITIONAL LOGIC
MATHEMATICAL LOGIC
Propositions
A proposition is any declarative sentence
that is either true or false, but not both.
Example
Which of the following are propositions?
a. Today is Wednesday.
b. Did you pass the first quiz?
c. 19 - 12 = 10
d. Exercise regularly.
e. 35 – x = 24
Propositions
Solution
a. The statement “Today is Wednesday “ is a
proposition. It may be true or not.
b. The statement ”Did you pass the first quiz?” is
not a proposition. It is not declarative.
c. The equation 19 - 12 = 10 is false. Thus, it is a
proposition
d. The statement “Exercise regularly.” is not
declarative. Hence, it is not a proposition.
e. The equation 35 – x = 24 is conditional. It is
not considered true or false unless the value
of x is given.
Logical Connectives
A proposition is said to be atomic or simple
if it cannot be further subdivided. When two or
more atomic propositions are combined using
logical connectives a compound proposition is
formed.
if p then q p implies q
if p, q p only if q
p is sufficient for q q if p
q whenever p q is necessary for p
q when p q follows from p
q unless not p
The Conditional Statement
Example
Rewrite each of these statements in the
form "if p then q".
a. Jason will take up master’s degree if he
graduates with honors.
b. Classes are automatically suspended
whenever storm signal is raised to level 3.
c. Sara gets a good grade unless she will
not comply with all the requirements.
d. Studying hard is sufficient for getting a
good grade.
The Conditional Statement
Solution
a. If Jason graduates with honors then he will take
up master’s degrees.
b. If storm signal is raised to level 3 then classes
are automatically suspended .
c. If Sara complied with all the requirements then
she will get a good grade.
d. If you study hard then you will get a good grade.
Converse, Inverse, Contrapositive
Given a conditional statement p → q , then the
i. converse is defined as q → p ;
ii. inverse is defined as p → q ; and
iii. contrapositive is defined as q → p.
Example
Determine the converse, inverse, and
contrapositive of the conditional statement: