方法一:
整理为:2x-y=8-4z ①
x-2y=7+z ②
①×2-②得3x=9-9z
x=3-3z
①-②×2得3y=-6-6z
y=-2-2z
∴x-y+z=3-3z+2+2z+z=5
方法二:
2x-y+4z=8 ①
x-2y-z=7 ②
①+②得3x-3y+3z=15
∴ x-y+z=5
方法一:
整理为:2x-y=8-4z ①
x-2y=7+z ②
①×2-②得3x=9-9z
x=3-3z
①-②×2得3y=-6-6z
y=-2-2z
∴x-y+z=3-3z+2+2z+z=5
方法二:
2x-y+4z=8 ①
x-2y-z=7 ②
①+②得3x-3y+3z=15
∴ x-y+z=5