Warm Up Use the graph for Problems 1–2. 1. List the x-coordinates of the points. 2. List the...

Post on 19-Jan-2016

214 views 1 download

Transcript of Warm Up Use the graph for Problems 1–2. 1. List the x-coordinates of the points. 2. List the...

Warm UpUse the graph for Problems 1–2.

1. List the x-coordinates of the points. 2. List the y-coordinates of the points.

–2, 0, 3, 5

3, 4, 1, 0

Chapter 2.1 Relation and FunctionIdentify the domain and range of relations and functions.

Determine whether a relation is a function

Success Criteria:

Identify the domain and range of functions

Identify if a relation is a function

Today’s Agenda Do Now Lesson 2.1 (2 days) HW #9 (if we get to it)

Do Now:

A relation is a pairing of input values with output values. It can be shown as a set of ordered pairs (x,y), where x is an input and y is an output.

The set of input values for a relation is called the domain, and the set of output values is called the range.

A

B

C

2

Domain Range

Mapping Diagram

Set of Ordered Pairs

{(2, A), (2, B), (2, C)}

(x, y) (input, output) (domain, range)

Example 1: Identifying Domain and Range

Give the domain and range for this relation:

{(100, 5), (120, 5), (140, 6), (160, 6), (180, 12)}

{(100,5), (120,5), (140,6), (160,6), (180,12)}.

The set of x-coordinates.

The set of y-coordinates.

Domain: {100, 120, 140, 160, 180}

Range: {5, 6, 12}

List the set of ordered pairs:

Check It Out! Example 1

Give the domain and range for the relation shown in the graph.

Domain: {–2, –1, 0, 1, 2, 3}

Range: {–3, –2, –1, 0, 1, 2}

List the set of ordered pairs:

{(–2, 2), (–1, 1), (0, 0), (1, –1), (2, –2), (3, –3)}

The set of x-coordinates.

The set of y-coordinates.

Do Not copy the next 3 slides, except vocab!

Suppose you are told that a person entered a word into a text message using the numbers 6, 2, 8, and 4 on a cell phone. It would be difficult to determine the word without seeing it because each number can be used to enter three different letters.

Number {Number, Letter}

{(8, T), (8, U), (8, V)}

{(6, M), (6, N), (6, O)}

{(2, A), (2, B), (2, C)}

{(4, G), (4, H), (4, I)}

The numbers 6, 2, 8, and 4 each appear asthe first coordinate of three different orderedpairs.

However, if you are told to enter the word MATH into a text message, you can easily determine that you use the numbers 6, 2, 8, and 4, because each letter appears on only one numbered key.

{(M, 6), (A, 2), (T, 8), (H,4)} The first coordinate is different in each ordered pair.

A relation in which the first coordinate is never repeated is called a function.

In a function, there is only one output for each input, so each element of the domain is mapped to exactly one element in the range.

Not a function: The relationship from number to letter is not a function because the domain value 2 is mapped to the range values A, B, and C.

Function: The relationship from letter to number is a function because each letter in the domain is mapped to only one number in the range.

Example 2: Determining Whether a Relation is a Function

Determine whether each relation is a function.A. from the items in a store to their prices on

a certain date

B. from types of fruits to their colors

There is only one price for each different item on a certain date. The relation from items to price makes it a function.

A fruit, such as an apple, from the domain would be associated with more than one color, such as red and green. The relation from types of fruits to their colors is not a function.

Chapter 2.1 Relation and FunctionIdentify the domain and range of relations and functions.

Determine whether a relation is a function

Success Criteria:

Identify the domain and range of functions

Identify if a relation is a function

Today’s Agenda Do Now Lesson 2.1 (2 days) HW #9

Do Now:Determine whether each relation is a function.

1.from each person in class to the number of pets he or she has

2. from city to zip code

function

not a function

Check It Out! Example 2

A.

Determine whether each relation is a function.

B. from the number of items in a grocery cart to the total cost of the items in the cart

There is only one price for each shoe size. The relation from shoe sizes to price makes is a function.

The number items in a grocery cart would be associated with many different total costs of the items in the cart. The relation of the number of items in a grocery cart to the total cost of the items is not a function.

Every point on a vertical line has the same x-coordinate, so a vertical line cannot represent a function. If a vertical line passes through more than one point on the graph of a relation, the relation must have more than one point with the same x-coordinate. Therefore the relation is not a function.

Use the vertical-line test to determine whether the relation is a function. If not, identify two points a vertical line would pass through.

Example 3A: Using the Vertical-Line Test

This is a function. Any vertical line would pass

through only one point on the graph.

This is not a function. A vertical line at x = 1 would pass through (1, 1) and

(1, –2).

This is not a function. A vertical line at x = 1 would pass through (1, 2) and (1, –2).

Some sets of ordered pairs can be described by using an equation. When the set of ordered pairs described by an equation satisfies the definition of a function, the equation can be written in function notation.

ƒ(x) = 5x + 3 ƒ(1) = 5(1) + 3

Output value Output value Input valueInput value

ƒ of x equals 5 times x plus 3. ƒ of 1 equals 5 times 1 plus 3.

