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

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

Embed Size (px)

Citation preview

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

Chapter 2

Functions and Graphs

Section 2

Elementary Functions: Graphs and

Transformations

Page 2: 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

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

3Barnett/Ziegler/Byleen Business Calculus 12e

Identity Function

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

f (x) x

(𝑘𝑒𝑦𝑝𝑜𝑖𝑛𝑡𝑠 h𝑠 𝑜𝑤𝑛𝑖𝑛𝑟𝑒𝑑)

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

4Barnett/Ziegler/Byleen Business Calculus 12e

Square Function

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

h(x) x2

(𝑘𝑒𝑦𝑝𝑜𝑖𝑛𝑡𝑠 h𝑠 𝑜𝑤𝑛𝑖𝑛𝑟𝑒𝑑)

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

5Barnett/Ziegler/Byleen Business Calculus 12e

Cube Function

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

m(x) x3

(𝑘𝑒𝑦𝑝𝑜𝑖𝑛𝑡𝑠 h𝑠 𝑜𝑤𝑛𝑖𝑛𝑟𝑒𝑑)

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

6Barnett/Ziegler/Byleen Business Calculus 12e

Square Root Function

Domain: [0, ∞)

Range: [0, ∞)

n(x) x

(𝑘𝑒𝑦𝑝𝑜𝑖𝑛𝑡𝑠 h𝑠 𝑜𝑤𝑛𝑖𝑛𝑟𝑒𝑑)

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

7Barnett/Ziegler/Byleen Business Calculus 12e

Cube Root Function

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

p(x) x3

(𝑘𝑒𝑦𝑝𝑜𝑖𝑛𝑡𝑠 h𝑠 𝑜𝑤𝑛𝑖𝑛𝑟𝑒𝑑)

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

8Barnett/Ziegler/Byleen Business Calculus 12e

Absolute Value Function

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

p(x) x

(𝑘𝑒𝑦𝑝𝑜𝑖𝑛𝑡𝑠 h𝑠 𝑜𝑤𝑛𝑖𝑛𝑟𝑒𝑑)

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

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

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

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.

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

11Barnett/Ziegler/Byleen Business Calculus 12e

Vertical Shift

State the domain and range of each function.

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

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

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

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

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

14Barnett/Ziegler/Byleen Business Calculus 12e

Horizontal Shift

State the domain and range of each function.

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

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

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

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|

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

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.

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

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

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

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

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

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.

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

21

Domain & Range

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

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

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

Barnett/Ziegler/Byleen Business Calculus 12e

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

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

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

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.

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

24

Domain & Range

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

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

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

Barnett/Ziegler/Byleen Business Calculus 12e

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

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

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

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

𝐷 : (− ∞ , ∞ )𝑅 :¿ 𝐷 : (− ∞ , ∞ )𝑅 :¿

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

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

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

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 , ∞ )𝑅 :¿

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

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:

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

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.

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

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

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

32

Piecewise Practice

Barnett/Ziegler/Byleen Business Calculus 12e

h𝐺𝑟𝑎𝑝 𝑓 (𝑥 )={ −√𝑥 𝑥>4(𝑥+1)2𝑥<2

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

33Barnett/Ziegler/Byleen Business Calculus 12e

x

y

h𝐺𝑟𝑎𝑝 𝑓 (𝑥 )={ −√𝑥 𝑥>4(𝑥+1)2𝑥<2

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

34