Transfomations Fo Functions
Transfomations Fo Functions
In Exercises 27–38, graph each equation in a rectangular coordinate 46. Exercise is useful not only in preventing depression, but also
system. as a treatment. The following graphs show the percentage of
27. y = - 2x 28. y = -2 29. x + y = -2 patients with depression in remission when exercise (brisk
walking) was used as a treatment. (The control group that
30. y = 13 x - 2 31. x = 3.5 32. 4x - 2y = 8 engaged in no exercise had 11% of the patients in remission.)
33. f(x) = x 2 - 4 34. f(x) = x - 4 35. f(x) = ∙ x∙ - 4 Exercise and Percentage of Patients
36. 5y = -3x 37. 5y = 20 with Depression in Remission
-1 if x … 0 60% 60%
38. f(x) = b
2x + 1 if x 7 0
Depression in Remission
Depression in Remission
50% 50%
2
39. Let f(x) = -2x + x - 5. 42
Percentage with
Percentage with
40% 40%
a. Find f( - x). Is f even, odd, or neither?
30% 26 30%
f(x + h) - f(x)
b. Find , h ∙ 0. 20% 20%
h
30 if 0 … x … 200 10% 10%
40. Let C(x) = b .
30 + 0.40(x - 200) if x 7 200
80 180 60 100 140 180
a. Find C(150). b. Find C(250).
Amount of Brisk Amount of Brisk
Walking (minutes) Walking (minutes)
In Exercises 41–44, write a function in slope-intercept form whose
graph satisfies the given conditions. Source: Newsweek, March 26, 2007
a. Find the slope of the line passing through the two points
41. Slope = -2, passing through ( - 4, 3)
shown by the voice balloons. Express the slope as a
42. Passing through ( -1, - 5) and (2, 1)
decimal.
43. Passing through (3, - 4) and parallel to the line whose b. Use your answer from part (a) to complete this statement:
equation is 3x - y - 5 = 0 For each minute of brisk walking, the percentage of patients
44. Passing through ( - 4, -3) and perpendicular to the line with depression in remission increased by %. The
whose equation is 2x - 5y - 10 = 0 rate of change is % per .
45. Determine whether the line through (2, - 4) and (7, 0) is 47. Find the average rate of change of f(x) = 3x 2 - x from
parallel to a second line through ( - 4, 2) and (1, 6). x1 = - 1 to x2 = 2.
y y y f x =x
f x =x
f x =c
2 2 2
1 1 1
x x x
–2 –1 1 2 –2 –1 1 2 –2 –1 1 2
–1 –1 –1
–2 –2 –2
Standard Quadratic Function Square Root Function Standard Cubic Function Cube Root Function
y y y y
f x =√x f x =√x
2 2 2 2
f x =x
1 f x =x 1 1 1
x x x x
–2 –1 1 2 –2 –1 1 2 –2 –1 1 2 –2 –1 1 2
–1 –1 –1 –1
–2 –2 –2 –2
Discovery
The study of how changing a function’s equation can affect its graph can be explored with
a graphing utility. Use your graphing utility to verify the hand-drawn graphs as you read
this section.
284 Chapter 2 Functions and Graphs
Vertical Shifts
Great Question!
If I’m using the graph of a familiar Let f be a function and c a positive real number.
function, how do I actually obtain • The graph of y y
the graph of a transformation? y = f(x) + c is the y=f x +c
Solution
The graph of g(x) = ∙ x∙ - 4 has the same shape as the graph of f(x) = ∙ x∙ .
However, it is shifted down vertically 4 units.
$GIKPYKVJVJGITCRJQH
f x =x9GoXGKFGPVKƂGF 6JGITCRJQH
VJTGGRQKPVUQPVJGITCRJ g x =x–
y )TCRJg x =x– y
5JKHVfWPKVUFQYP
5 5WDVTCEVHTQOGCEJ 5
(–4, 4) (4, 4)
4 yEQQTFKPCVG 4
3 3
f x =x 2 2
1 (–4, 0) 1 (4, 0)
x x
–5 –4 –3 –2 –1–1 1 2 3 4 5 –5 –4 –3 –2 –1–1 1 2 3 4 5
–2 –2
(0, 0)
–3 –3 g x =x–
–4 –4
(0, –4)
–5 –5
l l l
Section 2.5 Transformations of Functions 285
Notice that for the values of f(x) and g(x) to be the same, the values of x used in
graphing g must each be 3 units greater than those used to graph f. For this reason,
the graph of g is the graph of f shifted 3 units to the right.
Now, look at the red graph on the left in Figure 2.49. The equation of this graph,
2
h(x) = (x + 2) , adds 2 to each value of x before squaring it. What effect does this
have on the graph of f(x) = x 2? It shifts the graph horizontally to the left by 2 units.
h(x) = (x + 2)2 = f (x + 2)
6JGITCRJQHh UJKHVUVJGITCRJQHfWPKVUVQVJGNGHV
In general, if c is positive, y = f(x + c) shifts the graph of f to the left c units and
Great Question! y = f(x - c) shifts the graph of f to the right c units. These are called horizontal
shifts of the graph of f.
Using my intuition, it seems that
f (x + c) should cause a shift to Horizontal Shifts
the right and f (x - c) should
cause a shift to the left. Is my Let f be a function and c a positive real number.
intuition on target when it comes • The graph of y = f(x + c) is the graph of y = f(x) shifted to the left c units.
to these horizontal shifts?
• The graph of y = f(x - c) is the graph of y = f(x) shifted to the right c units.
No. On a number line, if x
represents a number and c is y y
y=f x+c
positive, then x + c lies c units y=f x
to the right of x and x - c lies
c units to the left of x. This
c c
orientation does not apply to
horizontal shifts: f(x + c) causes x x
a shift of c units to the left and
f(x - c) causes a shift of c units y=f x–c
y=f x
to the right.
286 Chapter 2 Functions and Graphs
Solution
Compare the equations for f(x) = 1x and g(x) = 2x + 5. The equation for g
adds 5 to each value of x before taking the square root.
y = g(x) = "x + 5 = f (x + 5)
6JGITCRJQHg UJKHVUVJGITCRJQHfWPKVUVQVJGNGHV
The graph of g(x) = 2x + 5 has the same shape as the graph of f(x) = 1x.
However, it is shifted horizontally to the left 5 units.
y )TCRJg x =√x+ y
5JKHVfWPKVU
5 5 g x =√x+
NGHV5WDVTCEVHTQO
4 f x =√x GCEJxEQQTFKPCVG 4
3 3
(–1, 2)
2 (1, 1) (–4, 1) 2
1 (4, 2) 1
x x
–5 –4 –3 –2 –1–1 1 2 3 4 5 –5 –4 –3 –2 –1–1 1 2 3 4 5
–2 –2
(0, 0) (–5, 0)
–3 –3
–4 –4
–5 –5
l l l
Great Question!
What’s the difference between f (x) ∙ c and f (x ∙ c)?
• y = f(x) + c shifts the graph of y = f(x) c units vertically upward.
• y = f(x + c) shifts the graph of y = f(x) c units horizontally to the left.
There are analogous differences between f(x) - c and f(x - c).
Some functions can be graphed by combining horizontal and vertical shifts. These
functions will be variations of a function whose equation you know how to graph,
such as the standard quadratic function, the standard cubic function, the square root
function, the cube root function, or the absolute value function.
In our next example, we will use the graph of the standard quadratic function,
2
f(x) = x 2, to obtain the graph of h(x) = (x + 1) - 3. We will graph three functions:
Solution
6JGITCRJQHf x =x
YKVJVJTGGRQKPVUKFGPVKƂGF 6JGITCRJQHh x = x+ –
6JGITCRJQHg x = x+
Discovery
Work Example 3 by first shifting the graph of f(x) = x 2 three units down, graphing
2
g(x) = x 2 - 3. Now, shift this graph one unit left to graph h(x) = (x + 1) - 3. Did you
obtain the last graph shown in the solution of Example 3? What can you conclude?
Solution
3 3
Compare the equations for f(x) = 1 x and g(x) = - 1 x. The graph of g is a
reflection about the x@axis of the graph of f because
3
g(x) = - 1 x = -f(x).
6JGITCRJQHf x =√x
YKVJVJTGGRQKPVUKFGPVKƂGF 6JGITCRJQHg x =–√x
)TCRJg x =–√x
y 4GƃGEVfCDQWVVJG y
xCZKU4GRNCEGGCEJ
5 yEQQTFKPCVGYKVJKVU 5
4 4
f x =√x QRRQUKVG
3 (8, 2) (–8, 2) 3
2 2
(0, 0)
1 1
x x
–8 –7 –6 –5 –4 –3 –2 –1–1 1 2 3 4 5 6 7 8 –8 –7 –6 –5 –4 –3 –2 –1–1 1 2 3 4 5 6 7 8
–2 –2
(–8, –2) (0, 0)
–3 –3 (8, –2)
–4 –4 g x =–√x
–5 –5
l l l
Check Point 4 Use the graph of f(x) = ∙x∙ to obtain the graph of g(x) = -∙ x∙.
It is also possible to reflect graphs about the y@axis.
For each point (x, y) on the graph of y = f(x), the point (-x, y) is on the graph of
y = f(-x).
Solution
Compare the equations for f(x) = 1x and h(x) = 1-x. The graph of h is a
reflection about the y@axis of the graph of f because
h(x) = 1-x = f( -x).
6JGITCRJQHf x =√x 6JGITCRJQH
YKVJVJTGGRQKPVUKFGPVKƂGF h x =√–x
)TCRJh x =√–x
y 4GƃGEVfCDQWVVJG y
yCZKU4GRNCEGGCEJ
5 xEQQTFKPCVGYKVJ 5
4 f x =√x 4
KVUQRRQUKVG
3 (–1, 1) 3
2 (1, 1) 2
1 (4, 2) (–4, 2) 1 h x =√–x
x x
–5 –4 –3 –2 –1–1 1 2 3 4 5 –5 –4 –3 –2 –1–1 1 2 3 4 5
–2 –2
(0, 0) (0, 0)
–3 –3
–4 –4
–5 –5
l l l
Check Point 5 Use the graph of f(x) = 13 x to obtain the graph of h(x) = 13 -x.
Section 2.5 Transformations of Functions 289
Solution
The graph of h(x) = 12 x 3 is obtained by vertically shrinking the graph of f(x) = x 3.
10 ITCRJQHf/WNVKRN[ 10
(2, 8)
GCEJyEQQTFKPCVGD[
8 8
6 6 h x =x
4 4
(2, 4)
2 2
x x
–5 –4 –3 –2 –1–2 1 2 3 4 5 –5 –4 –3 –2 –1–2 1 2 3 4 5
f x =x –4 –4
(0, 0) (–2, –4) (0, 0)
–6 –6
–8 –8
(–2, –8)
–10 –10
l l l
290 Chapter 2 Functions and Graphs
Check Point 6 Use the graph of f(x) = ∙x∙ to obtain the graph of g(x) = 2∙x∙ .
Great Question!
Horizontally Stretching and Shrinking Graphs
How does horizontal shrinking
or stretching change a graph’s Let f be a function and c a positive real number.
shape? • If c 7 1, the graph of y = f(cx) is the graph of y = f(x) horizontally shrunk
A horizontal shrink compresses by dividing each of its x@coordinates by c.
a function’s graph toward the
• If 0 6 c 6 1, the graph of y = f(cx) is the graph of y = f(x) horizontally
y@axis. A horizontal stretch moves
a function’s graph away from the
stretched by dividing each of its x@coordinates by c.
y@axis.
Shrinking : c > 1 Stretching : 0 < c < 1
y y
y=f x y=f cx
x x
0 0
y=f x
y=f cx
6JGITCRJQHy=f x
YKVJƂXGRQKPVUKFGPVKƂGF )TCRJh x =f x 6JGITCRJQHh x =f x
*QTK\QPVCNN[UVTGVEJ
y VJGITCRJQHy=f x y
&KXKFGGCEJxEQQTFKPCVG
(–2, 4) 5 D[YJKEJKUVJGUCOG
(–4, 4) 5
4 CUOWNVKRN[KPID[ 4
3 y=f x 3
2 2
(–8, 0) (0, 0)
y (–4, 0) 1 (0, 0) (4, 0) 1 (8, 0)
x x
5 –5 –4 –3 –2 –1–1 1 2 3 4 5 –8 –7 –6 –5 –4 –3 –2 –1–1 1 2 3 4 5 6 7 8
4 –2 –2 (4, –2)
(0, 3) (2, –2)
3 –3 –3
h x =f x
y=f x
2 –4 –4
1 (2, 0) (6, 0) –5 –5
(–2, 0)
x
–3 –2 –1–1 1 2 3 4 5 6 7
l l l
–2
–3
(4, –3)
–4
–5 Check Point 7 Use the graph of y = f(x) in Figure 2.53 to obtain each of the
following graphs:
Figure 2.53 a. g(x) = f(2x) b. h(x) = f 1 12 x 2 .
Order of Transformations
A function involving more than one transformation can be graphed by performing
transformations in the following order:
1. Horizontal shifting 2. Stretching or shrinking
3. Reflecting 4. Vertical shifting
Solution
Our graphs will evolve in the following order:
1. Horizontal shifting: Graph y = f(x - 1) by shifting the graph of y = f(x)
1 unit to the right.
2. Shrinking: Graph y = 12 f(x - 1) by shrinking the previous graph by a
factor of 12.
3. Reflecting: Graph y = - 12 f(x - 1) by reflecting the previous graph about
the x@axis.
4. Vertical shifting: Graph y = - 12 f(x - 1) + 3 by shifting the previous graph
up 3 units.
6JGITCRJQHy=f x
YKVJƂXGRQKPVUKFGPVKƂGF 6JGITCRJQHy=f x– 6JGITCRJQHy=f
x–
)TCRJy=f
x–
y )TCRJy=f x– y 5JTKPMXGTVKECNN[D[C y
5JKHVWPKVVQVJG
HCEVQTQH/WNVKRN[
(–2, 4) 5 TKIJV#FFVQGCEJ (–1, 4)
5
GCEJyEQQTFKPCVGD[
5
4 4 4
xEQQTFKPCVG
3 y=f x 3 y=f x– (–1, 2) 3
2 2 2 y=f
x–
)TCRJy=–f x– 4GƃGEV
CDQWVVJGxCZKU4GRNCEGGCEJyEQQTFKPCVG
YKVJKVUQRRQUKVG
y )TCRJ y
x– +
y=–f
5 5JKHVWRWPKVU#FF 5 (3, 4)
4 VQGCEJyEQQTFKPCVG (–3, 3) 4 (5, 3)
3 3
(1, 3)
2 (3, 1) 2
(–3, 0) 1 (5, 0) (–1, 1) 1 x– +
y=–f
x x
–5 –4 –3 –2 –1–1 1 2 3 4 5 –5 –4 –3 –2 –1–1 1 2 3 4 5
–2 –2
y=–f
x–
(–1, –2) (1, 0)
–3 –3
–4 –4
–5 –5
6JGITCRJQHy=–f
x– 6JGITCRJQHy=–f
x– +
l l l
Section 2.5 Transformations of Functions 293
Check Point 8 Use the graph of y = f(x) given in Figure 2.53 of Check Point 7
on page 291 to graph y = - 13 f(x + 1) - 2.
Solution
Our graphs will evolve in the following order:
2
1. Horizontal shifting: Graph y = (x + 3) by shifting the graph of f(x) = x 2
three units to the left.
2
2. Stretching: Graph y = 2(x + 3) by stretching the previous graph by a
factor of 2.
2
3. Vertical shifting: Graph g(x) = 2(x + 3) - 1 by shifting the previous
graph down 1 unit.
6JGITCRJQHf x =x
YKVJVJTGGRQKPVUKFGPVKƂGF 6JGITCRJQHy= x+
y )TCRJy= x+ y
5JKHVWPKVUVQVJGNGHV
5 5WDVTCEVHTQOGCEJ (–5, 4) 5
(–2, 4) (2, 4)
4 xEQQTFKPCVG 4
(–1, 4)
3 3
f x =x
2 2
1 1 y= x+
x x
–5 –4 –3 –2 –1–1 1 2 3 4 5 –5 –4 –3 –2 –1–1 1 2 3 4 5
–2 –2
(0, 0) (–3, 0)
–3 –3
–4 –4
–5 –5
6JGITCRJQHy= x+ 6JGITCRJQHg x = x+ −
l l l
Check Point 9 Use the graph of f(x) = x2 to graph g(x) = 2(x - 1)2 + 3.
294 Chapter 2 Functions and Graphs
Achieving Success
When using your professor’s office hours, show up prepared. If you are having difficulty with
a concept or problem, bring your work so that your instructor can determine where you are
having trouble. If you miss a lecture, read the appropriate section in the textbook, borrow
class notes, and attempt the assigned homework before your office visit. Because this text
has an accompanying video lesson for every objective, you might find it helpful to view the
video covering the material you missed. It is not realistic to expect your professor to rehash
all or part of a class lecture during office hours.
1. The graph of y = f(x) - 5 is obtained by a/an 5. The graph of y = 5f(x) is obtained by a/an
shift of the graph of y = f(x) a stretch of the graph of y = f(x) by multiplying each of
distance of 5 units. its -coordinates by 5.
2. The graph of y = f(x - 5) is obtained by a/an 6. The graph of y = f 1 15x 2 is obtained by a/an
shift of the graph of y = f(x) stretch of the graph of y = f(x) by
a distance of 5 units. multiplying each of its -coordinates by 5.
3. The graph of y = -f(x) is the graph of y = f(x) 7. True or false: The graph of g(x) = 1x + 4 is the
reflected about the . graph of f(x) = 1x shifted horizontally to the right
4. The graph of y = f( -x) is the graph of y = f(x) by 4 units.
reflected about the .
15. g(x) = -f 1 12 x 2 + 1 16. g(x) = - f(2x) - 1 31. g(x) = 2f(x + 2) + 1 32. g(x) = 2f(x + 2) - 1