19
Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two or more elements in the domain may be matched with one element in the range. An element in the domain CANNOT be matched with two different elements in the range.

Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Embed Size (px)

Citation preview

Page 1: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Each element in A must be matched with an element in B

Ex– (0,3) (3,2) (9,4) (12,5)

Some elements in the range may not be matched with the domain.

Two or more elements in the domain may be matched with one element in the range.

An element in the domain CANNOT be matched with two different elements in the range.

Page 2: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Example—Is the following relationship a function?

Domain Range-2 3-1 40 512

Page 3: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Example— A = {a, b, c} B = {0, 1, 2, 3}

Which sets of ordered pairs represent functions from A to B?

{(a, 1), (b, 2), (c, 3)}

{(1, a), (0, a), (2, c), (3, b) }

Page 4: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Which of the equations represent(s) y as a function of x?

x2 + y = 1

- x + y2 = 1

Page 5: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Vertical Line Test!!!

                         

                         

                         

                         

                         

                         

                         

                         

                         

                         

                         

Page 6: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

f(x) reads “f of x” Evaluating functions

Example—G(x) = -x2 + 4x + 1G(2) =

G(t) =

G(x + 2) =

Page 7: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Domain – Input values these are the x values in an equation

Range – Output values these are the y values in an

equation

In an equation– you must exclude any of the values that make the denominator zero or make a negative under the radical.

Page 8: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Example

If f(x) = x2 + 3, evaluate f(2)

2 2f( ) = 2 + 3x xf(2) = 4 + 3f(2) = 7

What does this mean?•It means when x = 2, y = 7

•It means the point (2,7) is on the graph

Page 9: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Example

If f(x) = 2x3 + 4x - 6, evaluate f(-1)-1 (-1)f( ) = 2 3 + 4 - 6 xx

f(-1) = 2(-1) + 4(-1) - 6f(-1) = -12

What does this mean?•It means when x = -1, y = -12

•It means the point (-1,-12) is on the graph of f(x)

x(-1)

Page 10: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

The evaluation may get slightly more complicated…

ExampleIf g(x) = x2 + 2x, evaluate g(x – 3)

g(x) = 2 + 2x x(x -3) (x -3)g(x) = (x2 – 6x + 9) + 2x - 6

g(x) = x2 – 6x + 9 + 2x - 6g(x) = x2 – 4x + 3

What does this mean?

Page 11: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two
Page 12: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Definition:Definition:

Piecewise Function Piecewise Function –a –a function defined by two function defined by two or more functions over a or more functions over a specified domain.specified domain.

Page 13: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

What do they look like?

f(x) = x2 + 1 , x 0x – 1 , x 0

You can EVALUATE piecewise functions.

You can GRAPH piecewise functions.

Page 14: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Evaluating Piecewise Functions:

Evaluating piecewise functions is just like evaluating functions that you are already familiar with.

f(x) = x2 + 1 , x 0x – 1 , x 0

Let’s calculate f(2).

You are being asked to find y when x = 2. Since 2 is 0, you will only substitute into the second part of the function.

f(2) = 2 – 1 = 1

Page 15: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

f(x) = x2 + 1 , x 0x – 1 , x 0

Let’s calculate f(-2).

You are being asked to find y when x = -2. Since -2 is 0, you will only substitute into the first part of the function.

f(-2) = (-2)2 + 1 = 5

Page 16: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Your turn:

f(x) = 2x + 1, x 02x + 2, x 0

Evaluate the following:

f(-2) = -3?

f(0) = 2?

f(5) = 12?

f(1) = 4?

Page 17: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

One more:

f(x) = 3x - 2, x -2-x , -2 x 1x2 – 7x, x 1

Evaluate the following:

f(-2) = 2?

f(-4) = -14?

f(3) = -12?

f(1) = -6?

Page 18: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

Graphing Piecewise Functions:

f(x) = x2 + 1 , x 0x – 1 , x 0

Determine the shapes of the graphs.

Parabola and LineDetermine the boundaries of each graph.                        

                       

                       

                       

                       

                       

                       

                       

Graph the parabola where x is less than zero.

Graph the line where x is greater than or equal to zero.

Page 19: Each element in A must be matched with an element in B Ex– (0,3) (3,2) (9,4) (12,5) Some elements in the range may not be matched with the domain. Two

3x + 2, x -2-x , -2 x 1x2 – 2, x 1

f(x) =

Graphing Piecewise Functions:

Determine the shapes of the graphs.

Line, Line, ParabolaDetermine the boundaries of each graph.