Skip to main contentSkip to solution

If f(x)=x−1f(x) = x - 1, and g(f(x))=3+2x−x2+x3g(f(x)) = 3 + 2x - x^2 + x^3, which of the options below give a correct expression for g(x)g(x)?

Solution

✅ Correct Option: 2

Since f(x)=x−1f(x) = x - 1, the given relation is:

g(x−1)=x3−x2+2x+3g(x - 1) = x^3 - x^2 + 2x + 3

To get gg in terms of its own input, let t=x−1t = x - 1, so x=t+1x = t + 1.


g(t)=(t+1)3−(t+1)2+2(t+1)+3g(t) = (t + 1)^3 - (t + 1)^2 + 2(t + 1) + 3

Using (t+1)3=t3+3t2+3t+1(t + 1)^3 = t^3 + 3t^2 + 3t + 1 and (t+1)2=t2+2t+1(t + 1)^2 = t^2 + 2t + 1:

g(t)=t3+3t2+3t+1−t2−2t−1+2t+2+3g(t) = t^3 + 3t^2 + 3t + 1 - t^2 - 2t - 1 + 2t + 2 + 3

=t3+2t2+3t+5= t^3 + 2t^2 + 3t + 5


tt is just a name for the input, so replacing tt with xx:

g(x)=x3+2x2+3x+5g(x) = x^3 + 2x^2 + 3x + 5

Quick shortcut: at x=1x = 1, f(1)=0f(1) = 0, so g(0)=3+2−1+1=5g(0) = 3 + 2 - 1 + 1 = 5. Only x3+2x2+3x+5x^3 + 2x^2 + 3x + 5 gives 55 at x=0x = 0.

Keyboard Shortcuts

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