Chapter 2
Chapter 2
CHAPTER 2
FUNCTIONS
Example 2.1.3 The functions in Example 2.1.2 can be written in the notation
y = f (x).
1. y = f (x) = 0, x ∈ {1, 2, 3, 4}.
2. y = f (x) = x2 , x ∈ {1, 2, 3, 4, 5, 6}.
3. y = f (x) = 2x − 4.
x2 + 1.
4. y = f (x) = √
5. y = f (x) = x − 1}.
2x
6. y = f (x) = x−1 .
√3
7. y = f (x) = x − 1}.
8. y = f (x) = x3 .
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
= x ∈ R : x2 − 1 ∈ R
= {x ∈ R : x ∈ R}
= R.
f (x) = x2 − 1 ⇒ y = x2 − 1
⇒ x2 = y + 1
p
⇒x=± y+1
p
⇒ f −1 (y) = ± y + 1.
R(f ) = y ∈ R : f −1 (y) ∈ R
n p o
= y ∈R:± y+1∈R
= {y ∈ R : y + 1 ≥ 0}
= {y ∈ R : y ≥ −1}
= [−1, +∞).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
= x ∈ R : 4 − x2 ∈ R
= {x ∈ R : x ∈ R}
= R.
f (x) = x2 + 4 ⇒ y = 4 − x2
⇒ x2 = 4 − y
p
⇒x=± 4−y
p
⇒ f −1 (y) = ± 4 − y.
R(f ) = y ∈ R : f −1 (y) ∈ R
n p o
= y ∈R:± 4−y ∈R
= {y ∈ R : 4 − y ≥ 0}
= {y ∈ R : 4 ≥ y}
= {y ∈ R : y ≤ 4}
= (−∞, 4].
2x
Example 2.2.4 Let f be a function defined by f (x) = . Find D(f ) and
x−3
R(f ).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
2x
= x∈R: ∈R
x−3
= {x ∈ R : x − 3 6= 0}
= {x ∈ R : x 6= 3}
= (−∞, 3) ∪ (3, +∞).
6
2x 2x
f (x) = ⇒y=
x−3 x−3
⇒ xy − 3y = 2x
⇒ xy − 2x = 3y
⇒ x(y − 2) = 3y
3y
⇒x=
y−2
3y
⇒ f −1 (y) = .
y−2
R(f ) = y ∈ R : f −1 (y) ∈ R
3y
= y∈R: ∈R
y−2
= {y ∈ R : y − 2 6= 0}
= {y ∈ R : y 6= 2}
= (−∞, 2) ∪ (2, +∞).
√
Example 2.2.5 Let f be a function defined by f (x) = x − 4. Find D(f )
and R(f ).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
√
= x∈R: x−4∈R
= {x ∈ R : x − 4 ≥ 0}
= {x ∈ R : x ≥ 4}
= [4, +∞).
√ √
f (x) = x−4⇒y = x−4
⇒ y2 = x − 4
⇒ x = y2 + 4
⇒ f −1 (y) = y 2 + 4.
7
R(f ) = y ∈ R : f −1 (y) ∈ R
√
= y ∈ R : y 2 + 4 ∈ R and y ≥ 0 , y = x − 4 ⇒ y ≥ 0
= {y ∈ R : y ∈ R and y ≥ 0}
= {y ∈ R : y ≥ 0}
= [0, +∞).
Sample Problem 2.2.6 Find the domain and range of the following functions
in R × R.
3x
1. f (x) = x2 − 5 2. f (x) = 2 − x2 3. f (x) =
x−2
√ x+4 √
4. f (x) = x − 5 5. f (x) = 6. f (x) = 4 − x.
x−5
= {x ∈ R : x ∈ R}
= R,
D(g) = {x ∈ R : g(x) ∈ R}
= {x ∈ R : x − 1 ∈ R}
= {x ∈ R : x ∈ R}
= R.
Hence,
D(f ) ∩ D(g) = R ∩ R = R.
x+4
Example 2.3.3 Let f and g be functions defined by f (x) = and
√ x−3
g(x) = x − 1. Define the following functions: (a) f + g; (b) f − g; (c)
f
f · g; and (d) .
g
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
x+4
= x∈R: ∈R
x−3
= {x ∈ R : x − 3 6= 0}
= {x ∈ R : x 6= 3}
= (−∞, 3) ∪ (3, +∞),
D(g) = {x ∈ R : g(x) ∈ R}
√
= x∈R: x−1∈R
= {x ∈ R : x − 1 ≥ 0}
= {x ∈ R : x ≥ 1}
= [1, +∞),
and
D(f ) ∩ D(g) = [(−∞, 3) ∪ (3, +∞)] ∩ [1, +∞) = [1, 3) ∪ (3, +∞).
√
(a) (f + g)(x) = x+4
x−3
+ x − 1 and
x+4
f x+4
(d) (x) = x−3 =
√ √ and
g x−1 (x − 3) x − 1
f
D = [D(f ) ∩ D(g)] ∩ {x ∈ R : g(x) 6= 0}
g
√
= {[1, 3) ∪ (3, +∞)} ∩ {x ∈ R : x − 1 6= 0}
= {[1, 3) ∪ (3, +∞)} ∩ {x ∈ R : x − 1 6= 0}
= {[1, 3) ∪ (3, +∞)} ∩ {x ∈ R : x 6= 1}
= (1, 3) ∪ (3, +∞).
(f ◦ g)(x) = f ((g(x)).
The domain of f ◦ g is the set of all real numbers x in the domain of g such
that g(x) is in the domain of f .
Example
√ 2.3.5 Let f and g be functions defined by f (x) = x + 4 and
g(x) = x − 1. Define the following functions: (a) f ◦ g and (b) g ◦ f .
√ √
Solution: (a) (f ◦ g)(x) = f (g(x)) = f (√ x − 1) = x√− 1 + 4;
(b) (g ◦ f )(x) = g(f (x)) = g(x + 4) = x + 4 − 1 = x + 3.
2
Example√ 2.3.6 Let f and g be functions defined by f (x) = x + 4 and
g(x) = x − 2. Define the following functions: (a) f ◦ g; (b) g ◦ f ; (c) f ◦ f
and; (d) g ◦ g.
√ √
Solution: (a) (f ◦ g)(x) = f (g(x)) = f ( x − 2) = ( x − 2)2 + 4 = x − 2 + 4 =
x + 2; √ √
(b) (g ◦ f )(x) = g(f (x)) = g(x2 + 4) = x2 + 4 − 2 = x2 + 2.
(c) (f ◦ f )(x) = f (f (x)) = f (x2 + 4) = (x 2 2 4 2
p√+ 4) + 4 = x + 8x + 20;
√
(b) (g ◦ g)(x) = g(g(x)) = g( x − 2) = x − 2 − 2.
f
Define the following functions: (a) f + g; (b) f − g; (c) f · g; and (d) .
√ g
3. Let f and g be functions defined by f (x) = x+2
x−5
and g(x) = 3
x. Define the
f
following functions: (a) f + g; (b) f − g; (c) f · g; and (d) .
g √
4. Let f and g be functions defined by f (x) = x2 − 3 and g(x) = x + 2.
Define the following functions: (a) f ◦ g; (b) g ◦ f√; (c) f ◦ f and; (d) g ◦ g.
5. Let f and g be functions defined by f (x) = x2 + 1 and g(x) = 3x − 4.
Define the following functions: (a) f ◦ g; (b) g ◦ f ; (c) f ◦ f and; (d) g ◦ g.
Solution: (a) Let x be the length of the garden, y be the width of the garden,
A be the area of the garden, and P = 30 be the perimeter of the garden. Then
A = xy and P = 2x + 2y.
12
A = x(15 − x) = 15x − x2 .
Therefore, A is a function of x:
A(x) = 15x − x2 .
(b)D(A) = x ∈ R : 15x − x2 ≥ 0
= {x ∈ R : x2 − 15x ≤ 0}
= {x ∈ R : x(x − 15) ≤ 0}
= {x ∈ R : x ≥ 0 and x − 15 ≤ 0} ∪ {x ∈ R : x ≤ 0 and x − 15 ≥ 0}
= {x ∈ R : x ≥ 0 and x ≤ 15} ∪ {x ∈ R : x ≤ 0 and x ≥ 15}
= {x ∈ R : 0 ≤ x ≤ 15} ∪ { }
= {x ∈ R : 0 ≤ x ≤ 15}
= [0, 15].
Example 2.4.2 A closed tin can of volume 16π in3 is to be made in the form
of a right circular cylinder.
(a) Find a mathematical model expressing the total surface area of the
can as a function of the radius.
(b) Find the domain of the function in (a).
(c) What is the surface area of the can when the radius is 10 in?
Solution: (a) Let r be the radius of the can, h be the height of the can, A be
the surface area of the can, and V = 60 be the volume of the can. Then
Thus,
60 120π
A = 2πr + πr2 = + πr2 .
r2 r
Therefore, A is a function of r:
120π
A(r) = + πr2 .
r
120π 2
(b)D(A) = r ∈ R : + πr ∈ R and r > 0
r
= {r ∈ R : r 6= 0 and r > 0}
= {r ∈ R : r > 0}
= (0, +∞).
120π
(c) If r = 10 then A(10) = + π(10)r2 = 112π. Therefore, when
10r
the radius is 10 in., the surface area of the can is 112π in2 .
Solution: (a) Let x be the length of the square cut out (this becomes the height
of the box, y be the width of the box, z be the length of the box, and V be
the volume of the box. Then
Thus,
Therefore, V is a function of x:
Example 2.4.4 An online seller sells a certain product by the kg; If not more
than 20 kg are ordered, the online seller charges 4 pesos per kg and if more
than 20 kg are ordered, the online seller charges 3 pesos per kg.
(a) Find a mathematical model expressing the total cost of the order
as a function of the amount of the product ordered.
(b) Find the domain of the function in (a).
(c) What is the total cost of an order of 16 kg?
(d) What is the total cost of an order of 25 kg?
Solution: (a) Let x be the number of kg of an order and C be the total cost
of an order. Then
(
4x, if 0 ≤ x ≤ 20
C= .
3x, if 20 < x
Therefore, C is a function of x given by
(
4x, if 0 ≤ x ≤ 20
C(x) = .
3x, if 20 < x
(d) If 20 < x, then C(x) = 3x. Thus, if x = 25, then C(25) = 3(25) =
75. Therefore, the total cost of an oder of 25 kg is 75 pesos.
15
5. A seller sells a product by the grams; If less than 10 g are ordered, the seller
charges 50 pesos per gram and if at least 10 g are ordered, the seller charges
45 pesos per gram.
(a) Find a mathematical model expressing the total cost of the order
as a function of the amount of the product ordered.
(b) Find the domain of the function in (a).
(c) What is the total cost of an order of 9 g?
(d) What is the total cost of an order of 12 g?
theater is 120 pesos, while the price for persons under 18 years of age is 100
pesos.
(a) Find a mathematical model expressing the admission price as a
function of the person’s age.
(b) Find the domain of the function in (a).
(c) What is the admission price if the person is 12 years old?
(d) What is the admission price if the person is 25 years old?
ALGEBRAIC FUNCTIONS
2.5 Linear Functions
Definition 2.5.1 A function f in R × R defined by f (x) = ax + b, where
a, b ∈ R and a 6= 0, is called a linear function.
......... ...........
.................
.. ........
... ........
• .... .
. .
......
... .
..........
.
...............
... .
..... ............... ..
...
.....
..
..
...
... ...
...
.....
...............
..
...
..... ...
...
..... ............... ..
...
..... ...
• .
.
...............................................................................................................................................................................................................................................................................................................................
. . . . . . .
.... .
.. ..
...
..... ..
...
.....
..
..
...............
..
...
... ..
...
.....
..
........
.
.................
..
...............
Example 2.5.4 Let f (x) = −2x + 2. Find D(f ) and R(f ). Identify the graph
of f and determine whether it is increasing or decereasing. Sketch the graph
of f .
17
.
....
... ...............
...
...
.........
...
...
...
...
... . ...............
...
...
... ...
...
... ..
...
...
... ... ...............
...
... ..
...
...
...
... ...............
..
...
...
...
...
•
...
...
.. ...
...............
...
...
... ...
...
...
.. ..
............... .....
... ...
...
...
.
•
..............................................................................................................................................................................................................................................
. ...
... . . . ... ... .... ... ...
...
.. .. .. .. ..
... ... .. ........ ... ...
...
.. ...
.. ...
...
..
............... ...
...
.. ...
...
.. ...
...
..
...............
...
...
.. ...
...
.. ...
...
.. ...
...
..
............... ...
...
.. ...
...
.. ...
...
............... .. .
..
..
.
........
...............
...
.
.
...............
Sample Problem 2.5.4 Given the following linear functions, find D(f ) and
R(f ); and determine whether the graph of f is increasing or decereasing.
Sketch the graph of f .
1. f (x) = 3x + 6 2. f (x) = 3x − 6 3. f (x) = −2x + 10
4. f (x) = −4x + 6 5. f (x) = 2x − 5 6. f (x) = −5x − 10
Example 2.6.3 Let f (x) = x2 − 2x. Find the vertex, D(f ), and R(f ).
Determine whether the graph of f is opening upward or opening downward.
Skecth the graph of f .
........
... ...
... ..
... ...
... ...
...
...
... ... .
.
...
...
...
...
... .. ...
...
... ... ............... ...
..
...
...
...
... .. ...
...
...
...
... ... ...
....
.
...
... .. ...
.
...
...
...
... ... ...
...
..
...
... .. ............... ...
...
...
... ..
... ....
.
... ..
... ..
... ...
...
... ...
...
... ...
... ..
.. ...
... ...
...
...
... ..
... ............... .
....
... .
.. ...
...
...
...
...
...
...
... ...
... ...
.. ...
...
...
..
...
...
. ...
• •
.................................................................................................................................................................................................................................................................................................................................................................................................................
...
... ...
.
. ... . ...... .
... ... ... ... ...
... ... ...
.. ...
... .. ..
...
.. ...
... ...
...
.. ...
... ...
...
.. ...
... ...
...
.. ...
.... ...
...
..
•
.... ....
.... ....
.. ...............
............
..................................
..
..
..
..
..
..
............... ..
..
..
..
V = (1, −1)
..
..
..
............... ..
..
..
.
.........
...
..
Example 2.6.4 Let f (x) = −x2 + 2x + 2. Find the vertex, D(f ), and R(f ).
Determine whether the graph of f is opening upward or opening downward.
Sketch the graph of f .
.
....
..........
...
..
.
...............
...
..
..
...
...............
V• = (1, 3)
..
...
..........
.... ...
.........................
............. ............. .............
.. ............. ....
...
...
... ............ ...
...
...
... ........
...
...
...
• •
...
.. ... ...
.. . .
...
...
. ..........
.. .
.. ..........
.................
....
....... ..... ..... ....
..............
... .
...
..... .
...
... .
. ...
...
.... . ...
...
.....
.
.
...
...
...
.
.
...
...
....
...
.
.
...
...
.....
...............
. ...
..
...
...
...
....
...
.
.
...
...
...
.... .
..
...
...
...
.....
.
.
.
...
...
...
. . . . ...
.
. .
.............................................................................................................................................................................................................................................................................................................................................................................
. . . .
.
...
.. ...
.... .
. ...
...
...
.... .
.. ...
...
...
..
..
... .. ...
...
...
..... .
.. ...
...
...
...
.... .
...............
. ...
...
...
....
.
..
...
...
...
...
.... .
. ...
...
...
....
.
..
...
...
...
... . ...
...
..... ...
. ............... .
..
..
..
..
..
..
............... ..
..
..
.
.........
..
..
x 0 1 2
y 2 3 2
Using these three points, sketch a graph of the parabola.
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
1
= x∈R: ∈R
x−2
= {x ∈ R : x − 2 6= 0}
= {x ∈ R : x 6= 2}
= (−∞, 2) ∪ (2, +∞).
1 1
f (x) = ⇒y=
x−2 x−2
⇒ xy − 2y = 1
⇒ xy = 2y + 1
2y + 1
⇒x=
y
2y + 1
⇒ f −1 (y) = .
y
R(f ) = y ∈ R : f −1 (y) ∈ R
2y + 1
= y∈R: ∈R
y
= {y ∈ R : y 6= 0}
= (−∞, 0) ∪ (0, +∞).
x+1
Example 2.7.4 Let f be a function defined by f (x) = . Find D(f ) and
x+3
R(f ).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
x+1
= x∈R: ∈R
x+3
= {x ∈ R : x + 3 6= 0}
= {x ∈ R : x 6= −3}
= (−∞, −3) ∪ (−3, +∞).
21
x+1 x+1
f (x) = ⇒y=
x+3 x+3
⇒ xy + 3y = x + 1
⇒ xy − x = 1 − 3y
⇒ x(y − 1) = 1 − 3y
1 − 3y
⇒x=
y−1
1 − 3y
⇒ f −1 (y) = .
y−1
R(f ) = y ∈ R : f −1 (y) ∈ R
1 − 3y
= y∈R: ∈R
y−1
= {y ∈ R : y − 1 6= 0}
= {y ∈ R : y 6= 1}
= (−∞, 1) ∪ (1, +∞).
x
Example 2.7.5 Let f be a function defined by f (x) = . Find D(f ) and
x−2
R(f ).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
x
= x∈R: ∈R
x−2
= {x ∈ R : x − 2 6= 0}
= {x ∈ R : x 6= 2}
= (−∞, 2) ∪ (2, +∞).
22
x x
f (x) = ⇒y=
x−2 x−2
⇒ xy − 2y = x
⇒ xy − x = 2y
⇒ x(y − 1) = 2y
2y
⇒x=
y−1
2y
⇒ f −1 (y) = .
y−1
R(f ) = y ∈ R : f −1 (y) ∈ R
2y
= y∈R: ∈R
y−1
= {y ∈ R : y − 1 6= 0}
= {y ∈ R : y 6= 1}
= (−∞, 1) ∪ (1, +∞).
4 − 3x
Example 2.7.6 Let f be a function defined by f (x) = . Find D(f )
2x
and R(f ).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
4 − 3x
= x∈R: ∈R
2x
= {x ∈ R : 2x 6= 0}
= {x ∈ R : x 6= 0}
= (−∞, 0) ∪ (0, +∞).
23
4−x 4−x
f (x) = ⇒y=
2x 2x
⇒ 2xy = 4 − x
⇒ 2xy + x = 4
⇒ x(2y + 1) = 4
4
⇒x=
2y + 1
4
⇒ f −1 (y) = .
2y + 1
R(f ) = y ∈ R : f −1 (y) ∈ R
4
= y∈R: ∈R
2y + 1
= {y ∈ R : 2y + 1 6= 0}
1
= y ∈ R : y 6= −
2
1 1
= −∞, − ∪ − , +∞ .
2 2
..
...............
.........
.................
..
...
..
... . ..
.
...............
.... . ...
.......... . ..........
......... . . ...
... .... .................
... . ...
. ........... .....
.... . .....
.. . ..
... . ..
.. . .....
... ...............
.... ... ........
...
...
... ... .........
....
.... ............... .. .............
.....
.........
..........
.........
.....
... .....
..............
.........
..........
.
........................................................................................
..
...
....
...
....
...
....
......
............
. .
....
..
...
.. .
......
.......
. .
..
................
........ . ...........
... ...............
.. ............................. ..
.................... .. ...
...........................
.................
..................................................................... .............................................. ............
... . . .
.......................
..........
......
............ .
...
.
...
... ..
...
............................. ..
... ..
...
........... ...
...
........
...
. ...
.........
................
..............
.. ... . . ...
..
..
...............
..
..
..
x=0 .........
.................
..
...............
........
.................
...
...
..
...
............... .
...
..... .....
.. .. ......
.... .............
...
.
............... ...... ... ..
..... .....
.. .. ..
..... .....
.
. .. ...
.... ....
...............
... ...
.....
...
...
...
... ..
....
...
...
...
............... .. ...
.....
....
.....
...
......
.. .....
.........
..........
.... ...........
.............
................ . .....
.......... ................
.
............... . ..
. ..
. ..
. ..
. ...
. .
......................................................................................................................................................................
..................................................................................................................... ..
.
.
...
.
.
......................
............................................................
.................. ............. ..
............
... ......................................................................... .
.. ........
.......
..... ..
........
...............
..
.....................................................
.. .... x=2 .
.
.
...
....
.
...
...
..... .
.
.
... ...
... ....
.. ...
... ...
...
............... ... ....
... ...
... ...
.. ... ...
... ..
...
.. ....
.
............... ... ..... ........
.. ....... ...
......... ..
...
..... ...
. .
.. .....
...............
.. .
..
..
........ .
.
...
..
2x + 1
Example 2.8.5 Let f be a function defined by f (x) = . Find the
x+3
vertical asymptote/s, if any.
2x
Example 2.8.6 Let f be a function defined by f (x) = . Find
(x + 1)(x − 2)
the vertical asymptote/s, if any.
25
.........
.................
..
..
..
...
............... .
..... ...
.. .. ..
.... ..........
...
...............
... ..........
........ ..... ..
.. .. ..
.... .....
.
. ... ...
..... ....
............... ... .. .....
.... ...
... ...
.....
...
...
...
............... .. ..
.....
...
...
.....
... ..
....
.....
........
.........
..........
...........
. . .
...
.............
................ . .....
.......... ................
......................
................................................................................................................................................................................
.................................................................................................................................................... .............................................................
. .................. ............. ..
... . . . . . . .
.............
..
.........................................................................
.. ...............
.............
...............
..................................................
.. .........
... ...
...
...
x=2 .
...
.....
.
...
.
...
....
.. ...
...
.
.
...
...
... ....
............... ... ...
... ..
.. ... ...
... ...
...
... ...
.. ...
............... ... ..... ......
.. ....... ...
...
......... ..
..... ....
. .
.. ....
............... .. ..
..
..
..
........
..
..
26
x−1
Example 2.8.10 Let f be a function defined by f (x) = . Find the
x+3
horizontal asymptote, if any. Sketch the graph of f .
... ...
........
.....
.
....
.........
...
.......
... .... .... ....
. ...............
...
. ....
...
.... ...
..
..
.. ...
..
....
...
...
... ...............
... ....
.. ...
...
..
..
....
...
..
... ....
.... ...............
.. ..
...
..
...
....
...
..
... ....
...
.. ..
...
...
...
....
...............
...
..
... ....
....
.. ..
...
...
...
.... ...............
...
..
... ....
...
..
...
...
...
..
....
...
... ... ...............
..... ....
.
....
....
... .. ..
....
...
.... ...
....... .... ...............
..................
.............. .
........................................................................
............................................................... ...............
..........
...........
............. .. ..
....
...
....... ...
y=1
.
....
.. .....
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
..
...............
.. ...
....
..............................................................................................................................................................................................................
.............................. .......... .
...........
............
... ... ... ... ... ... ... ... ... ............
..........
.............
................
..... .. ...
..... ..... ..... ..... ..... .... ..... ..... ..... ...... ............
............
........... ... ... ..... .....
.. ... .........
........
..............
..........
.. ..... ........
.......
.........
..
x = −3 ......
..
..... ......
.. ..
.... ....
.....
...............
.. ... ....
....
.. ..... ...
...
.. ..
.... ...
...
...
...............
.. ... ...
...
.. ..... ...
.. ..
....
...
.....
.. ...
.....
...
...............
.. ..
....
...
.. ..... ...
.. ..
.... ...
...
...............
.. ...
..
...
.. ..... ....
.. ..
....
..
...
..
.. ... ...
...............
.. ..... .....
.. ..
....
.
...
..
.........
... ...
..... ..... ......... ...............
........
... ..
..... .......
..
.. ..
..... ...
...............
2x2 + 3
Example 2.8.11 Let f be a function defined by f (x) = . Find the
x+1
horizontal asymptote, if any.
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
2x
= x∈R: ∈R
x−1
= {x ∈ R : x − 1 6= 0}
= {x ∈ R : x 6= 1}
= (−∞, 1) ∪ (1, +∞).
2x 2x
f (x) = ⇒y=
x−1 x−1
⇒ xy − y = 2x
⇒ xy − 2x = y
⇒ x(y − 2) = y
y
⇒x=
y−2
y
⇒ f −1 (y) = .
y−2
R(f ) = y ∈ R : f −1 (y) ∈ R
y
= y∈R: ∈R
y−2
= {y ∈ R : y − 2 6= 0}
= {y ∈ R : y 6= 2}
= (−∞, 2) ∪ (2, +∞).
x−2
Example 2.8.13 Let f be a function defined by f (x) = . Find D(f ),
x+3
R(f ), the vertical and horizontal asymptotes, if any. Sketch the graph of f .
28
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
x−2
= x∈R: ∈R
x+3
= {x ∈ R : x + 3 6= 0}
= {x ∈ R : x 6= −3}
= (−∞, −3) ∪ (−3, +∞) .
x−2 x−2
f (x) = ⇒y=
x+3 x+3
⇒ xy + 3y = x − 2
⇒ xy − x = −3y − 2
⇒ x(y − 1) = −3y − 2
−3y − 2
⇒x=
y−1
−3y − 2
⇒ f −1 (y) = .
y−1
R(f ) = y ∈ R : f −1 (y) ∈ R
−3y − 2
= y∈R: ∈R
y−1
= {y ∈ R : y − 1 6= 0}
= {y ∈ R : y 6= 1}
= (−∞, 1) ∪ (1, +∞) .
Sample Problem 2.8.14 Given the following rational functions, find D(f ),
R(f ), the vertical and horizontal asymptotes, if any.
29
3x 2 x−2
1. f (x) = 2. f (x) = 3. f (x) =
x−1 x+5 x+2
1 x+2 2x − 5
4. f (x) = 5. f (x) = 6. f (x) =
4−x x−2 4x + 3
p
2.9 Functions of the Form f (x) = g(x)
p
Theorem 2.9.1 Let f be a function in R × R defined by f (x) = g(x), where
g(x) ≥ 0. Then
(i) D(f ) = {x ∈ R : f (x) ∈ R} = {x ∈ R : g(x) ≥ 0}.
(ii) R(f ) = {y ∈ R : f −1 (y) ∈ R and y ≥ 0}.
√
Example 2.9.2 Let f be a function defined by f (x) = x − 1. Find D(f )
and R(f ). Sketch the graph of f .
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
√
= x∈R: x−1∈R
= {x ∈ R : x − 1 ≥ 0}
= {x ∈ R : x ≥ 1}
= [1, +∞).
√ √
f (x) = x−1⇒y = x−1
⇒ y2 = x − 1
⇒ x = y2 + 1
⇒ f −1 (y) = y 2 + 1.
= y ∈ R : y 2 + 1 ∈ R and y ≥ 0
= {y ∈ R : y ∈ R and y ≥ 0}
= {y ∈ R : y ≥ 0}
= [0, +∞).
√
Below is the graph of f (x) = x − 1.
30
.
....
...............
.........
.
...
..
...............
...
..
...
...............
...........
.............................
.. ......................
..................... ..
.......
............
.......
... ....................
..................
..................
.. .................
...............
............... ... ...............
.....
.....
........
.. ....
....
..........
... ...
...
....
.
..
..
...
•
........................................................................................................................................................................................................................................................
..
..
..
...............
..
........
....
.
...............
√
Example 2.9.3 Let f be a function defined by f (x) = x2 − 4. Find D(f )
and R(f ). Sketch the graph of f .
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
n √ o
= x∈R: x −4∈R 2
= x ∈ R : x2 − 4 ≥ 0
√ √
f (x) = x2 − 4 ⇒ y = x2 − 4
⇒ y 2 = x2 − 4
⇒ x2 = y 2 + 4
p
⇒ x = ± y2 + 4
p
⇒ f −1 (y) = ± y 2 + 4.
= {y ∈ R : y ∈ R and y ≥ 0}
= {y ∈ R : y ≥ 0}
= [0, +∞).
√
Below is the graph of f (x) = x2 − 4.
31
.
....
...............
.........
. .
.....
... ......
.......................
..
...............
...
... ..
... .
... ......
...
.. ...
...
...
...
............... ..
...
...
.. ...
...
...
... ...
....
.. ..
...
...
............... ... ...
...
.. ...
...
..
... ...
....
.
•
.
...
..........................................................................................................................................................................................................................................................
..
..
..
..
..
...............
..
........
....
.
...............
√
Example 2.9.4 Let f be a function defined by f (x) = 1 − x2 . Find D(f )
and R(f ). Sketch the graph of f .
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
n √ o
= x∈R: 1−x ∈R 2
= {x ∈ R : 1 − x2 ≥ 0}
= {x ∈ R : x2 − 1 ≤ 0}
= {x ∈ R : (x + 1)(x − 1) ≤ 0}; r1 = −1, r2 = 1
= [−1, 1].
√ √
f (x) = 1 − x2 ⇒ y = 1 − x2
⇒ y 2 = 1 − x2
⇒ x2 = 1 − y 2
p
⇒ x = ± 1 − y2
p
⇒ f −1 (y) = ± 1 − y 2 .
√
Below is the graph of f (x) = 1 − x2 , which is a semicircle with center (0, 0)
and radius 1.
...............
..
...
..........
..
..
..
...
...............
..
...
..
............... ...
..
...
..
...
.....
..................
..................
...............................
...........
........... . . ..........................
....
.
...
.....
....
... ...
...
...
...
.. ......
.. . .. .. ... .
..................
.............
......... ... ........
• •
....
...............................................................................................................................................................................................................
. ...
...............
..
...
.. .
. .
..
..
..
..
..
..
..
...............
..
..
.
.........
...
..
...............
r
x+1
Example 2.9.5 Let f be a function defined by f (x) = . Find D(f )
x−2
and R(f ).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
( r )
x+1
= x∈R:y= ∈R
x−2
x+1
= x∈R: ≥0
x−2
= (−∞, −1] ∪ (2, +∞).
r r
x+1 x+1
f (x) = ⇒y=
x−2 x−2
x+1
⇒ y2 =
x−2
⇒ xy 2 − 2y 2 = x + 1
⇒ xy 2 − x = 2y 2 + 1
⇒ x(y 2 − 1) = 2y 2 + 1
2y 2 + 1
⇒x= 2
y −1
−1 2y 2 + 1
⇒ f (y) = 2 .
y −1
33
2y 2 + 1
= y∈R: 2 ∈ R and y ≥ 0
y −1
= y ∈ R : y 2 − 1 6= 0 and y ≥ 0
= {y ∈ R : (y + 1)(y − 1) 6= 0 and y ≥ 0}
= {y ∈ R : y + 1 6= 0 and y − 1 6= 0 and y ≥ 0}
= {y ∈ R : y 6= −1 and y 6= 1 and y ≥ 0}
= {y ∈ R : y 6= 1 and y ≥ 0}
= [0, +∞)\{1}
= [0, 1) ∪ (1, +∞).
r
2x
Example 2.9.6 Let f be a function defined by f (x) = . Find D(f )
4−x
and R(f ).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
( r )
2x
= x∈R: ∈R
4−x
2x
= x∈R: ≥0
4−x
x
= x∈R: ≥0
4−x
x
= x∈R:− ≥0
x−4
x−0
= x∈R: ≤0
x−4
= [0, 4).
34
r r
2x 2x
f (x) = ⇒y=
4−x 4−x
2x
⇒ y2 =
4−x
⇒ 4y 2 − xy 2 = 2x
⇒ xy 2 + 2x = 4y 2
⇒ x(y 2 + 2) = 4y 2
4y 2
⇒x= 2
y +2
4y 2
⇒ f −1 (y) = 2 .
y +2
4y 2
= y∈R: 2 ∈ R and y ≥ 0
y +2
= y ∈ R : y 2 + 2 6= 0 and y ≥ 0
= {y ∈ R : y ∈ R and y ≥ 0}
= {y ∈ R : y ≥ 0}
= [0, +∞).
Sample Problem 2.9.7 Find the domain and range of the following functions.
√ √ √
1. f (x) = 3x + 5 2. f (x) = x2 − 16 3.f (x) = 9 − x2
√
r r
x+5 4x
4. f (x) = 25 − x2 5. f (x) = 6.f (x) =
x+3 x−6
r r
x2 2x + 5 4x
7. f (x) = 8. f (x) = 9.f (x) = √ .
x2 − 4 4 − 3x x−6
p
3
2.10 Functions of the Form f (x) = g(x)
p
3
Theorem 2.10.1Let f be a function in R×R defined by f (x) = g(x), where
g(x) is a function in R × R. Then
35
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
√
= x∈R: 3x−1∈R
= {x ∈ R : x − 1 ∈ R}
= {x ∈ R : x ∈ R}
= R.
√
3
√
f (x) = x−1⇒y = 3x−1
⇒ y3 = x − 1
⇒ x = y3 + 1
⇒ f −1 (y) = y 3 + 1.
R(f ) = y ∈ R : f −1 (y) ∈ R
= y ∈ R : y3 + 1 ∈ R
= {y ∈ R : y ∈ R}
= R.
√
3
Example 2.10.3 Let f be a function defined by f (x) = x2 − 1. Find D(f )
and R(f ).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
n √3
o
= x ∈ R : x2 − 1 ∈ R
= x ∈ R : x2 − 1 ∈ R
= {x ∈ R : x ∈ R}
= R.
36
√
3
√
3
f (x) = x2 − 1 ⇒ y = x2 − 1
⇒ y 3 = x2 − 1
⇒ x2 = y 3 + 1
p
⇒ x = ± y3 + 1
p
⇒ f −1 (y) = ± y 3 + 1.
R(f ) = y ∈ R : f −1 (y) ∈ R
n p o
= y ∈ R : ± y3 + 1 ∈ R
= y ∈ R : y3 + 1 ≥ 0
= y ∈ R : y 3 ≥ −1
√
= y ∈ R : y ≥ 3 −1
= {y ∈ R : y ≥ −1}
= [−1, +∞).
√
3
Example 2.10.4 Let f be a function defined by f (x) = 1 − x2 . Find D(f )
and R(f ).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
n √3
o
= x ∈ R : 1 − x2 ∈ R
= {x ∈ R : 1 − x2 ∈ R}
= {x ∈ R : x ∈ R
= R.
√
3
√
3
f (x) = 1 − x2 ⇒ y = 1 − x2
⇒ y 3 = 1 − x2
⇒ x2 = 1 − y 3
p
⇒ x = ± 1 − y3
p
⇒ f −1 (y) = ± 1 − y 3 .
37
R(f ) = y ∈ R : f −1 (y) ∈ R
n p o
= y ∈ R : ± 1 − y3 ∈ R
= {y ∈ R : 1 − y 3 ≥ 0}
= {y ∈ R : y 3 − 1 ≤ 0}
= {y ∈ R : y 3 ≤ 1}
√
= {y ∈ R : y ≤ 31}
= {y ∈ R : y ≤ 1}
= (−∞, 1].
r
3 x+1
Example 2.10.5 Let f be a function defined by f (x) = . Find D(f )
x−2
and R(f ).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
( r )
x + 1
= x∈R:y= 3 ∈R
x−2
x+1
= x∈R: ∈R
x−2
= {x ∈ R : x − 2 6= 0}
= {x ∈ R : x 6= 2}
= (−∞, 2) ∪ (2, +∞).
r r
3 x + 1 x+1
f (x) = ⇒y= 3
x−2 x−2
x+1
⇒ y3 =
x−2
⇒ xy 3 − 2y 3 = x + 1
⇒ xy 3 − x = 2y 3 + 1
⇒ x(y 3 − 1) = 2y 3 + 1
2y 3 + 1
⇒x= 3
y −1
−1 2y 3 + 1
⇒ f (y) = 3 .
y −1
38
R(f ) = y ∈ R : f −1 (y) ∈ R
2y 3 + 1
= y∈R: 3 ∈R
y −1
= y ∈ R : y 3 − 1 6= 0
= y ∈ R : y 3 6= 1
= {y ∈ R : y 6= 1}
= (−∞, 1) ∪ (1, +∞).
r
3 2x
Example 2.10.6 Let f be a function defined by f (x) = . Find D(f )
4−x
and R(f ).
Solution:
D(f ) = {x ∈ R : f (x) ∈ R}
( r )
2x
= x∈R: 3 ∈R
4−x
2x
= x∈R: ∈R
4−x
= {x ∈ R : 4 − x 6= 0}
= {x ∈ R : x 6= 4}
= (−∞, 4) ∪ (4, +∞).
r r
3 2x 3 2x
f (x) = ⇒y=
4−x 4−x
2x
⇒ y3 =
4−x
⇒ 4y 3 − xy 3 = 2x
⇒ xy 3 + 2x = 4y 3
⇒ x(y 3 + 2) = 4y 3
4y 3
⇒x= 3
y +2
−1 4y 3
⇒ f (y) = 3 .
y +2
39
R(f ) = y ∈ R : f −1 (y) ∈ R
4y 3
= y∈R: 3 ∈R
y +2
= y ∈ R : y 3 + 2 6= 0
= y ∈ R : y 3 6= −2
√
= y ∈ R : y 6= 3 −2
n √3
o
= y ∈ R : y 6= − 2
√3
√
3
= (−∞, − 2) ∪ (− 2, +∞).
Sample Problem 2.10.7 Find the domain and range of the following functions.
√ √ √
3
1. f (x) = r 3x + 5 2. f (x) =r3 8 − x2 3. f (x) =r3 x2 − 27
x+5 4x 2x + 5
4. f (x) = 3 5.f (x) = 3 6. f (x) = 3
x+3 x−6 4 − 3x