Mathematics Knowledge · 8 min lesson

What you will learn
Read f(x) notation and find any output from a rule, a table or a graph, working inside out when one function sits inside another.
The lesson
A function is a rule that turns each input into exactly one output. The notation f(x) is read "f of x." It does not mean f times x. The letter in the parentheses is the input, and f(x) is the output the rule produces.
Plug in, then simplify
To find f(3) for f(x) = 4x − 5, replace every x with 3 and work it out.
Always put the input in parentheses when you substitute. This matters most with negatives. For f(−2): 4(−2) − 5 = −8 − 5 = −13. When there is a square, parentheses keep the sign right: if x = −3, then x² = (−3)² = 9, not −9.
Outputs from a table or a graph
Sometimes the rule is shown as a table or a graph instead of a formula. The idea is the same: find the input, read the matching output.
| Input x | −1 | 0 | 2 |
|---|---|---|---|
| Output g(x) | 6 | 3 | −3 |
From this table, g(2) = −3. On a graph, go to the input on the x-axis, move straight up or down to the line or curve, and read the y-value. A point (4, 9) on the graph of f means f(4) = 9.
→ Given the input
"Find f(5)" means put 5 in and compute the output.
← Given the output
"f(x) = 11, find x" means set the rule equal to 11 and solve. For f(x) = 4x − 5: 4x − 5 = 11, so x = 4.
One function inside another
An expression like p(q(3)) means "do q first, then feed that answer into p." Work from the inside out.
- Inside firstq(x) = x², so q(3) = 9
- Feed it inp(x) = x + 4, so p(9) = 13
- Resultp(q(3)) = 13
The order matters. q(p(3)) means p first: p(3) = 7, then q(7) = 49. Different order, different answer.
Respect the restrictions
Some functions say which inputs are allowed, such as "for x ≥ 0." Some rules also break for certain inputs. You cannot divide by zero, so for k(x) = 5/(x − 2), the input 2 is not allowed. If an answer choice uses a forbidden input, it is wrong even if the arithmetic looks fine.
Before you compute, ask: "Is the question giving me an input or an output?" Many wrong answer choices come from solving the wrong direction.
Worked example
If h(x) = 2x² − 3x, what is h(−2)?
- Substitute with parenthesesh(−2) = 2(−2)² − 3(−2).
- Exponent first(−2)² = 4, so 2(4) = 8.
- Multiply−3(−2) = +6.
- Add8 + 6 = 14.
Answer: h(−2) = 14
Both parts came out positive: a square is never negative, and a negative times a negative is positive. If you got a negative answer here, recheck the signs.
Practice with a hint
Hint: Start with the inner function. Find its output first, then use that number as the input to the outer function.
Try it on your own
Use the two known input-output pairs to work out the rule before you look for the output at 0.
Common mistakes
- Reading f(x) as multiplication. f(4) means "the output when the input is 4," not f times 4.
- Dropping parentheses with negatives. For x = −5, x² is (−5)² = 25. Writing −5² = −25 is wrong.
- Working nested functions outside in. For a(x) = 2x and b(x) = x − 1, a(b(4)) = a(3) = 6, not b(a(4)) = 7.
- Swapping input and output. If f(2) = 9, then 2 is the input and 9 is the output. The point is (2, 9), not (9, 2).
- Ignoring a restriction. For m(x) = 1/(x + 3), x = −3 is not allowed, because it makes the bottom zero.
Next step
- f(x) is the output for input x, not multiplication.
- Substitute with parentheses, then follow order of operations.
- Nested functions: inside first, then outside.
- Check for restrictions like division by zero.
Practice this with the free Mathematics Knowledge practice test, then review key ideas with the Mathematics Knowledge flashcards.