LU factorization to solve Ax = b

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

The discussion focuses on LU factorization applied to a 4x5 matrix A and a corresponding vector b. The user attempts to solve the system Ax = b by first decomposing A into lower (L) and upper (U) triangular matrices. However, they encounter issues because the system is underdetermined, leading to a 4x1 solution instead of the expected 5x1. The conversation clarifies that LU decomposition is not suitable for underdetermined systems, and suggests alternative methods such as QR or SVD for finding solutions.

PREREQUISITES
  • Understanding of LU decomposition and its application to matrices
  • Familiarity with solving linear systems of equations
  • Knowledge of matrix dimensions and their implications in linear algebra
  • Basic concepts of underdetermined systems in linear algebra
NEXT STEPS
  • Study QR factorization for solving underdetermined systems
  • Learn about Singular Value Decomposition (SVD) and its applications
  • Explore the properties and applications of triangular matrices in linear algebra
  • Review examples of LU decomposition for non-square matrices
USEFUL FOR

Students and professionals in mathematics, engineering, and computer science who are working with linear algebra, particularly those dealing with matrix factorization and solving linear systems.

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).
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

Replies
4
Views
2K
  • · 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
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K