写出三元一次过程及解:x+y+z=2 x-2y+z=-1 x+2y+3z=-1写出验算
问题描述:
写出三元一次过程及解:x+y+z=2 x-2y+z=-1 x+2y+3z=-1
写出验算
答
①*2得2x+2y+2z=4④ ④+②得3x+3z=3 x+z=1 ⑤ ①-⑤得y=1
y=1代入③得x+3z=-3六 ⑥-⑤得2z=-4 z=-2 z=-2代入⑤得x=3
{x=3
y=1
z=-2
答
x+y+z=2 ①
x-2y+z=-1 ②
x+2y+3z=-1 ③
①-②,得3y=3,解得y=1
代入①和②,得
x+z=1④
x+3z=-3⑤
⑤-④,得2z=-4,解得z=-2
代入④,解得x=3
答
x+y+z=2 (1)
x-2y+z=-1 (2)
x+2y+3z=-1 (3)
(1)-(2)
3y=3
y=1
(3)-(1)
y-2z=-3
z=(y+3)/2=2
x=2-y-z=-1
所以x=-1,y=1,z=2