2.2 graphs of functions. 2 objectives ► graphing functions by plotting points ► graphing...

32
1 2.2 Graphs Of Functions

Upload: ilene-freeman

Post on 17-Jan-2018

242 views

Category:

Documents


0 download

DESCRIPTION

3 Graphs Of Functions The most important way to visualize a function is through its graph. In this section we investigate in more detail the concept of graphing functions.

TRANSCRIPT

Page 1: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

2.2

Graphs Of Functions

Page 2: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

2

Objectives

► Graphing Functions by Plotting Points

► Graphing Functions with a Graphing Calculator

► Graphing Piecewise Defined Functions

► The Vertical Line Test

► Equations That Define Functions

Page 3: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

3

Graphs Of FunctionsThe most important way to visualize a function is through its graph.

In this section we investigate in more detail the concept of graphing functions.

Page 4: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

4

Graphing Functions by Plotting Points

Page 5: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

5

Graphing Functions by Plotting Points

To graph a function f, we plot the points (x, f (x)) in a coordinate plane.

In other words, we plot the points (x, y) whose x-coordinate is an input and whose y-coordinate is the correspondingoutput of the function.

Page 6: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

6

Example 1 – Graphing Functions by Plotting Points

Sketch graphs of the following functions:(a) f (x) = x2 (b) g (x) = x3 (c) h (x) =

Page 7: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

7

Example 1 – Graphing Functions by Plotting Points

Sketch graphs of the following functions:(a) f (x) = x2 (b) g (x) = x3 (c) h (x) =

Page 8: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

8

Example 1 – Graphing Functions by Plotting Points

Sketch graphs of the following functions:(a) f (x) = x2 (b) g (x) = x3 (c) h (x) =

Page 9: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

9

Graphing Functions with a Graphing Calculator

(because it’s convenient)

Page 10: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

10

Example 2 – Graphing a Function with a Graphing Calculator

Use a graphing calculator to graph the function f (x) = x3 – 8x2 in an appropriate viewing rectangle.

Page 11: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

11

Example 2 – Graphing a Function with a Graphing Calculator

Use a graphing calculator to graph the function f (x) = x3 – 8x2 in an appropriate viewing rectangle.

View with default settings:

Page 12: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

12

Example 2 – Graphing a Function with a Graphing Calculator

Use a graphing calculator to graph the function f (x) = x3 – 8x2 in an appropriate viewing rectangle.

* We need to expand the vertical axis to get a betterrepresentation of the graph.

* The viewing rectangle [–4, 10] by [–100, 100] gives a more complete picture of the graph.

Page 13: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

13

Graphing Piecewise Defined Functions

Page 14: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

14

Graphing Piecewise Defined Functions

A piecewise defined function is defined by different formulas on different parts of its domain.

As you might expect, the graph of such a function consists of separate pieces.

Page 15: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

15

Example 4 – Graphing Piecewise Defined Functions

Graph the function:

Page 16: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

16

Example 4 – Graphing Piecewise Defined Functions

Graph the function:

Page 17: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

17

Graphing Piecewise Defined Functions

The greatest integer function is defined by:

= greatest integer less than or equal to x

For example,

and

The greatest integer function is an example of a step function. The next example gives a real-world example of a step function.

Page 18: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

18

Example 7 – The Cost Function for Long-Distance Phone Calls

The cost of a long-distance daytime phone call from Toronto, Canada, to Mumbai, India, is 69 cents for the first minute and 58 cents for each additional minute (or part of aminute). Draw the graph of the cost C (in dollars) of the phone call as a function of time t (in minutes).

Page 19: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

19

Example 7 – The Cost Function for Long-Distance Phone Calls

The graph is:

Page 20: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

20

The Vertical Line Test

Page 21: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

21

The Vertical Line TestThe graph of a function is a curve in the xy-plane. But the question arises: Which curves in the xy-plane are graphs of functions? This is answered by the following test:

Page 22: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

22

The Vertical Line TestWe can see from the figures why the Vertical Line Test is true:

Not a graph of a functionGraph of a function

Page 23: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

23

The Vertical Line TestIf each vertical line x = a intersects a curve only once at (a, b), then exactly one functional value is defined byf (a) = b.

But if a line x = a intersects the curve twice, at (a, b) and at (a, c), then the curve cannot represent a function because a function cannot assign two different values to a.

Page 24: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

24

Example 8 – Using the Vertical Line Test

Using the Vertical Line Test, we see that the curves in parts (b) and (c) represent functions, whereas those in parts (a) and (d) do not.

(a) (d)(c)(b)

Page 25: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

25

Equations That Define Functions

Page 26: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

26

Equations That Define FunctionsAny equation in the variables x and y defines a relationship between these variables. For example, the equation

y – x2 = 0

defines a relationship between y and x. Does this equation define y as a function of x? To find out, we solve for y and get

y = x2

We see that the equation defines a rule, or function, that gives one value of y for each value of x.

Page 27: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

27

Equations That Define FunctionsWe can express this rule in function notation as

f (x) = x2

But not every equation defines y as a function of x, as the next example shows.

Page 28: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

28

Example 9 – Equations That Define Functions

Does the equation define y as a function of x?

(a) y – x2 = 2 (b) x2 + y2 = 4

Page 29: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

29

Equations That Define FunctionsThe graphs of the equations in Example 9 are shown below.

The Vertical Line Test shows graphically that the equation in Example 9(a) defines a function but the equation in Example 9(b) does not.

(a) (b)

Page 30: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

30

Equations That Define FunctionsThe following table shows the graphs of some functions that you will see frequently.

Page 31: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

31

Equations That Define Functions

Page 32: 2.2 Graphs Of Functions. 2 Objectives ► Graphing Functions by Plotting Points ► Graphing Functions with a Graphing Calculator ► Graphing Piecewise Defined

32

Graph of a Function

Practice:

p. 159-162#1-4, 10, 11, 19, 25, 33-39o, 49, 51-55o, 57-60, 83