340 likes | 444 Views
Transformations of Functions. Learn the meaning of transformations. Use vertical or horizontal shifts to graph functions. Use reflections to graph functions. Use stretching or compressing to graph functions. SECTION 2.7. 1. 2. 3. 4. TRANSFORMATIONS.
E N D
Transformations of Functions Learn the meaning of transformations. Use vertical or horizontal shifts to graph functions. Use reflections to graph functions. Use stretching or compressing to graph functions. SECTION 2.7 1 2 3 4
TRANSFORMATIONS If a new function is formed by performing certain operations on a given function f , then the graph of the new function is called a transformationof the graph of f.
Parent Functions – The simplest function of its kind. All other functions of its kind are Transformations of the parent.
Graphing Vertical Shifts EXAMPLE 1 Let Sketch the graphs of these functions on the same coordinate plane. Describe how the graphs of g and h relate to the graph of f.
Make a table of values. Solution Graphing Vertical Shifts EXAMPLE 1
Solution continued Graph the equations. The graph of y = |x| + 2 is the graph of y = |x| shifted two units up. The graph of y = |x| – 3 is the graph of y = |x| shifted three units down. Graphing Vertical Shifts EXAMPLE 1
VERTICAL SHIFT Let d > 0. The graph of y = f(x) + d is the graph of y = f(x) shifted d units up, and the graph of y = f(x) – d is the graph of y = f(x) shifted d units down.
EXAMPLE 2 Writing Functions for Horizontal Shifts Let f(x) = x2, g(x) = (x – 2)2, and h(x) = (x + 3)2. A table of values for f, g, and h is given on the next slide. The graphs of the three functions f, g, and h are shown on the following slide. Describe how the graphs of g and h relate to the graph of f.
EXAMPLE 2 Writing Functions for Horizontal Shifts
EXAMPLE 2 Writing Functions for Horizontal Shifts
EXAMPLE 2 Writing Functions for Horizontal Shifts Solution All three functions are squaring functions. a. g is obtained by replacing x with x – 2 in f . The x-intercept of f is 0. The x-intercept of g is 2. For each point (x, y) on the graph of f , there will be a corresponding point (x + 2, y) on the graph of g. The graph of g is the graph of f shifted 2 units to the right.
EXAMPLE 2 Writing Functions for Horizontal Shifts Solution continued b. h is obtained by replacing x with x + 3 in f . The x-intercept of f is 0. The x-intercept of h is –3. For each point (x, y) on the graph of f , there will be a corresponding point (x – 3, y) on the graph of h. The graph of h is the graph of f shifted 3 units to the left. The tables confirm both these considerations.
HORIZONTAL SHIFT The graph of y = f(x – c) is the graph of y = f(x) shifted |c| units to the right, if c > 0, to the left if c < 0.
Graphing Combined Vertical and Horizontal Shifts EXAMPLE 3 Sketch the graph of the function Solution Identify and graph the parent function
Graphing Combined Vertical and Horizontal Shifts EXAMPLE 3 Solution continued Translate 2 units to the left Translate 3 units down
REFLECTION IN THE x-AXIS The graph of y = – f(x) is a reflection of the graph of y = f(x) in the x-axis. If a point (x, y) is on the graph of y = f(x), then the point (x, –y) is on the graph of y = – f(x).
REFLECTION IN THE y-AXIS The graph of y = f(–x) is a reflection of the graph of y = f(x) in the y-axis. If a point (x, y) is on the graph of y = f(x), then the point (–x, y) is on the graph of y = f(–x).
Solution Step 1 Shift the graph of y = |x| two units right to obtain the graph of y = |x – 2|. EXAMPLE 4 Combining Transformations Explain how the graph of y = –|x – 2| + 3 can be obtained from the graph of y = |x|.
EXAMPLE 4 Combining Transformations Solution continued Step 2 Reflect the graph of y = |x – 2| in the x–axis to obtain the graph of y = –|x – 2|.
EXAMPLE 4 Combining Transformations Solution continued Step 3 Shift the graph of y = –|x – 2| three units up to obtain the graph of y = –|x – 2| + 3.
Stretching or Compressing a Function Vertically EXAMPLE 5 Let Sketch the graphs of f, g, and h on the same coordinate plane, and describe how the graphs of g and h are related to the graph of f. Solution
Stretching or Compressing a Function Vertically EXAMPLE 5 Solution continued
Stretching or Compressing a Function Vertically EXAMPLE 5 Solution continued The graph of y = 2|x| is the graph of y = |x| vertically stretched (expanded) by multiplying each of its y–coordinates by 2. The graph of |x| is the graph of y = |x| vertically compressed (shrunk) by multiplying each of its y–coordinates by .
VERTICAL STRETCHING OR COMPRESSING The graph of y = af(x) is obtained from the graph of y = f(x) by multiplying the y-coordinate of each point on the graph of y = f(x) by a and leaving the x-coordinate unchanged. The result is • A vertical stretch away from the x-axis if • a > 1; • 2. A vertical compression toward the x-axis if • 0 < a < 1. If a < 0, the graph of f is first reflected in the x-axis, then vertically stretched or compressed.