Logic
Logic
Logic
RY LOGIC
MATHEMATICS IN THE MODERN WORLD
WHAT IS
LOGIC?
It allows us to determine the validity of
arguments in and out of Mathematics.
It is a science or discipline that deals with the
correct way of reasoning.
ARISTOTLE – the father of Logic, the first
person who organized the study of logic.
Logic comes from the Greek word “logos”
which means speech and reasoning.
PROPOSITION
01 02 03
A proposition is a TYPES OF PROPOSITION
Example:
• Simple – means single idea
declarative statement
that is, by itself, either The sun rise in the statement.
• Compound – conveys two
true or false “but not east every night. or more ideas can be
both”. created using logical
connectives.
To every proposition is assigned a truth value.
PROPOSITION
Typically, to denote a proposition, we shall use lower case letters
such as p, q, or r. these are called propositional variables or
sentential variables.
For instance,
p: the earth has two moons.
q: seven divides 21.
t: Samantha drives a pink Nmax.
LOGICAL OPERATORS / CONNECTIVES
SYMBOLIC TYPE OF
STATEMENTS OPERATORS
FORM STATEMENTS
e
3. r: 3 – 9 = 6
ANSWER:
1.
~p: √2 is not a rational number.
~p: √2 is an irrational number.
~p: It is not true that √2 is a
rational number.
What is the negation of the following statements?
e
3. r: 3 – 9 = 6
ANSWER:
2.
~q: 7 is not an even number.
~q: 7 is an odd number.
~q: It is not true that 7 is an even
number.
What is the negation of the following statements?
DEFINITION
Given propositions p and q, the statement “p and q”, is a
proposition known as the conjunction of p and 1. This
proposition is true if and only if p and q are both true. It
is denoted by p ^ q.
CONJUNCTION
“and” [ ^ ]
COMPO
UND EXAMPLE
Find the conjunction of the propositions p
OUND DEFINITION
PROPO Given propositions p and q, the
statement “p or q”, is a proposition
SITION known as the disjunction of p and q.
This proposition is true if and only if at
S least one of the p and q is true. It is
denoted by p v q.
Let’s try!
Given the following simple propositions, make a compound statement as being asked.
p: Rhea is counting her calories.
q: JD wants to eat dessert.
r: Suzzane needs to go to work.
s: Danielle is sick.
t: Shalom is getting married.
u: Ralph is excited.
v: Trishia wants to go to Paris
w: Trishia wants to go to London.
x: The dog is adorable.
y: The dog is playful.
p: Rhea is counting her calories. Given the following simple
q: JD wants to eat dessert. propositions, make a compound
statement as being asked.
r: Suzzane needs to go to work.
1. r ^ s
s: Danielle is sick.
2. t ^ u
t: Shalom is getting married.
3. x v y
u: Ralph is excited. 4. v v w
v: Trishia wants to go to Paris 5. p ^ ~q
w: Trishia wants to go to London. 6. ~(r v s)
x: The dog is adorable. 7. ~(x ^ ~y)
y: The dog is playful.
8. ~v ^ w
COMPOUND CONDITIONAL
PROPOSITIO “if-then” []
NS
DEFINITION
Given propositions p and q, the
statement “if p, then q”, is a
proposition known as the
conditional statement. This
statement is false only when the p is
true and q is false. It is denoted by p
q.
CONDITIONAL
COMP “if-then” []
PROPO EXAMPLE
SITION
Let p be the statement “Cyrus learns mathematics”
and q the statement “Cyrus will have a good job.”
express the statement p q as a statement in English.
und DEFINITON
Given propositions p and q, the
propos statement “p if and only if q”, is a
proposition known as the biconditional
itions statement. It is true whenever its
component p and q have the same truth
values. It is denoted by p q.
Compound BICONDITIONAL
propositio “if and only if” [
ns EXAMPLE
Let p be the statement “You can take
the flight” and let q be the statement
“You buy a ticket.” express the
statement p q as a statement in
English.
Let’s q: It is raining.
r: The ground is wet.
try!
1. q ~p
2. q r
3. r (q ^ ~p)
Let’s try!
Express the following sentential forms into compound proposition.
p: the sun is shining.
q: it is raining.
r: the ground is wet.
p q “If p, then q”
q p “If q, then p” CONVERSE
~p ~q “If not p, then not q” INVERSE
~q ~p “If not q, then not p” CONTRAPOSITIVE
EXAMPLE
p: Nicole is intelligent.
q: Nicole will study Mathematics.
FORMS Of conditional statements
EXAMPLE
p: Nicole is intelligent.
q: Nicole will study Mathematics.
a. Converse is q p:
If Nicole will study Mathematics, then she is intelligent.
b. Inverse is ~p ~q:
If Nicole is not intelligent, then she will not study Mathematics.
c. Contrapositive is ~q ~p:
If Nicole will not study Mathematics, then she is not intelligent.
FORMS Of conditional statements
p q “If p, then q”
q p “If q, then p” CONVERSE
~p ~q “If not p, then not q” INVERSE
~q ~p “If not q, then not p” CONTRAPOSITIVE
EXAMPLE
p: x is greater than 0.
q: x is positive.
FORMS Of conditional statements
EXAMPLE
p: x is greater than 0.
q: x is positive.
a. Converse is q p:
If x is positive, then it is greater than 0.
b. Inverse is ~p ~q:
If x is not greater than 0, then it is not positive.
c. Contrapositive is ~q ~p:
If x is not positive, then it is not greater than 0.
Translate English
sentence into
logical
expression
Express the following compound propositions
into sentential forms.
p: 10 is an even integer.
q: 11 is a prime number.
p: 10 is an even integer.
q: 11 is a prime number.
p: Yro is sleeping.
p: Yro is sleeping.
q: Yro is playing badminton.
r: Renz is studying.
t: Renz is taking a bath.