A degree-\(4\) Taylor polynomial \(P_4\), centered at \(0\), has values
\(P_4(-2)=33\), \(P_4(-1)=6\), \(P_4(0)=3\), \(P_4(1)=6\), and \(P_4(2)=21\).
a) Use values at opposite inputs to recover \(P_4(x)\).
b) Determine the derivative values at \(0\) represented by the polynomial.
c) Use \(P_4\) to approximate \(f(0.3)\).
Hints
- Differences of values at \(x\) and \(-x\) isolate odd powers.
- Averages of values at opposite inputs isolate even powers.
- Apply factorial scaling only after all polynomial coefficients are known.
Solution
1. Write
\( P_4(x)=c_0+c_1x+c_2x^2+c_3x^3+c_4x^4\).
Since \(P_4(0)=3\), \(c_0=3\).
2. Opposite-input differences isolate the odd coefficients:
\( \frac{P_4(1)-P_4(-1)}{2}=c_1+c_3=0\),
and
\( \frac{P_4(2)-P_4(-2)}{4}=c_1+4c_3=-3\).
Thus \(c_3=-1\) and \(c_1=1\).
3. Opposite-input averages isolate the even coefficients:
\(c_2+c_4=3\) and \(c_2+4c_4=6\).
Hence \(c_4=1\) and \(c_2=2\).
4. Therefore,
\( P_4(x)=3+x+2x^2-x^3+x^4\).
5. Comparing with Taylor form gives
\(f(0)=3\), \(f'(0)=1\), \(f''(0)=4\), \(f'''(0)=-6\), and \(f^{(4)}(0)=24\).
6. Finally,
\( f(0.3)\approx P_4(0.3)=3.4611\).
Answer
a) \( P_4(x)=3+x+2x^2-x^3+x^4\).
b) \(f(0)=3\), \(f'(0)=1\), \(f''(0)=4\), \(f'''(0)=-6\), and \(f^{(4)}(0)=24\).
c) \(f(0.3)\approx3.4611\).