Kahibaro
Discord Login Register

3.5.2 Function notation

Function notation is a compact way to write and talk about functions using symbols. In this chapter we focus on how to read, write, and use this notation, assuming you already understand the basic input–output idea of a function.

The basic symbol: $f(x)$

The most common way to name a function is with a letter, usually $f$, $g$, or $h$.

If a function is described by a rule like “take a number and double it, then add $3$,” we can write:
$$
f(x) = 2x + 3
$$
This means: the output is $2x + 3$ when the input is $x$.

Here $f$ is the name of the function, $x$ is the input, and $2x + 3$ is the expression that tells how to compute the output.

Function notation vs. “$y$”

You have probably seen equations written with $y$, such as:
$$
y = 2x + 3
$$
Using function notation, the same relationship can be written:
$$
f(x) = 2x + 3
$$

They play similar roles:

We can think of $y$ as another name for $f(x)$:
$$
y = f(x)
$$

Function notation has an advantage: you can name different functions easily, such as $f(x)$, $g(x)$, $h(x)$, instead of always using $y$.

Evaluating a function using notation

To evaluate a function means to find the output for a specific input.

If
$$
f(x) = 2x + 3,
$$
then:

The pattern is:

  1. Start with the formula for $f(x)$.
  2. Replace every $x$ with the given input.
  3. Simplify.

Evaluating with negative numbers and fractions

If
$$
f(x) = 5x - 2,
$$
then:

Evaluating with expressions as inputs

The input does not have to be just a number. It can be an expression.

If
$$
f(x) = x^2 + 1,
$$
then:

The key idea: whatever is inside the parentheses of $f(\,\cdot\,)$ replaces $x$ everywhere in the formula.

Different function names: $f$, $g$, $h$, etc.

You are not limited to $f(x)$. You can have:

The letter in parentheses can also change depending on context:

Example:
Suppose
$$
g(x) = x^2 - 4x
\quad\text{and}\quad
h(x) = 3x + 1.
$$

Then:

Having different function names lets us talk about several relationships at the same time.

Inputs and outputs in word problems

Function notation is useful for describing real situations.

Example: A taxi company charges a base fee of \$4 plus \$2 per kilometer.

We can write:
$$
C(d) = 2d + 4
$$
where:

Then:

Reading $C(5)$ as “$C$ of $5$” helps you remember: plug in $d = 5$ into the formula for $C(d)$.

Changing the input letter

The letter used for the input is not fixed. The function rule stays the same even if we change the variable name.

If
$$
f(x) = 2x + 3,
$$
we could also write the same function as
$$
f(t) = 2t + 3
\quad\text{or}\quad
f(n) = 2n + 3.
$$

These are all the same rule: “double the input and add $3$.” Only the name of the input changes.

What matters is:

Function notation from tables and graphs

From a table

Suppose you have a table:

$x$$f(x)$
14
27
310

You can read:

The statement $f(2) = 7$ means: when the input is $2$, the output is $7$.

From a graph

On a graph, $x$ is on the horizontal axis, and $f(x)$ is on the vertical axis.

Function notation gives a quick way to talk about such points: “The graph goes through $(2, 5)$” is the same as saying “$f(2) = 5$.”

Special outputs in function notation

Certain special values are described neatly with function notation.

These ideas will be explored more in later chapters, but the notation itself is what lets us express them clearly.

Common mistakes and how to avoid them

  1. Confusing $f(x)$ with multiplication

$f(x)$ does not mean $f \times x$.
It is the name of the output when the function $f$ is applied to $x$.

  1. Forgetting to replace every $x$

If $f(x) = 3x^2 - x$, then
$$
f(2) = 3(2)^2 - 2 = 3 \cdot 4 - 2 = 12 - 2 = 10,
$$
not $3(2)^2 - x$ with some $x$ still left in the expression.

  1. Mixing up the function name and variable

In $g(t) = 4t - 1$:

If you see $g(3)$, you plug $t = 3$ into the formula for $g(t)$.

  1. Changing the rule accidentally

If $f(x) = 2x + 5$, then $f(3)$ must use that same rule:
$$
f(3) = 2(3) + 5 = 11.
$$
You cannot change the rule when evaluating.

Summary of key points

Views: 77

Comments

Please login to add a comment.

Don't have an account? Register now!