# LU Decomposition Calculator

## Decomposing a square matrix into a lower triangular matrix and an upper triangular matrix. Partial pivot with row exchange is selected. | |||

The row pivot information in LU decomposition is in one-dimensional array P. |

LU Decomposition

[1-6] /6 | Disp-Num |

- Purpose of use
- Check handwritten work.

[1] 2018/12/09 05:16 Male / Under 20 years old / High-school/ University/ Grad student / Useful /

- Purpose of use
- Ensure my hand-written decomposition process was done correctly.

[2] 2018/11/14 22:43 Male / 20 years old level / High-school/ University/ Grad student / Very /

- Purpose of use
- Just wanted to check to see if my results matched what the calculator said.
- Comment/Request
- Your calculator is wrong. I entered a matrix like this:

[1 2 3]

[4 5 6]

[7 8 9]. And it said that the LU decomposition was this:

L [1 0 0] U=....

[0.14 1 0]

[0.57 0 1]

That by itself is wrong, the correct answer is:

L=[1 0 0] U=..... You should figure out to see what's wrong with your algorithm.

[4 1 0]

[7 2 1] - from Keisan
- The result seems to be correct.

L

[1 0 0]

[0.14.. 1 0]

[0.57.. 0.5 1]

U

[7 8 9]

[0 0.85.. 1.71..]

[0 0 5.E-15]

LU =

[7 8 9]

[1 2 3]

[4 5 6]

(Partial pivot with row exchange P_i = [3 1 2])

[3] 2018/10/21 03:01 Male / 40 years old level / Self-employed people / Not at All /

- Purpose of use
- helping with my exam

[4] 2018/10/11 15:57 Female / 20 years old level / High-school/ University/ Grad student / Very /

- Purpose of use
- Doing my homework for me :(

[5] 2018/07/09 12:51 Male / 20 years old level / High-school/ University/ Grad student / Useful /

- Purpose of use
- check 3x3 matrix LU decomposition

[6] 2018/04/14 09:03 Male / Under 20 years old / High-school/ University/ Grad student / Useful /

**To improve this 'LU Decomposition Calculator', please fill in questionnaire.**

**The hyperlink to [LU Decomposition]**