1. Functions

Syllabus
0606–2028–2029
Topic
1
Level

Learning objectives

1.1Understand function terminology• Understand the terms: function, domain, range (image set), one-one function, many-one function, inverse function and composition of functions.• Includes explaining in words why a given relation is a function.1.2Find domains and ranges of functions• Find the domain and range of functions, including inverse and composite functions.• Restrict the domain of f where needed for f^-1 and/or gf to exist.• Understand that the domain of gf is a subset of the domain of f, and the range of gf is a subset of the range of g.1.3Use function notation• Recognise and use function notation such as f(x), f: x -> lg x, f^-1(x), fg(x) = f(g(x)) and f^2(x) = f(f(x)).• The notation f^2(x) will not be used with trigonometric functions.1.4Relate y = f(x) and y = |f(x)|• Understand the relationship between y = f(x) and y = |f(x)| where f(x) may be linear, quadratic, cubic or trigonometric.• For trigonometric functions, use y = a sin bx + c, y = a cos bx + c or y = a tan bx + c, where a is a positive integer, b is a simple fraction or integer, and c is an integer.• Fractions for b have denominator 2, 3, 4, 6 or 8 only.1.5Explain when inverses do not exist• Explain in words why a given function does not have an inverse.1.6Find inverse functions• Find the inverse of a one-one function.• Use correct inverse-function notation.1.7Form and use composite functions• Form and use composite functions.• Understand that the order of functions is important, so fg may not be the same as gf.1.8Sketch functions and inverses• Use sketch graphs to show the relationship between a function and its inverse.• Understand that each graph is the reflection of the other in the line y = x.

Understand functions and their key terms

A function assigns exactly one output to every input in its domain. Different inputs may share an output, but one input cannot have two outputs.

Term Meaning
domain permitted input values
range (image set) outputs actually produced
one-one distinct inputs give distinct outputs
many-one two or more inputs may give the same output
inverse reverses a one-one function
composition uses one function's output as another's input

A graph represents a function when every vertical line meets it at most once. It is one-one when every horizontal line also meets it at most once; a many-one function still passes the vertical-line test but fails the horizontal-line test.

‘Exactly one output’ is required only for inputs in the stated domain. Having several inputs map to one output does not stop a relation being a function; it stops that function being one-one.

Find domains and ranges, including restrictions

A domain records allowed inputs and a range records the resulting outputs. Both must respect algebraic restrictions and any stated interval.

Expression feature Domain condition
denominator q(x)q(x) q(x)0q(x)\ne0
square root q(x)\sqrt{q(x)} q(x)0q(x)\geq0
lnq(x)\ln q(x) or lgq(x)\lg q(x) q(x)>0q(x)>0

For an inverse, domain and range swap: Dom(f1)=Range(f)\operatorname{Dom}(f^{-1})=\operatorname{Range}(f) and Range(f1)=Dom(f)\operatorname{Range}(f^{-1})=\operatorname{Dom}(f). Restrict a many-one formula to an interval on which it is one-one before defining its inverse.

For gf(x)=g(f(x))gf(x)=g(f(x)), first require xx to be in the domain of ff, then require f(x)f(x) to lie in the domain of gg. Therefore Dom(gf)Dom(f)\operatorname{Dom}(gf)\subseteq\operatorname{Dom}(f) and Range(gf)Range(g)\operatorname{Range}(gf)\subseteq\operatorname{Range}(g).

If f(x)=x2f(x)=x^2 is restricted to x0x\geq0, then its range is [0,)[0,\infty) and f1(x)=xf^{-1}(x)=\sqrt{x} has domain x0x\geq0. Without the restriction, x2x^2 is many-one and has no inverse function on all real numbers.

State inequalities with the correct strictness. A forbidden denominator value is excluded, while a zero radicand is allowed for a square root.

Read and use function notation

Notation Meaning
f(x)f(x) output of ff at input xx
f:xlgxf:x\mapsto\lg x ff maps xx to lgx\lg x
f1(x)f^{-1}(x) inverse-function output
fg(x)fg(x) f(g(x))f(g(x)): apply gg first
f2(x)f^2(x) f(f(x))f(f(x)): apply ff twice

If f(x)=x2+1f(x)=x^2+1 and g(x)=3x2g(x)=3x-2, then fg(4)=f(g(4))=f(10)=101fg(4)=f(g(4))=f(10)=101. For iteration, f2(2)=f(f(2))=f(5)=26f^2(2)=f(f(2))=f(5)=26.

