Examples

Perform LU Decomposition
[1-123]
Step 1
Write the matrix as a product of a lower triangular matrix and an upper triangular matrix.
[10l211][u11u120u22]=[1-123]
Step 2
Multiply [10l211][u11u120u22].
Tap for more steps...
Step 2.1
Two matrices can be multiplied if and only if the number of columns in the first matrix is equal to the number of rows in the second matrix. In this case, the first matrix is 2×2 and the second matrix is 2×2.
Step 2.2
Multiply each row in the first matrix by each column in the second matrix.
[1u11+001u12+0u22l21u11+10l21u12+1u22]=[1-123]
Step 2.3
Simplify each element of the matrix by multiplying out all the expressions.
[u11u12l21u11l21u12+u22]=[1-123]
[u11u12l21u11l21u12+u22]=[1-123]
Step 3
Solve.
Tap for more steps...
Step 3.1
Write as a linear system of equations.
u11=1
u12=-1
l21u11=2
l21u12+u22=3
Step 3.2
Solve the system of equations.
Tap for more steps...
Step 3.2.1
Replace all occurrences of u11 with 1 in each equation.
Tap for more steps...
Step 3.2.1.1
Replace all occurrences of u11 in l21u11=2 with 1.
l211=2
u11=1
u12=-1
l21u12+u22=3
Step 3.2.1.2
Simplify the left side.
Tap for more steps...
Step 3.2.1.2.1
Multiply l21 by 1.
l21=2
u11=1
u12=-1
l21u12+u22=3
l21=2
u11=1
u12=-1
l21u12+u22=3
l21=2
u11=1
u12=-1
l21u12+u22=3
Step 3.2.2
Replace all occurrences of l21 with 2 in each equation.
Tap for more steps...
Step 3.2.2.1
Replace all occurrences of l21 in l21u12+u22=3 with 2.
2u12+u22=3
l21=2
u11=1
u12=-1
Step 3.2.2.2
Simplify the left side.
Tap for more steps...
Step 3.2.2.2.1
Multiply 2 by u12.
2u12+u22=3
l21=2
u11=1
u12=-1
2u12+u22=3
l21=2
u11=1
u12=-1
2u12+u22=3
l21=2
u11=1
u12=-1
Step 3.2.3
Replace all occurrences of u12 with -1 in each equation.
Tap for more steps...
Step 3.2.3.1
Replace all occurrences of u12 in 2u12+u22=3 with -1.
2(-1)+u22=3
l21=2
u11=1
u12=-1
Step 3.2.3.2
Simplify the left side.
Tap for more steps...
Step 3.2.3.2.1
Multiply 2 by -1.
-2+u22=3
l21=2
u11=1
u12=-1
-2+u22=3
l21=2
u11=1
u12=-1
-2+u22=3
l21=2
u11=1
u12=-1
Step 3.2.4
Move all terms not containing u22 to the right side of the equation.
Tap for more steps...
Step 3.2.4.1
Add 2 to both sides of the equation.
u22=3+2
l21=2
u11=1
u12=-1
Step 3.2.4.2
Add 3 and 2.
u22=5
l21=2
u11=1
u12=-1
u22=5
l21=2
u11=1
u12=-1
Step 3.2.5
Solve the system of equations.
u22=5l21=2u11=1u12=-1
Step 3.2.6
List all of the solutions.
u22=5,l21=2,u11=1,u12=-1
u22=5,l21=2,u11=1,u12=-1
u22=5,l21=2,u11=1,u12=-1
Step 4
Substitute in the solved values.
[1-123]=[1021][1-105]
Enter YOUR Problem
Mathway requires javascript and a modern browser.
 [x2  12  π  xdx ] 
AmazonPay