Entrer un problème...
Algèbre linéaire Exemples
x+2y-z=4x+2y−z=4 , 2x+y+z=-2 , x+2y+z=2
Étape 1
Déterminez le AX=B à partir du système d’équations.
[12-1211121]⋅[xyz]=[4-22]
Étape 2
Étape 2.1
Find the determinant.
Étape 2.1.1
Choose the row or column with the most 0 elements. If there are no 0 elements choose any row or column. Multiply every element in row 1 by its cofactor and add.
Étape 2.1.1.1
Consider the corresponding sign chart.
|+-+-+-+-+|
Étape 2.1.1.2
The cofactor is the minor with the sign changed if the indices match a - position on the sign chart.
Étape 2.1.1.3
The minor for a11 is the determinant with row 1 and column 1 deleted.
|1121|
Étape 2.1.1.4
Multiply element a11 by its cofactor.
1|1121|
Étape 2.1.1.5
The minor for a12 is the determinant with row 1 and column 2 deleted.
|2111|
Étape 2.1.1.6
Multiply element a12 by its cofactor.
-2|2111|
Étape 2.1.1.7
The minor for a13 is the determinant with row 1 and column 3 deleted.
|2112|
Étape 2.1.1.8
Multiply element a13 by its cofactor.
-1|2112|
Étape 2.1.1.9
Add the terms together.
1|1121|-2|2111|-1|2112|
1|1121|-2|2111|-1|2112|
Étape 2.1.2
Évaluez |1121|.
Étape 2.1.2.1
Le déterminant d’une matrice 2×2 peut être déterminé en utilisant la formule |abcd|=ad-cb.
1(1⋅1-2⋅1)-2|2111|-1|2112|
Étape 2.1.2.2
Simplifiez le déterminant.
Étape 2.1.2.2.1
Simplifiez chaque terme.
Étape 2.1.2.2.1.1
Multipliez 1 par 1.
1(1-2⋅1)-2|2111|-1|2112|
Étape 2.1.2.2.1.2
Multipliez -2 par 1.
1(1-2)-2|2111|-1|2112|
1(1-2)-2|2111|-1|2112|
Étape 2.1.2.2.2
Soustrayez 2 de 1.
1⋅-1-2|2111|-1|2112|
1⋅-1-2|2111|-1|2112|
1⋅-1-2|2111|-1|2112|
Étape 2.1.3
Évaluez |2111|.
Étape 2.1.3.1
Le déterminant d’une matrice 2×2 peut être déterminé en utilisant la formule |abcd|=ad-cb.
1⋅-1-2(2⋅1-1⋅1)-1|2112|
Étape 2.1.3.2
Simplifiez le déterminant.
Étape 2.1.3.2.1
Simplifiez chaque terme.
Étape 2.1.3.2.1.1
Multipliez 2 par 1.
1⋅-1-2(2-1⋅1)-1|2112|
Étape 2.1.3.2.1.2
Multipliez -1 par 1.
1⋅-1-2(2-1)-1|2112|
1⋅-1-2(2-1)-1|2112|
Étape 2.1.3.2.2
Soustrayez 1 de 2.
1⋅-1-2⋅1-1|2112|
1⋅-1-2⋅1-1|2112|
1⋅-1-2⋅1-1|2112|
Étape 2.1.4
Évaluez |2112|.
Étape 2.1.4.1
Le déterminant d’une matrice 2×2 peut être déterminé en utilisant la formule |abcd|=ad-cb.
1⋅-1-2⋅1-1(2⋅2-1⋅1)
Étape 2.1.4.2
Simplifiez le déterminant.
Étape 2.1.4.2.1
Simplifiez chaque terme.
Étape 2.1.4.2.1.1
Multipliez 2 par 2.
1⋅-1-2⋅1-1(4-1⋅1)
Étape 2.1.4.2.1.2
Multipliez -1 par 1.
1⋅-1-2⋅1-1(4-1)
1⋅-1-2⋅1-1(4-1)
Étape 2.1.4.2.2
Soustrayez 1 de 4.
1⋅-1-2⋅1-1⋅3
1⋅-1-2⋅1-1⋅3
1⋅-1-2⋅1-1⋅3
Étape 2.1.5
Simplifiez le déterminant.
Étape 2.1.5.1
Simplifiez chaque terme.
Étape 2.1.5.1.1
Multipliez -1 par 1.
-1-2⋅1-1⋅3
Étape 2.1.5.1.2
Multipliez -2 par 1.
-1-2-1⋅3
Étape 2.1.5.1.3
Multipliez -1 par 3.
-1-2-3
-1-2-3
Étape 2.1.5.2
Soustrayez 2 de -1.
-3-3
Étape 2.1.5.3
Soustrayez 3 de -3.
-6
-6
-6
Étape 2.2
Since the determinant is non-zero, the inverse exists.
Étape 2.3
Set up a 3×6 matrix where the left half is the original matrix and the right half is its identity matrix.
[12-1100211010121001]
Étape 2.4
Déterminez la forme d’échelon en ligne réduite.
Étape 2.4.1
Perform the row operation R2=R2-2R1 to make the entry at 2,1 a 0.
Étape 2.4.1.1
Perform the row operation R2=R2-2R1 to make the entry at 2,1 a 0.
[12-11002-2⋅11-2⋅21-2⋅-10-2⋅11-2⋅00-2⋅0121001]
Étape 2.4.1.2
Simplifiez R2.
[12-11000-33-210121001]
[12-11000-33-210121001]
Étape 2.4.2
Perform the row operation R3=R3-R1 to make the entry at 3,1 a 0.
Étape 2.4.2.1
Perform the row operation R3=R3-R1 to make the entry at 3,1 a 0.
[12-11000-33-2101-12-21+10-10-01-0]
Étape 2.4.2.2
Simplifiez R3.
[12-11000-33-210002-101]
[12-11000-33-210002-101]
Étape 2.4.3
Multiply each element of R2 by -13 to make the entry at 2,2 a 1.
Étape 2.4.3.1
Multiply each element of R2 by -13 to make the entry at 2,2 a 1.
[12-1100-13⋅0-13⋅-3-13⋅3-13⋅-2-13⋅1-13⋅0002-101]
Étape 2.4.3.2
Simplifiez R2.
[12-110001-123-130002-101]
[12-110001-123-130002-101]
Étape 2.4.4
Multiply each element of R3 by 12 to make the entry at 3,3 a 1.
Étape 2.4.4.1
Multiply each element of R3 by 12 to make the entry at 3,3 a 1.
[12-110001-123-130020222-120212]
Étape 2.4.4.2
Simplifiez R3.
[12-110001-123-130001-12012]
[12-110001-123-130001-12012]
Étape 2.4.5
Perform the row operation R2=R2+R3 to make the entry at 2,3 a 0.
Étape 2.4.5.1
Perform the row operation R2=R2+R3 to make the entry at 2,3 a 0.
[12-11000+01+0-1+1⋅123-12-13+00+12001-12012]
Étape 2.4.5.2
Simplifiez R2.
[12-110001016-1312001-12012]
[12-110001016-1312001-12012]
Étape 2.4.6
Perform the row operation R1=R1+R3 to make the entry at 1,3 a 0.
Étape 2.4.6.1
Perform the row operation R1=R1+R3 to make the entry at 1,3 a 0.
[1+02+0-1+1⋅11-120+00+1201016-1312001-12012]
Étape 2.4.6.2
Simplifiez R1.
[1201201201016-1312001-12012]
[1201201201016-1312001-12012]
Étape 2.4.7
Perform the row operation R1=R1-2R2 to make the entry at 1,2 a 0.
Étape 2.4.7.1
Perform the row operation R1=R1-2R2 to make the entry at 1,2 a 0.
[1-2⋅02-2⋅10-2⋅012-2(16)0-2(-13)12-2(12)01016-1312001-12012]
Étape 2.4.7.2
Simplifiez R1.
[1001623-1201016-1312001-12012]
[1001623-1201016-1312001-12012]
[1001623-1201016-1312001-12012]
Étape 2.5
The right half of the reduced row echelon form is the inverse.
[1623-1216-1312-12012]
[1623-1216-1312-12012]
Étape 3
Multipliez à gauche les deux côtés de l’équation de la matrice par la matrice inverse.
([1623-1216-1312-12012]⋅[12-1211121])⋅[xyz]=[1623-1216-1312-12012]⋅[4-22]
Étape 4
Toute matrice multipliée par son inverse est toujours égale à 1. A⋅A-1=1.
[xyz]=[1623-1216-1312-12012]⋅[4-22]
Étape 5
Étape 5.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 3×3 and the second matrix is 3×1.
Étape 5.2
Multipliez chaque ligne dans la première matrice par chaque colonne dans la deuxième matrice.
[16⋅4+23⋅-2-12⋅216⋅4-13⋅-2+12⋅2-12⋅4+0⋅-2+12⋅2]
Étape 5.3
Simplifiez chaque élément de la matrice en multipliant toutes les expressions.
[-5373-1]
[-5373-1]
Étape 6
Simplifiez les côtés gauche et droit.
[xyz]=[-5373-1]
Étape 7
Déterminez la solution.
x=-53
y=73
z=-1