# The Difference Between Relations & Functions

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: What is a Linear Equation?

### You're on a roll. Keep up the good work!

Replay
Your next lesson will play in 10 seconds
• 0:02 Relations
• 1:17 Functions
• 2:19 Determining Functions
• 4:12 Example
• 4:38 Lesson Summary
Save Save

Want to watch this again later?

Timeline
Autoplay
Autoplay
Speed Speed

#### Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Laura Pennington

Laura received her Master's degree in Pure Mathematics from Michigan State University. She has 15 years of experience teaching collegiate mathematics at various institutions.

Relations and functions are a huge part of mathematics. In this lesson, we will define relations and functions. We will look at the differences between the two and how to determine whether a given relation is a function.

## Relations

Have you ever made a blanket? If you have, then you know it takes fabric to do so. Suppose you are making a blanket by sewing together swatches of fabric. You go to the store, and there is a sale on these swatches. You get three swatches for \$4.00, regardless of whether you buy one, two, or three, and each swatch after that costs an additional \$2.00. The amount of money you spend is related to how many swatches you buy. In mathematics, this is an example of a relation. A relation consists of two sets of elements called inputs and outputs, where the input is related to the output in some way. In our example, the cost is the input, and the number of swatches is the output. We can also represent the relation using ordered pairs as follows.

We see that in this relation, when we have an input of 4, we have an output of 1, 2, or 3. This tells us that if you spent \$4, you bought 1, 2, or 3 swatches of fabric. Similarly, when we have an input of 8, we have an output of 5. This tells us that if you spent \$8, you bought 5 swatches of fabric.

## Functions

Now suppose you go to buy your swatches on a day that the store is not having the sale. Because there is no sale, the swatches are \$2 a piece.

This makes for a relation with different inputs and outputs. This can also be represented using ordered pairs as follows.

The cost is still our input, and the number of swatches is still our output. However, this is a special type of relation. Do you notice anything different about this one from the initial example? I'll give you a hint. It has to do with the first three ordered pairs in the relation.

In the first relation, when there was a sale, the first three ordered pairs all had the same input with different outputs. In this relation, when there is no sale, each input has one and only one output. When this is the case, we call the relation a function. In mathematics, a function is a relation in which no input relates to more than one output. In our example, we would say the number of swatches you buy is a function of the cost.

## Determining Functions

As we just saw, the difference between a relation that is a function and a relation that is not a function is that a relation that is a function has inputs relating to one and only one output. When a relation is not a function, this is not the case.

So, how can we determine if a relation is a function? A good way to do this is to consider the phrase 'is a function of' as 'is determined by.' When we are dealing with a function, every output is determined by its input.

To unlock this lesson you must be a Study.com Member.

### Register to view this lesson

Are you a student or a teacher?

#### See for yourself why 30 million people use Study.com

##### Become a Study.com member and start learning now.
Back
What teachers are saying about Study.com

### Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.