f1(x)f^{-1}(x) is not 1/f(x)1/f(x), and f2(x)f^2(x) is not generally [f(x)]2[f(x)]^2. Read adjacent function letters from right to left. In this syllabus, f2(x)f^2(x) notation is not used with trigonometric functions.

Transform y=f(x) into y=|f(x)|

The graph of y=f(x)y=|f(x)| keeps every part of y=f(x)y=f(x) on or above the xx-axis and reflects every part below it across the xx-axis.

(x,y)(x,y)(x,y)\mapsto(x,|y|)

The domain and xx-intercepts stay unchanged, all output values become non-negative, and a crossing of the xx-axis usually becomes a sharp turning point. Apply the rule point by point to permitted linear, quadratic, cubic or trigonometric f(x)f(x).

For f(x)=5x7f(x)=5x-7, the zero is x=7/5x=7/5. Thus y=5x7y=|5x-7| is V-shaped with vertex (7/5,0)(7/5,0) and yy-intercept (0,7)(0,7); the negative half of the original line is reflected upward.

Absolute value changes output signs, not input values: f(x)|f(x)| is generally different from f(x)f(|x|). Do not reflect parts that are already above the axis.

Explain when an inverse function does not exist

An inverse function exists only when the original function is one-one on its stated domain.

Reversing a many-one function makes one former output point to several former inputs. That reversed relation fails the function rule because one input would have more than one output. Graphically, the original fails the horizontal-line test, so its reflection in y=xy=x fails the vertical-line test.

A suitable domain restriction can select one one-one branch. For example, f(x)=x2f(x)=x^2 has no inverse on R\mathbb R, but on x0x\geq0 it has inverse f1(x)=xf^{-1}(x)=\sqrt{x}.

Do not say only ‘because it is quadratic’. The reason is that distinct permitted inputs give the same output; identify the many-one behaviour or a failed horizontal-line test.

Find an inverse function with the correct domain

To invert a one-one function: write y=f(x)y=f(x), rearrange to make xx the subject, then interchange the variable names and state the inverse domain. Any branch choice must match the original domain restriction.

f(x)=(x1)2+3, x1f1(x)=1+x3, x3f(x)=(x-1)^2+3,\ x\geq1\quad\Longrightarrow\quad f^{-1}(x)=1+\sqrt{x-3},\ x\geq3

The positive square-root branch is required because the original restriction gives x10x-1\geq0. The inverse domain x3x\geq3 is the original range, while the inverse range x1x\geq1 is the original domain.

Check both compositions on their valid domains: f1(f(x))=xf^{-1}(f(x))=x and f(f1(x))=xf(f^{-1}(x))=x. Use f1f^{-1} notation only for the inverse function, never for a reciprocal.

Form and use composite functions in the right order

In fg(x)=f(g(x))fg(x)=f(g(x)), the right-hand function acts first. Composition is substitution: replace every xx in the outer function by the complete inner expression.

f(x)=x2+1, g(x)=3x+2fg(x)=(3x+2)2+1,gf(x)=3(x2+1)+2f(x)=x^2+1,\ g(x)=3x+2\quad\Rightarrow\quad fg(x)=(3x+2)^2+1,\quad gf(x)=3(x^2+1)+2

For a value, follow the same inside-first order: fg(1)=f(g(1))=f(5)=26fg(1)=f(g(1))=f(5)=26. For an equation such as fg(x)=5fg(x)=5, first form the correct composite, then solve while enforcing the composite domain.

The composite exists only when the input is valid for the inner function and its output is valid for the outer function. A logarithm, square root or denominator can therefore remove inputs after substitution.

Usually fggffg\ne gf; switching the letters changes both the expression and possibly the domain. Keep brackets around the entire inner expression during substitution.

Sketch a function and its inverse

The graphs of a one-one function and its inverse are reflections of each other in the line y=xy=x.

(a,b) on y=f(x)(b,a) on y=f1(x)(a,b)\text{ on }y=f(x)\quad\Longleftrightarrow\quad(b,a)\text{ on }y=f^{-1}(x)

Swap the coordinates of useful points, then reflect the whole shape: an xx-intercept (a,0)(a,0) becomes the inverse's yy-intercept (0,a)(0,a); horizontal and vertical asymptotes swap; domain and range swap. Points on y=xy=x remain fixed and satisfy f(x)=xf(x)=x.

Sketch y=xy=x as a guide, mark reflected intercepts, endpoints and asymptotes, and preserve the restricted domains. Label both curves so their roles are unambiguous.

A many-one graph cannot be reflected into an inverse function until its domain is restricted to a one-one branch. Reflection does not mean changing every coordinate's sign.