Prerequisites: lines, exponents, logs, trig

Function notation f(x) and substitution

f(a)f(a) is the value you get by replacing every xx in the formula for f(x)f(x) with aa.

f(x)=x2⇒ f(−4)=(−4)2=16\begin{gathered} f(x)=x^2 \\[4pt] \Rightarrow\ f(-4)=(-4)^2=16 \end{gathered}

If f(x)=2x−1f(x)=2x-1, then f(−3)f(-3) means putting −3-3 in for xx: 2⋅(−3)−1=−72\cdot(-3)-1=-7. Substitute negative numbers inside parentheses.

f(x)=x2 ⇒ f(−4)=(−4)2=16f(x)=x^2\ \Rightarrow\ f(-4)=(-4)^2=16

Without parentheses, −42-4^2 is −16-16, a different value.

The definition of the derivative also substitutes expressions like f(a+h)f(a+h). Replace xx with the whole of a+ha+h: if f(x)=x2f(x)=x^2, then f(a+h)=(a+h)2f(a+h)=(a+h)^2.

Examples

  1. 01What is f(2)?f(x)=x3\displaystyle f(x)=x^3AnswerHide
    Answer8\displaystyle 8

    Steps

    1. Just put 22 where the xx is
    2. f(2)\displaystyle f(2)=(2)3\displaystyle = (2)^{3}=8\displaystyle = 8
  2. 02What is f(1)?f(x)=2x+3\displaystyle f(x)=2x+3AnswerHide
    Answer5\displaystyle 5

    Steps

    1. Just put 11 where the xx is
    2. f(1)\displaystyle f(1)=2(1)+3\displaystyle = 2(1)+3=5\displaystyle = 5
  3. 03What is f(2)?f(x)=3x+3\displaystyle f(x)=3x+3AnswerHide
    Answer9\displaystyle 9

    Steps

    1. Just put 22 where the xx is
    2. f(2)\displaystyle f(2)=3(2)+3\displaystyle = 3(2)+3=9\displaystyle = 9
  4. 04What is f(-3)?f(x)=2x−1\displaystyle f(x)=2x-1AnswerHide
    Answer−7\displaystyle -7

    Steps

    1. Just put −3-3 where the xx is
    2. f(−3)\displaystyle f(-3)=2(−3)−1\displaystyle = 2(-3)-1=−7\displaystyle = -7
  5. 05What is f(-4)?f(x)=x2\displaystyle f(x)=x^2AnswerHide
    Answer16\displaystyle 16

    Steps

    1. Just put −4-4 where the xx is
    2. f(−4)\displaystyle f(-4)=(−4)2\displaystyle = (-4)^{2}=16\displaystyle = 16
  6. 06What is f(2)?f(x)=2x−2\displaystyle f(x)=2x-2AnswerHide
    Answer2\displaystyle 2

    Steps

    1. Just put 22 where the xx is
    2. f(2)\displaystyle f(2)=2(2)−2\displaystyle = 2(2)-2=2\displaystyle = 2

FAQ

Q1Is f(x)f(x) the product of ff and xx?AnswerHide
A
No. f(x)f(x) is notation for the value of the function ff at xx, and f(2)f(2) is the value when x=2x=2.
Q2If f(x)=x2f(x)=x^2, isn't f(−4)=−16f(-4)=-16?AnswerHide
A
It is 1616. Put −4-4 in with its parentheses: (−4)2=16(-4)^2=16. −42-4^2 means −(42)=−16-(4^2)=-16, a different expression.

Published 2026-10-14 · Updated 2026-10-14