Transformations of Functions

33
1 Transformations of Functions SECTION 2.7 1 2 3 4 Learn the meaning of transformations. Use vertical or horizontal shifts to graph functions. Use reflections to graph functions.

description

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. - PowerPoint PPT Presentation

Transcript of Transformations of Functions

Page 1: Transformations of Functions

1

Transformations of FunctionsSECTION 2.7

1

2

3

4

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.

Page 2: Transformations of Functions

2

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 transformation of the graph of f.

Page 3: Transformations of Functions
Page 4: Transformations of Functions
Page 5: Transformations of Functions

Parent Functions – The simplest function of its kind. All other functions of its kind are Transformations of the parent.

Page 6: Transformations of Functions
Page 7: Transformations of Functions
Page 8: Transformations of Functions

8

EXAMPLE 1 Graphing Vertical Shifts

Let , 2, and 3.f x x g x x h x x 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.

Page 9: Transformations of Functions

9

EXAMPLE 1 Graphing Vertical Shifts

SolutionMake a table of values.

Page 10: Transformations of Functions

10

EXAMPLE 1 Graphing Vertical Shifts

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.

Page 11: Transformations of Functions

11

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.

Page 12: Transformations of Functions

12

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.

Page 13: Transformations of Functions

13

EXAMPLE 2 Writing Functions for Horizontal Shifts

Page 14: Transformations of Functions

14

EXAMPLE 2 Writing Functions for Horizontal Shifts

Page 15: Transformations of Functions

15

EXAMPLE 2 Writing Functions for Horizontal Shifts

All three functions are squaring functions.Solution

The x-intercept of f is 0.The x-intercept of g is 2.

a. g is obtained by replacing x with x – 2 in f .

2

22

f x

g x

x

x

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.

Page 16: Transformations of Functions

16

EXAMPLE 2 Writing Functions for Horizontal Shifts

Solution continued

The x-intercept of f is 0.The x-intercept of h is –3.

b. h is obtained by replacing x with x + 3 in f .

2

23

f x

h x

x

x

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.

Page 17: Transformations of Functions

17

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.

Page 18: Transformations of Functions
Page 19: Transformations of Functions

19

EXAMPLE 3

Sketch the graph of the function

2 3.g x x

Solution

Identify and graph the parent function

.f x x

Graphing Combined Vertical and Horizontal Shifts

Page 20: Transformations of Functions

20

EXAMPLE 3

Solution continued

Graphing Combined Vertical and Horizontal Shifts

2 3.g x x

Translate 2 units to the left

Translate 3 units down

Page 21: Transformations of Functions

21

REFLECTION IN THE x-AXISThe 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).

Page 22: Transformations of Functions

22

REFLECTION IN THE x-AXIS

Page 23: Transformations of Functions

23

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).

Page 24: Transformations of Functions

24

REFLECTION IN THE y-AXIS

Page 25: Transformations of Functions

25

EXAMPLE 4 Combining Transformations

Explain how the graph of y = –|x – 2| + 3 can be obtained from the graph of y = |x|.

Solution

Step 1 Shift the graph of y = |x| two units right to obtain the graph of y = |x – 2|.

Page 26: Transformations of Functions

26

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|.

Page 27: Transformations of Functions

27

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.

Page 28: Transformations of Functions

28

EXAMPLE 5Stretching or Compressing a Function Vertically

Solution

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.

f x x , g x 2 x , and h x 1

2x .Let

x –2 –1 0 1 2

f(x) 2 1 0 1 2

g(x) 4 2 0 2 4

h(x) 1 1/2 0 1/2 1

Page 29: Transformations of Functions

29

EXAMPLE 5Stretching or Compressing a Function Vertically

Solution continued

Page 30: Transformations of Functions

30

EXAMPLE 5Stretching or Compressing a Function Vertically

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 .

1

2y

1

2

Page 31: Transformations of Functions

31

VERTICAL STRETCHING OR COMPRESSING

The graph of y = a f (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

1. 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.

Page 32: Transformations of Functions
Page 33: Transformations of Functions