






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







(b) The factorizations and solutions are [ ] [ ] , y [ ] , x [ ] and for Prob. 7
(c) The three factorizations are
(d) For fixing the notation, for n 4 we have
A LU (^) W X (^) W X W X
where
(e) If A is symmetric
12. (^) W X W X ,
x 1 x 2 x 3 x 4
x 1 5 x 2 2. x 3 10
j 2 , ⢠⢠⢠, n j 2, ⢠⢠⢠, n 1
aj bj j l , cj / (^) j ,
j j
a 1 , c 1 / 1 ,
1 1
3 1
2 1 0
1 1 0 0
4
3 b 4
2 b 3 0
1 b 2 0 0
c 3 a 4
c 2 a 3 b 4
c 1 a 2 b 3 0
a 1 b 2 0 0
Instructorâs Manual 315
16. The inverse is
Hence 1 _ 3 A is orthogonal.
18. The inverse is
20. det A 0 as given, but rounding makes det A 0 and may completely change the situation with respect to existence of solutions of linear systems, a point to be watched for when using a CAS. In the present case we get (a) 0.00000035, (b) 0.00001998, (c) 0.00028189, (d) 0.002012, (e) 0.00020000.
SECTION 20.3. Linear Systems: Solution by Iteration, page 845 Purpose. To familiarize the student with the idea of solving linear systems by iteration, to explain in what situations that is practical, and to discuss the most important method (GaussâSeidel iteration) and its convergence. Main Content, Important Concepts Distinction between direct and indirect methods GaussâSeidel iteration, its convergence, its range of applicability Matrix norms Jacobi iteration Short Courses. GaussâSeidel iteration only. Comments on Content The Jacobi iteration appeals by its simplicity but is of limited practical value. A word on the frequently occurring sparse matrices may be good. For instance, we have about 99.5% zeros in solving the Laplace equation in two dimensions by using a 1000 1000 grid and the usual five-point pattern (Sec. 21.4).
SOLUTIONS TO PROBLEM SET 20.3, page 850
2. The eigenvalues of I A are 0.5, 0.5, 1. Here A is 1 _ 2 times the coefficient matrix of the given system; thus,
I A (^) Y Z.
316 Instructorâs Manual
8. Interchange the first equation and the last equation. Then the exact solution 2.5, 2, 4.5 is reached at Step 11, the spectral radius of
C (^) Y Z
being 1/ 15 0.258199. (The eigenvalues are complex conjugates, and the third eigenvalue is 0, as always for the present C. )
10. In (a) we obtain C ( I L )^1 U
and ĂŠ C ĂŠ 0.2 1 by (11), which implies convergence by (8). In (b) we have
From this we compute
318 Instructorâs Manual
Developing the characteristic determinant of c by its first column, we obtain j j ( 2 970 1) which shows that one of the eigenvalues is greater than 1 in absolute value, so that we have divergence. In fact, 0, 0.001 and 970, approximately.
Step 5 of the GaussâSeidel iteration gives the better result [2.99969 9.00015 5.99996]T. Exact: [3 9 6]T.
Step 5 of the GaussâSeidel iteration gives the more accurate result [2.49475 1.99981 4.49580]T. Exact: [2.5 2 4.5]T.
16. 193 13.89, 12, 12 18. 151 12.29, 13 (column sum norm), 11 (row sum norm) 20. 537 23.17, 28 (column sum norm), 31 (row sum norm)
SECTION 20.4. Linear Systems: Ill-Conditioning, Norms, page 851 Purpose. To discuss ill-conditioning quantitatively in terms of norms, leading to the condition number and its role in judging the effect of inaccuracies on solutions. Main Content, Important Concepts Ill-conditioning, well-conditioning Symptoms of ill-conditioning Residual Vector norms Matrix norms Condition number Bounds for effect of inaccuracies of coefficients on solutions Comment on Content Reference [E9] in App. 1 gives some help when A ^1 , needed in ( A ), is unknown (as is the case in practice).
SOLUTIONS TO PROBLEM SET 20.4, page 858
2. 9.6, 65.6 8.099, 8, [0.05 0.15 0 1]T 4. 1, 1, 1, the given vector is a unit vector.
Instructorâs Manual 319
SECTION 20.5. Least Squares Method, page 859 Purpose. To explain Gaussâs least squares method of âbest fitâ of straight lines to given data ( x 0 , y 0 ), ⢠⢠⢠, ( xn , yn ) and its extension to best fit of quadratic polynomials, etc. Main Content, Important Concepts Least squares method Normal equations (4) for straight lines Normal equations (8) for quadratic polynomials Short Courses. Discuss the linear case only. Comment. Normal equations are often ill-conditioned, so that results may be sensitive to round-off. For another (theoretically much more complicated) method, see Ref. [E5], p. 201.
SOLUTIONS TO PROBLEM SET 20.5, page 862
2. The line shifts upward; its slope decreases slightly. If you added, say, (5, 20), the slope would increase slightly. 4. U 5.20 53.4 i. Estimate: R 53. 4 . Note that the line does not pass through the origin, as it should. This is typical. 6. F 0.00206 0.50098 s ; hence k 0. 8. y 0.15 0.55 x 2.25 x^2 10. y 1.790 0.433 x 0.105 x^2 **12.
b a^ Ć
(^2) dx (^2) ^ m j 0
aj
b a^ Ć yj^ dx^ ^
m j 0
m k 0
ajak
b a^ yjyk^ dx. This is a quadratic function in the coefficients. We take the partial derivative with respect to any one of them, call it al , and equate this derivative to zero. This gives 0 2
b a^ Ć yl^ dx^ ^2
m j 0
aj
b a^ yjyl^ dx^ ^ 0. Dividing by 2 and taking the first integral to the right gives the system of normal equations, with l 0, ⢠⢠⢠, m. (b) In the case of a polynomial we have
b a^ yjyl^ dx^ ^
b a^ x^
j l (^) dx which can be readily integrated. In particular, if a 0 and b 1, integration from 0 to 1 gives 1/( j l 1), and we obtain the Hilbert matrix as the coefficient matrix.
yj xjyj xj^2 yj xj^3 yj
b 2 xj^2 b 3 xj^3 b 2 xj^3 b 3 xj^4 b 2 xj^4 b 3 xj^5 b 2 xj^5 b 3 xj^6
b 1 xj b 1 xj^2 b 1 xj^3 b 1 xj^4
b 0 n b 0 xj b 0 xj^2 b 0 xj^3
Instructorâs Manual 321
(c) In the case of an orthogonal system we see from (4), Sec. 5.8, with r ( x ) 1 (as for the Legendre polynomials, or with any weight function r ( x ) corresponding to the given system) and l instead of m that al bl /ĂŠ yl ĂŠ^2.
SECTION 20.6. Matrix Eigenvalue Problems: Introduction, page 863 Purpose. This section is a collection of concepts and a handful of theorems on matrix eigenvalues and eigenvectors that are frequently needed in numerics; some of them will be discussed in the remaining sections of the chapter and others can be found in more advanced or more specialized books listed in Part E of App. 1. The section frees both the instructor and the student from the task of locating these matters in Chaps. 7 and 8, which contain much more material and should be consulted only if problems on one or another matter are wanted (depending on the background of the student) or if a proof might be of interest.
SECTION 20.7. Inclusion of Matrix Eigenvalues, page 866 Purpose. To discuss theorems that give approximate values and error bounds of eigenvalues of general (square) matrices (Theorems 1, 2, 4, Example 2) and of special matrices (Theorem 6). Main Content, Important Concepts Gerschgorinâs theorem (Theorem 1) Sharpened Gerschgorinâs theorem (Theorem 2) Gerschgorinâs theorem improved by similarity (Example 2) Strict diagonal dominance (Theorem 3) Schurâs inequality (Theorem 4), normal matrices Perronâs theorem (Theorem 5) Collatzâs theorem (Theorem 6) Short Courses. Discuss Theorems 1 and 6. Comments on Content It is important to emphasize that one must always make sure whether or not a thoerem applies to a given matrix. Some theorems apply to any real or complex square matrices whatsoever, whereas others are restricted to certain classes of matrices. The exciting Gerschgorinâs theorem was one of the early theorems on numerics for eigenvalues; it appeared in the Bull. Acad. Sciences de lâURSS (Classe mathĂŠm, 7-e sĂŠrie, Leningrad, 1931, p. 749), and shortly thereafter in the German Zeitschrift fĂźr angewandte Mathematik und Mechanik.
SOLUTIONS TO PROBLEM SET 20.7, page 871
2. 5, 8, 9, radii 2 ⢠10 ^2. Estimates of this kind can be useful when a matrix has been diagonalized numerically and some very small nonzero entries are left. 4. 1 i , 3 2 i , 4 i , radii 0.8, 0.4, 0. 6. 10, 6, 3, radii 0.3, 0.1, 0.
322 Instructorâs Manual
SECTION 20.8. Power Method for Eigenvalues, page 872 Purpose. Explanation of the power method for determining approximations and error bounds for eigenvalues of real symmetric matrices. Main Content, Important Concepts Iteration process of the power method Rayleigh quotient (the approximate value) Improvement of convergence by a spectral shift Scaling (for eigenvectors) Short Courses. Omit spectral shift. Comments on Content The method is simple but converges slowly, in general. Symmetry of the matrix is essential to the validity of the error bound (2). The method as such can be applied to more general matrices. SOLUTIONS TO PROBLEM SET 20.8, page 875
2. q 0.8, 0.8, 0.8; 0.6, 0.6, 0.6. Eigenvalues 1, 1. 4. q 6.333, 6.871, 6.976; 2.5, 1.3, 0.49. Spectrum {7, 3, 7}. 6. We obtain the following values: Step 1 2 3 ⢠⢠⢠10 20 50 100 q 8.5 8.9938 8.9750 ⢠⢠⢠8.5117 6.3511 8.8546 9. 2.9580 2.0876 2.2048 ⢠⢠⢠3.6473 6.8543 4.4640 0. This illustrates how the iteration begins near an eigenvector not corresponding to an eigenvalue of maximum absolute value but eventually moves away to an eigenvector of the latter. Note also that the bounds become smaller only near the end of the iteration given here. Eigenvalues (4S) 9.956, 1.558, 2.283, 9.232. 8. The eigenvalues are 1. Corresponding eigenvectors are z 1 [ ] , z 2 [ ] and we have chosen x 0 as x 0 [ ] z 1 z 2 , so that x 1 z 1 z 2 [1 3]T x 2 z 1 z 2 [3 1]T etc. From this, x 0 T x 1 0 and for the error bound we get
T x 1 x 0 T x 0
324 Instructorâs Manual