Professional Documents
Culture Documents
Table of Contents
Propositions
1 The Language of
The Truth Table
Mathematics
Negation
Characteristics of
Logical Connectives
Mathematical Language
Implications
2 Expressions vs. Sentences Converse, Inverse,
Truth of Sentences Contrapositive
3 Unary and Binary Operations Quantifiers
4 Some Fundamentals of Logic Compound Quantifiers
Consider the sentence ”The sum of any two real numbers is also a
real number.” In mathematical notation, this declarative sentence
can be written as:
∀a, b, ∈ R, a + b ∈ R
Example
Write as English sentences and say whether they are true or false.
1 ∀x ∈ R, x 2 ≥ 0
2 ∀x, y ∈ R, (x + y )2 = x 2 + 2xy + y 2
3 ∃m, n ∈ Z|m − n ≤ m + n
4 ∀a, b ∈ Q, ab = 0 ⇒ a = 0 ∨ b = 0
Example (Solution)
1 For any real number x, its square is greater than or equal to
0.
Example (Solution)
1 For any real number x, its square is greater than or equal to
0. TRUE
Example (Solution)
1 For any real number x, its square is greater than or equal to
0. TRUE
2 For any real numbers x and y , the square of their sum is equal
to the sum of their squares plus twice their product.
Example (Solution)
1 For any real number x, its square is greater than or equal to
0. TRUE
2 For any real numbers x and y , the square of their sum is equal
to the sum of their squares plus twice their product. TRUE
Example (Solution)
1 For any real number x, its square is greater than or equal to
0. TRUE
2 For any real numbers x and y , the square of their sum is equal
to the sum of their squares plus twice their product. TRUE
3 There exist integers m and n such that m minus n is less than
or equal to m plus n.
Example (Solution)
1 For any real number x, its square is greater than or equal to
0. TRUE
2 For any real numbers x and y , the square of their sum is equal
to the sum of their squares plus twice their product. TRUE
3 There exist integers m and n such that m minus n is less than
or equal to m plus n. TRUE
Example (Solution)
1 For any real number x, its square is greater than or equal to
0. TRUE
2 For any real numbers x and y , the square of their sum is equal
to the sum of their squares plus twice their product. TRUE
3 There exist integers m and n such that m minus n is less than
or equal to m plus n. TRUE
4 For any rational numbers a and b, if their product is zero then
either a equals zero or b equals zero.
Example (Solution)
1 For any real number x, its square is greater than or equal to
0. TRUE
2 For any real numbers x and y , the square of their sum is equal
to the sum of their squares plus twice their product. TRUE
3 There exist integers m and n such that m minus n is less than
or equal to m plus n. TRUE
4 For any rational numbers a and b, if their product is zero then
either a equals zero or b equals zero. TRUE
Example
Write as mathematical sentences. Discuss how the word ”is” is
used.
1 Ten is the square root of 100.
2 Ten is greater than 9.
3 Ten is an even number.
4 Ten is a multiple of 5.
Example (Solution)
√
1 100 = 10
Example (Solution)
√
1 100 = 10
2 10 > 9
Example (Solution)
√
1 100 = 10
2 10 > 9
3 10 ∈ {2n, n ∈ N}
Example (Solution)
√
1 100 = 10
2 10 > 9
3 10 ∈ {2n, n ∈ N}
4 10 ∈ {5n, n ∈ N}
Example (Solution)
√
1 100 = 10
2 10 > 9
3 10 ∈ {2n, n ∈ N}
4 10 ∈ {5n, n ∈ N}
If you notice, the word ”is” could mean equality, inequality, or
membership in a set. In the first example, ”is” is used for
equality, in the second for inequality, and in the third, and
fourth, it is used to say that the number 10 belongs to the set
of multiples of 2 and the set of multiples of 5.
Example
1 Addition (e.g., 4 + 5 = 9)
2 Subtraction (e.g., 10 − 8 = 2)
∀x, y , ∈ R, x + y ∈ R and x · y ∈ R
∀x, y ∈ R, x + y = y + x (addition)
∀x, y ∈ R, x · y = y · x (multiplication)
For example:
1 + 2 = 2 + 1 (addition)
2·3=3·2 (multiplication)
∀x, y , z ∈ R, (x + y ) + z = x + (y + z).
∀x, y , z ∈ R, (x · y ) · z = x · (y · z).
∀x ∈ R, x + (−x) = −x + x = 0.
Example
Each of the following statements is a proposition. Some are true
and some are false. Can you tell which are true, and which are
false? If it is false, state why.
1 9 is a prime number.
2 5+3=8
3 x2 + y2 ≥ 0
4 10 < −3
Example (Solution)
1 False. Prime numbers have no other factors than 1 and itself.
9 can be expressed as 3 · 3.
2 True.
3 True.
4 False. A negative number is always less than a positive
number.
P ¬P
T F
F T
Example
What is the negation of the following statements?
√
1 P : 2 is a rational number.
2 R : 6 is an odd number.
Example (Solution)
√ √
1 2 is a not rational number or 2 is irrational. In symbols,
¬P.
2 6 is not an odd number or 6 is an even number. In symbols,
¬R.
P Q P ∧Q P ∨Q
T T T T
T F F T
F T F T
F F F F
P implies Q
Q if P
Q is implied by P
Q only if P
P Q P⇒Q
T T T
T F F
F T T
F F T
P ⇔ Q ≡ (P ⇒ Q) ∧ (Q ⇒ P).
Try to construct the truth table for the logical operator ⇔ and
check that indeed it is equivalent to (P ⇔ Q) ∧ (Q ⇔ P). A
biconditional is often stated as,
P if and only if Q
or
P is necessary and sufficient for Q.
Jonwille Mark Castro Mathematical Language and Symbols
Propositions
The Truth Table
The Language of Mathematics Negation
Expressions vs. Sentences Logical Connectives
Unary and Binary Operations Implications
Some Fundamentals of Logic Converse, Inverse, Contrapositive
Quantifiers
Compound Quantifiers
Example
Write the following in symbolic form using P, Q, and R for
statements and the symbols ¬, ∧, ∨, ⇒, ⇔ where
Example
1 If Pres. Duterte is a good president, then government officials
are not corrupt.
2 If government officials are not corrupt, then the people are
happy.
3 If Pres. Duterte is a good president and people are happy,
then government officials are not corrupt.
4 Pres. Duterte is not a good president if and only if
government officials are corrupt and the people are not happy.
Example (Solution)
1 P ⇒ ¬Q
2 ¬Q ⇒ R
3 P ∧ R ⇒ ¬Q
4 ¬P ⇔ (Q ∧ ¬R)
Example
Give the converse, inverse, and contrapositive of the following
implications:
1 If this movie is interesting, then I am watching it.
2 If p is a prime number, then it is odd.
Example (Solution)
1 Inverse: If this movie is not interesting, then I am not
watching it.
Converse: If I am watching this movie, then it is interesting.
Contrapositive: If I am not watching this movie, then it is not
interesting.
2 Inverse: If p is not a prime number, then it is not odd.
Converse: If p is and odd number, then it is prime.
Contrapositive: If p is not odd, then it is not a prime number.
Example
Identify three simple propositions in the statement below and label
them P, Q, and R. Then express symbolically the statement using
the logical operators ∧, ∨, ⇒, ⇔ or ¬.
Example (Solution)
Let P: A function f has an inverse.
Q f is one-to-one.
R: f is onto.
Then using the mathematical symbols, the statement is equivalent
to P ⇔ (Q ∧ R). The statement can also be written as
[P ⇒ (Q ∧ R)] ∧ [(Q ∧ R) ⇒ P].
Example
Write as an English sentence and determine if it is true or false.
1 ∀x ∈ R, ∃y ∈ R|x + y = 10
2 ∀x ∈ Z+ , ∃y ∈ R|y 2 = x
Example (Solution)
1 For every real number x, there exists a real number y such
that the sum of x and y is equal to 10. TRUE
2 For every positive integer x, there exists a real number y such
that the square of y is equal to x. TRUE