用克莱姆法则解线性方程组 x1+x2-2x3=-3 5x1-2x2+7x3=22 2x1-5x2+4x3=4x1+x2-2x3=-35x1-2x2+7x3=222x1-5x2+4x3=4

问题描述:

用克莱姆法则解线性方程组 x1+x2-2x3=-3 5x1-2x2+7x3=22 2x1-5x2+4x3=4
x1+x2-2x3=-3
5x1-2x2+7x3=22
2x1-5x2+4x3=4

D=
1 1 -2
5 -2 7
2 -5 4
=63 ( 行列式的计算用对角线法则即可 )
D1=
-3 1 -2
22 -2 7
4 -5 4
=63
D2=
1 -3 -2
5 22 7
2 4 4
=126
D3=
1 1 -3
5 -2 22
2 -5 4
=189
所以 x1=D1/D=1,x2=D2/D=2,x3=D3/D=3.