0% found this document useful (0 votes)
45 views

Solving Systems of Linear Equations

This calculator can solve systems of linear equations using Gaussian elimination, inverse matrices, or Cramer's rule. The user enters the coefficients of the system of linear equations. The calculator converts the system to row echelon form using Gaussian elimination and solves for the variables. As an example, it solves a system of 5 equations with 5 unknowns, obtaining expressions for each variable in terms of x4 and x5.

Uploaded by

mahiruser
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Solving Systems of Linear Equations

This calculator can solve systems of linear equations using Gaussian elimination, inverse matrices, or Cramer's rule. The user enters the coefficients of the system of linear equations. The calculator converts the system to row echelon form using Gaussian elimination and solves for the variables. As an example, it solves a system of 5 equations with 5 unknowns, obtaining expressions for each variable in terms of x4 and x5.

Uploaded by

mahiruser
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Ma ix calcula r

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

Find the variable x 3 from the equation 3 of the system (1):


27 11 23
x3 = 4 + 4 × x4 − 4 × x5
Find the variable x 2 from the equation 2 of the system (1):
x 2 = −4 − 2 × x 4 + 4 × x 5
Find the variable x 1 from the equation 1 of the system (1):
−3 1 5
x1 = 8 + 8 × x4 − 8 × x5
Answer:
−3 1 5
x1 = 8 + 8 × x4 − 8 × x5
x 2 = −4 − 2 × x 4 + 4 × x 5
27 11 23
x3 = 4 + 4 × x4 − 4 × x5
x4 = x4
x5 = x5
−3 1 5
+ × x4 − × x5

( )
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

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

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

Find the variable x 3 from the equation 3 of the system (1):


17 11 23
x3 = 4 + 4 × x4 − 4 × x5
Find the variable x 2 from the equation 2 of the system (1):
x 2 = −4 − 2 × x 4 + 4 × x 5
Find the variable x 1 from the equation 1 of the system (1):
7 1 5
x1 = 8 + 8 × x4 − 8 × x5
Answer:
7 1 5
x1 = 8 + 8 × x4 − 8 × x5
x 2 = −4 − 2 × x 4 + 4 × x 5
17 11 23
x3 = 4 + 4 × x4 − 4 × x5
x4 = x4
x5 = x5
7 1 5
+ × x4 − × x5

( )
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

Leave extra cells empty to enter non-square matrices.


You can use decimal (finite and periodic) fractions: 1/3 , 3.14
, -1.3(56) , 1.2e-4 ; or arithmetic expressions:
2/3+3*(10-4) , (1+x)/y^2 , 2^0.5 , sin(\phi) .
Use ⊃ Enter , Space , τ , φ , υ , χ to navigate
between cells.
Drag-and-drop matrices from the results, or even from/to a text
editor.
To learn more about matrices use Wikipedia .

[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

You might also like