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

thumb_up100%(1 rated)

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

g(x)=2x+5x3,x5g(x)=\frac{2x+5}{x-3},\quad x\ge 5

(a) Find g(g(5))g(g(5))

First find g(5)g(5):

g(5)=2(5)+553=152g(5)=\frac{2(5)+5}{5-3}=\frac{15}{2}

Now substitute this into gg again:

g ⁣(152)=2(152)+51523g\!\left(\frac{15}{2}\right)=\frac{2\left(\frac{15}{2}\right)+5}{\frac{15}{2}-3}

=15+592=2092=409=\frac{15+5}{\frac{9}{2}}=\frac{20}{\frac{9}{2}}=\frac{40}{9}

So

g(g(5))=409g(g(5))=\frac{40}{9}

(b) Find g1(x)g^{-1}(x), stating its domain

Let

y=2x+5x3y=\frac{2x+5}{x-3}

Swap xx and yy:

x=2y+5y3x=\frac{2y+5}{y-3}

Solve for yy:

x(y3)=2y+5x(y-3)=2y+5

xy3x=2y+5xy-3x=2y+5

xy2y=3x+5xy-2y=3x+5

y(x2)=3x+5y(x-2)=3x+5

y=3x+5x2y=\frac{3x+5}{x-2}

Hence

g1(x)=3x+5x2g^{-1}(x)=\frac{3x+5}{x-2}

Because the domain of gg is x5x\ge 5, the domain of g1g^{-1} is the range of gg. First find g(5)=152g(5)=\frac{15}{2}, and as xx\to\infty, g(x)2g(x)\to 2 from above. So the range of gg is

2<y1522<y\le \frac{15}{2}

Therefore the domain of g1g^{-1} is

2<x1522<x\le \frac{15}{2}

(c) State the range of g(x)g(x)

The range is

2<g(x)1522<g(x)\le \frac{15}{2}

If your course expects the endpoint behaviour rather than a fully justified interval, write the values as above and explain why 22 is not reached.

💡 Pitfall guide

A common slip is to forget that the domain restriction x5x\ge 5 changes the range. Without that restriction, the function would behave differently.

Another trap is writing the inverse domain as all real numbers except 22. 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 x>5x>5 instead of x5x\ge 5, then the maximum value g(5)=152g(5)=\frac{15}{2} would not be included, so the range would become

2<y<1522<y<\frac{15}{2}

If you only needed the inverse formula and not the restricted domain, the algebraic result would still be

g1(x)=3x+5x2g^{-1}(x)=\frac{3x+5}{x-2}

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.

chat