Allday Education

Function Notation

Function notation is the way math labels a rule. Instead of writing y=3x+2y = 3x + 2, we write f(x)=3x+2f(x) = 3x + 2. Nothing about the rule changed — f(x)f(x) is just another name for yy, the output. The letter ff names the function, and the xx in parentheses is the input you feed into it.

The payoff is that f(4)f(4) says two things at once: use the rule named ff, and use 44 as the input. That one small piece of notation lets a problem talk about specific inputs and outputs without any extra words, and it shows up in every math course from here on.

Reading the notation

In f(x)=3x+2f(x) = 3x + 2, the ff is the name of the function, xx is the input, and f(x)f(x) is the output. Read f(4)f(4) out loud as "ff of 44" — it means the output of ff when the input is 44. It does not mean ff times 44; the parentheses here are not multiplication.

Different letters just mean different functions. A problem can use f(x)f(x), g(x)g(x), and h(x)h(x) in the same breath — three names, three separate rules.

The diagram below shows a function as a machine: each input on the left is sent by the rule to exactly one output on the right.

Input (x)Output f(x)123357

Evaluating a function

To evaluate f(4)f(4), substitute 44 everywhere you see xx, then simplify. If f(x)=3x+2f(x) = 3x + 2, then f(4)=3(4)+2=14f(4) = 3(4) + 2 = 14. Write the substitution in parentheses, especially with negative inputs — f(2)=3(2)+2f(-2) = 3(-2) + 2 keeps the signs honest.

A table or a graph can define a function too. If a table pairs x=2x = 2 with f(x)=5f(x) = 5, then f(2)=5f(2) = 5 — find the input in the xx column and read across to the output. The table below does exactly that for the rule f(x)=2x+1f(x) = 2x + 1.

f(x)=2x+1f(x) = 2x + 1
xxf(x)f(x)
0011
1133
2255
3377

Working backward

Some questions hand you the output and ask for the input: if f(x)=x+8f(x) = x + 8, for what xx is f(x)=20f(x) = 20? Set the rule equal to the output and solve the equation: x+8=20x + 8 = 20, so x=12x = 12. Evaluating plugs in an input; working backward solves for one.

Worked examples

Example 1: evaluate a linear function

If f(x)=2x+5f(x) = 2x + 5, find f(3)f(3).

Start with the rulef(x)=2x+5f(x) = 2x + 5
Substitute 33 for xxf(3)=2(3)+5f(3) = 2(3) + 5
Multiplyf(3)=6+5f(3) = 6 + 5
Addf(3)=11f(3) = 11

Answer: f(3)=11f(3) = 11

Example 2: a negative input

If g(x)=x24g(x) = x^{2} - 4, find g(3)g(-3).

Start with the ruleg(x)=x24g(x) = x^{2} - 4
Substitute 3-3 for xx, in parenthesesg(3)=(3)24g(-3) = (-3)^{2} - 4
Square first — a negative squared is positiveg(3)=94g(-3) = 9 - 4
Subtractg(3)=5g(-3) = 5

Answer: g(3)=5g(-3) = 5

Example 3: work backward from an output

If h(x)=4x6h(x) = 4x - 6, what value of xx makes h(x)=18h(x) = 18?

Set the rule equal to the output4x6=184x - 6 = 18
Add 66 to both sides4x=244x = 24
Divide both sides by 44x=6x = 6
Check: h(6)=4(6)6=18h(6) = 4(6) - 6 = 18

Answer: x=6x = 6

Try one yourself

Common questions

Does f(x) mean f times x?

No. In function notation the parentheses mean "input," not multiplication. f(x)f(x) is read "ff of xx" and stands for the output of the function ff at the input xx.

Is f(x) the same as y?

Yes. f(x)f(x) and yy both name the output. y=3x+2y = 3x + 2 and f(x)=3x+2f(x) = 3x + 2 describe the same rule — function notation just adds a name, so you can tell ff apart from a second function gg in the same problem.

What's the difference between f(4) and f(x) = 4?

f(4)f(4) asks you to plug in the input 44 and compute the output. f(x)=4f(x) = 4 tells you the output is 44 and asks which input produced it — you set the rule equal to 44 and solve for xx.

Why do problems use letters like g and h instead of f?

Each letter names a different function. If a problem compares two rules, it needs two names — ff and gg — so it can say things like f(2)f(2) and g(2)g(2) without confusion.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1