What Is Function Notation?
Function notation is the standard way to write a function so that its name, its input, and its output are all visible at once. The expression $f(x)$ has three parts: $f$ is the name of the rule, $x$ inside the brackets is the input, and $f(x)$ as a whole stands for the output that the rule produces from that input.
You read $f(x)$ aloud as "f of x." It means "the value of the function $f$ at $x$," not "$f$ times $x$." The brackets here do not signal multiplication; they hold the input the rule is being applied to.
$$f(x) = x^2 + 1$$
This single line says: the function named $f$ takes an input, squares it, and adds one. The letter $x$ is a placeholder. Whatever you drop into the brackets is what gets squared and increased by one.
Three ideas sit inside every piece of function notation:
The name tells you which rule you are using. A page can carry several rules at once, so $f$, $g$, and $h$ keep them apart.
The input is whatever sits in the brackets. It can be a number, another letter, or a whole expression.
The output is the value the rule returns, written $f(x)$. Because each input gives exactly one output, a function is a dependable one-in, one-out rule.
How Do You Evaluate A Function In Function Notation?
To evaluate $f(a)$, replace every $x$ in the rule with $a$, then simplify. The input can be a number or an expression; the method never changes.
Example 1: Evaluate a function at a number.
For $f(x) = x^2 + 1$, find $f(3)$.
Substitute $3$ for $x$:
$$f(3) = (3)^2 + 1 = 9 + 1 = 10$$
Final answer: $f(3) = 10$.
Example 2: Evaluate a function at an expression.
For the same $f(x) = x^2 + 1$, find $f(a + h)$.
Substitute the whole expression $a + h$ for $x$, and expand the square carefully:
$$f(a + h) = (a + h)^2 + 1 = a^2 + 2ah + h^2 + 1$$
Final answer: $f(a + h) = a^2 + 2ah + h^2 + 1$.
The cross term $2ah$ is the part beginners drop. Squaring $a + h$ is not $a^2 + h^2$; the middle term is always there, and it is exactly the term that survives into calculus.
What Is The Difference Quotient In Function Notation?
The difference quotient is where function notation stops being bookkeeping and starts being calculus. It measures how much the output changes for a small change $h$ in the input:
$$\frac{f(x + h) - f(x)}{h}$$
Read it as rise over run: the numerator is the change in output, the denominator is the change in input. It is the average rate of change of $f$ across the step from $x$ to $x + h$, which is the slope of the straight line joining those two points on the graph.
Example 3: Build and simplify the difference quotient.
For $f(x) = x^2 + 1$, compute $\dfrac{f(a + h) - f(a)}{h}$.
From Example 2, $f(a + h) = a^2 + 2ah + h^2 + 1$, and $f(a) = a^2 + 1$. Subtract:
$$f(a + h) - f(a) = \left(a^2 + 2ah + h^2 + 1\right) - \left(a^2 + 1\right) = 2ah + h^2$$
Now divide by $h$ (valid because $h \neq 0$ in the difference quotient):
$$\frac{f(a + h) - f(a)}{h} = \frac{2ah + h^2}{h} = 2a + h$$
Final answer: the difference quotient is $2a + h$.
The geometry sits right beside the algebra: $2a + h$ is the slope of the line through the two points on the parabola. Let the step shrink, and the calculus payoff appears. As $h \to 0$, that secant slope becomes the tangent slope:
$$\lim_{h \to 0} (2a + h) = 2a$$
That limit is the definition of the derivative: $f'(a) = 2a$. Function notation is what made the whole chain writable. For the standalone treatment, see the difference quotient page.
How Do You Read Composite Function Notation $f(g(x))$?
When the input to one function is itself another function, you get a composition, written $f(g(x))$ and read "f of g of x." You work from the inside out: apply $g$ first, then feed its output into $f$.
Example 4: Evaluate a composition both ways.
Let $f(x) = x^2 + 1$ and $g(x) = x - 3$.
Inside first, then outside:
$$f(g(x)) = f(x - 3) = (x - 3)^2 + 1 = x^2 - 6x + 10$$
Reverse the order:
$$g(f(x)) = g\left(x^2 + 1\right) = \left(x^2 + 1\right) - 3 = x^2 - 2$$
Final answer: $f(g(x)) = x^2 - 6x + 10$ and $g(f(x)) = x^2 - 2$. The two are different, so order matters. For the full method, see composition of functions.
What Is The Domain And Range In Function Notation?
The domain is the set of inputs $x$ the rule accepts; the range is the set of outputs $f(x)$ it can produce. Both are stated in two standard forms: interval notation and set-builder notation.
Take $f(x) = x^2 + 1$. Any real number can be squared, so the domain is every real number. Since $x^2 \ge 0$, the smallest output is $f(0) = 1$, and the outputs climb without bound, so the range starts at $1$.
Table: The domain and range of $f(x) = x^2 + 1$ in both notations.
Set | Interval notation | Set-builder notation |
|---|---|---|
Domain | $(-\infty, \infty)$ | ${, x \mid x \in \mathbb{R} ,}$ |
Range | $[1, \infty)$ | ${, y \mid y \ge 1 ,}$ |
The square bracket in $[1, \infty)$ says $1$ is included (the curve reaches it at $x = 0$); the round bracket on $\infty$ says infinity is never reached. For more cases, see domain and range of a function.
What Are The Other Notations Related To Function Notation?
Once $f(x)$ is comfortable, the same idea stretches to cover derivatives, split rules, and curves in the plane. These all read as "a named rule applied to an input."
Table: Notations built on or related to function notation.
Notation | Read as | What it means |
|---|---|---|
$f(x)$ | "f of x" | the output of rule $f$ at input $x$ |
$g(x)$, $h(x)$ | "g of x," "h of x" | other named rules on the same page |
$f'(x)$ | "f prime of x" | the derivative: the rate of change of $f$ |
$\dfrac{dy}{dx}$ | "d y d x" | Leibniz's notation for that same derivative |
$f^{-1}(x)$ | "f inverse of x" | the inverse function that undoes $f$ |
piecewise $f(x)=\begin{cases}\dots\end{cases}$ | "f of x, cases" | a rule that changes on different parts of the domain |
A piecewise rule keeps the same notation while switching formula by region. For instance,
$$f(x) = \begin{cases} x^2 & \text{if } x < 0 \ x + 1 & \text{if } x \ge 0 \end{cases}$$
Here $f(-2) = (-2)^2 = 4$ and $f(3) = 3 + 1 = 4$: same output, reached by different rules. See piecewise functions for the full treatment.
Two more notations extend the idea to motion and curves. A vector-valued rule bundles several outputs, written $\mathbf{r}(t) = \langle \cos t, \sin t \rangle$, and a parametric pair $\big(x(t), y(t)\big)$ traces a curve as the parameter $t$ runs. Both are function notation with more than one output. The parametric equations page picks up that thread.
Why Does Function Notation Work The Way It Does?
Function notation looks like a small thing, a name and a bracket, yet it carries the whole logic of a function. A few reasons explain why it became the universal language.
One input gives one output. The moment you write $f(3)$ you are promising a single answer. That single-valued rule is what separates a function from a mere relation, and the notation makes the promise visible.
It names the rule separately from its value. Writing $f$ once lets you refer to the rule ("differentiate $f$") and to a value ("$f(3) = 10$") without confusion. The name and the number are different objects, and the brackets keep them apart.
Substitution is the only move. Every evaluation, whether $f(3)$, $f(a + h)$, or $f(g(x))$, is the same act: put the input where the $x$ was. One skill unlocks numbers, expressions, and compositions alike.
That third point is why the difference quotient falls out so cleanly. Because $f(a + h)$ is just $f$ with $a + h$ in place of $x$, the change in output writes itself, and calculus gets its starting line. For the wider setting of inputs, outputs, and rules, see relations and functions.
Who Invented Function Notation?
The word "function" is older than the symbol $f(x)$. For decades mathematicians described rules in long sentences before one of them compressed the idea into a bracket.
Two figures set the stage for Euler:
Gottfried Wilhelm Leibniz (1646–1716, Germany) introduced the word function in the 1670s while studying how quantities depend on a moving point on a curve.
Johann Bernoulli (1667–1748, Switzerland), Euler's own teacher, gave one of the first explicit definitions of a function as an expression built from a variable and constants.
Where Is Function Notation Used In The Real World?
The one-in, one-out idea behind $f(x)$ runs quietly through fields that look nothing like an algebra class.
Physics and motion: position is written $s(t)$, velocity $v(t)$, so a single letter and a bracket say "distance as a function of time," and the derivative $s'(t)$ gives speed.
Programming and spreadsheets: a function in code,
f(x), and a spreadsheet cell formula both take inputs and return one output, borrowing the exact notation and the exact one-output rule.Economics: cost is $C(q)$, revenue $R(q)$, and profit $P(q) = R(q) - C(q)$, so each quantity is named as a function of the number of units.
Biology and medicine: a drug's concentration is modelled as $C(t)$, a function of time, and its rate of change $C'(t)$ tells clinicians how fast it clears.
Engineering signals: a signal $x(t)$ and its transformed version are both functions, and the whole toolkit of filtering is written in function notation.
One compact symbol, borrowed from an 18th-century textbook, is now the shared shorthand for "output depends on input" across science, software, and finance.
What Are The Most Common Mistakes With Function Notation?
These three errors account for most lost marks on function notation, and each matches a question real students ask on r/learnmath and in course notes.
Reading $f(x)$ as $f$ times $x$.
Where it slips in:
A student sees the brackets in $f(x)$ and multiplies, so given $f(x) = x + 3$ they compute $f(2)$ as $2(x + 3)$ instead of substituting.
Don't do this:
Do not treat the brackets as multiplication. $f(x)$ is one symbol meaning "the output of $f$ at $x$," and $f$ is a name, not a number to multiply by.
The correct way:
Substitute the input for $x$. For $f(x) = x + 3$, the value $f(2) = 2 + 3 = 5$.
Mis-expanding $f(a + h)$.
Where it slips in:
Building a difference quotient, a student writes $f(a + h) = f(a) + f(h)$, or expands $(a + h)^2$ as $a^2 + h^2$ and loses the middle term.
Don't do this:
Do not split the input across the function, and do not drop the cross term. A function of a sum is not the sum of the function's values.
The correct way:
Put the whole packet $a + h$ in for $x$ and expand fully: for $f(x) = x^2 + 1$, $f(a + h) = (a + h)^2 + 1 = a^2 + 2ah + h^2 + 1$, keeping the $2ah$.
Confusing $f^{-1}(x)$ with $\dfrac{1}{f(x)}$.
Where it slips in:
A student reads the $-1$ in $f^{-1}$ as an exponent and computes a reciprocal instead of the inverse function.
Don't do this:
Do not treat $f^{-1}(x)$ as $\dfrac{1}{f(x)}$. The inverse function undoes $f$; the reciprocal divides one by the output.
The correct way:
For $f(x) = 2x + 3$, the inverse is $f^{-1}(x) = \dfrac{x - 3}{2}$ (solve $y = 2x + 3$ for $x$), while the reciprocal is $\dfrac{1}{2x + 3}$. They are different functions.
Practice Problems On Function Notation
Use $f(x) = x^2 + 1$ and $g(x) = 2x - 5$ unless a problem says otherwise. Answers follow each line, and every one is verified.
Find $f(4)$.
(Answer: $4^2 + 1 = 17$.)Find $g(-1)$.
(Answer: $2(-1) - 5 = -7$.)Find $f(t + 1)$.
(Answer: $(t + 1)^2 + 1 = t^2 + 2t + 2$.)Find the difference quotient $\dfrac{f(x + h) - f(x)}{h}$ for $f(x) = x^2 + 1$.
(Answer: $\dfrac{(x^2 + 2xh + h^2 + 1) - (x^2 + 1)}{h} = 2x + h$.)Find $g(f(0))$.
(Answer: $f(0) = 1$, then $g(1) = 2(1) - 5 = -3$.)State the domain and range of $f(x) = x^2 + 1$.
(Answer: domain $(-\infty, \infty)$; range $[1, \infty)$.)
Where Should You Go Next After Function Notation?
Function notation is the entry point to the whole language of calculus, and several natural doors open from here.
The difference quotient. Turn the $f(x + h)$ skill into the formal average rate of change, the last step before the derivative.
Composition of functions. Go deeper on $f(g(x))$, the inside-out rule and why order changes the answer.
Transformations of functions. See how shifting, stretching, and reflecting a graph shows up as changes inside and outside $f(x)$.
Graphing functions. Connect the notation to the picture, so every $f(x)$ has a curve behind it.
If your child is meeting function notation for the first time, a live Bhanzu trainer teaches it from the function-machine picture up, so substitution and the difference quotient feel like one idea, in the Bhanzu math program.
Was this article helpful?
Your feedback helps us write better content
