Skip to study

CHAPTER 02 · FUNCTIONS

Introducing functions

Progress stays on this device

papers Chapter & section analysis

Your chapter

Describe how one quantity depends on another, and reverse a model when possible.

Read all chapter notes

2.1

papers

What is a function?

A function assigns exactly one output to each input in its domain. Different inputs may share an output. On a graph, a vertical line must never cross more than once.

One-to-one functions have different outputs for different inputs. This matters when finding an inverse function. A many-to-one function can sometimes be made one-to-one by restricting its domain.

f: x↦f(x)\displaystyle x \mapsto f\left(x\right). Vertical-line test: at most one y for each x.

Watch out: A circle is not a function y=f(x)\displaystyle y = f\left(x\right) on its full graph because some x-values give two y-values.

Worked example

Does the relation (1, 1)\displaystyle \left(1,\,1\right), (2, 2)\displaystyle \left(2,\,2\right), (1, 3)\displaystyle \left(1,\,3\right) define y as a function of x?

  1. Check whether an x-value is paired with different y-values.
  2. The input 1 has outputs 1 and 3.

2.2

papers

Functional notation

f(x)\displaystyle f\left(x\right) names the output when x is the input. Evaluate a function by substituting throughout, using brackets for negative or algebraic inputs.

An equation such as f(x)=7\displaystyle f\left(x\right) = 7 asks you to find inputs whose output is 7. It is different from calculating f(7)\displaystyle f\left(7\right). The notation f(a+h)\displaystyle f\left(a + h\right) means substitute a+h\displaystyle a + h everywhere x occurs.

If f(x)=x2\displaystyle f\left(x\right) = x^{2}, then f(a+h)=(a+h)2\displaystyle f\left(a + h\right) = \left(a + h\right)^{2}.

Watch out: f(x+h)\displaystyle f\left(x + h\right) is usually different from f(x)+h\displaystyle f\left(x\right) + h.

Worked example

f(x)=2x2+3\displaystyle f\left(x\right) = 2 x^{2} + 3. Find f(−2)\displaystyle f\left(-2\right).

  1. Replace every x with (-2).
  2. f(−2)=2×(−2)2+3\displaystyle f\left(-2\right) = 2 \times \left(-2\right)^{2} + 3.
  3. This equals 11.

2.3

papers

Drawing graphs of functions

Identify the family: linear, quadratic, cubic, reciprocal, exponential or trigonometric. Mark intercepts, turning points, asymptotes and any restricted endpoints before joining the curve smoothly.

To find x-intercepts, solve f(x)=0\displaystyle f\left(x\right) = 0; the y-intercept is f(0)\displaystyle f\left(0\right) if defined. Technology can locate roots and intersections numerically, but a sketch still needs the important coordinates and the right shape.

x-intercepts: f(x)=0\displaystyle f\left(x\right) = 0. y-intercept: (0, f(0))\displaystyle \left(0,\,f\left(0\right)\right). Intersections: f(x)=g(x)\displaystyle f\left(x\right) = g\left(x\right).

Watch out: A viewing window can hide a root or a turning point. Change the window before concluding that none exist.

Worked example

The curve is y=1x3−3x+2\displaystyle y = 1 x^{3} - 3 x + 2. Find the y-coordinate of its y-intercept.

  1. At the y-axis, x=0\displaystyle x = 0.
  2. y=1(0)3−3(0)+2\displaystyle y = 1 \left(0\right)^{3} - 3 \left(0\right) + 2.
  3. The intercept is (0, 2)\displaystyle \left(0,\,2\right).

2.4

papers

Domain & range

The domain is the set of permitted inputs; the range is the set of resulting outputs. Start with algebraic restrictions: a denominator cannot be zero, a square-root input must be non-negative, and a real logarithm requires a positive input.

A problem may impose further restrictions, such as time t≥0\displaystyle t \ge 0 or a finite length. On a restricted interval, check endpoints and internal turning points when finding the range.

For f(x)=x−a+b\displaystyle f\left(x\right) = \sqrt{x - a} + b: domain [a, ∞\displaystyle \infty), range [b, ∞\displaystyle \infty).

Watch out: Infinity always takes a round bracket. A square bracket includes the finite endpoint.

Worked example

f(x)=x−2+3\displaystyle f\left(x\right) = \sqrt{x - 2} + 3. Which is the largest real domain?

  1. The expression under a square root must be non-negative.
  2. x−2≥0\displaystyle x - 2 \ge 0, so x≥2\displaystyle x \ge 2.
  3. The range is y≥3\displaystyle y \ge 3.

2.5

papers

Composite functions

A composite function feeds the output of one function into another. In (f∘g)(x)=f(g(x))\displaystyle \left(x\right) = f\left(g\left(x\right)\right), start with g. Write the inner expression in brackets before simplifying.

The input must lie in the domain of g, and its output must lie in the domain of f. Reversing the order usually produces a different function and may change the domain.

(f ∘ g)(x)=f(g(x))\displaystyle \left(x\right) = f\left(g\left(x\right)\right).

Watch out: f ∘ g does not mean⁡f(x)\displaystyle \operatorname{mean} f\left(x\right) multiplied by g(x)\displaystyle g\left(x\right).

Worked example

f(x)=2x+1\displaystyle f\left(x\right) = 2 x + 1 and g(x)=x2+3\displaystyle g\left(x\right) = x^{2} + 3. Find (f ∘ g)(2).

  1. First calculate g(2)=7\displaystyle g\left(2\right) = 7.
  2. Apply f to that output: 2×7+1\displaystyle 2 \times 7 + 1.
  3. The result is 15.

2.6

papers

Inverse functions

An inverse reverses a one-to-one function. Set y=f(x)\displaystyle y = f\left(x\right), rearrange to make x the subject, then exchange x and y. Check by composing the functions.

The inverse swaps domain and range, and its graph reflects in y=x\displaystyle y = x. For f(x)=x2\displaystyle f\left(x\right) = x^{2}, restrict to x≥0\displaystyle x \ge 0 to get the inverse x\displaystyle \sqrt{x}; another valid restriction gives a different branch.

f−1(f(x))=x\displaystyle f^{-1}\left(f\left(x\right)\right) = x on the domain of f. Domain of f−1\displaystyle f^{-1} = range of f.

Watch out: f−1(x)\displaystyle f^{-1}\left(x\right) means the inverse function, not 1f(x)\displaystyle \frac{1}{f\left(x\right)}.

Worked example

f(x)=3x+2\displaystyle f\left(x\right) = 3 x + 2. Find f−1(20)\displaystyle f^{-1}\left(20\right).

  1. Write y=3x+2\displaystyle y = 3 x + 2.
  2. Rearrange: x=y−23\displaystyle x = \frac{y - 2}{3}.
  3. For input 20, the inverse gives 20−23=6\displaystyle \frac{20 - 2}{3} = 6.