Chapter 2 Functions and Graphs Section 2 Elementary Functions: Graphs and Transformations

Preview:

Citation preview

Chapter 2

Functions and Graphs

Section 2

Elementary Functions: Graphs and

Transformations

2Barnett/Ziegler/Byleen Business Calculus 12e

Learning Objectives for Section 2.2

The student will become familiar with a beginning library of elementary functions.

The student will be able to transform functions using vertical and horizontal shifts.

The student will be able to transform functions using reflections, stretches, and shrinks.

The student will be able to graph piecewise-defined functions.

Elementary Functions; Graphs and Transformations

3Barnett/Ziegler/Byleen Business Calculus 12e

Identity Function

Domain: All reals (-, )Range: All reals (-, )

f (x) x

(π‘˜π‘’π‘¦π‘π‘œπ‘–π‘›π‘‘π‘  h𝑠 π‘œπ‘€π‘›π‘–π‘›π‘Ÿπ‘’π‘‘)

4Barnett/Ziegler/Byleen Business Calculus 12e

Square Function

Domain: All reals (-, )Range: [0, ∞)

h(x) x2

(π‘˜π‘’π‘¦π‘π‘œπ‘–π‘›π‘‘π‘  h𝑠 π‘œπ‘€π‘›π‘–π‘›π‘Ÿπ‘’π‘‘)

5Barnett/Ziegler/Byleen Business Calculus 12e

Cube Function

Domain: All reals (-, )Range: All reals (-, )

m(x) x3

(π‘˜π‘’π‘¦π‘π‘œπ‘–π‘›π‘‘π‘  h𝑠 π‘œπ‘€π‘›π‘–π‘›π‘Ÿπ‘’π‘‘)

6Barnett/Ziegler/Byleen Business Calculus 12e

Square Root Function

Domain: [0, ∞)

Range: [0, ∞)

n(x) x

(π‘˜π‘’π‘¦π‘π‘œπ‘–π‘›π‘‘π‘  h𝑠 π‘œπ‘€π‘›π‘–π‘›π‘Ÿπ‘’π‘‘)

7Barnett/Ziegler/Byleen Business Calculus 12e

Cube Root Function

Domain: All reals (-, ) Range: All reals (-, )

p(x) x3

(π‘˜π‘’π‘¦π‘π‘œπ‘–π‘›π‘‘π‘  h𝑠 π‘œπ‘€π‘›π‘–π‘›π‘Ÿπ‘’π‘‘)

8Barnett/Ziegler/Byleen Business Calculus 12e

Absolute Value Function

Domain: All reals (-, ) Range: [0, ∞)

p(x) x

(π‘˜π‘’π‘¦π‘π‘œπ‘–π‘›π‘‘π‘  h𝑠 π‘œπ‘€π‘›π‘–π‘›π‘Ÿπ‘’π‘‘)

9

Transformations

Types of transformations performed on graphs:β€’ Vertical shift (translation)β€’ Horizontal shift (translation)β€’ Vertical stretch/shrink (dilation)β€’ Horizontal stretch/shrink (dilation)β€’ Reflection

Each one can be determined by examining the equation of the graph.

Barnett/Ziegler/Byleen Business Calculus 12e

10Barnett/Ziegler/Byleen Business Calculus 12e

Vertical Shift

The graph of y = f(x) + h β€’ Shifts the graph of y = f(x) up h units

The graph of y = f(x) - h β€’ Shifts the graph of y = f(x) down h units

Graph y = |x|, y = |x| + 4, and y = |x| – 5.

11Barnett/Ziegler/Byleen Business Calculus 12e

Vertical Shift

State the domain and range of each function.

12

Domain & Range

y = |x|β€’ D: (-, ) R: [0, )

y = |x| + 4β€’ D: (-, ) R: [4, )

y = |x| – 5 D: (-, ) R: [-5, )

Barnett/Ziegler/Byleen Business Calculus 12e

13Barnett/Ziegler/Byleen Business Calculus 12e

Horizontal Shift

The graph of y = f(x + h) β€’ Shifts the graph of y = f(x) left h units

The graph of y = f(x - h) β€’ Shifts the graph of y = f(x) right h units

Graph y = |x|, y = |x + 4|, and y = |x – 5|.

14Barnett/Ziegler/Byleen Business Calculus 12e

Horizontal Shift

State the domain and range of each function.

15

Domain & Range

y = |x|β€’ D: (-, ) R: [0, )

y = |x+4|β€’ D: (-, ) R: [0, )

y = |x-5| D: (-, ) R: [0, )

Barnett/Ziegler/Byleen Business Calculus 12e

16Barnett/Ziegler/Byleen Business Calculus 12e

Vertical Stretching/Shrinking

The graph of y = Af(x) can be obtained from the graph ofy = f(x) by multiplying each y-coordinate of f(x) by A.

If A > 1, the result is a vertical stretch by a factor of A.

If 0 < A < 1, the result is a vertical shrink by a factor of A.

Graph y = |x|, y = 2|x|, and y = 0.5|x|

17Barnett/Ziegler/Byleen Business Calculus 12e

Vertical Stretching/Shrinking

(2,2)

(2,1)

(2,4 )

Vertical shrink

𝑦=2|π‘₯|Vertical stretch

