LU factorization to solve Ax = b

  • Thread starter Thread starter Quincy
  • Start date Start date
  • Tags Tags
    Factorization
Click For Summary

Homework Help Overview

The problem involves finding the LU factorization of a 4 x 5 matrix A and using it to solve the equation Ax = b, where b is a 4 x 1 vector. The original poster expresses confusion regarding the dimensions of the resulting solution vector x.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to set up the equations Ly = b and Ux = y but encounters issues with the dimensions of x. Some participants question the applicability of LU decomposition to a non-square matrix and discuss the implications of having an underdetermined system.

Discussion Status

The discussion is exploring the nature of LU factorization for non-square matrices and the challenges presented by the underdetermined system. Participants are considering alternative factorization techniques such as QR or SVD for finding solutions.

Contextual Notes

The problem context includes the fact that the system has fewer equations than unknowns, leading to potential infinite solutions. There is uncertainty regarding the applicability of LU decomposition in this scenario.

Quincy
Messages
228
Reaction score
0

Homework Statement


A is a 4 x 5 matrix equal to
[1 4 -1 5 3
3 7 -2 9 6
-2 -3 6 -4 1
1 6 9 8 2]

and b =
[5
40
15
12]

(b is 4 x 1)

Find the LU factorization and use it to solve Ax = b

Homework Equations





The Attempt at a Solution



I set Ly = b, and solve for y, then I set Ux = y, and when I row-reduce the Augmented [U y] matrix, I always get a 4 x 1 matrix, but x is supposed to be 5 x 1, what am I doing wrong??
 
Physics news on Phys.org
lkh1986 said:
Or there's actually a way to find he LU decomposition for a non-square matrix?

There was an example of it in the book; it only found L and U for the 4x5 matrix though, it didn't show how to solve Ax = b.
 
Quincy said:
There was an example of it in the book; it only found L and U for the 4x5 matrix though, it didn't show how to solve Ax = b.

That's because there are potentially an infinite number of solutions. The system you have is what's called an 'underdetermined' system that has fewer equations than unknowns. There is a 'minimum norm' solution that can be found via other factorization techniques (QR or SVD), but not LU (at least I don't think so).
 

Similar threads

Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
2K
Replies
9
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K