- SQRT (-2 x + 4 ) + 1
SQRT (x 2 - 9)
f( x ) = SQRT (x 2 - 6x + 9)
x 2 - 6x + 9 = (x - 3) 2
Hence
f( x ) = SQRT (x 2 - 6x + 9)
= SQRT ( (x - 3) 2 ) = | x - 3 |
f( x ) = SQRT (x 2 + 4x + 6)
x 2 + 4x + 6 = (x + 2) 2 + 2
f( x ) = SQRT (x - 3)
f (x) = |x - 2|
f (x) = |(x - 2)2 - 4|
a - The y intercept is given by
(0 , f(0)) = (0 ,(-2)2 - 4) = (0 , 0)
The x coordinates of the x intercepts are equal to the solutions of the equation
|(x - 2)2 - 4| = 0
which is solved
(x - 2)2 = 4
Which gives the solutions
x = 0 and x = 4
The x intercepts is at the point (0 , 0) and (4 , 0)
b - The domain of f is the set of all real numbers
Since |(x - 2)2 - 4| is either positive or zero for x = 4 and x = 0; the range of f is given by
the interval [0 , +infinity).
c - To sketch the graph of f(x) = |(x - 2)2 - 4|, we first sketch the graph of y = (x - 2)2 -
4 and then take the absolute value of y.
The graph of y = (x - 2)2 - 4 is a parabola with vertex at (2,-4), x intercepts (0 , 0) and
(4 , 0) and a y intercept (0 , 0).
Example 7: f is a function defined by
f( x ) = x 2 + 1 if x < 2
= - x + 3 if x >= 2
Find the domain and range of function f and graph it.
Solution to Example 7:
The domain of f is the set of all real numbers since function f is defined for all real
values of x.
In the interval (- inf , 2) the graph of f is a parabola shifted up 1 unit. Also this interval is
open at x = 2 and therefore the graph shows an "open point" on the graph at x = 2.
In the interval [2 , + inf) the graph is a line with an x intercept at (3 , 0) and passes
through the point (2 , 1). The interval [2 , + inf) is closed at x = 2 and the graph shows a
"closed point". From the graph, we can observe that function f can take all real values.
The range is given by (- inf, + inf).
Example 8: f is a function defined by
f( x ) = 1 / x if x < 0
= e -x if x >= 0
Find the domain and range of function f and graph it.
Solution to Example 8:
The domain of f is the set of all real numbers since function f is defined for all real
values of x.
In the interval (- inf , 0) the graph of f is a hyperbola with vertical asymptote at x = 0.
In the interval [0 , + inf) the graph is a decreasing exponential and passes through the
point (0 , 1). The interval [0 , + inf) is closed at x = 0 and the graph shows a "closed
point".
As x becomes very small, 1 / x approaches zero. As x becomes very large, e -x also
approaches zero. Hence the line y = 0 is a horizontal asymptote to the graph of f.
From the graph of f shown below, we can observe that function f can take all real values
on (- inf , 0) U (0 , 1] which is the range of function f.