A^Tx=b given LU factorization for A

In summary, the LU factorization with partial pivoting can be used to solve A^Tx=b for x, given A and b.
  • #1
dbkats
7
0

Homework Statement



Suppose you are given the LU factorization for some nxn square matrix A. Assume A is non-singular. This factorization is a result of partial pivoting. Can you use this factorization to solve A^Tx=b for x (given A and b).

Homework Equations



A^T is the transpose of matrix A.
PA = LU is the assumed factorization of A with partial pivoting
Since P is a permutation matrix, P^T=P^-1

The Attempt at a Solution



Haha...I figured it out...

PA=LU
A = (P^T)LU
A^T = (U^T)(L^T)P

A^Tx = (U^T)(L^T)Px = b

Then let Px = y

A^Tx = (U^T)(L^T)y = b

U^T is then lower-triangular, L^T is unit-upper-triangular. Therefore I can solve for y in the usual way, and then figure out what x is based on the permutation matrix P.
 
Last edited:
Physics news on Phys.org
  • #2


Yes, you can use the LU factorization to solve A^Tx=b for x. As shown in your attempt at a solution, by using the transpose of A and rearranging the equation, you can solve for x in a similar way as you would for the original equation A^Tx=b. This is because the LU factorization allows you to decompose the matrix A into two triangular matrices, which can be easily solved for a given vector b. Additionally, the use of partial pivoting ensures numerical stability and accuracy in the solution.
 

1. What is LU factorization and why is it useful for solving systems of equations?

LU factorization is a method of decomposing a matrix into a lower triangular matrix (L) and an upper triangular matrix (U). This decomposition allows for more efficient and accurate solving of systems of equations, as it simplifies the process of finding the inverse and determinant of the original matrix.

2. How does LU factorization work for solving the equation A^Tx=b?

First, the original matrix A is decomposed into L and U matrices. Then, the equation is rewritten as LUx=b. The next step is to solve for y in the equation Ly=b, which is relatively simple since L is a lower triangular matrix. Finally, the solution for x can be found by solving the equation Ux=y, again using the fact that U is an upper triangular matrix.

3. What are the advantages of using LU factorization over other methods for solving systems of equations?

Some advantages of using LU factorization include its ability to handle large and complex systems of equations, its efficiency in solving multiple systems of equations with the same coefficient matrix, and its numerical stability, which means it is less prone to rounding errors and other sources of error.

4. Can LU factorization be used for any type of matrix?

Yes, LU factorization can be used for any square matrix, as long as it is non-singular (meaning its determinant is not equal to 0). However, some matrices may be more difficult to decompose and solve using LU factorization, and other methods may be more suitable.

5. Are there any limitations to using LU factorization for solving systems of equations?

One limitation of LU factorization is that it cannot be used for matrices that are not invertible, as mentioned before. Additionally, it may not be the most efficient method for solving systems of equations with a large number of variables, as the decomposition process can become computationally expensive. In these cases, other methods such as Gaussian elimination may be more suitable.

Similar threads

  • Calculus and Beyond Homework Help
Replies
10
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
812
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
4K
Back
Top