Solving Systems of Linear Equations
Solving Systems of Linear Equations
Matrix calculator
System of linear equations calculator
Solving systems of linear
equations ✓ This calculator solves Systems of Linear Equations using
Determinant calculator Gaussian Elimination Method , Inverse Matrix Method , or
Cramer's rule . Also you can compute a number of solutions in a
Eigenvalues calculator system of linear equations (analyse the compatibility) using Rouché–
Wikipedia:Matrices Capelli theorem .
Enter coefficients of your system into the input fields. Leave
cells empty for variables, which do not participate in your equations.
To input fractions use / : 1/3 .
System of equations:
4 x1 + 3 x2 + 2 x3 + 0 x4 + 2 x5 = 0
2 x1 + 7 x2 + 5 x3 + 0 x4 + 2 x5 = 5
8 x1 + 7 x2 + 4 x3 + 2 x4 + 0 x5 = -4
x1 + x2 + x3 + x4 + x5 =
x1 + x2 + x3 + x4 + x5 =
Cells Clean + −
Test For Compatibility
Solve by Cramer's rule
Solve using the inverse matrix
Montante's method (Bareiss algorithm)
Solve by Gaussian elimination
Solve by Gauss–Jordan elimination
Display decimals Clean
Solution by Gauss-Jordan elimination Clean
Convert the augmented matrix into the row echelon form:
4 3 2 0 2 0 ()
×
1
( ) 4 ?
2 7 5 0 2 5 ~
8 7 4 2 0 −4 R 1 ∕ (4 ) φ R 1
Hide Ads 3 1 1
( )
1 4 2 0 2 0 ?
×(−2)
~
2 7 5 0 2 5
8 7 4 2 0 −4 R2 − 2 × R1 φ R2
3 1 1
( )
1 4 2
0 2 0
?
11 ×(−8) ~
0 2
4 0 1 5
R3 − 8 × R1 φ R3
8 7 4 2 0 −4
3 1 1
( )
1 4 2
0 2
0
?
0
11
4 0 1 5 ×( )R2
11
∕(
~
0
2
1 0 2 −4 −4 2
11
2 )φ R2
3 1 1
( )
1 4 2
0 2
0
?
8 2 10 ~
0 1 11
0 11 11 ×(−1) R 3 − 1 × R 2 φ R 3
0 1 0 2 −4 −4
3 1 1
( )
1 4 2
0 2
0
?
8 2 10
0 1 0 ~
11 11 11
R 3 ∕ 11 φ R 3
(−8)
0 0
−8
11
2
−46
11
−54
11 ( )
×
−11
8
3 1 1
( )
1 4 2
02
0
?
8 2 10
0 1 0 11 ~
0 0
11
1
−11 23
11
27 (−8)
× 11 8
()
R 2 − 11 × R 3 φ R 2
4 4 4
3 1 1
( )
1 4 2 0 2
0
?
−1
0 1 0 2 −4 −4 × 2 ( ) ~
0 0 1
−11
4
23
4
27
4
R1 − (12) × R 3 φ R1
3 11 −19 −27
( )
1 4 0
0 1 0
8
2
8
−4
8
−4
(−34)
× ?
~
0 0 1
−11
4
23
4
27
4
R1 − (34) × R 2 φ R1
−1 5 −3
( )
1 0 0 8 8 8
0 1 0 2 −4 −4
−11 23 27
0 0 1 4 4 4
1 5 −3
{
x1 −8 × x 4 +8 × x 5 = 8
x2 +2 × x 4 −4 × x 5 = −4 (1)
11 23 27
x3 − 4 × x4 + 4 × x5 = 4
( )
8 8 8
−4 − 2 × x 4 + 4 × x 5
General Solution : X = 27 + 11 × x − 23 × x
4 5 4 4 4
x4
x5
( ) 4 ?
2 7 5 0 2 −5 ~
8 7 4 2 0 −4 R 1 ∕ (4 ) φ R 1
3 1 1
( )
1 4 2 0 2 0 ?
×(−2)
~
2 7 5 0 2 −5
8 7 4 2 0 −4 R2 − 2 × R1 φ R2
3 1 1
( )
1 4 2
0 2 0
?
11 ×(−8) ~
0 2
4 0 1 −5
R3 − 8 × R1 φ R3
8 7 4 2 0 −4
3 1 1
( )
1 4 2
0 2
0
?
2 ~
0
11
2
4 0 1 −5 × ( ) R 2 ∕ 11 φ
11
0 1 0 2 −4 −4 (2) R2
3 1 1
( )
1 4 2
0 2
0
?
8 2 −10 ~
0 1 0
11 11 11 ×(−1) R 3 − 1 × R 2 φ R 3
0 1 0 2 −4 −4
3 1 1
( )
1 4 2
0 2
0
?
8 2 −10
0 1 11
0 11 11
~
−11 R3 ∕ (−811) φ R3
0 0
−8
11
2
−46
11
−34
11
×( ) 8
3 1 1
( )
1 4 2
0 2
0
?
8 2 −10
0 1 0 11 ~
0 0
11
1
−11 23
11
17
× 11(−8) 8
()
R 2 − 11 × R 3 φ R 2
4 4 4
3 1 1
( )
1 4 2 0 2
0
?
−1
0 1 0 2 −4 −4 × 2 ( ) ~
0 0 1
−11
4
23
4
17
4
R1 − (12) × R 3 φ R1
3 11 −19 −17
( )
1 4 0
0 1 0
8
2
8
−4
8
−4
(−34)
× ?
~
0 0 1
−11
4
23
4
17
4
R1 − (34) × R 2 φ R1
−1 5 7
( )
1 0 0 8 8 8
0 1 0 2 −4 −4
−11 23 17
0 0 1 4 4 4
1 5 7
{
x1 −8 × x 4 +8 × x 5 = 8
x2 +2 × x 4 −4 × x 5 = −4 (1)
11 23 17
x3 − 4 × x4 + 4 × x5 = 4
( )
8 8 8
−4 − 2 × x 4 + 4 × x 5
General Solution : X = 17 + 11 × x − 23 × x
4 5 4 4 4
x4
x5
Show how to input the following system:
2x-2y+z=-3
x+3y-2z=1
3x-y-z=2
[email protected]
Thanks to:
Philip Petrov (https://cphpvb.net ) for Bulgarian translation
Manuel Rial Costa for Galego translation
Shio Kun for Chinese translation
Petar Sokoloski (https://im-pmf-en.weebly.com/petar-
sokoloski.html ) for Macedonian translation
Duy Thúc Trần for Vietnamese translation
Rıfkı Kürşat Vuruşan for Turkish translation
Ousama Malouf and Yaseen Ibrahim for Arabic translation