The function described by ƒ(x) = 5x + 3 is the same as the function described by y = 5x + 3. And both of these functions are the same as the set of ordered pairs (x, 5x+ 3).

y = 5x + 3 (x, y) (x, 5x + 3)

ƒ(x) = 5x + 3 (x, ƒ(x)) (x, 5x + 3)

Notice that y = ƒ(x) for each x.

The graph of a function is a picture of the function’s ordered pairs.

f(x) is not “f times x” or “f multiplied by x.” f(x) means “the value of f at x.” So f(1) represents the value of f at x =1

Caution

Example 1A: Evaluating Functions

ƒ(x) = 8 + 4x Substitute each value for x and evaluate.

For each function, evaluate ƒ(0), ƒ , and ƒ(–2).

ƒ(0) = 8 + 4(0) = 8

ƒ(–2) = 8 + 4(–2) = 0

ƒ = 8 + 4 = 10

For each function, evaluate ƒ(0), ƒ , and ƒ(–2).

Example 1B: Evaluating Functions

Use the graph to find the corresponding y-value for each x-value.

ƒ(0) = 3

ƒ = 0

ƒ(–2) = 4

Assignment #9

Pg 65-67 #11 – 25 odds 45, 47, 49

In the notation ƒ(x), ƒ is the name of the function. The output ƒ(x) of a function is called the dependent variable because it depends on the input value of the function. The input x is called the independent variable. When a function is graphed, the independent variable is graphed on the horizontal axis and the dependent variable is graphed on the vertical axis.

Graph the function.

Example 2A: Graphing Functions

{(0, 4), (1, 5), (2, 6), (3, 7), (4, 8)}

Graph the points.

Do not connect the points because the values between the given points have not been defined.

A function whose graph is made up of unconnected points is called a discrete function.

Reading Math

Graph the function f(x) = 3x – 1.

Example 2B: Graphing Functions

x 3x – 1 f(x)

– 1 3(– 1) – 1 – 4

0 3(0) – 1 – 1

1 3(1) – 1 2

Make a table. Graph the points.

Connect the points with a line because the function is defined for all real numbers.

Check It Out! Example 2a

Graph the function.

Graph the points.

Do not connect the points because the values between the given points have not been defined.

3 5 7 9

2 6 10

The algebraic expression used to define a function is called the function rule.

The function described by f(x) = 5x + 3 is defined by the function rule 5x + 3.

To write a function rule, first identify the independent and dependent variables.

Example 3A: Entertainment Application

A carnival charges a $5 entrance fee and $2 per ride.

Write a function to represent the total cost after taking a certain number of rides.

Let r be the number of rides and let C be the total cost in dollars. The entrance fee is constant.

C(r) = 5 + 2r

First, identify the independent and dependent variables.

Cost depends on the entrance fee plus the number of rides taken

Cost = entrance fee + number of rides taken

Replace the words with expressions.

Dependent variable Independent variable

What is the value of the function for an input of 12, and what does it represent?

Substitute 12 for r and simplify.

The value of the function for an input of 12 is 29. This means that it costs $29 to enter the carnival and take 12 rides.

C(12) = 5 + 2(12)

C(12) = 29

Example 3B: Entertainment Application

A carnival charges a $5 entrance fee and $2 per ride.

Another word problem Example 3a

A local photo shop will develop and print the photos from a disposable camera for $0.27 per print.

Write a function to represent the cost of photo processing.

Let x be the number of photos and let f be the total cost of the photo processing in dollars.

f(x) = 0.27x

First, identify the independent and dependent variables.

Cost depends on the number of photos processed

Cost = 0.27 number of photos processed

Replace the words with expressions.

Dependent variable Independent variable

Substitute 24 of x and simplify.f(24) = 0.27(24)

= 6.48

What is the value of the function for an input of 24, and what does it represent?

The value of the function for an input of 24 is 6.48. This means that it costs $6.48 to develop 24 photos.

And another word problem!! Example 3b

A local photo shop will develop and print the photos from a disposable camera for $0.27 per print.

Do you get it?? Lesson Quiz: Part I

1. Give the domain and range for this relation: {(10, 5), (20, 5), (30, 5), (60, 100), (90, 100)}.

Determine whether each relation is a function.

2. from each person in class to the number of pets he or she has

3. from city to zip code

function

not a function

D: {10, 20, 30, 60, 90)} R: {5, 100}

Do You get it??? Lesson Quiz: Part IIUse the vertical-line test to determine whether the relation is a function. If not, identify two points a vertical line would pass through.

4.

not a function; possible answer: (3, 2) and (3, –2)

Do You get it??? Lesson Quiz: Part I

For each function, evaluate

1. f(x) = 9 – 6x 9; 6; 21

2. 4; 6; 0

3. Graph f(x)= 4x + 2.

Do You get it??? Lesson Quiz: Part II

4. A painter charges $200 plus $25 per can of paint used.a. Write a function to represent the total charge for a certain number of cans of paint.

t(c) = 200 + 25c

b. What is the value of the function for an input of 4, and what does it represent?

300; total charge in dollars if 4 cans of paint are used.