Given:
f(x) = 2/(x + 1)f(x)=2x+1
And:
g(f(x)) = 8/(x + 1)g(f(x))=8x+1
Find g(x):
Begin by finding f^-1(x)f−1(x), because we know that:
g(f(f^-1(x))) = g(x)g(f(f−1(x)))=g(x)
Find f^-1(x)f−1(x):
Substitute f^-1(x)f−1(x) for xx in f(x)f(x):
f(f^-1(x)) = 2/(f^-1(x) + 1)f(f−1(x))=2f−1(x)+1
By definition, substitute x for f(f^-1(x))f(f−1(x)):
x = 2/(f^-1(x) + 1)x=2f−1(x)+1
Multiply both sides of the equation by (f^-1(x) + 1)/xf−1(x)+1x
f^-1(x) + 1 = 2/xf−1(x)+1=2x
Subtract 1 from both sides:
f^-1(x) = 2/x - 1f−1(x)=2x−1
Substitute 2/x - 12x−1 into g(f(x))g(f(x)):
g(f(f^-1(x))) = 8/((2/x - 1) + 1)g(f(f−1(x)))=8(2x−1)+1
Remove the ()s in the denominator:
g(f(f^-1(x))) = 8/(2/x - 1 + 1)g(f(f−1(x)))=82x−1+1
-1 + 1 is zero:
g(f(f^-1(x))) = 8/(2/x)g(f(f−1(x)))=82x
Perform the division:
g(f(f^-1(x))) = 8(x/2)g(f(f−1(x)))=8(x2)
Write the left side as g(x)g(x) and simplify the right:
g(x) = 4xg(x)=4x