Skip to main content
🚀 This is a Beta – features are in progress.Share feedback
All topics
Math

Function Notation

6 min readMedium5-question drill

Function notation looks intimidating — $f(x)$, $f(g(x))$, $f^{-1}(x)$ — but it's just a labeling system that lets you talk about functions cleanly. Once you know what each symbol *means*, the questions become procedural.

A function is a rule that takes an input and gives back exactly one output. We label functions with letters (usually ff, gg, hh) and write f(x)=f(x) = [the rule] to define one.

f(x)=2x+3f(x) = 2x + 3 means: whatever you plug in for xx, multiply by 2 and add 3.

Reading function notation:

  • f(5)f(5) = the output when you plug 5 in for xx.
  • f(a+1)f(a + 1) = the output when you plug (a+1)(a+1) in for xx. Substitute exactly what's inside the parentheses.
  • f(g(x))f(g(x)) = a composition. Compute g(x)g(x) first, then plug that into ff.

Plugging in is the key skill. When you see f(x+2)f(x+2), replace EVERY xx in the function's rule with (x+2)(x+2) — including the parentheses. If f(x)=x2+3xf(x) = x^2 + 3x, then f(x+2)=(x+2)2+3(x+2)f(x+2) = (x+2)^2 + 3(x+2)

Composition: f(g(x))f(g(x)). Read it inside-out. If f(x)=x+1f(x) = x + 1 and g(x)=2xg(x) = 2x:

  1. Compute g(x)=2xg(x) = 2x first.
  2. Plug that into ff: f(2x)=2x+1f(2x) = 2x + 1.
  3. So f(g(x))=2x+1f(g(x)) = 2x + 1.

Note: f(g(x))f(g(x)) and g(f(x))g(f(x)) are usually different! Order matters.

Reading from a graph or table:

  • "Find f(3)f(3) from this graph" → look at x=3x = 3, read off the yy-value.
  • "Find xx when f(x)=5f(x) = 5" → look at y=5y = 5, read off the xx-value (could be more than one).

Inverse functions f1(x)f^{-1}(x): the function that undoes ff. If f(2)=7f(2) = 7, then f1(7)=2f^{-1}(7) = 2. To find f1f^{-1} algebraically: write y=f(x)y = f(x), swap xx and yy, then solve for yy.

Quick check

Quick check. Function notation = substitute. Wrap whatever's inside the parentheses with its own parentheses, then evaluate carefully.

If f(x) = 4x + 2 and g(x) = 4x + 4, what is f(g(4))?

Worked examples

Example 1

If f(x)=x22xf(x) = x^2 - 2x, what is f(a+3)f(a + 3)?

Example 2

If f(x)=3x2f(x) = 3x - 2 and g(x)=x2g(x) = x^2, what is f(g(2))f(g(2))?

Common pitfalls

Forgetting parentheses when substituting

f(x+2)f(x+2) with f(x)=x2f(x) = x^2 is (x+2)2(x+2)^2, NOT x2+2x^2 + 2 or x+22x + 2^2. Always wrap the substitution in parentheses, expand carefully, then simplify.

Confusing $f(x) \cdot g(x)$ with $f(g(x))$

f(x)g(x)f(x) \cdot g(x) is multiplication. f(g(x))f(g(x)) is composition (plug gg's output into ff). They're completely different operations.

Reading composition outside-in

f(g(x))f(g(x)) is read inside-out: g(x)g(x) first, then ff. Don't compute f(x)f(x) and then plug into gg — that's g(f(x))g(f(x)), which usually gives a different answer.

Confusing $f(2)$ with $f \cdot 2$

f(2)f(2) means evaluate ff at input 2 — substitute. f2f \cdot 2 means multiply ff by 2 — different. The parentheses indicate function evaluation, not multiplication.

Key takeaways

  • f(x)f(x) is a function — a rule mapping each input to one output. The letter (ff, gg, hh) is just the function's label.

  • Substitution: replace every xx in the rule with whatever's inside the parentheses, using parentheses to keep order of operations.

  • Composition f(g(x))f(g(x)) is inside-out: gg first, then ff. Order matters.

  • From a graph: f(a)f(a) is the yy-value at x=ax = a. To find xx when f(x)=bf(x) = b, look at y=by = b and read off the xx.

  • Inverse f1f^{-1} undoes ff: if f(a)=bf(a) = b, then f1(b)=af^{-1}(b) = a.

Watch & learn

Curated Khan Academy walkthroughs on Function Notation. They're complementary to this lesson — watch one if a written explanation isn't clicking, or after to reinforce.

Try it yourself

5 practice questions on Function Notation, drawn from the question bank. The tutor is one click away if you get stuck.

Lesson v2 · generated 5/2/2026 · the floating tutor knows you're on this lesson — ask anything.