# Functions: Identification, Notation & Practice Problems

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: Transformations: How to Shift Graphs on a Plane

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

Replay
Your next lesson will play in 10 seconds
• 0:06 Functions
• 1:04 Function Identification
• 4:21 Enjoy Slurp
• 6:11 Function & Relation Examples
• 7:13 Vertical Line Testing
• 8:18 Lesson Summary

Want to watch this again later?

Timeline
Autoplay
Autoplay
Speed

#### Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Luke Winspur

Luke has taught high school algebra and geometry, college calculus, and has a master's degree in education.

A function is simply a rule that takes one number and turns it into another. But some special conditions must apply for it to be a true mathematical function. Learn about those conditions and how we write functions here!

## Functions

The word function gets thrown around a lot in algebra class, but it can often catch you off guard. Wait, what? Function? Where did that come from? Well, the reason math teachers use it so much and often don't even realize they're doing it is that the word function is really just a fancy word for 'equation' or 'rule.' A function is something you plug one thing into and get another thing out.

There are actually functions all around you! If you take tests, there is a function that tells you if you get this score on your test, you will get this grade. If you go grocery shopping, there is a function that tells you if you buy this many bottles of water, you need to pay this much money. If you pay for cable TV, there is a function that tells you if you want this many channels, you need to pay this much money.

## Function Identification

While a function doesn't necessarily have to use numbers, this is a math class, so the rest of the examples we'll look at will involve numbers - like these for example: x2 + 1 and 3(x - 1). So we've got two functions (or rules or equations), but it's nice having names for these functions so we can be clear about which one we're talking about. The two most common names for mathematical functions are f and g. Let's name this one f (x2 + 1) and this other one g (3(x - 1)).

What do we do with functions? We plug numbers into them and see what pops out! When we plug, say, 5, into the f function, we'd get 26 out. Or if we plugged -2 into the g function, we'd get -9 out.

As you can see, we've got inputs and outputs. In most areas of math, we use x for the inputs and y for the outputs, but functions are a little bit different. If we just said, we plugged in x = 5 and got out y = 26, it's not obvious which function we used to get that. Now, it probably wouldn't be too hard to figure out, but it would be nice if it was obvious. Also, just looking at the output, y = 26, doesn't give us any clues about what we plugged in to begin with to get that number.

So, mathematicians came up with a different way of writing the outputs to make these things more informative. Now, this does make it more confusing at first, but once you get it, it's actually pretty helpful.

Okay, so instead of calling the outputs y, the outputs from the f function will be called f(x), and the outputs from the g function will be called g(x). Notice that I'm saying f of x or g of x. I'm not saying f times x. It can be easy to see the parentheses and think multiply, but if it's an f or a g, resist the urge!

Now, when we plug 5 into the f function, instead of saying y = 26, we say f(5) = 26. This tells us that we used the f function and 5 was our input - much more informative! By this same logic, g(-2) = -9. Also, now instead of having to say the f function is x2 + 1 and the g function is 3(x - 1), we can simply write f(x) = x2 + 1 and g(x) = 3(x - 1). Again, these are basically the same as y =, so if you see an f(x) and get freaked out, don't worry - it's basically just a y.

This way of writing f(x) or g(x) instead of y is called function notation and is going to be used throughout math and science classes from now on.

Before we finish, I have to clarify one thing I said earlier. When I said that a function was just another way of saying equation or rule, I wasn't being entirely honest. The reason is that functions are a special breed of equation. Not every equation gets to be a function - there is a test you have to pass first. In order to illustrate what that test is, I'm going to use an analogy.

## Enjoy Slurp

Let's say we've got a soda machine. It could be called a function, right? I mean, you push the button telling it what kind of soda you want - the input - and then it spits one out - the output. Alright, well, for lack of a better word, let's say this is a Slurp machine. It has three buttons on top that will all give you regular Slurp, two buttons for Diet Slurp, one for Dr. Slurp, one for Extreme Slurp and finally one for Fruity Slurp. This is pretty normal to see. There are three for regular Slurp because that's the most popular one, so there needs to be a bunch of it. Diet Slurp is pretty popular, so it gets two, while the rest only have one because they don't sell as well.

Now let's say we're going to use this machine. You and I walk up to it and both decide to get Dr. Slurp. You push the Dr. Slurp button, and your Dr. Slurp pops out - cool. Now I do the same thing - push the same Dr. Slurp button - but then Extreme Slurp comes out! What? That's not what I asked for! You pushed Dr. Slurp, and it gave you what you wanted, but when I pushed the exact same button, I got Extreme Slurp! This machine is broken. I want my money back!

Okay. I'll calm back down and re-focus. The reason I tell this story is that functions are just like the Slurp machine was. They're allowed to have multiple buttons that give you the same thing, but if one button sometimes gives you this and sometimes gives you that, it's broken and not a function at all.

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 160 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.

### Transferring credit to the school of your choice

Not sure what college you want to attend yet? Study.com has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!

Support