Question
Find a composite function, inverse, and range for a rational function
Original question: Question 13 $$g(x)=\frac{2x+5}{x-3},\ x\ge 5$$ (a) Find $gg(5)$. (b) Find $g^{-1}(x)$, stating its domain. (c) State the range of $gg(x)$.
Expert Verified Solution
Expert intro: This question tests how well you can move between a function, its inverse, and its domain or range. Once you pin down the input restrictions, the rest follows in a fairly routine way.
Detailed walkthrough
Given
(a) Find
First find :
Now substitute this into again:
So
(b) Find , stating its domain
Let
Swap and :
Solve for :
Hence
Because the domain of is , the domain of is the range of . First find , and as , from above. So the range of is
Therefore the domain of is
(c) State the range of
The range is
If your course expects the endpoint behaviour rather than a fully justified interval, write the values as above and explain why is not reached.
💡 Pitfall guide
A common slip is to forget that the domain restriction changes the range. Without that restriction, the function would behave differently.
Another trap is writing the inverse domain as all real numbers except . That is the algebraic restriction of the inverse formula, but the actual domain must also reflect the original range.
🔄 Real-world variant
If the domain had been instead of , then the maximum value would not be included, so the range would become
If you only needed the inverse formula and not the restricted domain, the algebraic result would still be
but you would then need to attach the correct domain from the original function.
🔍 Related terms
inverse function, domain and range, composite function
FAQ
How do you find g(g(5))?
First calculate g(5), then substitute that result back into g. For this function, g(5)=15/2 and g(g(5))=40/9.
What is the inverse of g(x)=(2x+5)/(x-3)?
The inverse is g^{-1}(x)=(3x+5)/(x-2). Its domain must match the range of the original function.