← Algebra 1

Evaluating functions

Find f(3) by putting 3 in for x.

Start this lesson

Function notation f(x) names the output for input x. To find f(−2), replace every x in the rule with (−2) and simplify. f(−2) is a number: the output when the input is −2.

Example: f(x) = 3x² − 4x + 1. Find f(−2).

  1. 3(−2)² − 4(−2) + 1 — Put −2 in for every x
  2. 12 + 8 + 1 — Work out each term
  3. 21 — So f(−2) = 21

Why it works: f of x is a rule waiting for a number. Putting the number in for every x runs the rule for that input.

Tip: Always use parentheses when putting in a negative number: (−2)² is 4, but −2² is −4.