Week 2.2E Types of Functions
Week 2.2E Types of Functions
1 Algebraic Functions
Definition 1. A polynomial in variable x is an expression of the form
4
4 2
1
1 −2 2
−2 1 2
1
See the textbook for more graphs, especially page 32.
Definition 4. An algebraic function is a function whose formula could be build by only using
polynomials and the algebraic operations (addition, subtraction, multiplication, division, roots).
Example 5. All of the following functions are algebraic.
√ x2 − x √
f (x) = x2 + 1 k(x) = √ − 8x+2
1+ x
√
g(x) = x 2x2 − 2x + 3 h(x) = x2/3 (x − 2)2
Exercise 6. Find the domain of the algebraic functions,
√
x2 − 1 x3 − 1
(a) f (x) = 1 (b) g(x) = √
4 − x+1 1+ 3x
Answer:
(a) Df = R \ −1, − 43
(b) Dg = [1, ∞)
2
1
x as x≥0
|x| =
−x as x<0 −2 −1 1 2
Example 9. Sketch the graph of the function f : R → R defined by f (x) = |2x − 3|.
Sketch: 3
1.5
2
Example 10. Consider the piecewise defined function,
−x as −3 < x ≤ −1
√
f (x) = 1 + 1 − x2 as −1 < x < 1
1
as x>1
2
Solution:
(a) Df = (−3, −1] ∪ (−1, 1) ∪ (1, ∞) = (−3, 1) ∪ (1, ∞)
(b) On (−3, −1], 1 ≤ −x < 3, thus the range here is [1, 3).
On (−1, 1), we have, 0 ≤ x2 < 1 =⇒ −1 < −x2 ≤ 0
p
=⇒ 0 < 1 − x2 ≤ 1
p
=⇒ 1 < 1 + 1 − x2 ≤ 2
Thus the range here is (1, 2].
On (1, ∞) the range is 12 .
(c) Graph:
(−3, 3)
(0, 2)
(1, 1)
(−1, 1) 1
1, 2
−3 −1 1
g(x) = |x + 1| − |6 − 2x|
3
Solution:
(a) Notice that
x+1≥0 ⇐⇒ x ≥ −1
6 − 2x ≥ 0 ⇐⇒ 3≥x
|x + 1| |6 − 2x| |x + 1| − |6 − 2x|
(−∞, −1) −x − 1 6 − 2x x−7
[ − 1, 3) x+1 6 − 2x 3x − 5
[3, ∞) x+1 2x − 6 7−x
Thus
x−7 as x < −1
g(x) = 3x − 5 as −1 ≤ x < 3
7−x as 3≤x
Remember: it does not matter in which intervals the boundary points are contained it, but
each boundary point should be contain in precisely one interval.
(b) Sketch of g,
(3, 4)
−1
5 3
3
−5
(−1, −8)
x−7≥3 =⇒ x ≥ 10
3x − 5 ≥ 3 =⇒ x ≥ 83
[−1, 3) ∩ 38 , ∞ = 83 , 3
Solution set:
Case 3: x≥3
7−x≥3 =⇒ 4≥x
4
Solution set: [3, ∞) ∩ (−∞, 4] = [3, 4]
Thus, the solution set of the initial inequality:
∅ ∪ 83 , 3 ∪ [3, 4] = 38 , 4
f (x) = |x − 1| + |2x + 3| − 4
Answer:
(c) −∞, − 54 ∪ 3
(d) − 25 , − 12
2, ∞
f (x) = x2 − x − 2 − x2
Answer:
(0, 2)
(−1, −1)
(2, −4)