To find the coefficient of x3 in h(x)=f(x+1)−g(x+2), we first examine the difference function P(x)=f(x)−g(x):
P(x)=(a1−b1)+7x+(a2−b2)x2+(a3−b3)x3
It is given that f(x)=g(x) for all x∈R, which means P(x)=0 for all x∈R.
A non-constant polynomial with real coefficients and an odd degree always possesses at least one real root by the Intermediate Value Theorem. For P(x) to have no real roots, its degree cannot be odd.
Therefore:
-
The coefficient of x3 must be zero:
a3−b3=0⟹a3=b3
-
Furthermore, a2−b2=0 (otherwise, P(x)=(a1−b1)+7x, which has a real root at x=−7a1−b1).
Now, we determine the coefficient of x3 in h(x)=f(x+1)−g(x+2).
- Coefficient of x3 in f(x+1):
f(x+1)=a1+10(x+1)+a2(x+1)2+a3(x+1)3+(x+1)4
The terms contributing to x3 are:
- From (x+1)4: (14)x3(1)1=4x3
- From a3(x+1)3: a3x3
Thus, the coefficient of x3 in f(x+1) is:
a3+4
- Coefficient of x3 in g(x+2):
g(x+2)=b1+3(x+2)+b2(x+2)2+b3(x+2)3+(x+2)4
The terms contributing to x3 are:
- From (x+2)4: (14)x3(2)1=8x3
- From b3(x+2)3: b3x3
Thus, the coefficient of x3 in g(x+2) is:
b3+8
- Coefficient of x3 in h(x):
Coefficient of x3=(a3+4)−(b3+8)=(a3−b3)+4−8
Since a3−b3=0:
Coefficient of x3=0−4=−4
Therefore, the correct option is (C).