問題を入力...
線形代数 例
92x+13y-z=-14592x+13y−z=−145 , 3x-73y+12z=4933x−73y+12z=493 , x+2y-z=-15x+2y−z=−15
ステップ 1
連立方程式からAX=BAX=Bを求めます。
[9213-13-731212-1]⋅[xyz]=[-145493-15]⎡⎢
⎢⎣9213−13−731212−1⎤⎥
⎥⎦⋅⎡⎢⎣xyz⎤⎥⎦=⎡⎢
⎢⎣−145493−15⎤⎥
⎥⎦
ステップ 2
ステップ 2.1
Find the determinant.
ステップ 2.1.1
Choose the row or column with the most 00 elements. If there are no 00 elements choose any row or column. Multiply every element in row 11 by its cofactor and add.
ステップ 2.1.1.1
Consider the corresponding sign chart.
|+-+-+-+-+|∣∣
∣∣+−+−+−+−+∣∣
∣∣
ステップ 2.1.1.2
The cofactor is the minor with the sign changed if the indices match a -− position on the sign chart.
ステップ 2.1.1.3
The minor for a11a11 is the determinant with row 11 and column 11 deleted.
|-73122-1|∣∣∣−73122−1∣∣∣
ステップ 2.1.1.4
Multiply element a11a11 by its cofactor.
92|-73122-1|92∣∣∣−73122−1∣∣∣
ステップ 2.1.1.5
The minor for a12 is the determinant with row 1 and column 2 deleted.
|3121-1|
ステップ 2.1.1.6
Multiply element a12 by its cofactor.
-13|3121-1|
ステップ 2.1.1.7
The minor for a13 is the determinant with row 1 and column 3 deleted.
|3-7312|
ステップ 2.1.1.8
Multiply element a13 by its cofactor.
-1|3-7312|
ステップ 2.1.1.9
Add the terms together.
92|-73122-1|-13|3121-1|-1|3-7312|
92|-73122-1|-13|3121-1|-1|3-7312|
ステップ 2.1.2
|-73122-1|の値を求めます。
ステップ 2.1.2.1
2×2行列の行列式は公式|abcd|=ad-cbを利用して求めることができます。
92(-73⋅-1-2(12))-13|3121-1|-1|3-7312|
ステップ 2.1.2.2
行列式を簡約します。
ステップ 2.1.2.2.1
各項を簡約します。
ステップ 2.1.2.2.1.1
-73⋅-1を掛けます。
ステップ 2.1.2.2.1.1.1
-1に-1をかけます。
92(1(73)-2(12))-13|3121-1|-1|3-7312|
ステップ 2.1.2.2.1.1.2
73に1をかけます。
92(73-2(12))-13|3121-1|-1|3-7312|
92(73-2(12))-13|3121-1|-1|3-7312|
ステップ 2.1.2.2.1.2
2の共通因数を約分します。
ステップ 2.1.2.2.1.2.1
2を-2で因数分解します。
92(73+2(-1)12)-13|3121-1|-1|3-7312|
ステップ 2.1.2.2.1.2.2
共通因数を約分します。
92(73+2⋅-112)-13|3121-1|-1|3-7312|
ステップ 2.1.2.2.1.2.3
式を書き換えます。
92(73-1)-13|3121-1|-1|3-7312|
92(73-1)-13|3121-1|-1|3-7312|
92(73-1)-13|3121-1|-1|3-7312|
ステップ 2.1.2.2.2
-1を公分母のある分数として書くために、33を掛けます。
92(73-1⋅33)-13|3121-1|-1|3-7312|
ステップ 2.1.2.2.3
-1と33をまとめます。
92(73+-1⋅33)-13|3121-1|-1|3-7312|
ステップ 2.1.2.2.4
公分母の分子をまとめます。
92⋅7-1⋅33-13|3121-1|-1|3-7312|
ステップ 2.1.2.2.5
分子を簡約します。
ステップ 2.1.2.2.5.1
-1に3をかけます。
92⋅7-33-13|3121-1|-1|3-7312|
ステップ 2.1.2.2.5.2
7から3を引きます。
92⋅43-13|3121-1|-1|3-7312|
92⋅43-13|3121-1|-1|3-7312|
92⋅43-13|3121-1|-1|3-7312|
92⋅43-13|3121-1|-1|3-7312|
ステップ 2.1.3
|3121-1|の値を求めます。
ステップ 2.1.3.1
2×2行列の行列式は公式|abcd|=ad-cbを利用して求めることができます。
92⋅43-13(3⋅-1-12)-1|3-7312|
ステップ 2.1.3.2
行列式を簡約します。
ステップ 2.1.3.2.1
3に-1をかけます。
92⋅43-13(-3-12)-1|3-7312|
ステップ 2.1.3.2.2
-3を公分母のある分数として書くために、22を掛けます。
92⋅43-13(-3⋅22-12)-1|3-7312|
ステップ 2.1.3.2.3
-3と22をまとめます。
92⋅43-13(-3⋅22-12)-1|3-7312|
ステップ 2.1.3.2.4
公分母の分子をまとめます。
92⋅43-13⋅-3⋅2-12-1|3-7312|
ステップ 2.1.3.2.5
分子を簡約します。
ステップ 2.1.3.2.5.1
-3に2をかけます。
92⋅43-13⋅-6-12-1|3-7312|
ステップ 2.1.3.2.5.2
-6から1を引きます。
92⋅43-13⋅-72-1|3-7312|
92⋅43-13⋅-72-1|3-7312|
ステップ 2.1.3.2.6
分数の前に負数を移動させます。
92⋅43-13(-72)-1|3-7312|
92⋅43-13(-72)-1|3-7312|
92⋅43-13(-72)-1|3-7312|
ステップ 2.1.4
|3-7312|の値を求めます。
ステップ 2.1.4.1
2×2行列の行列式は公式|abcd|=ad-cbを利用して求めることができます。
92⋅43-13(-72)-1(3⋅2--73)
ステップ 2.1.4.2
行列式を簡約します。
ステップ 2.1.4.2.1
各項を簡約します。
ステップ 2.1.4.2.1.1
3に2をかけます。
92⋅43-13(-72)-1(6--73)
ステップ 2.1.4.2.1.2
--73を掛けます。
ステップ 2.1.4.2.1.2.1
-1に-1をかけます。
92⋅43-13(-72)-1(6+1(73))
ステップ 2.1.4.2.1.2.2
73に1をかけます。
92⋅43-13(-72)-1(6+73)
92⋅43-13(-72)-1(6+73)
92⋅43-13(-72)-1(6+73)
ステップ 2.1.4.2.2
6を公分母のある分数として書くために、33を掛けます。
92⋅43-13(-72)-1(6⋅33+73)
ステップ 2.1.4.2.3
6と33をまとめます。
92⋅43-13(-72)-1(6⋅33+73)
ステップ 2.1.4.2.4
公分母の分子をまとめます。
92⋅43-13(-72)-16⋅3+73
ステップ 2.1.4.2.5
分子を簡約します。
ステップ 2.1.4.2.5.1
6に3をかけます。
92⋅43-13(-72)-118+73
ステップ 2.1.4.2.5.2
18と7をたし算します。
92⋅43-13(-72)-1(253)
92⋅43-13(-72)-1(253)
92⋅43-13(-72)-1(253)
92⋅43-13(-72)-1(253)
ステップ 2.1.5
行列式を簡約します。
ステップ 2.1.5.1
各項を簡約します。
ステップ 2.1.5.1.1
3の共通因数を約分します。
ステップ 2.1.5.1.1.1
3を9で因数分解します。
3(3)2⋅43-13(-72)-1(253)
ステップ 2.1.5.1.1.2
共通因数を約分します。
3⋅32⋅43-13(-72)-1(253)
ステップ 2.1.5.1.1.3
式を書き換えます。
32⋅4-13(-72)-1(253)
32⋅4-13(-72)-1(253)
ステップ 2.1.5.1.2
2の共通因数を約分します。
ステップ 2.1.5.1.2.1
2を4で因数分解します。
32⋅(2(2))-13(-72)-1(253)
ステップ 2.1.5.1.2.2
共通因数を約分します。
32⋅(2⋅2)-13(-72)-1(253)
ステップ 2.1.5.1.2.3
式を書き換えます。
3⋅2-13(-72)-1(253)
3⋅2-13(-72)-1(253)
ステップ 2.1.5.1.3
3に2をかけます。
6-13(-72)-1(253)
ステップ 2.1.5.1.4
-13(-72)を掛けます。
ステップ 2.1.5.1.4.1
-1に-1をかけます。
6+1(13)72-1(253)
ステップ 2.1.5.1.4.2
13に1をかけます。
6+13⋅72-1(253)
ステップ 2.1.5.1.4.3
13に72をかけます。
6+73⋅2-1(253)
ステップ 2.1.5.1.4.4
3に2をかけます。
6+76-1(253)
6+76-1(253)
ステップ 2.1.5.1.5
-1(253)を-(253)に書き換えます。
6+76-253
6+76-253
ステップ 2.1.5.2
公分母を求めます。
ステップ 2.1.5.2.1
6を分母1をもつ分数で書きます。
61+76-253
ステップ 2.1.5.2.2
61に66をかけます。
61⋅66+76-253
ステップ 2.1.5.2.3
61に66をかけます。
6⋅66+76-253
ステップ 2.1.5.2.4
253に22をかけます。
6⋅66+76-(253⋅22)
ステップ 2.1.5.2.5
253に22をかけます。
6⋅66+76-25⋅23⋅2
ステップ 2.1.5.2.6
3⋅2の因数を並べ替えます。
6⋅66+76-25⋅22⋅3
ステップ 2.1.5.2.7
2に3をかけます。
6⋅66+76-25⋅26
6⋅66+76-25⋅26
ステップ 2.1.5.3
公分母の分子をまとめます。
6⋅6+7-25⋅26
ステップ 2.1.5.4
各項を簡約します。
ステップ 2.1.5.4.1
6に6をかけます。
36+7-25⋅26
ステップ 2.1.5.4.2
-25に2をかけます。
36+7-506
36+7-506
ステップ 2.1.5.5
36と7をたし算します。
43-506
ステップ 2.1.5.6
43から50を引きます。
-76
ステップ 2.1.5.7
分数の前に負数を移動させます。
-76
-76
-76
ステップ 2.2
Since the determinant is non-zero, the inverse exists.
ステップ 2.3
Set up a 3×6 matrix where the left half is the original matrix and the right half is its identity matrix.
[9213-11003-731201012-1001]
ステップ 2.4
縮小行の階段形を求めます。
ステップ 2.4.1
Multiply each element of R1 by 29 to make the entry at 1,1 a 1.
ステップ 2.4.1.1
Multiply each element of R1 by 29 to make the entry at 1,1 a 1.
[29⋅9229⋅1329⋅-129⋅129⋅029⋅03-731201012-1001]
ステップ 2.4.1.2
R1を簡約します。
[1227-2929003-731201012-1001]
[1227-2929003-731201012-1001]
ステップ 2.4.2
Perform the row operation R2=R2-3R1 to make the entry at 2,1 a 0.
ステップ 2.4.2.1
Perform the row operation R2=R2-3R1 to make the entry at 2,1 a 0.
[1227-2929003-3⋅1-73-3(227)12-3(-29)0-3(29)1-3⋅00-3⋅012-1001]
ステップ 2.4.2.2
R2を簡約します。
[1227-2929000-23976-231012-1001]
[1227-2929000-23976-231012-1001]
ステップ 2.4.3
Perform the row operation R3=R3-R1 to make the entry at 3,1 a 0.
ステップ 2.4.3.1
Perform the row operation R3=R3-R1 to make the entry at 3,1 a 0.
[1227-2929000-23976-23101-12-227-1+290-290-01-0]
ステップ 2.4.3.2
R3を簡約します。
[1227-2929000-23976-231005227-79-2901]
[1227-2929000-23976-231005227-79-2901]
ステップ 2.4.4
Multiply each element of R2 by -923 to make the entry at 2,2 a 1.
ステップ 2.4.4.1
Multiply each element of R2 by -923 to make the entry at 2,2 a 1.
[1227-292900-923⋅0-923(-239)-923⋅76-923(-23)-923⋅1-923⋅005227-79-2901]
ステップ 2.4.4.2
R2を簡約します。
[1227-29290001-2146623-923005227-79-2901]
[1227-29290001-2146623-923005227-79-2901]
ステップ 2.4.5
Perform the row operation R3=R3-5227R2 to make the entry at 3,2 a 0.
ステップ 2.4.5.1
Perform the row operation R3=R3-5227R2 to make the entry at 3,2 a 0.
[1227-29290001-2146623-92300-5227⋅05227-5227⋅1-79-5227(-2146)-29-5227⋅6230-5227(-923)1-5227⋅0]
ステップ 2.4.5.2
R3を簡約します。
[1227-29290001-2146623-923000769-506952691]
[1227-29290001-2146623-923000769-506952691]
ステップ 2.4.6
Multiply each element of R3 by 697 to make the entry at 3,3 a 1.
ステップ 2.4.6.1
Multiply each element of R3 by 697 to make the entry at 3,3 a 1.
[1227-29290001-2146623-9230697⋅0697⋅0697⋅769697(-5069)697⋅5269697⋅1]
ステップ 2.4.6.2
R3を簡約します。
[1227-29290001-2146623-9230001-507527697]
[1227-29290001-2146623-9230001-507527697]
ステップ 2.4.7
Perform the row operation R2=R2+2146R3 to make the entry at 2,3 a 0.
ステップ 2.4.7.1
Perform the row operation R2=R2+2146R3 to make the entry at 2,3 a 0.
[1227-2929000+2146⋅01+2146⋅0-2146+2146⋅1623+2146(-507)-923+2146⋅5270+2146⋅697001-507527697]
ステップ 2.4.7.2
R2を簡約します。
[1227-292900010-3392001-507527697]
[1227-292900010-3392001-507527697]
ステップ 2.4.8
Perform the row operation R1=R1+29R3 to make the entry at 1,3 a 0.
ステップ 2.4.8.1
Perform the row operation R1=R1+29R3 to make the entry at 1,3 a 0.
[1+29⋅0227+29⋅0-29+29⋅129+29(-507)0+29⋅5270+29⋅697010-3392001-507527697]
ステップ 2.4.8.2
R1を簡約します。
[12270-8663104634621010-3392001-507527697]
[12270-8663104634621010-3392001-507527697]
ステップ 2.4.9
Perform the row operation R1=R1-227R2 to make the entry at 1,2 a 0.
ステップ 2.4.9.1
Perform the row operation R1=R1-227R2 to make the entry at 1,2 a 0.
[1-227⋅0227-227⋅10-227⋅0-8663-227⋅-310463-227⋅34621-227⋅92010-3392001-507527697]
ステップ 2.4.9.2
R1を簡約します。
[100-87107137010-3392001-507527697]
[100-87107137010-3392001-507527697]
[100-87107137010-3392001-507527697]
ステップ 2.5
The right half of the reduced row echelon form is the inverse.
[-87107137-3392-507527697]
[-87107137-3392-507527697]
ステップ 3
行列式の両辺に逆行列を左掛けします。
([-87107137-3392-507527697]⋅[9213-13-731212-1])⋅[xyz]=[-87107137-3392-507527697]⋅[-145493-15]
ステップ 4
逆行列を掛けた行列は常に1と等しくなります。A⋅A-1=1です。
[xyz]=[-87107137-3392-507527697]⋅[-145493-15]
ステップ 5
ステップ 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.
ステップ 5.2
1番目の行列の各行と2番目の行列の各列を掛けます。
[-87⋅-145+107⋅493+137⋅-15-3⋅-145+3(493)+92⋅-15-507⋅-145+527⋅493+697⋅-15]
ステップ 5.3
すべての式を掛けて、行列の各要素を簡約します。
ステップ 5.3.1
6215に3をかけます。
[338521833218645+364⋅721]
ステップ 5.3.2
364に7をかけます。
[338521833218645+254821]
ステップ 5.3.3
18645と2548をたし算します。
[33852183322119321]
[33852183322119321]
[33852183322119321]
ステップ 6
左辺と右辺を簡約します。
[xyz]=[33852183322119321]
ステップ 7
解を求めます。
x=338521
y=8332
z=2119321