MAT01A1
Numbers, Inequalities and Absolute Values
Appendix A
Numbers and Sets
A number is a mathematical object used to
count, measure and label. Numbers are
classified into sets, called number systems,
such as the natural numbers and the real
numbers.
I We start with the natural numbers:
N = {0, 1, 2, . . .}.
I To this set we add the negative whole
numbers and get the integers:
Z = {. . . , −3, −2, −1, 0, 1, 2, 3, . . .}.
I The rational numbers, denoted Q,
are ratios of integers. Thus, any rational
number r can be expressed as r = m n
where m and n are integers and n 6= 0.
I Examples of rational numbers are
1 3 46 17
− 46 = 0.17 =
2 7 1 100
I Division by 0 is not allowed, so
expressions like 03 and 00 are undefined.
√
I Some numbers, such as 2, π, log10 2,
can’t be expressed as a ratio of integers
and are therefore called irrational
numbers.
I The set of real numbers, denoted R,
consists of the rational numbers
together with the irrational numbers.
Complex numbers
Real numbers Imaginary numbers
Rational numbers Irrational numbers
Integers
Natural numbers
Note: The complex numbers will be discussed in
next week.
I If the number is rational, the correspon-
ding decimal is repeating. For example,
1
= 0.50000... = 0.50
2
2
= 0.666666... = 0.6
3
157
= 0.317171717... = 0.317
495
9
= 1.285714285714... = 1.285714
7
I The bar indicates that the sequence of
digits repeats forever.
I On the other hand, if the number is
irrational, the decimal is non-repeating:
√
2 = 1.414213562373095 . . .
π = 3.141592653589793 . . .
I If we stop the decimal expansion of any
number at a certain place, we get an
approximation to the number. For
instance,
π ≈ 3.14159265
I We say a is less than b and write
a < b if b − a is positive.
I Equivalently, we say b is greater than
a and write b > a.
I When we write a ≤ b (or b ≥ a) we
mean that either a < b or a = b and we
read it as “a is less than or equal to b”.
I For instance,
7 < 7.4 < 7.5 −3<π 3<π
√ √
2<2 2≤2 2 ≤ 2.
We use this order property of R to represent
real numbers as points on a line, which is
called a real number line, or simply a real
line.
√
−2.63 − 37 1
2 2 π
−3 −2 −1 0 1 2 3 4
The positive direction (to the right) is
indicated by an arrow.
We will make use of sets of numbers.
I A set is a collection of objects, and
these objects are called the elements
of the set.
I If S is a set, then the notation a ∈ S
means that a is an element of S.
I On the other hand, a ∈ / S means that a
is not an element of S.
I For example, −3 ∈ Z but π ∈ / Z.
I Some sets can be described by listing
their elements between braces.
I For instance, the set A consisting of all
positive integers less than 7 can be
written as
A = {1, 2, 3, 4, 5, 6}.
I We can also write A in set-builder
notation as
A = {x ∈ Z | 0 < x < 7}.
Note: A chain of inequalities like 0 < x < 7 means
that x greater than 0 and x is less than 7.
Sets can be combined to form new sets.
I If A and B are sets, then their union
A ∪ B is the set consisting of all
elements that are in A or B (or in both
A and B).
I The intersection of A and B is the set
A ∩ B consisting of all elements that
are both in A and B. In other words,
A ∩ B is the common part of A and B.
Example: Find A ∪ B and A ∩ B if A =
{1, 2, 3, 4} and B = {3, 4, 5, 6}.
Solution:
A ∪ B = {1, 2, 3, 4, 5, 6}
and
A ∩ B = {3, 4}
Suppose A = {1, 2} and B = {1, 2, 3, 4}.
I Here every element of A is also an
element of B.
I In this case we say that A is a subset
of B and write A ⊆ B.
I For example, N ⊆ Q and Q ⊆ R.
I The empty set, denoted by ∅, is the set
that contains no element. The empty
set is a subset of every other set.
Exercise: Let A = {a, b, c}. State whether
each of the following is true or false:
1. a ∈ A 4. {a} ⊆ A
2. {a} ∈ A 5. {a, b, c} ⊆ A
3. b ⊆ A 6. ∅ ⊆ A
Exercise: List all the elements of the
following sets:
1. {x ∈ R | x2 − 3x = 4}
2. {x ∈ Z | −3 ≤ x ≤ 3 and x2 − 3x 6= 4}
3. {x ∈ N | x is an odd and x < 10}
4. {x ∈ Z | −3 < x < 3 and x2 = 9}
Exercise: Describe the following sets using
set-builder notation:
1. {2, 4, 6, 8}
2. {0, 1, 8, 27, 64, 125, . . .}
3. {−3, 3}
I An interval is a subset of R that
contains all real numbers between two
endpoints.
I If a < b, the open interval from a to b
is the set
(a, b) = {x ∈ R | a < x < b}.
Notice that the endpoints of the interval
a and b are excluded. This is indicated
by round brackets ( ) and by open dots
on the real line.
I The closed interval from a to b is the
set
[a, b] = {x ∈ R | a ≤ x ≤ b}.
Here the endpoints of the interval are
included. This is indicated by square
brackets [ ] and by solid circles on the
real line.
I We also need to consider infinite
intervals such as
(a, ∞) = {x ∈ R | x > a}.
This does not mean ∞ is a number.
The notation (a, ∞) denotes the set of
all real numbers greater than a, so ∞
simply indicates that the interval extends
indefinitely far in the positive direction.
Interval Set description Picture
(a, b) {x ∈ R | a < x < b}
a b
[a, b] {x ∈ R | a ≤ x ≤ b}
a b
[a, b) {x ∈ R | a ≤ x < b}
a b
(a, b] {x ∈ R | a < x ≤ b}
a b
(a, ∞) {x ∈ R | x > a}
a
[a, ∞) {x ∈ R | x ≥ a}
a
(−∞, b) {x ∈ R | x < b}
b
(−∞, b] {x ∈ R | x ≤ b}
b
(−∞, ∞) R
Exercise:
Consider the following intervals:
A = (1, 4] B = [3, 5)
C = (2, ∞) D = (−∞, 6)
Determine the following intersections and
unions and write the answers in interval
notation:
1. A ∩ C 3. A ∪ B
2. C ∩ D 4. C ∪ D
Inequalities
Rules for inequalities:
1. If a < b, then a + c < b + c.
2. If a < b and c < d, then
a + c < b + d.
3. If a < b and c > 0, then ac < bc.
4. If a < b and c < 0, then ac > bc.
1 1
5. If 0 < a < b, then > .
a b
Example: Solve the inequality
1 + x < 7x + 5.
Example: Solve the inequalities
4 ≤ 3x − 2 < 13.
Example: Solve the inequality
x2 − 5x + 6 ≤ 0.
Example: Solve x3 + 3x2 > 4x.
x−1
Example: Solve for x if > 1.
x−4
x2 − x − 6
Example: Solve for x if < 0.
(x + 1)2
Example: Solve for x if x2 + x > 1.
Absolute Values
I The absolute value of a number a,
denoted by |a|, is the distance from a to
0 on the real number line.
I Distances are always positive or 0, so we
have
|a| ≥ 0 for every number a.
I For example,
|3| = 3 | − 3| = 3 |0| = 0
√ √
| 2 − 1| = 2 − 1 |3 − π| = π − 3
In general,
a if a ≥ 0
|a| =
−a if a < 0.
√
Note: Recall that the symbol means “the
√
positive square root of”. Thus r = s means
s√2 = r and s ≥ 0. Therefore, the equation
a2 = a is not always true. It is true only
when a ≥ 0. If a < 0, then −a > 0, so we have
√
a2 = −[Link] thus have the equation
√
a2 = |a|
which is true for all values of a.
Example: Express |3x − 2| without using
the absolute-value symbol.
The graph of the absolute value function y = |x|
looks as follows:
y
3
y = |x|
2
x
−3 −2 −1 1 2 3
Note that the y-values are always non-negative
(y ≥ 0).
Properties of absolute values:
Suppose a and b are any real numbers and
n is an integer. Then:
1. |ab| = |a||b|
a |a|
2. = (b 6= 0)
b |b|
3. |an| = |a|n.
Properties of absolute values:
Suppose a > 0. Then:
4. |x| = a if and only if x = ±a
5. |x| < a if and only if −a < x < a
6. |x| > a if and only if x > a or
x < −a.
Example: Solve |3x + 5| = 1 .
Example: Solve |x − 4| < 1.
Example: Solve |2x + 3| ≥ 5.
The Triangle Inequality: If a and b are
any real numbers, then
|a + b| ≤ |a| + |b|.
Example: If |x − 4| < 0.1 and |y − 7| <
0.2, use the Triangle Inequality to estimate
|(x + y) − 11|.
Prescribed tut problems
I Appendix A:
4, 5, 10, 16, 24, 27, 37, 42, 45, 50, 51,
55, 61, 63, 68