Đại số tuyến tính Ví dụ
y=3x+z-2y=3x+z−2 , z=3x+4z=3x+4 , y=5zy=5z
Bước 1
Bước 1.1
Di chuyển tất cả các số hạng chứa biến sang vế trái của phương trình.
Bước 1.1.1
Trừ 3x3x khỏi cả hai vế của phương trình.
y-3x=z-2y−3x=z−2
z=3x+4z=3x+4
y=5zy=5z
Bước 1.1.2
Trừ zz khỏi cả hai vế của phương trình.
y-3x-z=-2y−3x−z=−2
z=3x+4z=3x+4
y=5zy=5z
y-3x-z=-2y−3x−z=−2
z=3x+4z=3x+4
y=5zy=5z
Bước 1.2
Sắp xếp lại yy và -3x−3x.
-3x+y-z=-2−3x+y−z=−2
z=3x+4z=3x+4
y=5zy=5z
Bước 1.3
Trừ 3x3x khỏi cả hai vế của phương trình.
-3x+y-z=-2−3x+y−z=−2
z-3x=4z−3x=4
y=5zy=5z
Bước 1.4
Sắp xếp lại zz và -3x−3x.
-3x+y-z=-2−3x+y−z=−2
-3x+z=4−3x+z=4
y=5zy=5z
Bước 1.5
Trừ 5z5z khỏi cả hai vế của phương trình.
-3x+y-z=-2−3x+y−z=−2
-3x+z=4−3x+z=4
y-5z=0y−5z=0
-3x+y-z=-2−3x+y−z=−2
-3x+z=4−3x+z=4
y-5z=0y−5z=0
Bước 2
Biểu thị hệ phương trình ở dạng ma trận.
[-31-1-30101-5][xyz]=[-240]⎡⎢⎣−31−1−30101−5⎤⎥⎦⎡⎢⎣xyz⎤⎥⎦=⎡⎢⎣−240⎤⎥⎦
Bước 3
Bước 3.1
Write [-31-1-30101-5]⎡⎢⎣−31−1−30101−5⎤⎥⎦ in determinant notation.
|-31-1-30101-5|∣∣
∣∣−31−1−30101−5∣∣
∣∣
Bước 3.2
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 column 11 by its cofactor and add.
Bước 3.2.1
Consider the corresponding sign chart.
|+-+-+-+-+|∣∣
∣∣+−+−+−+−+∣∣
∣∣
Bước 3.2.2
The cofactor is the minor with the sign changed if the indices match a -− position on the sign chart.
Bước 3.2.3
The minor for a11a11 is the determinant with row 11 and column 11 deleted.
|011-5|∣∣∣011−5∣∣∣
Bước 3.2.4
Multiply element a11a11 by its cofactor.
-3|011-5|−3∣∣∣011−5∣∣∣
Bước 3.2.5
The minor for a21a21 is the determinant with row 22 and column 11 deleted.
|1-11-5|∣∣∣1−11−5∣∣∣
Bước 3.2.6
Multiply element a21a21 by its cofactor.
3|1-11-5|3∣∣∣1−11−5∣∣∣
Bước 3.2.7
The minor for a31a31 is the determinant with row 3 and column 1 deleted.
|1-101|
Bước 3.2.8
Multiply element a31 by its cofactor.
0|1-101|
Bước 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|
Bước 3.3
Nhân 0 với |1-101|.
-3|011-5|+3|1-11-5|+0
Bước 3.4
Tính |011-5|.
Bước 3.4.1
Có thể tìm được định thức của một 2×2 ma trận bằng công thức |abcd|=ad-cb.
-3(0⋅-5-1⋅1)+3|1-11-5|+0
Bước 3.4.2
Rút gọn định thức.
Bước 3.4.2.1
Rút gọn mỗi số hạng.
Bước 3.4.2.1.1
Nhân 0 với -5.
-3(0-1⋅1)+3|1-11-5|+0
Bước 3.4.2.1.2
Nhân -1 với 1.
-3(0-1)+3|1-11-5|+0
-3(0-1)+3|1-11-5|+0
Bước 3.4.2.2
Trừ 1 khỏi 0.
-3⋅-1+3|1-11-5|+0
-3⋅-1+3|1-11-5|+0
-3⋅-1+3|1-11-5|+0
Bước 3.5
Tính |1-11-5|.
Bước 3.5.1
Có thể tìm được định thức của một 2×2 ma trận bằng công thức |abcd|=ad-cb.
-3⋅-1+3(1⋅-5-1⋅-1)+0
Bước 3.5.2
Rút gọn định thức.
Bước 3.5.2.1
Rút gọn mỗi số hạng.
Bước 3.5.2.1.1
Nhân -5 với 1.
-3⋅-1+3(-5-1⋅-1)+0
Bước 3.5.2.1.2
Nhân -1 với -1.
-3⋅-1+3(-5+1)+0
-3⋅-1+3(-5+1)+0
Bước 3.5.2.2
Cộng -5 và 1.
-3⋅-1+3⋅-4+0
-3⋅-1+3⋅-4+0
-3⋅-1+3⋅-4+0
Bước 3.6
Rút gọn định thức.
Bước 3.6.1
Rút gọn mỗi số hạng.
Bước 3.6.1.1
Nhân -3 với -1.
3+3⋅-4+0
Bước 3.6.1.2
Nhân 3 với -4.
3-12+0
3-12+0
Bước 3.6.2
Trừ 12 khỏi 3.
-9+0
Bước 3.6.3
Cộng -9 và 0.
-9
-9
D=-9
Bước 4
Since the determinant is not 0, the system can be solved using Cramer's Rule.
Bước 5
Bước 5.1
Replace column 1 of the coefficient matrix that corresponds to the x-coefficients of the system with [-240].
|-21-140101-5|
Bước 5.2
Find the determinant.
Bước 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.
Bước 5.2.1.1
Consider the corresponding sign chart.
|+-+-+-+-+|
Bước 5.2.1.2
The cofactor is the minor with the sign changed if the indices match a - position on the sign chart.
Bước 5.2.1.3
The minor for a11 is the determinant with row 1 and column 1 deleted.
|011-5|
Bước 5.2.1.4
Multiply element a11 by its cofactor.
-2|011-5|
Bước 5.2.1.5
The minor for a21 is the determinant with row 2 and column 1 deleted.
|1-11-5|
Bước 5.2.1.6
Multiply element a21 by its cofactor.
-4|1-11-5|
Bước 5.2.1.7
The minor for a31 is the determinant with row 3 and column 1 deleted.
|1-101|
Bước 5.2.1.8
Multiply element a31 by its cofactor.
0|1-101|
Bước 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|
Bước 5.2.2
Nhân 0 với |1-101|.
-2|011-5|-4|1-11-5|+0
Bước 5.2.3
Tính |011-5|.
Bước 5.2.3.1
Có thể tìm được định thức của một 2×2 ma trận bằng công thức |abcd|=ad-cb.
-2(0⋅-5-1⋅1)-4|1-11-5|+0
Bước 5.2.3.2
Rút gọn định thức.
Bước 5.2.3.2.1
Rút gọn mỗi số hạng.
Bước 5.2.3.2.1.1
Nhân 0 với -5.
-2(0-1⋅1)-4|1-11-5|+0
Bước 5.2.3.2.1.2
Nhân -1 với 1.
-2(0-1)-4|1-11-5|+0
-2(0-1)-4|1-11-5|+0
Bước 5.2.3.2.2
Trừ 1 khỏi 0.
-2⋅-1-4|1-11-5|+0
-2⋅-1-4|1-11-5|+0
-2⋅-1-4|1-11-5|+0
Bước 5.2.4
Tính |1-11-5|.
Bước 5.2.4.1
Có thể tìm được định thức của một 2×2 ma trận bằng công thức |abcd|=ad-cb.
-2⋅-1-4(1⋅-5-1⋅-1)+0
Bước 5.2.4.2
Rút gọn định thức.
Bước 5.2.4.2.1
Rút gọn mỗi số hạng.
Bước 5.2.4.2.1.1
Nhân -5 với 1.
-2⋅-1-4(-5-1⋅-1)+0
Bước 5.2.4.2.1.2
Nhân -1 với -1.
-2⋅-1-4(-5+1)+0
-2⋅-1-4(-5+1)+0
Bước 5.2.4.2.2
Cộng -5 và 1.
-2⋅-1-4⋅-4+0
-2⋅-1-4⋅-4+0
-2⋅-1-4⋅-4+0
Bước 5.2.5
Rút gọn định thức.
Bước 5.2.5.1
Rút gọn mỗi số hạng.
Bước 5.2.5.1.1
Nhân -2 với -1.
2-4⋅-4+0
Bước 5.2.5.1.2
Nhân -4 với -4.
2+16+0
2+16+0
Bước 5.2.5.2
Cộng 2 và 16.
18+0
Bước 5.2.5.3
Cộng 18 và 0.
18
18
Dx=18
Bước 5.3
Use the formula to solve for x.
x=DxD
Bước 5.4
Substitute -9 for D and 18 for Dx in the formula.
x=18-9
Bước 5.5
Chia 18 cho -9.
x=-2
x=-2
Bước 6
Bước 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|
Bước 6.2
Find the determinant.
Bước 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.
Bước 6.2.1.1
Consider the corresponding sign chart.
|+-+-+-+-+|
Bước 6.2.1.2
The cofactor is the minor with the sign changed if the indices match a - position on the sign chart.
Bước 6.2.1.3
The minor for a31 is the determinant with row 3 and column 1 deleted.
|-2-141|
Bước 6.2.1.4
Multiply element a31 by its cofactor.
0|-2-141|
Bước 6.2.1.5
The minor for a32 is the determinant with row 3 and column 2 deleted.
|-3-1-31|
Bước 6.2.1.6
Multiply element a32 by its cofactor.
0|-3-1-31|
Bước 6.2.1.7
The minor for a33 is the determinant with row 3 and column 3 deleted.
|-3-2-34|
Bước 6.2.1.8
Multiply element a33 by its cofactor.
-5|-3-2-34|
Bước 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|
Bước 6.2.2
Nhân 0 với |-2-141|.
0+0|-3-1-31|-5|-3-2-34|
Bước 6.2.3
Nhân 0 với |-3-1-31|.
0+0-5|-3-2-34|
Bước 6.2.4
Tính |-3-2-34|.
Bước 6.2.4.1
Có thể tìm được định thức của một 2×2 ma trận bằng công thức |abcd|=ad-cb.
0+0-5(-3⋅4-(-3⋅-2))
Bước 6.2.4.2
Rút gọn định thức.
Bước 6.2.4.2.1
Rút gọn mỗi số hạng.
Bước 6.2.4.2.1.1
Nhân -3 với 4.
0+0-5(-12-(-3⋅-2))
Bước 6.2.4.2.1.2
Nhân -(-3⋅-2).
Bước 6.2.4.2.1.2.1
Nhân -3 với -2.
0+0-5(-12-1⋅6)
Bước 6.2.4.2.1.2.2
Nhân -1 với 6.
0+0-5(-12-6)
0+0-5(-12-6)
0+0-5(-12-6)
Bước 6.2.4.2.2
Trừ 6 khỏi -12.
0+0-5⋅-18
0+0-5⋅-18
0+0-5⋅-18
Bước 6.2.5
Rút gọn định thức.
Bước 6.2.5.1
Nhân -5 với -18.
0+0+90
Bước 6.2.5.2
Cộng 0 và 0.
0+90
Bước 6.2.5.3
Cộng 0 và 90.
90
90
Dy=90
Bước 6.3
Use the formula to solve for y.
y=DyD
Bước 6.4
Substitute -9 for D and 90 for Dy in the formula.
y=90-9
Bước 6.5
Chia 90 cho -9.
y=-10
y=-10
Bước 7
Bước 7.1
Replace column 3 of the coefficient matrix that corresponds to the z-coefficients of the system with [-240].
|-31-2-304010|
Bước 7.2
Find the determinant.
Bước 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.
Bước 7.2.1.1
Consider the corresponding sign chart.
|+-+-+-+-+|
Bước 7.2.1.2
The cofactor is the minor with the sign changed if the indices match a - position on the sign chart.
Bước 7.2.1.3
The minor for a31 is the determinant with row 3 and column 1 deleted.
|1-204|
Bước 7.2.1.4
Multiply element a31 by its cofactor.
0|1-204|
Bước 7.2.1.5
The minor for a32 is the determinant with row 3 and column 2 deleted.
|-3-2-34|
Bước 7.2.1.6
Multiply element a32 by its cofactor.
-1|-3-2-34|
Bước 7.2.1.7
The minor for a33 is the determinant with row 3 and column 3 deleted.
|-31-30|
Bước 7.2.1.8
Multiply element a33 by its cofactor.
0|-31-30|
Bước 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|
Bước 7.2.2
Nhân 0 với |1-204|.
0-1|-3-2-34|+0|-31-30|
Bước 7.2.3
Nhân 0 với |-31-30|.
0-1|-3-2-34|+0
Bước 7.2.4
Tính |-3-2-34|.
Bước 7.2.4.1
Có thể tìm được định thức của một 2×2 ma trận bằng công thức |abcd|=ad-cb.
0-1(-3⋅4-(-3⋅-2))+0
Bước 7.2.4.2
Rút gọn định thức.
Bước 7.2.4.2.1
Rút gọn mỗi số hạng.
Bước 7.2.4.2.1.1
Nhân -3 với 4.
0-1(-12-(-3⋅-2))+0
Bước 7.2.4.2.1.2
Nhân -(-3⋅-2).
Bước 7.2.4.2.1.2.1
Nhân -3 với -2.
0-1(-12-1⋅6)+0
Bước 7.2.4.2.1.2.2
Nhân -1 với 6.
0-1(-12-6)+0
0-1(-12-6)+0
0-1(-12-6)+0
Bước 7.2.4.2.2
Trừ 6 khỏi -12.
0-1⋅-18+0
0-1⋅-18+0
0-1⋅-18+0
Bước 7.2.5
Rút gọn định thức.
Bước 7.2.5.1
Nhân -1 với -18.
0+18+0
Bước 7.2.5.2
Cộng 0 và 18.
18+0
Bước 7.2.5.3
Cộng 18 và 0.
18
18
Dz=18
Bước 7.3
Use the formula to solve for z.
z=DzD
Bước 7.4
Substitute -9 for D and 18 for Dz in the formula.
z=18-9
Bước 7.5
Chia 18 cho -9.
z=-2
z=-2
Bước 8
Liệt kê đáp án cho hệ phương trình.
x=-2
y=-10
z=-2