𝑦=0.5|π‘₯|

State the domain and range of each function.

18

Domain & Range

y = |x|β€’ D: (-, ) R: [0, )

y = 2|x|β€’ D: (-, ) R: [0, )

y = 0.5|x| D: (-, ) R: [0, )

Barnett/Ziegler/Byleen Business Calculus 12e

19Barnett/Ziegler/Byleen Business Calculus 12e

Horizontal Stretching/Shrinking

The graph of y = f(cx) can be obtained from the graph ofy = f(x) by multiplying each x-coordinate by .

If c > 1, the result is a horizontal shrink by a factor of

If 0 < c < 1, the result is a horizontal stretch by a factor of

Graph , , and

20

Horizontal Stretching/Shrinking

Barnett/Ziegler/Byleen Business Calculus 12e

x

y

𝑦=√π‘₯ (4,2)𝑦=√2 π‘₯(2,2)

𝑦=√0.5 π‘₯(8,2)

Horizontal shrink

Horizontal stretch

State the domain and range of each function.

21

Domain & Range

β€’ D: [0, ) R: [0, )

β€’ D: [0, ) R: [0, )

D: [0, ) R: [0, )

Barnett/Ziegler/Byleen Business Calculus 12e

22

Reflections

Barnett/Ziegler/Byleen Business Calculus 12e

β€’ The graph of y = -f(x) β€’ Reflects the graph of y = f(x) over the x-axis.

β€’ The graph of y = f(-x) β€’ Reflects the graph of y = f(x) over the y-axis.

β€’ Graph , and

23

Reflections

Barnett/Ziegler/Byleen Business Calculus 12e

x

y

𝑦=√π‘₯

𝑦=βˆ’βˆšπ‘₯

𝑦=βˆšβˆ’π‘₯

Reflected over x-axis

Reflected over y-axis

State the domain and range of each function.

24

Domain & Range

β€’ D: [0, ) R: [0, )

β€’ D: [0, ) R: (-, 0]

D: (-, 0] R: [0, )

Barnett/Ziegler/Byleen Business Calculus 12e

25

Multiple Transformations

It is common for a graph to have multiple transformations. It’s important to know what the parent looks like so you

can perform each transformation on it.

Barnett/Ziegler/Byleen Business Calculus 12e

26

Example 1

Describe the transformations for the function: y = -|x + 3|

y = |x| shifted left 3, reflected over x-axis

Barnett/Ziegler/Byleen Business Calculus 12e

𝑦=ΒΏ π‘₯∨¿ 𝑦=βˆ’βˆ¨π‘₯+3∨¿

x

y

x

y

𝐷 : (βˆ’ ∞ , ∞ )𝑅 :ΒΏ 𝐷 : (βˆ’ ∞ , ∞ )𝑅 :ΒΏ

27

Example 2

Describe the transformations for : y = (x – 5)2 + 4

Barnett/Ziegler/Byleen Business Calculus 12e

𝑦=π‘₯2 𝑦=(π‘₯βˆ’5)2+4

𝑦=π‘₯2, h𝑠 𝑖𝑓𝑑𝑒𝑑 hπ‘Ÿπ‘–π‘” 𝑑 5 ,𝑒𝑝 4

𝐷 : (βˆ’ ∞ , ∞ )𝑅 :ΒΏ 𝐷 : (βˆ’ ∞ , ∞ )𝑅 :ΒΏ

x

y

x

y

28

Example 3

Describe the transformations for : y =

, shifted left 4, stretched vertically by 2, down 3

Barnett/Ziegler/Byleen Business Calculus 12e

𝑦=√π‘₯ 𝑦=2√π‘₯+7 βˆ’ 3

x

y

x

y

𝐷 : [ 0 , ∞ )𝑅 :ΒΏ 𝐷 : [ βˆ’ 4 , ∞ )𝑅 :ΒΏ

29

Writing Equations of Functions

Barnett/Ziegler/Byleen Business Calculus 12e

Write the equation for each function described:1. shifted left 3 units, reflected over the x-axis and

shifted down 7 units.Answer:

2. stretched horizontally by a factor of 6, shifted up 2 units.

Answer: 3. shifted right 5 units, stretched vertically by a

factor of 4. Answer:

30Barnett/Ziegler/Byleen Business Calculus 12e

Piecewise-Defined Functions

Functions whose definitions involve more than one rule for different parts of its domain are called piecewise-defined functions.

Graphing one of these functions involves graphing each rule over the appropriate portion of the domain.

31Barnett/Ziegler/Byleen Business Calculus 12e

Example of a Piecewise-Defined Function

Graph the function

Notice that the point (2,0) is included but the point (2, –2) is not.

2if2

2if22)(

xx

xxxf

32

Piecewise Practice

Barnett/Ziegler/Byleen Business Calculus 12e

hπΊπ‘Ÿπ‘Žπ‘ 𝑓 (π‘₯ )={ βˆ’βˆšπ‘₯ π‘₯>4(π‘₯+1)2π‘₯<2

33Barnett/Ziegler/Byleen Business Calculus 12e

x

y

hπΊπ‘Ÿπ‘Žπ‘ 𝑓 (π‘₯ )={ βˆ’βˆšπ‘₯ π‘₯>4(π‘₯+1)2π‘₯<2

34

Recommended