Where Did Functions Come From?
People have always wanted to describe how one thing depends on another. For example, how does the price of apples depend on how many you buy? Or how does your height change as you grow older? A function is the math tool that describes these relationships. It took hundreds of years for mathematicians to develop the idea we use today.
Today, functions are everywhere. They help engineers design buildings, doctors track patient health, and game designers create realistic physics. The big question this lesson answers is: if I know the rule a function follows and I give it a specific input, what output do I get?
Core Ideas About Functions
Before we evaluate functions, let's make sure we understand the key vocabulary. A function is like a machine: you put something in, the machine follows a rule, and something comes out. Every function has three important parts.
Input (x)
Rule (equation)
f(x) = 3x + 1.Output (f(x) or y)
Evaluating
The Function Machine
The diagram below shows how a function works like a machine. You can see the input going in on the left, the rule in the middle, and the output coming out on the right. We use the function f(x) = 2x + 3 as our example with an input of 4.
2x + 3, and produces an output of 11.Notice the three steps shown in the diagram. First, you identify the input (4). Next, you replace every x in the rule with 4. Finally, you do the arithmetic to find the output. That's all evaluating a function means!
The Math Behind Evaluating
When we write f(x), the letter f is the name of the function. The letter x inside the parentheses is a placeholder for whatever number you plug in. The notation f(3) means "evaluate the function f when x equals 3." It does NOT mean "f times 3."
x with 2, then simplify using order of operations (multiply first, then subtract).x with 3. Remember: 3² means 3 × 3, which is 9. Then add 4.f(5), it means "evaluate f at 5," not "f times 5." The parentheses in function notation are different from multiplication parentheses.Building Input-Output Tables
One of the best ways to understand a function is to make an input-output table. You pick several values of x, evaluate the function for each one, and record the results. This helps you see patterns in how the function behaves.
| x (input) | f(x) = 2x + 3 (rule) | f(x) (output) |
|---|---|---|
| 0 | 2(0) + 3 = 0 + 3 | 3 |
| 1 | 2(1) + 3 = 2 + 3 | 5 |
| 2 | 2(2) + 3 = 4 + 3 | 7 |
| 3 | 2(3) + 3 = 6 + 3 | 9 |
| 5 | 2(5) + 3 = 10 + 3 | 13 |
Do you see the pattern? Every time x goes up by 1, the output goes up by 2. That makes sense because the rule says to multiply x by 2. The "+3" shifts everything up by 3.
f(4) = 11. Notice how all the points line up — that's because f(x) = 2x + 3 is a linear function (it makes a straight line).Worked Example: Earning Money at a Car Wash
Let's see how evaluating a function works in a real-life situation. Imagine you and your friends are running a car wash fundraiser. You charge $5 per car, and you already spent $20 on supplies. Your profit function (money earned minus costs) is:
c = 10.P(c) = 5c − 20.c with 10:P(10) = 5(10) − 20P(10) = 50 − 20Common Mistakes vs. Best Practices
When students are learning to evaluate functions, a few mistakes come up again and again. Let's look at what can go wrong and how to do it right.
| Common Mistake | Why It's Wrong | Best Practice |
|---|---|---|
| Thinking f(3) means f × 3 | f(3) uses function notation, not multiplication. | Read f(3) as "f of 3" — it means plug 3 in for x. |
| Forgetting to replace ALL x's | If the rule has x in two places, you must replace both. | Circle every x in the rule first, then substitute into each one. |
| Ignoring order of operations | Adding before multiplying gives the wrong answer. | Always follow PEMDAS: Parentheses, Exponents, Multiply/Divide, Add/Subtract. |
| Not using parentheses around negative inputs | Writing 2 × −3 instead of 2(−3) can cause sign errors. | Always wrap negative numbers in parentheses: 2(−3) = −6. |
From Evaluating to Analyzing Functions
Right now, you're learning to evaluate a function at one input at a time. As you continue in math, you'll do much more with functions. Here's a preview of what's coming.
| What You Can Do Now | What's Coming Next |
|---|---|
| Evaluate f(x) at a single value | Find x when you know f(x) — solving equations |
| Build input-output tables | Graph entire functions on the coordinate plane |
| Use linear rules like f(x) = 2x + 3 | Explore quadratic, exponential, and other function types |
| Interpret one output in context | Analyze rates of change and compare functions |
The good news is that every one of those advanced skills builds on what you're learning right now. If you can confidently evaluate a function and explain what the output means, you have a strong foundation for everything that comes next in algebra and beyond.
Practice Problems
Lesson Summary
A function is a rule that takes an input and produces exactly one output. We write functions using function notation like f(x), where f is the name and x is the input variable. To evaluate a function, replace every x in the rule with the given number, then simplify using order of operations (PEMDAS).
Always remember to interpret your output in context. If your function represents money, the output is in dollars. If it represents distance, the output is in miles or meters. Building input-output tables and plotting points on a coordinate plane helps you see how a function behaves across many inputs. Mastering evaluation now gives you a strong foundation for graphing, solving equations, and analyzing all types of functions in algebra and beyond.