Back To Course

Math 101: College Algebra12 chapters | 95 lessons | 11 flashcard sets

Are you a student or a teacher?

Try Study.com, risk-free

As a member, you'll also get unlimited access to over 75,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-freeWhat teachers are saying about Study.com

Already registered? Login here for access

Your next lesson will play in
10 seconds

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!

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.

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: *x*2 + 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 (*x*2 + 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 *x*2 + 1 and the g function is 3(*x* - 1), we can simply write f(*x*) = *x*2 + 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.

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.

Saying this in math sounds like this: multiple inputs can have the same output, but one input cannot lead to multiple outputs. Each input must have a unique output. Let's look at a few example problems and decide whether or not they are functions.

The most basic type of function we can have is just a pairing of input values with output values, like this: (2,3) (5,6) (7,8). This tells us that when 2 is plugged in, 3 is the output; when 5 is plugged in, 6 is the output; and so on. We can agree that this is a function because each input always gives you the same output. 2 always gives you 3, 5 always gives you 6, and 7 always gives you 8.

This one (2,1) (3,1) (4,1) (5,1) (6,2) is also okay because each input always gives you the same thing. Remember that it is okay to have multiple buttons that give you the same thing, like you see here with 2, 3, 4 and 5 all giving you 1.

But here (1,2) (1,3) (1,4) (2,5) we run into a problem because the input 1 has multiple outputs. Sometimes 1 will give you 2, but sometimes it'll give you 3 and sometimes even 4. Since it is not a function, it is simply called a 'relation.'

We can also tell whether or not something is a function by looking at its graph. Here, I know that this is a function because for any *x*-value I pick, there is only one spot on the line that goes with that value. But for this graph now, right away I can tell it is not a function because for any x-value right in the middle here, there are actually three different spots on the line that go with it. Even though these parts of the graph are okay, the fact that this part here in the middle exists ruins it all, and it's therefore not a function.

What we are doing here is called the **vertical line test**. It's basically just a trick you can use to see whether a graph is a function or not. By dragging an imaginary vertical line over the graph and checking to see if there is ever a point where your line touches the graph in two places, you can tell if it's a function. If the line ever, even just once, touches the graph in two or more spots, it is not a function. If this isn't the case, it's all good, passes the test and is indeed a function.

A **function** is a special kind of equation that you can plug numbers into and get something new out. Instead of labeling these equations with *y* =, we often use f(*x*) or g(*x*) because they tell us a lot more information than just a plain *y* does. This is called **function notation**. The letters f and g are most commonly used, but any kind of letter can actually be used.

Not all equations are functions. While it is okay to have multiple inputs leading to the same outputs (or multiple buttons for the same soda), it is not okay to have multiple outputs for one input (one button that sometimes gives you one thing and sometimes another). If we are looking at a graph of an equation, we can test whether or not it is a function with the **vertical line test**. If this imaginary vertical line that we drag across the graph ever touches the graph in more than one spot, it's not a function, but if it doesn't, it is!

**function:** a special kind of equation (rule) in which, you insert one number to get another

**function notation:** a precise way of writing a function, often seen as f(x) - f of x

**vertical line test:** using a graph to check if it is a function by seeing if any vertical line touches the graph in more than one spot

After viewing this lesson, you should be able to:

- define function and related terms.
- explain how to check if a graph is a function.
- prepare examples of functions.

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

Create your account

Are you a student or a teacher?

Already a member? Log In

BackWhat teachers are saying about Study.com

Already registered? Login here for access

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.

To learn more, visit our Earning Credit Page

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.

You are viewing lesson
Lesson
1 in chapter 7 of the course:

Back To Course

Math 101: College Algebra12 chapters | 95 lessons | 11 flashcard sets

- Computer Science 109: Introduction to Programming
- Introduction to HTML & CSS
- Introduction to JavaScript
- Computer Science 332: Cybersecurity Policies and Management
- Introduction to SQL
- Building the United States After the American Revolution
- Manifest Destiny & the American Civil War
- Imperialism & International Relations in the 19th & 20th Centuries
- Western Civilization from 1945-1973
- The Development of the Hindu, Buddhist, Confucian, & Judeo-Christian Faiths
- CEOE Test Cost
- PHR Exam Registration Information
- Claiming a Tax Deduction for Your Study.com Teacher Edition
- What is the PHR Exam?
- Anti-Bullying Survey Finds Teachers Lack the Support They Need
- What is the ASCP Exam?
- ASCPI vs ASCP

- Iroquois Culture, Traditions & Facts
- What are Diastereomers? - Definition, Examples & Separation
- Convergent Sequence: Definition, Formula & Examples
- Mauryan Empire Art & Culture
- Singing Lesson Plan
- Arrays & Strings in JavaScript: Conversion & String Methods
- Heuristic Methods in AI: Definition, Uses & Examples
- Quiz & Worksheet - Multi-Dimensional Arrays in C
- Quiz & Worksheet - Functions & Parameters Overview
- Quiz & Worksheet - Speed, Velocity & Acceleration
- Quiz & Worksheet - Testing to Identify a Gas
- Flashcards - Measurement & Experimental Design
- Flashcards - Stars & Celestial Bodies
- 6th Grade Math Worksheets & Printables
- Classroom Management Resources for Teachers

- MTEL Biology (13): Practice & Study Guide
- Human Growth and Development Textbook
- Prentice Hall Conceptual Physics: Online Textbook Help
- Group Counseling Strategies: Help & Review
- Abnormal Psychology Textbook
- Symptoms of Trace Mineral Deficiency & Toxicity
- Shakespeare and Renaissance Literature - 11th Grade: Help and Review
- Quiz & Worksheet - Fertility Decline Trends in Industrialized Countries
- Quiz & Worksheet - Bronze Age Tools
- Quiz & Worksheet - Informal Assessments in the Classroom
- Quiz & Worksheet - How to Create a Business Partnership Agreement
- Quiz & Worksheet - Non-Current Assets in Accounting

- What Is a Limited Liability Company? - Definition, Benefits & Examples
- Al Gore & the 2000 Presidential Election Recount
- 7th Grade Arizona Science Standards
- WIDA Can Do Descriptors for Grade 1
- Homeschooling in Washington
- Stanford Standardized Test Requirements
- Coat of Arms Lesson Plan
- Fourth Grade South Carolina Science Standards
- How to Pass the Police Exam
- Homeschooling in Mississippi
- Reading Activities for Kids
- Demographics for English Language Learners

- Tech and Engineering - Videos
- Tech and Engineering - Quizzes
- Tech and Engineering - Questions & Answers

Browse by subject