EXERCISES 1.3

\(\def\ds{\displaystyle} \) 1 (a) The forward error is \(|r-x_a|=|0.75-0.74|=0.01\). The backward error is \(|f(x_a)|=|4(0.74)-3|=0.04\).

1 (b) \(FE=|r-x_a|=0.01\) as in (a). \(BE=|f(0.74)|=(0.04)^2=0.0016\).

1 (c) \(FE=|r-x_a|=0.01\) as in (a). \(BE=|f(0.74)|=(0.04)^3=0.000064\).

1 (d) \(FE=|r-x_a|=0.01\) as in (a). \(BE=|f(0.74)|=(0.04)^{\frac{1}{3}}=0.342\).


3 (a) Check derivatives: \(f(0)=f'(0)=0\), \(f''(0)=\cos 0=1\). The multiplicity of the root \(r=0\) is \(2\).

3 (b)The forward error is \(|r-x_a|=|0-0.0001|=0.0001\). The backward error is \(|f(x_a)|=|1-\cos 0.0001|\approx 5\times 10^{-9}\).


5(a) \(f'(x) = 2x - 2\sin x, f'(0) = 0\)

\(f''(x) = 2 - 2\cos x, f''(0) = 0\)

\(f'''(x) = 2\sin x, f'''(0) = 0\)

\(f''''(x) = 2\cos x, f''''(0) = 2\)

Therefore multiplicity of \(f\) at the root \(r = 0\) is 4.


5(b) \(f'(x) = 4e^{2x}-8x - 4, f'(0) = 0\)

\(f''(x) = 8e^{2x} - 8, f''(0) = 0\)

\(f'''(x) = 16e^{2x}, f'''(0) = 16\)

Therefore multiplicity of \(f\) at the root \(r = 0\) is 3.


5(c) \(f'(x) = \cos x + 1, f'(\pi) = 0\)

\(f''(x) = -\sin x, f''(\pi) = 0\)

\(f'''(x) = -\cos x, f'''(\pi) = 1\)

Therefore multiplicity of \(f\) at the root \(r = \pi\) is 3.


5(d) \(f'(x) = 18\cos 3x + 81x^2-18, f'(0) = 0\)

\(f''(x) = -54\sin 3x + 162x, f''(0) = 0\)

\(f'''(x) = -162\cos 3x + 162, f'''(0) = 0\)

\(f^{(4)}(x) = 486\sin 3x, f^{(4)}(0) = 0\)

\(f^{(5)}(x) = 1458\cos 3x, f^{(5)}(0) = 1458\)

Therefore multiplicity of \(f\) at the root \(r = 0\) is 5.


5(e) \(f'(x) = -6\cos x\sin x+ 6x -4x^3 = -3\sin 2x+6x-4x^3, f'(0) = 0\)

\(f''(x) = -6\cos(2x + 6 - 12x^2), f''(0) = 0\)

\(f'''(x) = 12\sin 2x -24x, f'''(0) = 0\)

\(f^{(4)}(x) = 24\cos 2x - 24, f^{(4)}(0) = 0\)

\(f^{(5)}(x) = -48\sin 2x, f^{(5)}(0) = 0\)

\(f^{(6)}(x) = -96\cos 2x, f^{(6)}(0) = -96\)

Therefore multiplicity of \(f\) at the root \(r = 0\) is 6.


7 \(f'(x) = 2\cos 2x - 2 - 3cx^2, f'(0) = 0\)

\(f''(x) = -4\sin 2x - 6cx, f''(0) = 0\)

\(f'''(x) = -8\cos 2x - 6c, f'''(0) \neq 0\)

implying that the multiplicity is 3, unless \(c = 4/3\).

In the latter case, \(f'''(0) = 0\), and

\(f^{(4)}(x) = 16\sin 2x, f^{(4)}(0) = 0\)

\(f^{(5)}(x) = 32\cos 2x, f^{(5)}(0) = 32\)

and the multiplicity is 5.


9 The root of \(f(x)=ax-b\) is \(r=b/a\). If \(x_a\) is an approximate root, the forward error is \(FE=|b/a-x_a|\) while the backward error is \(BE=|f(x_a)|=|ax_a-b|=|a||\frac{b}{a}-x_a|=|a|FE\). Therefore the backward error is a factor of \(|a|\) larger than the forward error.
11 (a) \(W'(x)=(x-2)\cdots(x-20)+(x-1)(x-3)\cdots(x-20)+\ldots+(x-1)\cdots(x-19)\), so \(W'(16)=(16-1)(16-2)\cdots(16-15)(16-17)(16-18)(16-19)(16-20)=15!4!\)

7 (b) For a general integer \(j\) between \(1\) and \(20\),\nl \(W'(j)=(j-1)(j-2)\cdots(1)(-1)(-2)\cdots(j-20)=(-1)^j(j-1)!(20-j)!\)