1. Functions
- Syllabus
- 0606–2028–2029
- Topic
- 1
- Level
- —
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.
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)=0 |
| square root q(x) | q(x)≥0 |
| lnq(x) or lgq(x) | q(x)>0 |
For an inverse, domain and range swap: Dom(f−1)=Range(f) and Range(f−1)=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)), first require x to be in the domain of f, then require f(x) to lie in the domain of g. Therefore Dom(gf)⊆Dom(f) and Range(gf)⊆Range(g).
If f(x)=x2 is restricted to x≥0, then its range is [0,∞) and f−1(x)=x has domain x≥0. Without the restriction, x2 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.
| Notation | Meaning |
|---|---|
| f(x) | output of f at input x |
| f:x↦lgx | f maps x to lgx |
| f−1(x) | inverse-function output |
| fg(x) | f(g(x)): apply g first |
| f2(x) | f(f(x)): apply f twice |
If f(x)=x2+1 and g(x)=3x−2, then fg(4)=f(g(4))=f(10)=101. For iteration, f2(2)=f(f(2))=f(5)=26.
f−1(x) is not 1/f(x), and f2(x) is not generally [f(x)]2. Read adjacent function letters from right to left. In this syllabus, f2(x) notation is not used with trigonometric functions.
The graph of y=∣f(x)∣ keeps every part of y=f(x) on or above the x-axis and reflects every part below it across the x-axis.
(x,y)↦(x,∣y∣)
The domain and x-intercepts stay unchanged, all output values become non-negative, and a crossing of the x-axis usually becomes a sharp turning point. Apply the rule point by point to permitted linear, quadratic, cubic or trigonometric f(x).
For f(x)=5x−7, the zero is x=7/5. Thus y=∣5x−7∣ is V-shaped with vertex (7/5,0) and y-intercept (0,7); the negative half of the original line is reflected upward.
Absolute value changes output signs, not input values: ∣f(x)∣ is generally different from f(∣x∣). Do not reflect parts that are already above the axis.
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=x fails the vertical-line test.
A suitable domain restriction can select one one-one branch. For example, f(x)=x2 has no inverse on R, but on x≥0 it has inverse f−1(x)=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.
To invert a one-one function: write y=f(x), rearrange to make x the subject, then interchange the variable names and state the inverse domain. Any branch choice must match the original domain restriction.
f(x)=(x−1)2+3, x≥1⟹f−1(x)=1+x−3, x≥3
The positive square-root branch is required because the original restriction gives x−1≥0. The inverse domain x≥3 is the original range, while the inverse range x≥1 is the original domain.
Check both compositions on their valid domains: f−1(f(x))=x and f(f−1(x))=x. Use f−1 notation only for the inverse function, never for a reciprocal.
In fg(x)=f(g(x)), the right-hand function acts first. Composition is substitution: replace every x in the outer function by the complete inner expression.
f(x)=x2+1, g(x)=3x+2⇒fg(x)=(3x+2)2+1,gf(x)=3(x2+1)+2
For a value, follow the same inside-first order: fg(1)=f(g(1))=f(5)=26. For an equation such as fg(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 fg=gf; switching the letters changes both the expression and possibly the domain. Keep brackets around the entire inner expression during substitution.
The graphs of a one-one function and its inverse are reflections of each other in the line y=x.
(a,b) on y=f(x)⟺(b,a) on y=f−1(x)
Swap the coordinates of useful points, then reflect the whole shape: an x-intercept (a,0) becomes the inverse's y-intercept (0,a); horizontal and vertical asymptotes swap; domain and range swap. Points on y=x remain fixed and satisfy f(x)=x.
Sketch y=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.