Professional Documents
Culture Documents
Notation
If S is a set, the notation ‘x ∈ S’ means that ‘x is an element of S’.
‘x ∉ S’ means that ‘x is not an element of S’.
A variation of notation is sometimes used to describe a very large set, as when we write
{1, 2, 3, …, 100} to refer to the set of all integers from 1 to 100. A similar notation can
describe an infinite set, as when we write {1, 2, 3, …} to refer to the set of all positive
integers. The symbol ... is called an ellipsis and is read “and so forth.”
Roster Method
Method of listing elements of a set inside a pair of braces, { }. Commas are used to
separate elements.
For instance, use S to represent the set consisting of four seasons. Using the roster
method,
S = {spring, summer, fall, winter}
Exercises:
Use the roster method to write each of the given sets.
1. The set of the days in a week.
2. The set of months of a year starting with the letter “M”
3. The set of natural numbers less than 5.
4. The solution set of x + 5 = -1.
5. The set of negative integers greater than -4.
Answers:
1. {Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday}
2. {March, May}
3. The set of natural numbers is given by N = {1, 2, 3, 4, 5, 6, 7, …}. The set of natural
numbers less than 5 is {1, 2, 3, 4}
4. {-6}
5. The set of negative integer greater than -4 is {-3, -2, -1}. The integer zero is neither a
positive nor a negative integer.
Mathematics in the Modern World
Test Yourself:
Use the roster method to write each of the given sets.
1. The set of municipalities in Marinduque.
2. The set of the provinces in MIMAROPA Region.
3. The set of the first four prime numbers
4. The set of counting numbers larger than 11 and less than or equal to 19.
5. The set of negative integers between -5 and 7.
Set-Builder Notation
Set-builder notation is especially useful when describing infinite sets.
For instance, in set-builder notation, the set of natural numbers greater than 7 is written
as follows:
{ x |x ∈ N and x > 7 }
It is impossible to list all the elements of the set, but set-builder notation defines the set
by describing its elements.
Exercises:
Use set-builder notation to write the following sets.
1. The set of integers greater than -3
2. The set of whole numbers less than 1000
Answers:
1. { x |x ∈ I and x > -3 }
2. { x |x ∈ W and x < 1000 }
Test Yourself:
Use set-builder notation to write the following sets.
1. The set of integers less than 9.
2. The set of natural numbers greater than 4.
Subset of a Set
Set A is a subset of set B, denoted by “A ⊆ B”, if and only if every element of A is also an
element of B.
For example:
1. Consider the set of letters in the alphabet and the set of vowels {a, e, i, o, u}.
2. Every element of the set of vowels is an element of the set of letters in the alphabet.
3. Therefore, the set of vowels is said to be a subset of the set of letters in the alphabet.
Mathematics in the Modern World
Subset Relationship
A ⊆ A, for any set A. Every set is a subset of itself.
Ø ⊆ A, for any set A. The empty set is a subset of every set.
The notation “A B” is used to denote that A is not a subset of B. To show that A is not
a subset of B, it is necessary to find at least one element of A that is not an element of B.
Exercises:
Determine whether each statement is true or false.
1. {5, 10, 15, 20} ⊆ {0, 5, 10, 15, 20, 25, 30}
2. Whole numbers ⊆ Natural Numbers
3. Natural numbers ⊆ Whole Numbers
4. {2, 4, 6} ⊆ {2, 4, 6}
5. Ø ⊆ {0, 5, 10, 15}
Answers:
1. True; every element of the first set is an element of the second set.
2. False; 0 is a whole number, but 0 is not a natural number.
3. True; every element of a natural number is in the set of a whole number.
4. True; every set is a subset of itself.
5. True; the empty set is a subset of every set.
Test Yourself:
Determine whether each statement is true or false.
1. {1, 3, 5} ⊆ {1, 5, 9}
2. The set of counting numbers is a subset of the set of natural numbers.
3. Ø ⊆ U
4. {-6, 0, 11} ⊆ Integers
Ordered Pairs
Given elements a and b, the symbol (a, b) denotes the ordered pair consisting of a and b
together with the specification that a is the first element and b is the second element.
Two ordered pairs (a, b) and (c, d) are equal if, and only if, a = c and b = d. Symbolically,
(a, b) = (c, d) means that a = c and b = d
Exercises:
1. Is (2,1) = (1,2) ?
5 1
2. Is (3, 10) = (√9, 2) ?
3. What is the first element of (3,1)?
Answers:
1. No. Even though the pairs contain the same elements, the arrangement of the elements
matters. For two ordered pairs to be equal, the elements and its arrangement must be
similar to each other.
2. Yes. By simplifying the elements of the two ordered pairs, both pairs turned to be (3,
½). Because the simplified elements have the same arrangement, then the ordered pairs
are equal.
3. In the ordered pair (3,1), the first element is 3.
Test Yourself:
1. Is (0, 10) = (10, 0)?
2. Is (4, 33) = (22, 27)?
3. What is the first element of (5,2)?
Mathematics in the Modern World
Cartesian Products
Given sets A and B, the Cartesian product of A and B, denoted by A×B and read as “A
cross B,” is the set of ordered pairs (a, b), where a is in A, and b is in B.
Exercises:
Let A = {1, 2, 3,} and B = {u, v}
1. Find A×B.
2. Find B×A.
3. Find B×B.
4. How many elements are in A×B, B×A and B×B?
Answers:
1. A×B = {(1, u), (1, v), (2, u), (2, v), (3, u), (3, v)}
2. B×A = {(u, 1), (u, 2), (u, 3), (v, 1), (v, 2), (v, 3)}
Observe the answers in #1 and #2. It shows that A×B ≠ B×A.
3. B×B = {(u, u), (u, v), (v, u), (v, v)}
4. A×B has six elements. This is the number of elements in A multiplied by the number
of elements in B. 3 x 2 = 6.
B×A has six elements. This is the number of elements in B multiplied by the number of
elements in A. 2 x 3 = 6.
B×B has four elements. This is the number of elements in B multiplied by the number of
elements in B. 2 x 2 = 4.
Test Yourself:
Let Y = {a, b, c} and Z = {1, 2}.
1. Find Y×Z.
2. Find Z×Y.
3. Find Y×Y.
4. How many elements are in Y×Z, Z×Y and Y×Y?
Mathematics in the Modern World
RELATION
Let A and B be sets. A relation R from A to B is a subset of A×B (cross product). Given
an ordered pair (x, y) in A×B, x is related to y by R if, and only if, (x, y) is in R. The set
A is called the domain of R and the set B is called the co-domain.
Exercises:
Let A = {0, 1, 2} and B = {1, 2, 3}.
An element x in A is related to an element y in B if, and only if, x is less than y.
1. Find A×B.
2. Determine the set of all ordered pairs in A×B whose elements are related.
3. Is 0 R 2?
4. Is 1 R 1?
5. What are the domain and co-domain of R?
Answers:
1. A×B = { (0,1), (0,2), (0,3), (1,1), (1,2), (1,3), (2,1), (2,2), (2,3) }
Exercises:
Let A = {1, 2} and B = {1, 2, 3} and define a relation from A to B as follows:
Given any (x, y) ∈ A×B
𝑥−𝑦
(x, y) ∈ R means that is an integer.
2
Answers:
1. A×B = { (1,1), (1,2), (1,3), (2,1), (2,2), (2,3) }. To determine which ordered pairs are
related, examine each ordered pair in A×B to see whether its elements satisfy the defining
condition for R.
𝑥−𝑦
x and y are related if is an integer
2
1−1
For (1,1) = 0 , which is an integer. ∴ (1, 1) ∈ R
2
1−2 −1
For (1,2) = , which is not an integer. ∴ (1, 2) ∉ R
2 2
1−3
For (1,3) = -1 , which is an integer. ∴ (1, 3) ∈ R
2
2−1 1
For (2,1) = , which is not an integer. ∴ (2, 1) ∉ R
2 2
2−2
For (2,2) = 0 , which is an integer. ∴ (2, 2) ∈ R
2
2−3 −1
For (2,3) = , which is not an integer. ∴ (2, 3) ∉ R
2 2
Test Yourself:
Let Y = {0,1,2} and Z = {0,1} and define a relation R from A to B as follows: Given any
(x,y) ∈ Y×Z,
𝑥+𝑦
(x, y) ∈ R means that is an integer.
2
Exercise:
Let A = {1, 2, 3} and B = {1, 3, 5} and define relations S and T from A to B as follows: For
all (x, y) ∈ A×B,
(x, y) ∈ S means that x < y
T = {(2,1), (2,5)}
Answers:
1. S
1 1
2 3
3 5
A B
2. T
1 1
2 3
3 5
A B
Test Yourself:
Let A = {2, 6, 8} and B = {2, 3, 4} and let R be a relation from A to B as follows:
For all (x,y) ∈ A×B,
𝑥
(x, y) ∈ R means that is an integer.
𝑦
Functions
A function F from a set A to a set B is a relation with domain A and co-domain B that
satisfies the following two properties:
1. Every element of A is the first element of an ordered pair of F.
2. No two distinct ordered pairs in F have the same first element.
We think of a functions as sending elements from one set (domain), to another set (co-
domain). Each element in the domain corresponds to one and only one element of the
co-domain.
Notation
If A and B are sets and F is a function from A to B, then given elements x in A, the unique
element in B that is related to x by F is denoted by F(x), which is read as ”F of x.”
Exercise:
Let A = {2, 4, 6} and B = {1, 3, 5}.
Which of the relations R, S, and T defined below are functions from A to B?
a. R = { (2,5), (4,1), (4,3), (6,5) }
b. For all (x, y) ∈ A×B, (x, y) ∈ S means that y = x + 1.
c. T is defined by the arrow diagram.
Mathematics in the Modern World
Answer:
a. R is not a function because it does not satisfy property 2. The ordered pairs (4, 1)
and (4, 3) have the same first element.
b. S is not a function because it does not satisfy property 1. It is not true that every
element of A is the first element of an ordered pair in S. For example, 6 ∈ A but there is
no y in B such that y = 6 +1 = 7.
Test Yourself:
Let X = {a, b, c} and Y = {1, 2, 3, 4}. Which of the relations A, B and C defined below are
functions from X to Y?
Function Machines
Another way to think of a function is as a machine. Suppose f is a function from X to Y
and an input x of X is given. Imagine f to be a machine that processes x in a certain way
to produce the output f(x).
A function is an entity in its own right. It can be thought of as a certain relationship between
sets or as an input/output machine that operates according to a certain rule.
Exercise:
1. Given the following functions:
f(x) = | x | for all x ∈ ℝ
g(x) =(√𝑥) 2 for all x ∈ ℝ
Does f = g?
Answer:
1. No. Functions are equal only for the positive values of x, but if you try to put negative
values for x, f(x) will yield to positive real numbers while g(x) will give negative real
numbers.
Mathematics in the Modern World
Test Yourself:
Given the following functions:
a(x) = x2 for all x ∈ ℝ
b(x) = (-x)2 for all x ∈ ℝ
Does a = b?
Reference:
Mathematical Excursions, 14th Edition by Richard Aufmann, Joanne Lockwood, Richard D. Nation and
Daniel Clegg. ©2018, 2013 Cencage Learning
Mathematics in the Modern World © 2018 Rex Bookstore