Elementary Logic
Elementary Logic
LOGIC
1
DEFINITION
¢ greek word “logos” meaning an idea, an argument
or a reason.
3
Examples:
1. x – 6 = 4
2. She wrote the book
”Mathematics in the Modern World”.
¢ These
sentences are called open
sentences.
COMPOUND PROPOSITION
¢ Definition
3. Implication
4. Bi-conditional
5. Negation
8
LOGICAL CONNECTIVES
Name Connective Symbol
(key word)
Conjunction and ⋀
Disjunction or ⋁
Negation not ~ , – or ¬
9
A. CONJUNCTION
¢ Denoted by p ^ q read as “p and q”
¢ The only way for a conjunction to be true
is when all its components are true.
p q P^q
T T T
T F F
F T F
F F F
B. DISJUNCTION
¢ Denoted by p v q read as “p or q”
¢ The only way for a disjunction to be false
is when all its components are false.
p q P^q
T T T
T F T
F T T
F F F
C. NEGATION
¢ Denoted by ~p read as “not p” or “it is
false that” or “it is not true that”
¢ Denial of a statement
p ~p
T F
F T
D. CONDITIONAL (IMPLICATION)
¢ Denoted by p → q read as “if p… then q”
¢ p is the antecedent or hypothesis
¢ q is the consequent or conclusion
¢ The only way for an implication to be false is
when p is true and q is false
p q P^q
T T T
T F F
F T T
F F T
VARIANTS OF A CONDITIONAL STATEMENT
IMPLICATION : P → Q
CONVERSE : Q → P
INVERSE : ¬P → ¬Q
CONTRAPOSITIVE : ¬Q → ¬P
14
EXERCISE 1
Symbolize the statement, using capital letters to abbreviate
the simple statements or propositions ( stated positively)
1. If Neil is not a big eater or Len has a big voice,
then Jerry likes violet.
State the premises first:
¢ N: Neil is a big eater
2. A man should look for what he is, and not for what
he thinks should be (Albert Einstein).
¢ P: a man should look for what he is
15
¢ Q: a man should look for he thinks should be
EXERCISE 2:
Write the following in If-Then form
1. The product of two odd integers is
an even integer.
2. Every integer that is not odd is
divisible by 2.
3. A function has an inverse if it is
one-to-one.
16
EXERCISE3:
Give the converse, inverse, and
contrapositive of the following conditional
statements.
1. If you are more than 60 years old, then you are
entitled to a Senior Citizen's Card.
2. If x = 5, then x2 = 25.
17
E. BI-CONDITIONAL (DOUBLE
IMPLICATION)
¢ Denoted by p ↔ q read as “p if and only if q”
¢ The only way for a double implication to be
false is when p and q have different truth
values.
p q P^q
T T T
T F F
F T F
F F T