Professional Documents
Culture Documents
Real Numbers
I
Numbers
Decimal Representation
Rational and irrational numbers are both real numbers, the set
of which is usually denoted by the symbol R. When we use the
word number without qualification, we mean real number.
Question
What types of real numbers can be precisely expressed by
computers?
Yichao Zhu Department of Mathematics, HKUST
157
= 0.3171717 . . . = 0.317.
495
2 = 1.414213562373095 . . . = 3.141592653589793 . . .
Numbers
Set
Set
A set is a collection of objects, and these objects are called the
elements of the set.
Representation
I
x
|{z}
representing element
Intervals
Intervals
Intervals (Contd)
I
Intervals
I
Intervals
Intervals (Contd)
Inequalities
I
Example
Solve the inequality 1 + x < 7x + 5.
Yichao Zhu Department of Mathematics, HKUST
Example 1
Example 2
Solution
To solve an inequality means to determine the set of numbers x for
which the inequality is true. That is called the solution set. We
have
1 + x < 7x + 5
x < 7x + 4
Rule 1 with c = -1
Example
Solve the inequalities 4 3x 2 < 13.
Solution
Using the rules given
6x < 4
Example 3
4 3x 2 < 13
6 3x < 15
2x <5
Therefore the solution set is [2, 5).
Example 3
Example
Solution - contd
Solution
(2, 3)
(3, )
Example 4
Absolute Value
Example
Solution
Move all nonzero terms to one side of the inequality sign and
factorise the resulting expression
x 3 + 3x 2 4x > 0 or x(x 1)(x + 4) > 0
Zeros are x = 4, 0, 1, which divide the real line into four
intervals.
| 3| = 3, |0| = 0, |3 | = 3.
Properties
I
I
I
Example 5
a2 = |a|.
Absolute Values
Properties of absolute values
Example
Solution
(
3x 2
if
|3x 2| =
(3x 2) if
(
3x 2
if x
=
2 3x
if x
3x 2 0
3x 2 < 0
<
2
3
2
3
|ab| = |a||b|
a |a|
where (b 6= 0)
=
b
|b|
|an | = |a|n
Example 6
Example 6
Solution - Part 2
Example
Solve
2 < x 5 < 2
(i) |2x 5| = 3
(ii) |x 5| < 2
(iii) |3x + 2| 4
Solution - Part 1
3x + 2 4
or
2x 5 = 3
3x + 2 4
So 2x = 8 or 2x = 2. Thus x = 4 or x = 1.
or
Homework
Example
If |x 4| < 0.1 and |y 7| < 0.2, use the Triangle Inequality to
estimate |(x + y ) 11|.
Solution
Web of Work
I