Decide whether A has an LU factorization with no row exchanges
Decide whether an exchange-free LU exists from the pivot sequence. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
with no row exchange exists exactly when elimination never meets a zero pivot. Equivalently: every leading corner of is invertible, for.
has. The first step would divide by that pivot, so elimination cannot start — and the matrix is perfectly invertible:. So "no" and "singular" are different statements, and only the first is about a pivot.
What an exchange repairs.
Swap the rows and it works. That is the statement, which is a different factorisation and a later section.
What an exchange cannot repair.
First pivot, fine. Second pivot. Now a swap does not help, because both rows are in the same direction — the columns are dependent and the matrix is singular. Here the failure is genuine.
The claim. Elimination on never meets a zero pivot iff every leading corner (the top-left block) is invertible.
Why. Elimination factors every leading corner at the same time:
Since is unit lower triangular (determinant),, which is the product of the first pivots. So is invertible exactly when those pivots are all nonzero — and this holds for every exactly when no pivot is ever zero.
Why this is stronger than. The full determinant is, which is only the last of the conditions. A matrix can have and — that is precisely the case.
*.** First pivot; second. Corners: and. Both nonzero, so exists:
*.** First corner. No exchange-free — even though and the matrix is invertible.
*.** First pivot; second. Corners: and. No, and here it is not repairable:, so is singular and no permutation makes it factor.
The lesson from the three. works. fails but an exchange fixes it. fails and nothing fixes it. All three questions are decided by the pivot sequence, and none of them by the determinant alone.
- Decide whether an exchange-free LU exists from the pivot sequence
- State the equivalent condition on the leading square corners
- Explain why a nonzero determinant does not settle the question
- Distinguish a zero pivot that an exchange repairs from one that it cannot
<ol class="steps"> <li>Does have an exchange-free? Why?</li> <li>Does have one? What is its determinant?</li> <li>Which leading corner decides whether the second pivot exists?</li> <li>If the first corner is invertible but the second is not, can an exchange help?</li> </ol>
Answers
1. No. The second pivot is, and the matrix is singular. 2. No — first pivot. Its determinant is, so the matrix is invertible and one exchange repairs it. 3. The leading corner; its determinant is times the second pivot. 4. It depends: if the failure comes from a zero entry that a lower row could supply, an exchange helps; if the columns are genuinely dependent, it does not.