令 為一個 階矩陣。LU 分解是指將 表示為兩個 階三角矩陣的乘積
,
其中 是下三角矩陣, 是上三角矩陣,如下例,
。
LU 分解的本質是高斯消去法的一種表達形式,矩陣 記錄消去法化簡 的過程,而矩陣 則儲存化簡結果 (見“高斯消去法”)。LU 分解的外表看似平淡無奇,但它可以用來解線性方程,逆矩陣和計算行列式,堪稱是最具實用價值的矩陣分解式之一。
源自於 http://www.gregthatcher.com/Mathematics/LU_Factorization.aspx
This Calculator will Factorize a Square Matrix into the form A=LU where L is a lower triangular matrix, and U is an upper triangular matrix.
Add (2/3 * row1) to row2
(the
elementary matrix, hilighted in yellow, performs this operation for us.)
Add (-1/2 * row1) to row3
(the
elementary matrix, hilighted in yellow, performs this operation for us.)
Add (3/8 * row2) to row3
(the
elementary matrix, hilighted in yellow, performs this operation for us.)
Let's
multiply both sides of the equation by this
inverse.
We can simplify this to:
Let's
multiply both sides of the equation by this
inverse.
We can simplify this to:
Let's
multiply both sides of the equation by this
inverse.
We can simplify this to:
and we have now factored the matrix into the form A=LU.
Note that the 'L' matrix shows us the operations we performed to reduce the matrix (with signs changed).
沒有留言:
張貼留言