What does f(x) actually mean?
When you see in algebra, it is simply a way of naming a mathematical rule and showing exactly what number you are plugging into that rule. It is pronounced "f of x." If you are used to seeing equations written like , function notation just swaps out the for .
Think of as a label on a box. The tells you the name of the box, and the inside the parentheses tells you what you are dropping into the box. The whole expression represents the final output that pops out after the math is done.
The Function Machine
A great way to understand functions is to think of a factory machine. You put raw materials in, the machine does a specific job, and a finished product comes out. In algebra, the input is your value, the machine's rule is the equation, and the output is .
If the machine's rule is to double the input, putting in a means a comes out. In function notation, we write this as . It compactly tells us "when I put into machine , I got ."
Decoding the Notation
Let us break down the symbols. The letter on the outside, usually , , or , is just the name of the function. We use different letters so we can tell multiple functions apart on the same page.
The variable inside the parentheses, usually , is a placeholder for your input. When you see , it means "take the rule for , and everywhere you see an , replace it with a ."
Why use f(x) instead of y?
You might wonder why we complicate things by replacing a simple with . The answer is that function notation gives us a lot more information at a glance.
If you have and , and someone says "evaluate for ," it can get confusing. If you name them and , you can just say "find ." It tells you exactly which equation to use and exactly what to plug in.
Where Students Slip Up
The single most common mistake students make is thinking that means " multiplied by ." In almost all of algebra, two things next to each other mean multiplication. Function notation is the major exception.
The parentheses here do not mean multiply. They are holding the input value. You cannot "divide both sides by " to get by itself, because is not a number; it is just a name.
Worked through
Given the function , find .
First, recognize that is asking you to take the function and replace every with the number .
Write down the original function:
Substitute for :
Follow the order of operations (PEMDAS). Do the exponent first:
Next, multiply:
Finally, subtract:
So, the output is when the input is .
Questions students ask
Ask about this topic
Where this comes from: OpenStax College Algebra, Chapter 1: Functions · Khan Academy, Algebra 1: Functions unit
See also