선형 대수 예제
y=3x+z-2 , z=3x+4 , y=5z
단계 1
단계 1.1
변수를 포함한 모든 항을 방정식의 좌변으로 옮깁니다.
단계 1.1.1
방정식의 양변에서 3x를 뺍니다.
y-3x=z-2
z=3x+4
y=5z
단계 1.1.2
방정식의 양변에서 z를 뺍니다.
y-3x-z=-2
z=3x+4
y=5z
y-3x-z=-2
z=3x+4
y=5z
단계 1.2
y와 -3x을 다시 정렬합니다.
-3x+y-z=-2
z=3x+4
y=5z
단계 1.3
방정식의 양변에서 3x를 뺍니다.
-3x+y-z=-2
z-3x=4
y=5z
단계 1.4
z와 -3x을 다시 정렬합니다.
-3x+y-z=-2
-3x+z=4
y=5z
단계 1.5
방정식의 양변에서 5z를 뺍니다.
-3x+y-z=-2
-3x+z=4
y-5z=0
-3x+y-z=-2
-3x+z=4
y-5z=0
단계 2
연립방정식을 행렬 형식으로 나타냅니다.
[-31-1-30101-5][xyz]=[-240]
단계 3
단계 3.1
Write [-31-1-30101-5] in determinant notation.
|-31-1-30101-5|
단계 3.2
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 column 1 by its cofactor and add.
단계 3.2.1
Consider the corresponding sign chart.
|+-+-+-+-+|
단계 3.2.2
The cofactor is the minor with the sign changed if the indices match a - position on the sign chart.
단계 3.2.3
The minor for a11 is the determinant with row 1 and column 1 deleted.
|011-5|
단계 3.2.4
Multiply element a11 by its cofactor.
-3|011-5|
단계 3.2.5
The minor for a21 is the determinant with row 2 and column 1 deleted.
|1-11-5|
단계 3.2.6
Multiply element a21 by its cofactor.
3|1-11-5|
단계 3.2.7
The minor for a31 is the determinant with row 3 and column 1 deleted.
|1-101|
단계 3.2.8
Multiply element a31 by its cofactor.
0|1-101|
단계 3.2.9
Add the terms together.
-3|011-5|+3|1-11-5|+0|1-101|
-3|011-5|+3|1-11-5|+0|1-101|
단계 3.3
0에 |1-101|을 곱합니다.
-3|011-5|+3|1-11-5|+0
단계 3.4
|011-5|의 값을 구합니다.
단계 3.4.1
2×2 행렬의 행렬식은 |abcd|=ad-cb 공식을 이용해 계산합니다.
-3(0⋅-5-1⋅1)+3|1-11-5|+0
단계 3.4.2
행렬식을 간단히 합니다.
단계 3.4.2.1
각 항을 간단히 합니다.
단계 3.4.2.1.1
0에 -5을 곱합니다.
-3(0-1⋅1)+3|1-11-5|+0
단계 3.4.2.1.2
-1에 1을 곱합니다.
-3(0-1)+3|1-11-5|+0
-3(0-1)+3|1-11-5|+0
단계 3.4.2.2
0에서 1을 뺍니다.
-3⋅-1+3|1-11-5|+0
-3⋅-1+3|1-11-5|+0
-3⋅-1+3|1-11-5|+0
단계 3.5
|1-11-5|의 값을 구합니다.
단계 3.5.1
2×2 행렬의 행렬식은 |abcd|=ad-cb 공식을 이용해 계산합니다.
-3⋅-1+3(1⋅-5-1⋅-1)+0
단계 3.5.2
행렬식을 간단히 합니다.
단계 3.5.2.1
각 항을 간단히 합니다.
단계 3.5.2.1.1
-5에 1을 곱합니다.
-3⋅-1+3(-5-1⋅-1)+0
단계 3.5.2.1.2
-1에 -1을 곱합니다.
-3⋅-1+3(-5+1)+0
-3⋅-1+3(-5+1)+0
단계 3.5.2.2
-5를 1에 더합니다.
-3⋅-1+3⋅-4+0
-3⋅-1+3⋅-4+0
-3⋅-1+3⋅-4+0
단계 3.6
행렬식을 간단히 합니다.
단계 3.6.1
각 항을 간단히 합니다.
단계 3.6.1.1
-3에 -1을 곱합니다.
3+3⋅-4+0
단계 3.6.1.2
3에 -4을 곱합니다.
3-12+0
3-12+0
단계 3.6.2
3에서 12을 뺍니다.
-9+0
단계 3.6.3
-9를 0에 더합니다.
-9
-9
D=-9
단계 4
Since the determinant is not 0, the system can be solved using Cramer's Rule.
단계 5
단계 5.1
Replace column 1 of the coefficient matrix that corresponds to the x-coefficients of the system with [-240].
|-21-140101-5|
단계 5.2
Find the determinant.
단계 5.2.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 column 1 by its cofactor and add.
단계 5.2.1.1
Consider the corresponding sign chart.
|+-+-+-+-+|
단계 5.2.1.2
The cofactor is the minor with the sign changed if the indices match a - position on the sign chart.
단계 5.2.1.3
The minor for a11 is the determinant with row 1 and column 1 deleted.
|011-5|
단계 5.2.1.4
Multiply element a11 by its cofactor.
-2|011-5|
단계 5.2.1.5
The minor for a21 is the determinant with row 2 and column 1 deleted.
|1-11-5|
단계 5.2.1.6
Multiply element a21 by its cofactor.
-4|1-11-5|
단계 5.2.1.7
The minor for a31 is the determinant with row 3 and column 1 deleted.
|1-101|
단계 5.2.1.8
Multiply element a31 by its cofactor.
0|1-101|
단계 5.2.1.9
Add the terms together.
-2|011-5|-4|1-11-5|+0|1-101|
-2|011-5|-4|1-11-5|+0|1-101|
단계 5.2.2
0에 |1-101|을 곱합니다.
-2|011-5|-4|1-11-5|+0
단계 5.2.3
|011-5|의 값을 구합니다.
단계 5.2.3.1
2×2 행렬의 행렬식은 |abcd|=ad-cb 공식을 이용해 계산합니다.
-2(0⋅-5-1⋅1)-4|1-11-5|+0
단계 5.2.3.2
행렬식을 간단히 합니다.
단계 5.2.3.2.1
각 항을 간단히 합니다.
단계 5.2.3.2.1.1
0에 -5을 곱합니다.
-2(0-1⋅1)-4|1-11-5|+0
단계 5.2.3.2.1.2
-1에 1을 곱합니다.
-2(0-1)-4|1-11-5|+0
-2(0-1)-4|1-11-5|+0
단계 5.2.3.2.2
0에서 1을 뺍니다.
-2⋅-1-4|1-11-5|+0
-2⋅-1-4|1-11-5|+0
-2⋅-1-4|1-11-5|+0
단계 5.2.4
|1-11-5|의 값을 구합니다.
단계 5.2.4.1
2×2 행렬의 행렬식은 |abcd|=ad-cb 공식을 이용해 계산합니다.
-2⋅-1-4(1⋅-5-1⋅-1)+0
단계 5.2.4.2
행렬식을 간단히 합니다.
단계 5.2.4.2.1
각 항을 간단히 합니다.
단계 5.2.4.2.1.1
-5에 1을 곱합니다.
-2⋅-1-4(-5-1⋅-1)+0
단계 5.2.4.2.1.2
-1에 -1을 곱합니다.
-2⋅-1-4(-5+1)+0
-2⋅-1-4(-5+1)+0
단계 5.2.4.2.2
-5를 1에 더합니다.
-2⋅-1-4⋅-4+0
-2⋅-1-4⋅-4+0
-2⋅-1-4⋅-4+0
단계 5.2.5
행렬식을 간단히 합니다.
단계 5.2.5.1
각 항을 간단히 합니다.
단계 5.2.5.1.1
-2에 -1을 곱합니다.
2-4⋅-4+0
단계 5.2.5.1.2
-4에 -4을 곱합니다.
2+16+0
2+16+0
단계 5.2.5.2
2를 16에 더합니다.
18+0
단계 5.2.5.3
18를 0에 더합니다.
18
18
Dx=18
단계 5.3
Use the formula to solve for x.
x=DxD
단계 5.4
Substitute -9 for D and 18 for Dx in the formula.
x=18-9
단계 5.5
18을 -9로 나눕니다.
x=-2
x=-2
단계 6
단계 6.1
Replace column 2 of the coefficient matrix that corresponds to the y-coefficients of the system with [-240].
|-3-2-1-34100-5|
단계 6.2
Find the determinant.
단계 6.2.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 3 by its cofactor and add.
단계 6.2.1.1
Consider the corresponding sign chart.
|+-+-+-+-+|
단계 6.2.1.2
The cofactor is the minor with the sign changed if the indices match a - position on the sign chart.
단계 6.2.1.3
The minor for a31 is the determinant with row 3 and column 1 deleted.
|-2-141|
단계 6.2.1.4
Multiply element a31 by its cofactor.
0|-2-141|
단계 6.2.1.5
The minor for a32 is the determinant with row 3 and column 2 deleted.
|-3-1-31|
단계 6.2.1.6
Multiply element a32 by its cofactor.
0|-3-1-31|
단계 6.2.1.7
The minor for a33 is the determinant with row 3 and column 3 deleted.
|-3-2-34|
단계 6.2.1.8
Multiply element a33 by its cofactor.
-5|-3-2-34|
단계 6.2.1.9
Add the terms together.
0|-2-141|+0|-3-1-31|-5|-3-2-34|
0|-2-141|+0|-3-1-31|-5|-3-2-34|
단계 6.2.2
0에 |-2-141|을 곱합니다.
0+0|-3-1-31|-5|-3-2-34|
단계 6.2.3
0에 |-3-1-31|을 곱합니다.
0+0-5|-3-2-34|
단계 6.2.4
|-3-2-34|의 값을 구합니다.
단계 6.2.4.1
2×2 행렬의 행렬식은 |abcd|=ad-cb 공식을 이용해 계산합니다.
0+0-5(-3⋅4-(-3⋅-2))
단계 6.2.4.2
행렬식을 간단히 합니다.
단계 6.2.4.2.1
각 항을 간단히 합니다.
단계 6.2.4.2.1.1
-3에 4을 곱합니다.
0+0-5(-12-(-3⋅-2))
단계 6.2.4.2.1.2
-(-3⋅-2) 을 곱합니다.
단계 6.2.4.2.1.2.1
-3에 -2을 곱합니다.
0+0-5(-12-1⋅6)
단계 6.2.4.2.1.2.2
-1에 6을 곱합니다.
0+0-5(-12-6)
0+0-5(-12-6)
0+0-5(-12-6)
단계 6.2.4.2.2
-12에서 6을 뺍니다.
0+0-5⋅-18
0+0-5⋅-18
0+0-5⋅-18
단계 6.2.5
행렬식을 간단히 합니다.
단계 6.2.5.1
-5에 -18을 곱합니다.
0+0+90
단계 6.2.5.2
0를 0에 더합니다.
0+90
단계 6.2.5.3
0를 90에 더합니다.
90
90
Dy=90
단계 6.3
Use the formula to solve for y.
y=DyD
단계 6.4
Substitute -9 for D and 90 for Dy in the formula.
y=90-9
단계 6.5
90을 -9로 나눕니다.
y=-10
y=-10
단계 7
단계 7.1
Replace column 3 of the coefficient matrix that corresponds to the z-coefficients of the system with [-240].
|-31-2-304010|
단계 7.2
Find the determinant.
단계 7.2.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 3 by its cofactor and add.
단계 7.2.1.1
Consider the corresponding sign chart.
|+-+-+-+-+|
단계 7.2.1.2
The cofactor is the minor with the sign changed if the indices match a - position on the sign chart.
단계 7.2.1.3
The minor for a31 is the determinant with row 3 and column 1 deleted.
|1-204|
단계 7.2.1.4
Multiply element a31 by its cofactor.
0|1-204|
단계 7.2.1.5
The minor for a32 is the determinant with row 3 and column 2 deleted.
|-3-2-34|
단계 7.2.1.6
Multiply element a32 by its cofactor.
-1|-3-2-34|
단계 7.2.1.7
The minor for a33 is the determinant with row 3 and column 3 deleted.
|-31-30|
단계 7.2.1.8
Multiply element a33 by its cofactor.
0|-31-30|
단계 7.2.1.9
Add the terms together.
0|1-204|-1|-3-2-34|+0|-31-30|
0|1-204|-1|-3-2-34|+0|-31-30|
단계 7.2.2
0에 |1-204|을 곱합니다.
0-1|-3-2-34|+0|-31-30|
단계 7.2.3
0에 |-31-30|을 곱합니다.
0-1|-3-2-34|+0
단계 7.2.4
|-3-2-34|의 값을 구합니다.
단계 7.2.4.1
2×2 행렬의 행렬식은 |abcd|=ad-cb 공식을 이용해 계산합니다.
0-1(-3⋅4-(-3⋅-2))+0
단계 7.2.4.2
행렬식을 간단히 합니다.
단계 7.2.4.2.1
각 항을 간단히 합니다.
단계 7.2.4.2.1.1
-3에 4을 곱합니다.
0-1(-12-(-3⋅-2))+0
단계 7.2.4.2.1.2
-(-3⋅-2) 을 곱합니다.
단계 7.2.4.2.1.2.1
-3에 -2을 곱합니다.
0-1(-12-1⋅6)+0
단계 7.2.4.2.1.2.2
-1에 6을 곱합니다.
0-1(-12-6)+0
0-1(-12-6)+0
0-1(-12-6)+0
단계 7.2.4.2.2
-12에서 6을 뺍니다.
0-1⋅-18+0
0-1⋅-18+0
0-1⋅-18+0
단계 7.2.5
행렬식을 간단히 합니다.
단계 7.2.5.1
-1에 -18을 곱합니다.
0+18+0
단계 7.2.5.2
0를 18에 더합니다.
18+0
단계 7.2.5.3
18를 0에 더합니다.
18
18
Dz=18
단계 7.3
Use the formula to solve for z.
z=DzD
단계 7.4
Substitute -9 for D and 18 for Dz in the formula.
z=18-9
단계 7.5
18을 -9로 나눕니다.
z=-2
z=-2
단계 8
연립방정식의 해를 나열합니다.
x=-2
y=-10
z=-2