Assume that the degree of the required polynomial is n.
The left-hand expression f(3x) clearly has degree n, while the right-hand expression f′(x)⋅f′′(x) has degree (n−1)+(n−2)=2n−3.
Equality for every real x forces the two degrees to match, so
n=2n−3⟹n=3.
Hence f must be a cubic. Write it in its most general form
f(x)=ax3+bx2+cx+d.−(1)
Because a=0 (otherwise the degree would drop), calculate the first two derivatives
f′(x)=3ax2+2bx+c,−(2)
f′′(x)=6ax+2b.−(3)
Form the product demanded on the right-hand side of the functional equation:
f′(x)f′′(x)=(3ax2+2bx+c)(6ax+2b)=3ax2⋅6ax+3ax2⋅2b+2bx⋅6ax+2bx⋅2b+c⋅6ax+c⋅2b=18a2x3+6abx2+12abx2+4b2x+6acx+2bc=18a2x3+18abx2+(4b2+6ac)x+2bc.−(4)
Now expand the left-hand side f(3x):
f(3x)=a(3x)3+b(3x)2+c(3x)+d=27ax3+9bx2+3cx+d.−(5)
Since f(3x)=f′(x)f′′(x) for every x, equate the coefficients of corresponding powers of x in (4) and (5).
Cubic term, x3:
18a2=27a⟹18a2−27a=0⟹9a(2a−3)=0⟹a=23.−(6)
Quadratic term, x2:
18ab=9b⟹18ab−9b=0⟹9b(2a−1)=0.
With a=23 we have 2a−1=2=0, hence
b=0.−(7)
Linear term, x1:
4b2+6ac=3c.
Insert b=0 to obtain 6ac=3c, that is
3c(2a−1)=0.
Again 2a−1=2=0, so
c=0.−(8)
Constant term:
The constant on the right in (4) is 2bc, which vanishes because b=0 or c=0 (in fact both).
Hence
d=0.−(9)
All coefficients are now fixed; the unique polynomial satisfying the given condition is therefore
f(x)=23x3.−(10)
For the values asked in the options, compute
f(2)=23(2)3=23⋅8=12,−(11)
f′(x)=29x2⟹f′(2)=29(2)2=29⋅4=18,−(12)
f′′(x)=9x⟹f′′(2)=9⋅2=18.−(13)
Check each option:
Option A: f(2)+f′(2)=12+18=30=28.
Option B: f′′(2)−f′(2)=18−18=0, which is true.
Option C: f(2)−f′(2)+f′′(2)=12−18+18=12=10.
Option D: f′′(2)−f(2)=18−12=6=4.
Only Option B is satisfied.
Hence, the correct answer is Option B.