Chapter 7: Problem 1
Let \(A\) be a symmetric positive definite \(n \times n\) matrix with entries \(a_{i j}\) that are nonzero only if one of the following holds: \(i=1\), or \(i=n\), or \(j=1\), or \(j=n\), or \(i=j\). Otherwise, \(a_{i j}=0\). (a) Show that only \(5 n-6\) of the \(n^{2}\) elements of \(A\) are possibly nonzero. (b) Plot the zero-structure of \(A\). (In MATLAB you can invent such a matrix for \(n=20\), say, and use spy (A).) (c) Explain why for \(n=100,000\) using chol (see Section 5.5) to solve \(A \mathbf{x}=\mathbf{b}\) for a given right-hand-side vector would be problematic.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.