Where Did Functions Come From?
Have you ever used a vending machine? You press a button (your input), and a specific snack drops out (your output). Every time you press the same button, you get the same snack. That simple idea — one input gives exactly one output — is the heart of what mathematicians call a function. People have been thinking about this idea for hundreds of years.
The big question these mathematicians were trying to answer is: How can we write a clear rule that turns any input into the right output? That is exactly what you will learn to do in this lesson.
Core Principles of Functions
Before you can apply a function rule, you need to understand four key ideas. These ideas come up again and again on the SHSAT.
Input (x)
Output (y or f(x))
Function Rule
One Input → One Output
The Function Machine
One of the best ways to picture a function is as a function machine. You drop a number in the top, the machine applies the rule, and a new number comes out the bottom. The diagram below shows this for the rule f(x) = 2x + 3.
Notice how the rule never changes. Only the input changes. When you plug in x = 4, you calculate 2 × 4 + 3 = 11. When you plug in x = −2, you calculate 2 × (−2) + 3 = −4 + 3 = −1. The machine does the same steps every time.
The Math Behind Function Rules
On the SHSAT, you will see function rules written in a special way. Let's break down the notation (symbols) so nothing looks confusing on test day.
Here is the step-by-step process you should always follow:
- Read the rule. Identify the expression to the right of the equals sign.
- Identify the input. Look for the number inside the parentheses (like the 3 in f(3)).
- Substitute. Replace every x in the rule with the input. Use parentheses!
- Simplify. Follow order of operations (PEMDAS) to get a single number.
Input-Output Tables
The SHSAT often shows a table with several inputs and asks you to fill in the outputs. Sometimes it works the other way: you are given outputs and need to find the inputs. Let's see how to organize your work using an input-output table.
| Input (x) | Rule: f(x) = 4x − 7 | Output f(x) |
|---|---|---|
| 0 | 4(0) − 7 = 0 − 7 | −7 |
| 1 | 4(1) − 7 = 4 − 7 | −3 |
| 2 | 4(2) − 7 = 8 − 7 | 1 |
| 3 | 4(3) − 7 = 12 − 7 | 5 |
| 5 | 4(5) − 7 = 20 − 7 | 13 |
Notice how every time x goes up by 1, the output goes up by 4. That makes sense because the rule multiplies x by 4. The "−7" shifts everything down. Spotting this pattern can help you check your work quickly.
Worked Example
Let's walk through an SHSAT-style problem from start to finish. Read every step carefully.
Common Mistakes vs. Correct Approaches
Many students lose points not because they don't understand functions, but because of small errors. Here are the most common mistakes and how to avoid them.
| Common Mistake | Why It's Wrong | Correct Approach |
|---|---|---|
| Treating f(3) as f × 3 | f(3) is not multiplication. The parentheses mean "plug in 3." | Replace every x in the rule with 3, then simplify. |
| Writing −2² instead of (−2)² | −2² = −4 but (−2)² = 4. The parentheses change the answer. | Always wrap negative inputs in parentheses before applying exponents. |
| Forgetting order of operations | Adding before multiplying changes the result entirely. | Follow PEMDAS: Parentheses, Exponents, Multiply/Divide, Add/Subtract. |
| Substituting only once when x appears twice | If the rule is x² + x, both x's must become the input. | Replace EVERY x in the expression with the input value. |
Connecting to Advanced Topics
Once you master applying a single function rule, the SHSAT and high school math will ask you to do more. Here is a preview of where this skill leads.
| What You Learn Now | What Comes Next |
|---|---|
| Plug one input into a rule → get one output | Plug the output of one function into another function (composition) |
| Fill in an input-output table | Discover the rule by looking at a table (reverse-engineering functions) |
| Work with rules like f(x) = 3x + 1 (linear) | Work with quadratic, exponential, and piecewise functions |
| Evaluate f(5) to get a number | Solve f(x) = 20 to find which input gives a target output |
Don't worry about those advanced ideas right now. Just know that every single one of them starts with the skill you are building today: substitute, simplify, and find the output. Master this foundation, and the next steps will feel natural.
Practice Problems
Try these five problems. They start easy and get harder. Write out every step — that's how you avoid careless errors on test day.
Lesson Summary
A function is a rule that takes an input and produces exactly one output. When you see f(x), it means "apply the function rule to x." To evaluate a function, substitute the input for every x in the expression, always using parentheses around the value you plug in. Then simplify using PEMDAS (order of operations) to get a single number.
Remember the three-step process: read the rule, substitute the input, and simplify step by step. Watch out for negative inputs — always wrap them in parentheses to avoid sign errors. Build an input-output table when a problem gives you multiple inputs. This skill is the foundation for sequences, graphing, and every function topic you will see on the SHSAT and beyond.