Obtain a second-degree polynomial approximation to $f(x) = (1+x)^{1/2}, x \in [0, 0.1]$ using the Taylor series expansion about $x = 0$. Use the expansion to approximate $f(0.05)$ and find a bound of the truncation error.
Aakash Om Trivedi, AIR 73, 2025
Given, $f(x) = (1+x)^{\frac{1}{2}}$
we know that,
Taylor series at $x=0$
$f(h) = f(0) + h f'(0) + \frac{h^2}{2} f''(0) + \dots$
replacing $h$ by $x$
$\therefore f(x) = f(0) + x f'(0) + \frac{x^2}{2} f''(0) + \frac{x^3}{3!} f'''(0)$
$f(x) = (1+x)^{\frac{1}{2}}$, $f(0) = 1$
$f'(x) = \frac{1}{2\sqrt{1+x}} = \frac{1}{2}(1+x)^{-\frac{1}{2}}$, $f'(0) = \frac{1}{2}$
$f''(x) = \frac{-1}{4}(1+x)^{-\frac{3}{2}}$, $f''(0) = \frac{-1}{4}$
$\therefore f(x) = 1 + x\frac{1}{2} + \frac{x^2}{2}\left(-\frac{1}{4}\right)$ (Upto 2-degree)
$\therefore$ $f(x) = 1 + \frac{x}{2} - \frac{x^2}{8}$ 2-degree approximation
Putting $x=0.05$,
$f(0.05) = 1.0246875$
whereas,
exact $f(x) = \sqrt{1+x}$
$\therefore f(0.05) = \sqrt{1+0.05} = 1.024695077...$
error $= \left| f_{exact} - f_{truncated} \right|$
$= \left| (1+x)^{1/2} - \left(1+\frac{x}{2}-\frac{x^2}{8}\right) \right|$
$\leq \left| \left(1+\frac{x}{2}-\frac{x^2}{8}+\frac{\left(\frac12\right)\left(\frac12-1\right)\left(\frac12-2\right)}{3!}x^3\right) - \left(1+\frac{x}{2}-\frac{x^2}{8}\right) \right|$
$\leq \left| \frac{x^3}{16} + O(x^4) \right|$ here $x=0.05$
bound $= 7.8125\times10^{-6}$