Given f(x) = (3-2x) / (2x+1)f(x)=32x2x+1 and f(g(x)) = 7 - 3xf(g(x))=73x how do you find g(x)?

1 Answer
Feb 4, 2016

g(x) = (4 - 3x) / (-16 + 6x)g(x)=43x16+6x

Explanation:

f(g(x))f(g(x)) can be computed by plugging g(x)g(x) for every occurence of xx in f(x)f(x).

Even though we don't know g(x)g(x) yet, we can still do this:

f(x) = (3 - 2x) / (2x + 1) " "=> " " f(g(x)) = (3 - 2 g(x)) / (2 g(x) + 1)f(x)=32x2x+1 f(g(x))=32g(x)2g(x)+1

We also know that f(g(x)) = 7 - 3xf(g(x))=73x, so we have:

(3 - 2 g(x)) / (2 g(x) + 1) = 7 - 3x32g(x)2g(x)+1=73x

Let me write gg instead of g(x)g(x) for better readability:

(3 - 2g)/(2g + 1) = 7 - 3x32g2g+1=73x

Now, you need to solve this equation for gg:

... multiply both sides with (2g+1)(2g+1)...

<=> 3 - 2g = (7 - 3x) * (2g + 1)32g=(73x)(2g+1)

<=> 3 - 2g = (7 - 3x) * 2g + (7 - 3x)32g=(73x)2g+(73x)

Bring all products that include gg to the left side and everything else to the right side.
So, subtract (7 - 3x) * 2g(73x)2g on both sides, and subtract 33 on both sides:

<=> - 2g - (7 - 3x) * 2g = (7 - 3x) - 32g(73x)2g=(73x)3

... factorize gg on the left side...

<=> (-2 - 14 + 6x) * g = 4 - 3x(214+6x)g=43x

<=> (-16 + 6x) * g = 4 - 3x(16+6x)g=43x

... divide both sides by (-16 + 6x)(16+6x)...

<=> g = (4 - 3x)/(-16 + 6x) = (4 - 3x)/(2(-8 + 3x))g=43x16+6x=43x2(8+3x)

Thus, we have

g(x) = (4 - 3x) / (-16 + 6x)g(x)=43x16+6x

It might be a good idea to test if the calculation was correct. To do so, compute f(g(x))f(g(x)):

f(g(x)) = f((4 - 3x) / (-16 + 6x)) f(g(x))=f(43x16+6x)

= (3 - 2 * (4 - 3x) / (2(-8+ 3x)))/(2 * (4 - 3x) / (2(-8 + 3x)) + 1) =3243x2(8+3x)243x2(8+3x)+1

= (3 - (4 - 3x) / (-8 + 3x))/( (4 - 3x) /(-8+ 3x) + 1) =343x8+3x43x8+3x+1

= ((3(-8 + 3x) - (4 - 3x))/(-8 + 3x)) / ((4 - 3x + (-8 + 3x))/(-8 + 3x))=3(8+3x)(43x)8+3x43x+(8+3x)8+3x

= (3(-8 + 3x) - (4 - 3x)) / (4 - 3x + (-8 + 3x)) = (-28 +12x) / (-4)=3(8+3x)(43x)43x+(8+3x)=28+12x4

= 7 - 3x=73x