Skip to study

CHAPTER 02 · FUNCTIONS

Functions

Progress stays on this device

papers AA HL chapter & section analysis

Your chapter

Connect algebraic rules with their domains and graph behaviour.

Read all chapter notes

2.1

Functional relationships

A function assigns exactly one output to each allowed input. Its domain is the set of allowed inputs, its codomain is the stated target set, and its range is the set of outputs actually attained.

Establish real domains before evaluating expressions: denominators are non-zero, square-root arguments are non-negative, and logarithm arguments are positive. Context may impose further restrictions.

A piecewise function uses the rule belonging to the input interval. On a graph, a vertical line must meet the graph at most once for y to be a function of x.

f:A→B\displaystyle A \to B; range(f)⊆B. For real g(x)\displaystyle \sqrt{g\left(x\right)}, require g(x)≥0\displaystyle g\left(x\right) \ge 0; for ln⁡g(x)\displaystyle \ln g\left(x\right), require g(x)>0\displaystyle g\left(x\right) > 0.

Watch out: The codomain is supplied as part of the function definition; it need not equal the range.

Worked example

For the real function f(x)=3x−6\displaystyle f\left(x\right) = \sqrt{3 x - 6}, find the least allowed input.

  1. The square-root argument must satisfy 3x−6≥0\displaystyle 3 x - 6 \ge 0.
  2. Hence x≥2\displaystyle x \ge 2, and the least input is 2.

2.2

Special functions & their graphs

Recognize the important features of linear, quadratic, polynomial, reciprocal, rational, modulus, root and exponential graphs. Locate intercepts, symmetry, turning points and asymptotes before sketching.

For a rational function, factor first: a cancelled factor may create a removable hole rather than an asymptote. Compare leading terms to understand long-run behaviour.

The graph of y=∣f(x)∣\displaystyle y = \left|f\left(x\right)\right| reflects negative output portions above the x-axis. Root and logarithmic graphs must respect their real domains; exponential graphs remain positive when the coefficient is positive.

For f(x)=ax+bcx+d\displaystyle f\left(x\right) = \frac{ax + b}{cx + d}, c≠0\displaystyle c \ne 0 and ad−bc≠0\displaystyle ad - bc \ne 0: horizontal asymptote y=ac\displaystyle y = \frac{a}{c} and vertical asymptote x=−dc\displaystyle x = \frac{-d}{c}.

Watch out: An intercept is a point on the graph; an asymptote need not be part of the graph.

Worked example

Find the horizontal asymptote value of f(x)=2x+3x−1\displaystyle f\left(x\right) = \frac{2 x + 3}{x - 1}.

  1. The numerator and denominator have the same degree.
  2. Their leading-coefficient ratio is 21\displaystyle \frac{2}{1}, so y=2\displaystyle y = 2.

2.3

Classification of functions

A one-to-one function never gives the same output for two different inputs, so it has an inverse function on its range. The horizontal-line test detects this graphically; restricting the domain can make a many-to-one rule one-to-one.

An even function satisfies f(−x)=f(x)\displaystyle f\left(-x\right) = f\left(x\right) on a domain symmetric about zero and has y-axis symmetry. An odd function satisfies f(−x)=−f(x)\displaystyle f\left(-x\right) = -f\left(x\right) and has origin symmetry.

A function is onto (surjective) a specified codomain when its range equals that codomain. A periodic function repeats after a positive period T: f(x+T)=f(x)\displaystyle f\left(x + T\right) = f\left(x\right). The fundamental period is the smallest such positive value. State domain restrictions when classifying a function.

Even: f(−x)=f(x)\displaystyle f\left(-x\right) = f\left(x\right). Odd: f(−x)=−f(x)\displaystyle f\left(-x\right) = -f\left(x\right). One-to-one: f(a)=f(b)  ⟹  a=b\displaystyle f\left(a\right) = f\left(b\right) \implies a = b. Period T>0\displaystyle T > 0: f(x+T)=f(x)\displaystyle f\left(x + T\right) = f\left(x\right).

Watch out: A function can be neither even nor odd. Symmetry tests must use the original domain.

Worked example

Classify f(x)=x3−2x\displaystyle f\left(x\right) = x^{3} - 2 x on the real numbers.

  1. f(−x)=−x3+2x=−f(x)\displaystyle f\left(-x\right) = -x^{3} + 2 x = -f\left(x\right).
  2. The domain is symmetric, so f is odd.

2.4

Operations with functions

Combine functions using arithmetic operations while intersecting their domains; division also excludes inputs where the divisor is zero. In a composition f∘g, apply g first and require its output to belong to the domain of f.

For an inverse, interchange input and output and solve for the new output. A chosen domain restriction determines which square-root branch is valid.

The inverse domain is the original range. On compatible domains, f(f−1(x))=x\displaystyle f\left(f^{-1}\left(x\right)\right) = x and f−1(f(x))=x\displaystyle f^{-1}\left(f\left(x\right)\right) = x; the graph is reflected in y=x\displaystyle y = x.

(f∘g)(x)=f(g(x))\displaystyle \left(x\right) = f\left(g\left(x\right)\right). Domain(f∘g)={x∈domain(g): g(x)\displaystyle g\left(x\right)∈domain(f)}.

Watch out: Composition is usually not commutative: f(g(x))\displaystyle f\left(g\left(x\right)\right) and g(f(x))\displaystyle g\left(f\left(x\right)\right) can be different.

Worked example

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

  1. First f(2)=7\displaystyle f\left(2\right) = 7.
  2. Then g(7)=49\displaystyle g\left(7\right) = 49.

2.5

Transformations of functions

An outside change modifies output coordinates; an inside change modifies inputs in the opposite way. Use a point mapping rather than relying only on a verbal order of transformations.

For y=af(b(x−h))+k\displaystyle y = a f\left(b \left(x - h\right)\right) + k, a point (u, v)\displaystyle \left(u,\,v\right) on f becomes (h+ub, k+av)\displaystyle \left(h + \frac{u}{b},\,k + av\right), where b≠0\displaystyle b \ne 0. Negative a reflects vertically; negative b reflects horizontally.

For ∣f(x)∣\displaystyle \left|f\left(x\right)\right|, reflect negative output portions in the x-axis. For f(∣x∣)\displaystyle f\left(\left|x\right|\right), copy the right-hand part to the left. For 1f(x)\displaystyle \frac{1}{f\left(x\right)}, zeros of f become excluded inputs and reciprocal behaviour depends on signs and limiting values.

y=af(b(x−h))+k\displaystyle y = a f\left(b \left(x - h\right)\right) + k maps (u, v)↦(h+ub, k+av)\displaystyle \left(u,\,v\right) \mapsto \left(h + \frac{u}{b},\,k + av\right), b≠0\displaystyle b \ne 0.

Watch out: A horizontal scale factor is the reciprocal of the multiplier inside f.

Worked example

The point (2, 3)\displaystyle \left(2,\,3\right) is on y=f(x)\displaystyle y = f\left(x\right). Give the corresponding point on y=2f(x−4)+1\displaystyle y = 2 f\left(x - 4\right) + 1 as (x, y)\displaystyle \left(x,\,y\right).

  1. Set x−4=2\displaystyle x - 4 = 2, giving x=6\displaystyle x = 6.
  2. The new output is 2(3)+1=7\displaystyle 2 \left(3\right) + 1 = 7.