Skip to main contentSkip to solution

If f(x)=5x+23x−5f(x) = \frac{5x + 2}{3x - 5} and g(x)=x2−2x−1g(x) = x^2 - 2x - 1, then the value of g(f(f(3)))g(f(f(3))) is

Solution

✅ Correct Option: 1

When we see expressions like g(f(f(3))), we're dealing with function composition. This means we work from the inside out, like peeling an onion:

First: Find f(3)

Then: Find f(f(3))

Finally: Find g(f(f(3)))

Given functions:

f(x)=5x+23x−5f(x) = \dfrac{5x + 2}{3x - 5}

g(x)=x2−2x−1g(x) = x^2 - 2x - 1


We substitute x = 3 into f(x):

f(3)=5(3)+23(3)−5f(3) = \dfrac{5(3) + 2}{3(3) - 5}

=15+29−5= \dfrac{15 + 2}{9 - 5}

=174= \dfrac{17}{4}

Always substitute carefully and follow order of operations (PEMDAS/BODMAS).


Now we substitute x = 17/4 into f(x):

f(174)=5⋅174+23⋅174−5f\left(\dfrac{17}{4}\right) = \dfrac{5 \cdot \frac{17}{4} + 2}{3 \cdot \frac{17}{4} - 5}

Numerator calculation:

5⋅174+2=854+25 \cdot \tfrac{17}{4} + 2 = \tfrac{85}{4} + 2

To add these fractions, convert 2 to fourths: 2=842 = \tfrac{8}{4}

854+84=934\dfrac{85}{4} + \dfrac{8}{4} = \dfrac{93}{4}

Denominator calculation:

3⋅174−5=514−53 \cdot \tfrac{17}{4} - 5 = \tfrac{51}{4} - 5

Convert 5 to fourths: 5=2045 = \tfrac{20}{4}

514−204=314\dfrac{51}{4} - \dfrac{20}{4} = \dfrac{31}{4}

Final calculation:

f(174)=934314f\left(\dfrac{17}{4}\right) = \dfrac{\frac{93}{4}}{\frac{31}{4}}

=934×431= \dfrac{93}{4} \times \dfrac{4}{31}

=9331= \dfrac{93}{31}

=3= 3

When dividing fractions, multiply by the reciprocal. The 4's cancel out beautifully!


Since f(f(3)) = 3, we now find g(3):

g(3)=32−2(3)−1g(3) = 3^2 - 2(3) - 1

=9−6−1= 9 - 6 - 1

=2= 2


g(f(f(3)))=2g(f(f(3))) = 2

Function composition problems always work from the inside out. Take your time with fraction arithmetic - it's where most mistakes happen!

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question