13.07.2015 Views

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MATRICES AND VECTOR SPACESThis set of equations is also triangular, <strong>and</strong> we easily find the solutionx 1 =2, x 2 = −3, x 3 =4,which agrees with the result found above by direct inversion. ◭We note, in passing, that one can calculate both the inverse <strong>and</strong> the determinantof A from its LU decomposition. To find the inverse A −1 , one solves the systemof equations Ax = b repeatedly <strong>for</strong> the N different RHS column matrices b = e i ,i =1, 2,...,N,wheree i is the column matrix with its ith element equal to unity<strong>and</strong> the others equal to zero. The solution x in each case gives the correspondingcolumn of A −1 . Evaluation of the determinant |A| is much simpler. From (8.125),we have|A| = |LU| = |L||U|. (8.127)Since L <strong>and</strong> U are triangular, however, we see from (8.64) that their determinantsare equal to the products of their diagonal elements. Since L ii = 1 <strong>for</strong> all i, wethus findN∏|A| = U 11 U 22 ···U NN = U ii .As an illustration, in the above example we find |A| = (2)(−4)(−11/8) = 11,which, as it must, agrees with our earlier calculation (8.58).Finally, we note that if the matrix A is symmetric <strong>and</strong> positive semi-definitethen we can decompose it asi=1A = LL † , (8.128)where L is a lower triangular matrix whose diagonal elements are not, in general,equal to unity. This is known as a Cholesky decomposition (in the special casewhere A is real, the decomposition becomes A = LL T ). The reason that we cannotset the diagonal elements of L equal to unity in this case is that we require thesame number of independent elements in L as in A. The requirement that thematrix be positive semi-definite is easily derived by considering the Hermitian<strong>for</strong>m (or quadratic <strong>for</strong>m in the real case)x † Ax = x † LL † x =(L † x) † (L † x).Denoting the column matrix L † x by y, we see that the last term on the RHSis y † y, which must be greater than or equal to zero. Thus, we require x † Ax ≥ 0<strong>for</strong> any arbitrary column matrix x, <strong>and</strong>soA must be positive semi-definite (seesection 8.17).We recall that the requirement that a matrix be positive semi-definite is equivalentto dem<strong>and</strong>ing that all the eigenvalues of A are positive or zero. If one ofthe eigenvalues of A is zero, however, then from (8.103) we have |A| = 0 <strong>and</strong> so Ais singular. Thus, if A is a non-singular matrix, it must be positive definite (rather298

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!