M1(4,5&6)

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 52

DISCRETE

MATHEMATICS

JEMSHEENA P S
ASSISTANT PROFESSOR
Module I

Ma ematical
Logic
EQUIVALENCE AND
IMPLEMENTATION,
LAWS
OF LOGIC,
QUANTIFIERS
EQUIVALENCE AND
1
IMPLEMENTATION

C
O
N
CONTENTS 2 LAWS OF LOGIC,
T
E
N
T
S

3 QUANTIFIERS
Two logical formulas p and q are logically equivalent, denoted
p≡q, if and only if p⇔q is a tautology.
Duality Law
Tautological Implications
QUANTIFIERS
propositional function, or a predicate

Definition: A propositional function, or a predicate, in a


variable x is a sentence P(x) involving x that becomes a
proposition when we give a definite value from the set of
values it can take. We usually denote such functions by
p(x), q(x), etc. The set of values x can take is called the
universe of discourse.
propositional function, or a predicate
Example 1: Let P(x) denote the statement “x > 10″.
What are the truth values of P(11) and P(5)?
Solution:

P(11) is equivalent to the statement 11 > 10, which is True.


P(5) is equivalent to the statement 5 > 10, which is False.

Example 2: Let R(x,y) denote the statement “x = y + 1“. What is the truth value of
the propositions R(1,3) and R(2,1)?
Solution:

R(1,3) is the statement 1 = 3 + 1, which is False.

R(2,1) is the statement 2 = 1 + 1, which is True.


Consider the statement, “x is greater than 3″. It has two parts. The first
part, the variable x, is the subject of the statement. The second part, “is
greater than 3”, is the predicate. It refers to a property that the subject of
the statement can have.
The statement “x is greater than 3″ can be denoted by
P(x) where P denotes the predicate “is greater than 3” and x is the
variable.
The predicate P can be considered as a function. It tells the truth value
of the statement P(x) at x. Once a value has been assigned to the
variable x, the statement P(x) becomes a proposition and has a truth or
false(tf) value.
In general, a statement involving n variables x1, x2, x3,.. , xn can be
denoted by P(x1, x2, x3,.. , xn). Here P is also referred to as n-place
predicate or a n-ary predicate.
QUANTIFIERS

In predicate logic, predicates are used alongside quantifiers to


express the extent to which a predicate is true over a range of
elements. Using quantifiers to create such propositions is called
quantification. The variable of predicates is quantified by quantifiers.

There are two types of quantification-

1. Universal Quantification
2. Existential Quantification
PROBLEMS
THANK YOU

You might also like