Chapter 2 Exercises

MATLAB Exercises

The first four exercises that follow involve integer matrices and illustrate some of the properties of determinants that were covered in this chapter. The last two exercises illustrate some of the differences that may arise when we work with determinants in floating-point arithmetic.

In theory, the value of the determinant should tell us whether the matrix is nonsingular. However, if the matrix is singular and its determinant is computed using finite-precision arithmetic, then, because of roundoff errors, the computed value of the determinant may not equal zero. A computed value near zero does not necessarily mean that the matrix is singular or even close to being singular. Furthermore, a matrix may be nearly ...

Get Linear Algebra with Applications, 10th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.