問題を入力...
線形代数 例
14x-21y-7z=1014x−21y−7z=10 , -4x+2y-2z=4−4x+2y−2z=4 , 56x-21y+7z=556x−21y+7z=5
ステップ 1
連立方程式からAX=BAX=Bを求めます。
[14-21-7-42-256-217]⋅[xyz]=[1045]⎡⎢⎣14−21−7−42−256−217⎤⎥⎦⋅⎡⎢⎣xyz⎤⎥⎦=⎡⎢⎣1045⎤⎥⎦
ステップ 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.
|2-2-217|∣∣∣2−2−217∣∣∣
ステップ 2.1.1.4
Multiply element a11a11 by its cofactor.
14|2-2-217|14∣∣∣2−2−217∣∣∣
ステップ 2.1.1.5
The minor for a12a12 is the determinant with row 11 and column 22 deleted.
|-4-2567|∣∣∣−4−2567∣∣∣
ステップ 2.1.1.6
Multiply element a12a12 by its cofactor.
21|-4-2567|21∣∣∣−4−2567∣∣∣
ステップ 2.1.1.7
The minor for a13a13 is the determinant with row 11 and column 33 deleted.
|-4256-21|∣∣∣−4256−21∣∣∣
ステップ 2.1.1.8
Multiply element a13a13 by its cofactor.
-7|-4256-21|−7∣∣∣−4256−21∣∣∣
ステップ 2.1.1.9
Add the terms together.
14|2-2-217|+21|-4-2567|-7|-4256-21|14∣∣∣2−2−217∣∣∣+21∣∣∣−4−2567∣∣∣−7∣∣∣−4256−21∣∣∣
14|2-2-217|+21|-4-2567|-7|-4256-21|14∣∣∣2−2−217∣∣∣+21∣∣∣−4−2567∣∣∣−7∣∣∣−4256−21∣∣∣
ステップ 2.1.2
|2-2-217|∣∣∣2−2−217∣∣∣の値を求めます。
ステップ 2.1.2.1
2×22×2行列の行列式は公式|abcd|=ad-cb∣∣∣abcd∣∣∣=ad−cbを利用して求めることができます。
14(2⋅7-(-21⋅-2))+21|-4-2567|-7|-4256-21|14(2⋅7−(−21⋅−2))+21∣∣∣−4−2567∣∣∣−7∣∣∣−4256−21∣∣∣
ステップ 2.1.2.2
行列式を簡約します。
ステップ 2.1.2.2.1
各項を簡約します。
ステップ 2.1.2.2.1.1
22に77をかけます。
14(14-(-21⋅-2))+21|-4-2567|-7|-4256-21|14(14−(−21⋅−2))+21∣∣∣−4−2567∣∣∣−7∣∣∣−4256−21∣∣∣
ステップ 2.1.2.2.1.2
-(-21⋅-2)−(−21⋅−2)を掛けます。
ステップ 2.1.2.2.1.2.1
-21−21に-2−2をかけます。
14(14-1⋅42)+21|-4-2567|-7|-4256-21|14(14−1⋅42)+21∣∣∣−4−2567∣∣∣−7∣∣∣−4256−21∣∣∣
ステップ 2.1.2.2.1.2.2
-1−1に4242をかけます。
14(14-42)+21|-4-2567|-7|-4256-21|14(14−42)+21∣∣∣−4−2567∣∣∣−7∣∣∣−4256−21∣∣∣
14(14-42)+21|-4-2567|-7|-4256-21|14(14−42)+21∣∣∣−4−2567∣∣∣−7∣∣∣−4256−21∣∣∣
14(14-42)+21|-4-2567|-7|-4256-21|14(14−42)+21∣∣∣−4−2567∣∣∣−7∣∣∣−4256−21∣∣∣
ステップ 2.1.2.2.2
1414から4242を引きます。
14⋅-28+21|-4-2567|-7|-4256-21|14⋅−28+21∣∣∣−4−2567∣∣∣−7∣∣∣−4256−21∣∣∣
14⋅-28+21|-4-2567|-7|-4256-21|14⋅−28+21∣∣∣−4−2567∣∣∣−7∣∣∣−4256−21∣∣∣
14⋅-28+21|-4-2567|-7|-4256-21|14⋅−28+21∣∣∣−4−2567∣∣∣−7∣∣∣−4256−21∣∣∣
ステップ 2.1.3
|-4-2567|∣∣∣−4−2567∣∣∣の値を求めます。
ステップ 2.1.3.1
2×22×2行列の行列式は公式|abcd|=ad-cb∣∣∣abcd∣∣∣=ad−cbを利用して求めることができます。
14⋅-28+21(-4⋅7-56⋅-2)-7|-4256-21|
ステップ 2.1.3.2
行列式を簡約します。
ステップ 2.1.3.2.1
各項を簡約します。
ステップ 2.1.3.2.1.1
-4に7をかけます。
14⋅-28+21(-28-56⋅-2)-7|-4256-21|
ステップ 2.1.3.2.1.2
-56に-2をかけます。
14⋅-28+21(-28+112)-7|-4256-21|
14⋅-28+21(-28+112)-7|-4256-21|
ステップ 2.1.3.2.2
-28と112をたし算します。
14⋅-28+21⋅84-7|-4256-21|
14⋅-28+21⋅84-7|-4256-21|
14⋅-28+21⋅84-7|-4256-21|
ステップ 2.1.4
|-4256-21|の値を求めます。
ステップ 2.1.4.1
2×2行列の行列式は公式|abcd|=ad-cbを利用して求めることができます。
14⋅-28+21⋅84-7(-4⋅-21-56⋅2)
ステップ 2.1.4.2
行列式を簡約します。
ステップ 2.1.4.2.1
各項を簡約します。
ステップ 2.1.4.2.1.1
-4に-21をかけます。
14⋅-28+21⋅84-7(84-56⋅2)
ステップ 2.1.4.2.1.2
-56に2をかけます。
14⋅-28+21⋅84-7(84-112)
14⋅-28+21⋅84-7(84-112)
ステップ 2.1.4.2.2
84から112を引きます。
14⋅-28+21⋅84-7⋅-28
14⋅-28+21⋅84-7⋅-28
14⋅-28+21⋅84-7⋅-28
ステップ 2.1.5
行列式を簡約します。
ステップ 2.1.5.1
各項を簡約します。
ステップ 2.1.5.1.1
14に-28をかけます。
-392+21⋅84-7⋅-28
ステップ 2.1.5.1.2
21に84をかけます。
-392+1764-7⋅-28
ステップ 2.1.5.1.3
-7に-28をかけます。
-392+1764+196
-392+1764+196
ステップ 2.1.5.2
-392と1764をたし算します。
1372+196
ステップ 2.1.5.3
1372と196をたし算します。
1568
1568
1568
ステップ 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.
[14-21-7100-42-201056-217001]
ステップ 2.4
縮小行の階段形を求めます。
ステップ 2.4.1
Multiply each element of R1 by 114 to make the entry at 1,1 a 1.
ステップ 2.4.1.1
Multiply each element of R1 by 114 to make the entry at 1,1 a 1.
[1414-2114-714114014014-42-201056-217001]
ステップ 2.4.1.2
R1を簡約します。
[1-32-1211400-42-201056-217001]
[1-32-1211400-42-201056-217001]
ステップ 2.4.2
Perform the row operation R2=R2+4R1 to make the entry at 2,1 a 0.
ステップ 2.4.2.1
Perform the row operation R2=R2+4R1 to make the entry at 2,1 a 0.
[1-32-1211400-4+4⋅12+4(-32)-2+4(-12)0+4(114)1+4⋅00+4⋅056-217001]
ステップ 2.4.2.2
R2を簡約します。
[1-32-12114000-4-4271056-217001]
[1-32-12114000-4-4271056-217001]
ステップ 2.4.3
Perform the row operation R3=R3-56R1 to make the entry at 3,1 a 0.
ステップ 2.4.3.1
Perform the row operation R3=R3-56R1 to make the entry at 3,1 a 0.
[1-32-12114000-4-4271056-56⋅1-21-56(-32)7-56(-12)0-56(114)0-56⋅01-56⋅0]
ステップ 2.4.3.2
R3を簡約します。
[1-32-12114000-4-4271006335-401]
[1-32-12114000-4-4271006335-401]
ステップ 2.4.4
Multiply each element of R2 by -14 to make the entry at 2,2 a 1.
ステップ 2.4.4.1
Multiply each element of R2 by -14 to make the entry at 2,2 a 1.
[1-32-1211400-14⋅0-14⋅-4-14⋅-4-14⋅27-14⋅1-14⋅006335-401]
ステップ 2.4.4.2
R2を簡約します。
[1-32-1211400011-114-14006335-401]
[1-32-1211400011-114-14006335-401]
ステップ 2.4.5
Perform the row operation R3=R3-63R2 to make the entry at 3,2 a 0.
ステップ 2.4.5.1
Perform the row operation R3=R3-63R2 to make the entry at 3,2 a 0.
[1-32-1211400011-114-1400-63⋅063-63⋅135-63⋅1-4-63(-114)0-63(-14)1-63⋅0]
ステップ 2.4.5.2
R3を簡約します。
[1-32-1211400011-114-14000-28126341]
[1-32-1211400011-114-14000-28126341]
ステップ 2.4.6
Multiply each element of R3 by -128 to make the entry at 3,3 a 1.
ステップ 2.4.6.1
Multiply each element of R3 by -128 to make the entry at 3,3 a 1.
[1-32-1211400011-114-140-128⋅0-128⋅0-128⋅-28-128⋅12-128⋅634-128⋅1]
ステップ 2.4.6.2
R3を簡約します。
[1-32-1211400011-114-140001-156-916-128]
[1-32-1211400011-114-140001-156-916-128]
ステップ 2.4.7
Perform the row operation R2=R2-R3 to make the entry at 2,3 a 0.
ステップ 2.4.7.1
Perform the row operation R2=R2-R3 to make the entry at 2,3 a 0.
[1-32-12114000-01-01-1-114+156-14+9160+128001-156-916-128]
ステップ 2.4.7.2
R2を簡約します。
[1-32-1211400010-356516128001-156-916-128]
[1-32-1211400010-356516128001-156-916-128]
ステップ 2.4.8
Perform the row operation R1=R1+12R3 to make the entry at 1,3 a 0.
ステップ 2.4.8.1
Perform the row operation R1=R1+12R3 to make the entry at 1,3 a 0.
[1+12⋅0-32+12⋅0-12+12⋅1114+12(-156)0+12(-916)0+12(-128)010-356516128001-156-916-128]
ステップ 2.4.8.2
R1を簡約します。
[1-320116-932-156010-356516128001-156-916-128]
[1-320116-932-156010-356516128001-156-916-128]
ステップ 2.4.9
Perform the row operation R1=R1+32R2 to make the entry at 1,2 a 0.
ステップ 2.4.9.1
Perform the row operation R1=R1+32R2 to make the entry at 1,2 a 0.
[1+32⋅0-32+32⋅10+32⋅0116+32(-356)-932+32⋅516-156+32⋅128010-356516128001-156-916-128]
ステップ 2.4.9.2
R1を簡約します。
[100-156316128010-356516128001-156-916-128]
[100-156316128010-356516128001-156-916-128]
[100-156316128010-356516128001-156-916-128]
ステップ 2.5
The right half of the reduced row echelon form is the inverse.
[-156316128-356516128-156-916-128]
[-156316128-356516128-156-916-128]
ステップ 3
行列式の両辺に逆行列を左掛けします。
([-156316128-356516128-156-916-128]⋅[14-21-7-42-256-217])⋅[xyz]=[-156316128-356516128-156-916-128]⋅[1045]
ステップ 4
逆行列を掛けた行列は常に1と等しくなります。A⋅A-1=1です。
[xyz]=[-156316128-356516128-156-916-128]⋅[1045]
ステップ 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番目の行列の各列を掛けます。
[-156⋅10+316⋅4+128⋅5-356⋅10+516⋅4+128⋅5-156⋅10-916⋅4-128⋅5]
ステップ 5.3
すべての式を掛けて、行列の各要素を簡約します。
[342528-7328]
[342528-7328]
ステップ 6
左辺と右辺を簡約します。
[xyz]=[342528-7328]
ステップ 7
解を求めます。
x=34
y=2528
z=-7328