Inverse and composite functions: VCE Math Methods Unit 2 Year 11
Syllabus dot point
“Composite functions f∘g and g∘f, the existence and form of inverse functions f−1, the relationship between a function and its inverse (reflection in y=x, domain and range swap), and the one-to-one restriction”
8 min read ·
Quick answer
Composite functions apply one function inside another ((f∘g)(x)=f(g(x)), g first then f), and inverse functions f−1 undo f (f(f−1(x))=x); f−1 exists only when f is one-to-one (passes the horizontal line test), is found algebraically by swapping x and y and solving for y, has swapped domain and range, and is graphed as the reflection of f in the line y=x.
VCAA wants you to construct composite functions, determine when an inverse function exists, find the inverse algebraically, and recognise the graphical relationship between a function and its inverse.
Composite functions
A composite function applies one function inside another:
(f∘g)(x)=f(g(x))
Read "f of g of x". Apply g first, then f.
The order matters: f∘g is in general not the same as g∘f.
Domain considerations: the composite f(g(x)) requires x to be in the domain of g, and g(x) to be in the domain of f.
Worked example
f(x)=x, g(x)=x−4.
(f∘g)(x)=f(x−4)=x−4, defined for x≥4.
(g∘f)(x)=g(x)=x−4, defined for x≥0.
Different functions with different domains.
Inverse functions
The inverse of f is the function f−1 such that:
f(f−1(x))=x and f−1(f(x))=x
on appropriate domains.
When does f−1 exist?
f−1 exists if and only if f is one-to-one: no two inputs map to the same output. Equivalently, f passes the horizontal line test.
Functions that are not one-to-one (parabolas, sin on R) require a domain restriction to be invertible.
Finding f−1 algebraically
Write y=f(x).
Swap x and y.
Solve for y.
Write f−1(x)= (the solved expression).
Domain and range swap
Under inversion:
Domain of f−1 = range of f.
Range of f−1 = domain of f.
Graphical relationship
The graph of f−1 is the reflection of the graph of f in the line y=x.
If (a,b) is on f, then (b,a) is on f−1.
Intersections of f and f−1 lie on y=x. To find them, solve f(x)=x.
Worked examples
Linear
f(x)=3x+2. Swap: x=3y+2. Solve: y=(x−2)/3. So f−1(x)=(x−2)/3.
Quadratic with restriction
f:[0,∞)→[0,∞), f(x)=x2. Swap: x=y2. Solve (positive root, since range of f−1 is [0,∞)): y=x. So f−1(x)=x on [0,∞).
Exponential
f(x)=2x. The inverse is f−1(x)=log2(x) on (0,∞).
Verifying the inverse
To check g(x)=f−1(x), verify both f(g(x))=x and g(f(x))=x on the appropriate domains.
Common errors
Confusing f−1(x) with 1/f(x)
Inverse function vs reciprocal. Different things.
Forgetting domain restriction
Asking for the inverse of x2 on R is not well-defined. Restrict to make f one-to-one.
Wrong root sign on quadratic inverse
Solving y=x2 gives x=±y; the correct sign depends on the restricted domain.
Composite order confusion
(f∘g)(x)=f(g(x)): apply g first. Many students apply f first by mistake.
Domain ignored in composite
f(g(x)) requires x in the domain of g AND g(x) in the domain of f.
Examples in context
Example 1. Chained discounts. An online store applies a 10% discount g(p)=0.9p, then a $5 voucher f(p)=p−5. The final price is (f∘g)(p)=0.9p−5. On a $50 item that is 0.9(50)−5=$40. To recover the original price from a final price, invert: y=0.9p−5 gives p=0.9y+5, so f−1-style reversal of $40 returns 0.945=$50.
Example 2. Temperature scale inverse. A sensor reports F(c)=1.8c+32 (Celsius to Fahrenheit). Its inverse converts back: swap f=1.8c+32 to get c=1.8f−32, so F−1(f)=1.8f−32. A reading of 212∘F gives 1.8180=100∘C, confirming F(100)=212.
Try this
Q1. For f(x)=x+4 and g(x)=3x, find (f∘g)(x) and (g∘f)(x). [2+2 marks]
Cue.(f∘g)(x)=3x+4; (g∘f)(x)=3(x+4)=3x+12.
Q2. Find the inverse of f(x)=5x−1 and verify f(f−1(2))=2. [3 marks]
Cue.f−1(x)=5x+1; f−1(2)=0.6, f(0.6)=3−1=2.
Q3. State why f(x)=x2 on R has no inverse, and give a domain restriction that fixes this. [2 marks]
Cue. Not one-to-one (fails horizontal line test); restrict to x≥0, giving f−1(x)=x.
Exam-style questions
Questions in the style of VCAA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
Year 11 SAC-style4 marks
Given f(x)=2x−3 and g(x)=x2+1. (a) Find (f∘g)(x). (b) Find f−1(x).