Professional Documents
Culture Documents
Lesson 3 Logic - 1554677709
Lesson 3 Logic - 1554677709
SLIDESMANIA
LOGIC
Statement
How are you?
SLIDESMANIA
Not
Go get the light stick.
SLIDESMANIA
Not
1+3 is a prime number.
SLIDESMANIA
Statement
𝑥+1=5
SLIDESMANIA
Statement
Today is a nice day.
SLIDESMANIA
Not
COMPOUND STATEMENTS
Statement Answer
2. The dog does not need to be fed. 2. The dog need s to be fed.
then Conditional
If
If and
and only
only if
if Bi-conditional
Bi-conditional
CONNECTIVES
Conjunction
● The
conjunction is the joining of two statements p and q denoted by
.
● The connective ‘and’ implies ‘both’ is denoted by the symbol .
SLIDESMANIA
CONNECTIVES
Disjunction
● The
disjunction of p and q is the compound statement “p or q”
denoted by .
● The connective ‘or’ implies ‘either’ is denoted by the symbol .
SLIDESMANIA
Connectives
Translate the following statements into
Consider the following simple statements.
symbolic form.
1. Today is Friday and it is
p: Today is Friday. raining.
q: It is raining.
r: I am going to a movie.
s: I am not going to the
basketball game.
SLIDESMANIA
Connectives
Translate the following statements into
Consider the following simple statements.
symbolic form.
2. It is not raining and I am going to
p: Today is Friday. a movie.
q: It is raining.
r: I am going to a movie.
s: I am not going to the
basketball game.
SLIDESMANIA
Connectives
Translate the following statements into
Consider the following simple statements.
symbolic form.
3. Either I am going to the
p: Today is Friday. basketball game or I am going to a
movie.
q: It is raining.
r: I am going to a movie.
s: I am not going to the
basketball game.
SLIDESMANIA
Connectives
Translate the following statements into
Consider the following simple statements.
symbolic form.
4. If it is raining, then I am not
p: Today is Friday. going to the basketball game.
q: It is raining.
r: I am going to a movie.
s: I am not going to the
basketball game.
SLIDESMANIA
Connectives
Translate the following symbolic form into
Consider the following simple statements.
English statements.
1. q˄p
p: The game will be played at
Araneta.
q: The game will be shown on tv5. The game will be shown on
r: The game will not be shown on TV5 and it will played at
gma7.
Araneta.
s: The ginebra is favored to win.
SLIDESMANIA
Connectives
Translate the following symbolic form into
Consider the following simple statements.
English statements.
2. ~r˄s
p: The game will be played at
Araneta.
q: The game will be shown on tv5. The game will be shown on
r: The game will not be shown on GMA7 and Ginebra is favored
gma7.
to win.
s: The ginebra is favored to win.
SLIDESMANIA
Connectives
Translate the following symbolic form into
Consider the following simple statements.
English statements.
3. s~p
p: The game will be played at
Araneta.
q: The game will be shown on tv5. The Ginebra is favored to win
r: The game will not be shown on if and only if the game will not
gma7.
be played at Araneta.
s: The ginebra is favored to win.
SLIDESMANIA
Conditional and
Biconditional
Statements
SLIDESMANIA
CONDITIONAL STATEMENTS
● If
p and q be two statements, then the statement can be read as “If
p, then q.”
● The symbol is used “if, then”.
● In pq, the statement p is called the hypothesis while the statement q
is called conclusion.
“If you participate in class, then you will get extra points.”
SLIDESMANIA
CONDITIONAL STATEMENTS
● Every
conditional statement has three related statements. They are
called the converse, the inverse, and the contrapositive.
Converse: The converse of is .
Inverse: The inverse of is .
Contrapositive: The contrapositive of is .
SLIDESMANIA
CONDITIONAL STATEMENTS
Converse: If we will not have a quiz tomorrow, then we will have a quiz
today.
Inverse: If we will not have a quiz today, then we will have a quiz
tomorrow.
● If
p and q be two statements, then the statement can be read as “ p if
and only if q.”
● Biconditional statements only happen if can be switched to or
p: A citizen is eligible to vote.
q: A citizen is at least 18 years old.
pq : A citizen is eligible to vote if and only if he is at least 18 years old.
SLIDESMANIA
BICONDITIONAL STATEMENTS
Negation
Statement
All X are Y. Some X are not Y.
No X are Y. Some X are Y.
Some X are not Y. All X are Y.
Some X are Y. No X are Y.
SLIDESMANIA
QUANTIFIERS
Statement Negation
1.No airports are open. 1. Some airports are open.
2.Some movies are not worth 2. All movies are worth the
the price of admission. price of admission.
A logical statement having n components will have rows in its truth table.
SLIDESMANIA
TRUTH TABLE
Negation
T F
F T
SLIDESMANIA
TRUTH TABLE
Conjunction
● The
conjunction is true
T T T if and only if both p and
q are true.
T F F
F T F
SLIDESMANIA
F F F
TRUTH TABLE
Disjunction
● The
disjunction is true if
T T T at least one of the
components is true, and
T F T
false if both components
F T T are false.
SLIDESMANIA
F F F
TRUTH TABLE
Conditional
● The
conditional statement is
false if and only if the
T T T
hypothesis is true(T) and the
T F F conclusion is false(F), otherwise
F T T it is true.
SLIDESMANIA
F F T
TRUTH TABLE
Biconditional
● The
biconditional statement
is true if and only if the
T T T
hypothesis and conclusion is
T F F both true or both false.
F T F
SLIDESMANIA
F F T
Try this! Under what specific conditions is the following compound statement true?
Translate in symbolic form.
SLIDESMANIA
Try this! Under what specific conditions is the following compound statement true?
𝒑 ∨( 𝒒 ∧ 𝒑)
p q 𝒑∨(𝒒∧~𝒑)
T T
T F
F T
F F
SLIDESMANIA
Try this! Under what specific conditions is the following compound statement true?
𝒑 ∨( 𝒒 ∧ 𝒑)
p q 𝒑∨(𝒒∧~𝒑)
T T F
T F F
F T T
F F T
SLIDESMANIA
Try this! Under what specific conditions is the following compound statement true?
𝒑 ∨( 𝒒 ∧ 𝒑)
p q 𝒑∨(𝒒∧~𝒑)
T T F F
T F F F
F T T T
F F T F
SLIDESMANIA
Try this! Under what specific conditions is the following compound statement true?
𝒑 ∨( 𝒒 ∧ 𝒑)
p q 𝒑∨(𝒒∧~𝒑)
T T F F T
T F F F T
F T T T T
F F T F F
SLIDESMANIA
TAUTOLOGY