This is due Thursday, November 6 in class.
You may use anything from your midterm that you want to copy (xeroxing is just
fine).
Please be brief.
Suppose we want to solve the nonlinear system of equations
| (1) | F(x) = 0 |
| (2) | Solve J(xi)ci = F(xi), i = 0,1,... |
| Set xi+1 = xi - ci, |
| (3) | Solve J(y0)ci = F(yi), i = 0,1,... |
| Set yi+1 = yi - ci, |
(a) Suppose (2) converges in C2 steps and (3)
converges in C3 steps.
Assume that
(b) Both (2) and (3) can be computed efficiently
each iteration.
If the cost of computing
| Operation | Cost |
|---|---|
| J(x) | is AN2, |
| F(x) | is BN, |
| LU factorization of J(x) | is CN3, and |
| LU solve of J(x) | is DN2, |
What is the cost of (2) each iteration (which is the same as the cost of (3) only in its first iteration)? After the first iteration, (3) costs less per iteration than (2); what is the cost of (3) in this case?
(c) Based on (a) and (b), is (2) or (3)
computationally more efficient when N is small? large?
Each of these cases has 2 cases: when C2 is either small or large.
Investigate all 4 cases and determine whether (2) or (3) is more efficient.
Hint: The first iteration costs the same for both (2) and (3) and can be ignored (you get the same x1 and y1, too). How many steps does (3) have to take before its lower cost is as great as the the cost of (3) (using O(N) notation makes this easier to determine)?
Cheers,
Craig C. Douglas