<meta http-equiv="refresh" content="1; url=/nojavascript/"> Relations and Functions | CK-12 Foundation
Dismiss
Skip Navigation
You are reading an older version of this FlexBook® textbook: CK-12 Math Analysis Concepts Go to the latest version.

1.1: Relations and Functions

Difficulty Level: At Grade / At Grade Created by: CK-12

Suppose you wanted to predict the cost of going to see a movie at the theater, you text a number of your friends who have seen movies recently to ask how much it cost them, here are the responses:

"$14.50 :-("

"$8.75 + $3.50 for popcorn"

"five bucks - dollar theater"

"$17.50 :'-( broke now"

"$12.75 loved the 3D!"

Can you accurately predict the cost of going to a movie from these responses? Why or why not?

Watch This

Khan Academy - Relations and Functions

Guidance

Consider two situations shown in the boxes below:

Situation 1: You are selling candy bars for a school fundraiser. Each candy bar costs $3.00 Situation 2: You collect data from several students in your class on their ages and their heights: (18,65"), (17,64"), (18,67"), (18,68"), (17,66")

In the first situation, let the variable x represent the number of candy bars that you sell, and let y represent the amount of money you make. If you sell x candy bars, you will make y = 3x dollars. For example, if you sell 25 candy bars, you will make 3(25) = $75.00. Notice that you can use the number of candy bars you sell to predict how much money you will make.

Now consider the second situation. Can you similarly use the data to predict specific height, based on age?

No, this is not the case in the second situation. For example, if a student is 18 years old, there are several heights that the student could be.

The first situation is an example of a function, and the second example is not a function.

A function is a relationship where each input number corresponds to one and only one output number.

In the first situation, for each different number of candy bar sales you input, there is one and only one output number representing your profit.

In the second situation, if you input "18 years", there are multiple outputs, so you can't identify a specific relationship between age and height.

See the difference?

It is important to note that both situations above are relations. A relation is simply a relationship between two sets of numbers or data. For example, in the second situation, we created a relationship between students’ ages and heights, just by writing each student’s information as an ordered pair. In the first situation, there is a relationship between the number of candy bars you sell and the amount of money you make. The first example is different from the second because it represents a function: every x is paired with only one y.

Functions may be presented in many ways. Some of the most common ways to represent functions include: sets of ordered pairs, equations, and graphs. The figure below shows the same function depicted in three different ways.

Example A:

Determine if each relation is a function:
Representation Example
Set of ordered pairs (1,3), (2,6), (3,9), (4,12) (a subset of the ordered pairs for this function)
Equation y=3x
Graph

Solution:

In the first representation above, we are given a set of ordered pairs. To verify that this is a function, we must ensure that each x-value is associated with a single y-value. In this example, the first number in each pair (the x-value) is different, so we can be certain that there are no cases where a particular x is associated with more than one y.

In the second representation, the equation of a line, it is apparent that any number put in place of x will result in a different y, since the x number is simply being multiplied by 3.

The third representation above is a graph. A good way to determine whether a relation is a function when looking at a graph is by doing a "vertical line test". If a vertical line can be drawn anywhere on the graph such that the line crosses the relation in two places, then the relation is not a function. If all possible vertical lines will only cross the relation in one place, then the relation is a function. This works because if a vertical line crosses a relation in more than one place it means that there must be two y values corresponding to one x value in that relation. For example, the graph above of y = 3x shows it is a function because any vertical line that is drawn only crosses the relation in one place.

Conversely, the graph below of x = y2 shows it is not a function because a vertical line can be drawn that crosses the relation in two places.

Example B:

Determine if each relation is a function
a) (2, 4), (3, 9), (5, 11), (5, 12) b) Function defined as:

Solution:

a. (2, 4), (3, 9), (5, 11), (5, 12)

This relation is not a function because 5 is paired with 11 and with 12.

b. (referring to image) This relation is a function because every x is paired with only one y. A vertical line through the graph will always only encounter a single point.

Example C:

Remember the question about movie tickets at the beginning of the lesson?

Does the data you received from your friends represent a function? Can you use the data to predict the cost of going to a movie yourself?

Solution:

If we were to organize the information we received into ordered pairs, it might look something like: (1,14.5)(1,8.75)(1,5)(1,17.5)(1,12.75) where each x value represents the number of tickets bought, and each y value represents the price.

Since there are many different y values for the only x value, it is definitely not a function.

It should be clear now that the information received from friends' text messages cannot really be used to accurately predict the cost of a movie.

Vocabulary

A relation is a comparison of two or more sets of values.

A function is a relation of two or more sets of values in which each input number corresponds to one and only one output number.

Guided Practice

Determine if each relation is a function:

1) (-1,4) (0, 3) (1, 5) (1, 7) (2, 15)
2) y = x
3) (2, 0)  (4, -1) (2.1, 4) (1, 4) (4, -1)
4) y = 4x
5) x = |y|

Solutions

1) There are two different 'outputs' or y-values for the 'input' or x-value of 1. Because we cannot know whether 1 should go with 5 or 7 at any given time, this relation is not a function.
2) Since y = x, any time a number is chosen to represent x, that, and only that, number becomes y. From this it is apparent that each input has one and only one output: This relation is a function.
3) Don't be fooled! This is a function, there is only one unique output for each input. The fact that both x values 2.1 and 1 are associated with y value 4 does not mean that 2.1 and 1 don't have a specific associated value. Also, not matter how close two x's (2 and 2.1, for instance) may be, if they are not exactly the same, they don't affect the definition of a function.
4) This is a function, very similar to #2. Any value chosen for x has one and only one associated value for y (4 times as big).
5) This is not a function. This graph looks like a "<", with the point on the origin. Any value chosen for x will have 2 associated y values. For instance: 4 = |-4| and 4 = |4|.

Practice

  1. What is the definition of a function?
  2. Can a function definition be written in the form x = 3y instead of y = 3x?
  3. Is it mandatory for a function to have both an input and an output?
  4. Can a statement be a function if there is only one input and output?
  5. Give an example of a relation that is not a function, and explain why it is not a function.

For Questions 6 - 14, identify each relation as either a function, or not a function:

  1. (2, 4) (4, 6) (6, 8) (3, 4) (5, 7) (8, 2)
  2. (-1, 6) (0, 4) (-4, 0) (-1, -6) (-3, -8)
  3. (Jim, Kitty) (Joe, Betty) (Brian, Alice) (Jesus, Anissa) (Ken, Kelli)
  4. (Jim, Alice) (Joe, Alice) (Brian, Betty) (Jim, Kitty) (Ken, Anissa)
  5. At a Prom dance, each boy pins a corsage on his date. Is this an example of a function?
  6. Later, at the same dance, Cory shows up with two dates, does this change the answer?

Image Attributions

Description

Difficulty Level:

At Grade

Grades:

Date Created:

Nov 01, 2012

Last Modified:

Dec 12, 2013

We need you!

At the moment, we do not have exercises for Relations and Functions.

Files can only be attached to the latest version of Modality

Reviews

Please wait...
You need to be signed in to perform this action. Please sign-in and try again.
Please wait...
Image Detail
Sizes: Medium | Original
 
MAT.ALY.110.L.1

Original text