Logic
Logic
LOGIC
CONTENTS
Propositional Logic 19
Truth Table 20
Connectives and Operations between Propositions 20
Types of Statements 21
Inverse, Converse, and Contrapositive 22
Universal and existential quantifiers 22
Negation of Propositions 22
Methods of Proofs 23
Duality Principle 23
PROPOSITIONAL LOGIC
Propositional logic, also known as sentential logic or statement logic, is
a branch of logic which deals with propositions and their interrelationships. A
proposition is a statement which is either true or false. The term proposition is
sometimes used synonymously with statement. There are two logical values: true
and false, denoted by T and F, respectively.
q: = If 𝑥 = −1 then 𝑥 2 + 1 = 0.
The logical value of the proposition q is false.
20 Olaniyi Evans | University Mathematics
TRUTH TABLE
The truth table is used to show whether a proposition is logically valid. It has
one column for each proposition (for example, p and q), and one final column
showing all of the possible results of the logical operation that the table
represents. Each row contains one possible configuration of the propositions
(e.g., p = true, q = false), and the result of the operation for those values.
Table 2.1 Truth Table
Relation p T T F F
q T F T F
conjunction 𝑝 ∧ 𝑞 T F F F
disjunction 𝑝 ∨ 𝑞 T T T F
implication 𝑝 ⇒ 𝑞 T F T T
equivalence 𝑝 ⇔ 𝑞 T F F T
Example: p: The President is coming The truth table for negation looks like
today. this:
~𝑝: The President is not p ~𝑝
coming today. T F
F T
https://unimath.5profz.com/