Example
Evaluate a function by substituting the input value for x.
highlighted = computed this step
Step 1 — Set up
Set up the expression.
f(x)=2x2−3x+1
Step 2 — Substitute input
Substitute 4 for x in 2x squared minus 3x plus 1.
f(4)=2(4)2−3(4)+1
Step 3 — Square input
Square the input: 4^2 = 16.
42=16
Step 4 — Multiply terms
Multiply terms: 2 times 16, then subtract 12 and add 1.
2⋅16−12+1
Step 5 — Result
The function value is f(4) = 21.
f(4)=21
function-notation
f(x) means "f evaluated at x." Substitute the input value for every x, then simplify using order of operations.