Skip to content

Evaluating Functions and f(x) Notation on the ASVAB

Mathematics Knowledge · 8 min lesson

Function notation looks unfamiliar, but most questions only ask you to plug in a number and simplify. This lesson shows you how to read f(x), find outputs from a rule, table or graph, and handle one function inside another.
Evaluating Simple Functions

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.

Input x3Rulef(x) = 4x − 5Output f(x)7f(3) = 4(3) − 5 = 12 − 5 = 7
A function takes an input, applies its rule, and gives exactly one output.

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−102
Output g(x)63−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.

  1. Inside firstq(x) = x², so q(3) = 9
  2. Feed it inp(x) = x + 4, so p(9) = 13
  3. 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.

Test tip

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)?

  1. Substitute with parenthesesh(−2) = 2(−2)² − 3(−2).
  2. Exponent first(−2)² = 4, so 2(4) = 8.
  3. Multiply−3(−2) = +6.
  4. Add8 + 6 = 14.

Answer: h(−2) = 14

Sign check

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.

Reviewed by Mock ASVAB Test Team · 2026-11-28