Introduction to Numerical Analysis Midterm Problems
Prof. Chang-Ock Lee
Fall, 2021
1. We want to find the unique real root of f (x) = x3 + 6x2 − 40 on the interval [2, 3] using
the fixed point iteration. Determine whether the fixed point iteration converges for any
x0 ∈ [2, 3], for the given iteration function g(x).
(a) g(x) = x3 + 6x2 + x − 40
1
3
2
(b) g(x) = 40−x
6
3
2
−40
(c) g(x) = x − x 3x+6x
2 +12x
2. Let f ∈ C n+1 and the multiplicity of the root x∗ of f be n. In other words, f (x∗ ) =
f 0 (x∗ ) = · · · = f (n−1) (x∗ ) = 0 and f (n) (x∗ ) 6= 0. We want to find the root x∗ using the
modified Newton’s method:
f (xk )
xk+1 = xk − µ 0
.
f (xk )
Determine µ for which convergence is guaranteed to be quadratic.
3. Show how to avoid the loss of significance in computing f (x) = ln(x +
is negative. Justify your answer.
√
x2 + 1) when x
4. In the Cholesky decomposition algorithm in the text book, there are steps to calculate
the square root of a number. Show that the numbers of which we take the square root
are always positive.
5. Let A = (aij ) be an n by n real matrix.
(a) Determine whether the following is a matrix norm or not.
i. ||A|| = maxi,j |aij |
P P
ii. ||A|| = i j |aij |.
p
(b) Show that ||A||F = tr(AT A).
√
(c) Show that ||A||s ≤ ||A||F ≤ n||A||s , where || · ||s denotes the spectral norm.
6. A system Ax = b of equations is given, where b = [1, 1]T ,
1 α
A=
,
−α 1
and α is a real parameter. We try to solve this problem by using iterative methods, with
an initial guess x0 = [1, 1]T .
(a) State a condition on α for the convergence of the Jacobi iterative method. Justify
your answer.
(b) Discuss the following statement: “For this example, the Gauss-Seidel method converges faster than the Jacobi method.”
(c) How do your answers in (a) and (b) change, if the initial guess x0 is changed to
[0, 0]T ?
1
1
2
7. Consider Ax = b where A =
and b =
for > 0. The true solution is
1
1+
2
2
2+δ
x∗ =
. Let the approximated solution x̂ =
, where δ > 0 is a small number.
0
δ
(a) Compute the condition number of A, the absolute error and the residual with respect
to the ∞-norm.
(b) Construct a proper diagonal matrix D so that the condition number of D−1 A and
the residual ||D−1 (b − Ax̂)||∞ are reduced than those in (a).
(c) Repeat (a) and (b) with respect to the 1-norm.