Topper Copies

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.

Divyank Gupta, AIR 21, 2024

Soln) Taylor series is

$f(x) = f(a) + (x-a)\cdot f'(a) + \frac{(x-a)^2}{2!} f''(a) + \frac{?^3}{3!} f'''(a) + \cdots$

then $f(x) = (1+x)^{1/2}$

so $f(0) = 1$

$f'(x) = \frac{1}{2(1+x)^{1/2}}$

$f''(x) = \frac{-1}{4(1+x)^{3/2}}$

then $f'(0) = \frac{1}{2}$, $f''(0) = \frac{-1}{4}$

so $f(x) = 1 + \frac{x}{2} - \frac{x^2}{8}$

So $f(0.05) = 1.02468$

Bound for error

Error will $\frac{(x-a)^3}{3!} f'''(a)$

here error will $\frac{(x-a)^3}{3!} f'''(0)$

$\Rightarrow \frac{x^3}{3!} \cdot \frac{3}{8(1+x)^{5/2}}$

$= \frac{(0.05)^3 \cdot 3}{6 \cdot 8\,(1+0.05)^{5/2}}$

Error $= 6.915 \times 10^{-6}$