Transformations of Graph
Transformations of Graph
C3:Transformations of
graphs and the modulus function
2
Learning objectives
After studying this chapter, you should be able to:
■ transform simple graphs to produce other graphs
■ understand the effect of composite transformations on equations of curves and describe them
geometrically
■ understand what is meant by a modulus function
■ sketch graphs of functions involving modulus functions
■ solve equations and inequalities involving modulus functions.
a y
In general, a translation of !b" transforms the graph of
y ! f(x) into the graph of y ! f(x " a) # b. y ! 2 # x3
2
You learnt how to find the equations of new curves after a
reflection in one of the coordinate axes.
For example, the graph of y ! 2 # x3 is sketched opposite. O x
After reflection in the x-axis, the new curve will have equation
y ! "2 " x3. The general result is given below.
y y
3
x x
"1
"3
1 1
x x
"1 "1
!"
%
$$
(b) a translation of 3 ,
5
(c) a stretch of scale factor 0.5 in the x-direction.
C3: Transformations of graphs and the modulus function 25
Solution
(a) The graph of y ! f(x) is transformed into the graph of
y ! f("x) by a reflection in the y-axis.
Hence the new curve has equation y ! 2 # tan ("x).
However, since tan("x) ! "tan x, the equation of the new
curve can be written as y ! 2 " tan x.
2
a
(b) Recall that a translation of !"
b
transforms the graph of
!"
%
$$
After translation through the vector 3 , the curve
5
%
#
y ! 2 # tan x has equation y ! 2 # tan x " $$ # 5
3 $
%
or
#
y ! 7 # tan x " $$ .
3 $
(c) The graph of y ! f(x) is transformed into the graph of
x
#$
y ! f $$ by a stretch of scale factor c in the x-direction.
c x
Hence y ! 2 # tan x is transformed into y ! 2 # tan $$ # $
0.5
or y ! 2 # tan 2x.
Solution
! 2"
"3
(a) The first curve has been translated through the vector
to give the second curve.
(b) A one-way stretch in the x-direction has taken place. The Notice that x has been divided by
1
scale factor is 1$3$. $$ to give 3x.
3
(c) The curve has been reflected in the y-axis (or x ! 0).
EXERCISE 2A
1 Find the equation of the resulting curve after each of the
2
following has been translated through
"1! ".
(a) y ! x3 (b) y ! x2 # 4x # 5
(c) y ! tan x (d) y ! 3x
26 C3: Transformations of graphs and the modulus function
! "
"1
(b) a translation through ,
"3
(c) a reflection in the x-axis.
Solution
(a) After a stretch by a factor 2 in the y-direction, the curve
y ! x3 becomes the curve y !2x3.
Solution
The curve y ! sin x is stretched by scale factor 1$3$ in the x-direction The two stretches could have
to give the curve y ! sin 3x. been done in any order to map
y ! sin x onto y ! 5 sin 3x.
Next the curve y ! sin 3x is stretched by scale factor 5 in the
y-direction to give y ! 5 sin 3x.
Finally y ! 5 sin 3x is translated through
0
2 !"
to give the final
curve with equation y ! 2 # 5 sin 3x.
EXERCISE 2B
1 Describe a sequence of transformations that would map the
graph of y ! x3 onto the graph of y ! 3(x " 5)3.
5 Express 2x2 " 12x # 19 in the form 2(x " a)2 # b. Hence
decribe geometrically how the graph of y ! x2 can be
transformed into the graph of y ! 2x2 " 12x # 19.
28 C3: Transformations of graphs and the modulus function
y
3
x when x ' 0
|x| !
"x when x ( 0
Solution
Method 1
When x ' 3, |x " 3| ! x " 3 since x " 3 ' 0.
O 3 x
graph of
y!x"3
"3
3 graph of
y!3"x
O 3 x
Method 2
An alternative approach is to draw the graph of y ! x " 3 and
then to reflect the section of the graph that lies below the x-axis
in the x-axis.
y
2
4
3
2
1
Solution
(a) Draw the graph of y ! x2 " 4. "2 O 2 x
Now reflect in the x-axis all the parts of the graph which lie "4
below the x-axis.
The resulting graph is that of y ! |x2 " 4|.
y
Solution
(a) For x * 0 , the graph is identical to that of y ! 3 " x. Alternatively, the graph of
y ! 3 " | x | can be obtained from
When x ! 0, y ! 3. the graph of y ! | x | by a
For x ( 0 , the graph is identical to that of y ! 3 " ("x) ! 3 # x. reflection in the x-axis followed
"3 O 3 x
"1 O 1 2 3 x
C3: Transformations of graphs and the modulus function 33
EXERCISE 2C
Sketch the graph of each of the following, showing the values of
any intercepts on the axes.
1 y ! |3x| 2 y ! |x # 4| 3 y ! |3x " 5|
4 y ! |5 " 2x| 5 y ! |x| " 5 6 y ! 4 " |x| 2
2
7 y ! |x " 1| 8 y ! |(x " 5)(x # 2)|
9 y ! |x| # |x " 3| 10 y ! |x| " |x " 3|
11 y ! |(x " 1)(x " 2)(x " 3)| 12 y ! |x2 " 5| # 4
13 y ! |x| # |x " 1| # |x " 2| 14 y ! sin|x|, "2% ) x ) 2%
15 y ! |cos x|, "2% ) x ) 2% 16 y ! |tan x|, 0 ( x ( %
17 y ! |cos 3x|, "% ) x ) % 18 y ! 1 # |sin 2x|, "% ) x ) %
Solution y
Method 1 5
Firstly, sketch the graph of y ! |3 " 2x|. This is the
V-shaped graph. The sections have gradients +2. 4
Solution
An approach involving squaring both sides yields
(|x " 2|)2 ! ("3)2 ⇒ x2 " 4x # 4 ! 9 ⇒ x2 " 4x " 5 ! 0.
⇒ (x " 5)(x # 1) ! 0 ⇒ x ! 5, x ! "1.
Checking each of these values in the original equation shows
that neither of the answers are correct solutions.
When x ! 5, |x " 2| ! |5 " 2| ! 3.
When x ! "1, |x " 2| ! |("1)"2| ! |"3| ! 3.
y
4
2
A sketch can easily reveal when
1 no solutions actually exist since
the graphs of y ! | x " 2| and
"2 "1 O 1 2 3 4 5 x y ! "3 do not intersect.
"1
"2
"3
Solution 2
A sketch showing the graphs of y ! |x2 " 1| and y ! 6x enables 1
you to see that there are two solutions, one in the interval
0 ( x ( 1 and the other satisfying x * 1. "1 O 1 2 x
EXERCISE 2D
Solve the following equations. In some cases there are no solutions.
1 |x " 3| ! 2 2 |4 " x| ! 5 3 |x # 2| ! 7
4 |x " 1| ! x 5 |2 " x| ! x # 1 6 |2x # 3| ! x " 1
7 |2x " 3| ! "2 8 |4 " 3x| ! x 9 |x2 # 2| ! 3x
10 |2x2 " 3x| ! "1 11 |4 " 3x2| ! x
12 |x2 # 2x| ! 3x # 2 13 |x2 # x| # 2 ! 0
14 |4x2 " x| ! "3 15 |4x2 " 3| ! x
y
Solution
The graphs y ! |x " 2| and y ! 2x # 3 are drawn opposite and 3
there is a single point of intersection when x is negative.
2
Since x ( 2 for this point of intersection, you can write 1
|x " 2| ! "(x " 2) ! 2 " x.
"2 "1 O 1 2 x
Solving 2 " x ! 2x # 3 gives "1 ! 3x. Hence x ! "$13$.
This is the critical point and by looking at the graph, the y-value You can check this solution
for the graph of y ! |x " 2| is less than the y-value on the graph by taking a test value. For
of y ! 2x # 3 whenever you are to the right-hand side of this example when x ! 0, | x " 2 | ! 2
critical point. and 2x # 3 ! 3. Since 2 ( 3, it
gives a check on the solution.
The solution is therefore x * "1$3$.
Solution
The graph of y ! x2 " 3x ! x(x " 3) is a parabola cutting y
the x-axis at (0, 0) and (3, 0). The graph of y ! |x2 " 3x| is 4
sketched opposite together with the straight line y ! 2.
3
There are four points of intersection and hence four 2
critical points.
"b + %&ac
b 2 " 4& 3 + %&9#8
x ! $$. Hence x ! $$.
2a 2
The approximate values of x are 3.56 … and "0.56… . The four critical points in
ascending order are
The other two critical points are given by solving
"(x2 " 3x) ! 2 ⇒ x2 " 3x # 2 ! 0 ⇒ (x " 1)(x " 2) ! 0. 3 " %17
& 3 # %17
&
$$, 1, 2, $$.
Therefore x ! 1, x ! 2. 2 2
By considering the graph, the intervals satisfying |x2 " 3x| * 2 are
3 " %17
& 3 # %17
&
x ( $$, 1 ( x ( 2, x * $$.
2 2
C3: Transformations of graphs and the modulus function 37
EXERCISE 2E
Solve the following inequalities:
1 |x " 5| * 2 2 |4 " x| ) 1 3 |x # 3| ( 7
4 |x " 2| ) x 5 |3 " x| * x # 4 6 |2x # 3| ) x " 2
2
7 |2x " 5| ' 2 " x 8 |2 " 5x| ( x 9 |x2 # 4| ' 5x
10 |2x2 " x| * 1 11 |7 " 3x2| ) 2x # 1
12 |x2 # 2x| ' 7x # 6
Solution
(a) When x ( 0 , |x| ! "x and |x " 3| ! "(x " 3) ! 3 " x.
Hence f(x) ! " x # 3 " x ! 3 " 2x.
(b) (i) When x * 3, |x| ! x and |x " 3| ! x " 3.
Hence f(x) ! x # x " 3 ! 2x " 3.
(ii) When 0 ) x ) 3, |x| ! x and |x " 3| ! "(x " 3) ! 3 " x.
Hence f(x) ! x # 3 " x ! 3.
(c) The graph consists of the three sections defined above y
and is sketched opposite.
5
3
The line of symmetry has equation x ! $$.
2 4
(d) Since the function has least value equal to 3, the range
3
is given by f(x) ' 3.
2
(e) From the graph, the equation f(x) ! 4 has two solutions.
One of these is when x ( 0 ⇒ 3 " 2x ! 4 ⇒ x ! "12$$. 1
The other is when x * 3 ⇒ 2x " 3 ! 4 ⇒ x ! 31$2$.
(f) Since the graph of f is many-one, it does NOT have an "1 O 1 2 3 4 5 x
inverse.
38 C3: Transformations of graphs and the modulus function
MIXED EXERCISE
1 The function f is defined for all real values of x by
f(x) ! |2x " 3| " 1.
(a) Sketch the graph of y ! f(x). Indicate the coordinates of
the points where the graph crosses the coordinate axes.
(b) State the range of y ! f(x).
(c) Find the values of x for which f(x) ! x. [A]
" π2 O π
2 x
"1
|x| (
x when x ' 0.
"x when x ) 0. p30