Lesson 01: The Building Blocks of Discrete Mathematics Mathe2 Discrete Mathematics
Lesson 01: The Building Blocks of Discrete Mathematics Mathe2 Discrete Mathematics
MATH E 2
Discrete Mathematics
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 1 / 15
Basic Concepts and Terminology
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 2 / 15
Set Theory
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 3 / 15
Logic
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 4 / 15
Propositions:
Examples:
The sky is blue.
2 + 2 = 5.
Water boils at 100 degrees C at sea level.
I am hungry.
Is it raining?
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 5 / 15
Constructing Compound Propositions
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 6 / 15
Constructing Compound Proposition
If p denotes “The grass is green”, then ¬p denotes “ It is not the case that the grass is
green”, or more simply, “.The grass is not green”.
My dog is the cutest dog.
The door is not open.
Are we there yet?
Truth Table for Negation (¬P):
P ¬P
T F
F T
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 7 / 15
Constructing Compound Proposition
P Q P∧Q
T T T
T F F
F T F
F F F
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 8 / 15
Constructing Compound Proposition
P Q P∨Q
T T T
T F T
F T T
F F F
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 9 / 15
Constructing Compound Proposition
XOR is a logical operation that returns true if exactly one of the conditions is true, but
false if both conditions are the same (both true or both false).
Truth Table for Exclusive OR (XOR) (P ⊕ Q):
P Q P⊕Q
T T F
T F T
F T T
F F F
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 10 / 15
Constructing Compound Proposition
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 11 / 15
Practice Problems:
Instructions: Translate the following sentences into logical symbols. Use p, q, and r as
your variables and define them clearly.
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 12 / 15
Converse, Inverse, Contrapositive
Example:
It is raining is a sufficient condition for me not going to town.
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 13 / 15
Practice Problems:
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 14 / 15
Constructing Compound Statement
Rene L. Duhilag Jr. (CTU,Main Campus) Chapter 01- The Building Blocks of Discrete Mathematics February 24, 2025 15 / 15