We are given that the function f:R→R satisfies, for every real x,
f(x)=x3+x2f′(1)+xf′′(2)+f′′′(3).
For convenience, let us denote the three unknown constants that appear on the right-hand side as
A=f′(1),B=f′′(2),C=f′′′(3).
With this notation the functional equation becomes
f(x)=x3+Ax2+Bx+C∀x∈R.
Thus f(x) is itself the cubic polynomial
f(x)=x3+Ax2+Bx+C.
Now we differentiate this expression successively, always using the basic power-rule dxd(xn)=nxn−1.
First derivative:
f′(x)=3x2+2Ax+B.
Second derivative:
f′′(x)=6x+2A.
Third derivative:
f′′′(x)=6.
Notice that f′′′(x)=6 is a constant, independent of x. Evaluating this at x=3 gives
C=f′′′(3)=6.
Next, we evaluate f′′(x) at x=2 in order to relate B and A(since B=f''(2)).</p><p>f''(2)=6\cdot 2+2A=12+2A.</p><p>Sowehave</p><p>B=12+2A.</p><p>Finally,weevaluatef'(x)atx=1becauseA=f'(1).</p><p>f'(1)=3(1)^{2}+2A(1)+B=3+2A+B.</p><p>Butbydefinitionf'(1)=A,hence</p><p>A=3+2A+B.</p><p>Wenowsolvethetwosimultaneousequations</p><p>\begin{cases}
B=12+2A,\\
A=3+2A+B.
\end{cases}</p><p>SubstitutingB=12+2Aintothesecondequationgives</p><p>A=3+2A+(12+2A)=3+12+4A.</p><p>A=15+4A.</p><p>Bringingalltermstooneside,</p><p>A-4A=15\;\Longrightarrow\;-3A=15\;\Longrightarrow\;A=-5.</p><p>UsingA=-5inB=12+2Ayields</p><p>B=12+2(-5)=12-10=2.</p><p>WealreadyhaveC=6.</p><p>Thereforetheexplicitformofthefunctionis</p><p>f(x)=x^{3}-5x^{2}+2x+6.</p><p>Weareaskedtofindf(2).Substitutingx=2inthepolynomial,</p><p>\begin{aligned}
f(2)&=(2)^{3}-5(2)^{2}+2(2)+6\\
&=8-5\cdot 4+4+6\\
&=8-20+4+6\\
&=18-20\\
&=-2.
\end{aligned}$$
Hence, the correct answer is Option D.