Worked examples · Functions
Functions, Worked Examples (KBAT)
These hard Functions examples combine ideas: inverting a composite and confirming the order-reversal rule , finding the inverse of a quadratic on a restricted domain, and solving for two constants from a self-composite . Each is fully worked and checked.
What these examples cover
These hard Functions examples ask you to hold two ideas at once. You will invert a composite and confirm the order-reversal rule , complete the square to invert a quadratic on a restricted domain while tracking its range, and solve a pair of constants from a self-composite .
The algebra stays clean, but the thinking is layered: a small slip early on travels all the way to the final line. Attempt each one in full, keep your brackets, and write the domain or excluded value as part of the answer, not as an afterthought.
We check every result by an independent route so you can trust the working before you rely on it.
Worked examples
Give each problem a genuine attempt before reading on. These reward a clear plan and careful bookkeeping of signs, domains and ranges.
Two functions are defined by and . (a) Find and hence .
(b) Find and , and verify that .
Show worked solution
(a) , so substitute into :
To invert, let and make the subject:
(b) Invert each function separately. For , let :
For , let :
Now build by feeding into :
Answer
and are identical, confirming . The order reverses: to undo "do , then ", undo first, then .
Check a value: and .
The function is defined by for the domain . (a) Express in the form .
(b) State the range of . (c) Find and state its domain.
Show worked solution
(a) Complete the square. Half of is , and :
(b) On the domain , the bracket , so and takes every value from upward. Therefore , with the minimum reached at .
(c) To invert, set and make the subject:
Because the domain is , we have , so take the positive square root only:
Answer
; range ; with domain , because the domain of the inverse is the range of . Check: and .
The function is defined by , where and are constants. Given that , find the values of and , and hence find .
Show worked solution
. Substitute the whole of into :
Compare with . The coefficients of give , and since we take the positive root:
Compare the constant terms, , factorise, and substitute :
So . To find the inverse, let and make the subject:
Answer
, , and . Check: with , ; and .
Two functions are defined by and . Find .
Show worked solution
Since , the whole expression must be rewritten purely in terms of . Start by completing the square on the right-hand side:
The bracket is exactly , since . Substitute:
Comparing both sides, whatever is applied to is the rule for : square the input, then add .
Answer
. Check with : and , which matches directly.
The function is defined by , where is only defined for . The function is defined by for all real .
Find in its simplest form, and state the set of values of for which is defined.
Show worked solution
Build by substituting into :
This is only defined where the input to , which is , satisfies 's own condition :
Solve this inequality by taking square roots on both sides, keeping both branches since allows to be large positive or large negative:
Answer
, defined for or . Check : , which is , so ; directly, .
Check : , which fails , and indeed lies outside the stated set.
The function is defined by , where . Find , and state the value of that must be excluded from the domain of .
Show worked solution
Let and clear the fraction by multiplying both sides by :
Expand, then collect every term containing on one side:
Factorise out , then divide to make the subject:
Answer
, with excluded, this is because the domain of is the range of , and never reaches (its horizontal asymptote). Check: , and .
The function is defined by for the domain . Find the range of .
Show worked solution
Complete the square to locate the vertex. Half of is , and :
The vertex is at , which lies inside the given domain , so the minimum value is actually reached, at .
Because the domain is a closed interval rather than an unbounded one, the maximum is not automatic, it must be checked at both endpoints:
is farther from the vertex than is, so it gives the larger value. The maximum on this domain is , at .
Answer
Range: . Check an interior point: , which sits between the minimum and the value at the near endpoint , exactly as the shape of the parabola requires.
Two functions are defined by and , where is a constant. Given that , find the value of , and hence find in its simplest form.
Show worked solution
First evaluate , since :
Substitute into and set the result equal to :
So . Now build by substituting into :
Answer
and . Check: with , and , matching the given value.
Also , which matches from the formula.
In each of these, the marks live in the details a rushed solution drops: the sign chosen from the domain, the stated range that becomes the inverse's domain, and the condition that makes the answer unique. Layered questions are not harder ideas, they are the same ideas kept honest through one more step.
Key method points
Hard Functions questions stack familiar steps, so the marks go to whoever keeps each layer tidy and states domains and excluded values in full.
- The inverse of a composite reverses the order of the functions: .
- To invert a quadratic, complete the square first, then solve for ; the domain restriction decides which square root to keep.
- The domain of is the range of , and the range of is the domain of , always state it.
- When a self-composite produces , a stated condition such as selects the correct root.
- For an equality that holds for all , match the -coefficients and the constants to form separate equations.
- Every result here checks by an independent route, a test value, or composing the inverse back to .
How a teacher helps
Hard Functions questions rarely fail because a step is unknown; they fail because two correct ideas get tangled, a square root taken with the wrong sign, or a domain left unstated. In a one-to-one lesson our teacher slows the moment the layers meet, so you decide the sign from the domain rather than guessing it.
Because our teachers are experienced, you work with someone who models the independent check that catches a slip before it reaches the final marks. Lessons are taught in English, while SPM papers are set in both Malay and English, so the notation reads the same in either version.
Get 1-to-1 help.
Book a Trial ClassFrequently asked questions
Why is equal to and not ?
Undoing a composite reverses the order of the steps. Since does first then , the inverse must undo first then , which is .
You can always confirm it with a test value.
When I invert a quadratic, which square root do I keep?
The one allowed by the restricted domain. For with , we need , so uses the positive root only.
How do I find the domain of an inverse function?
The domain of is exactly the range of . Find the range of first, often quickest from a completed-square form, and carry it across as the inverse's domain.
How does the condition help when ?
The equation gives or . The stated condition rules out , leaving .
Such conditions are given precisely to make the answer unique.
Source:SRC-DSKP-EN