8.解下列方程组
(1)$\left\{\begin{array}{l}y=x-1\;\;\;\;①\\ 2x+y=5\;\;②\end{array}\right.$
(2)$\left\{\begin{array}{l}2x-3y=12\;\;\;①\\ x+3y=6\;\;\;\;\;\;②\end{array}\right.$.
分析 (1)代入法求解可得;
(2)加减法求解可得.
解答 解:(1)将①代入②得:2x+x-1=5,
解得:x=2,
将x=2代入①得:y=1,
∴方程组的解为$\left\{\begin{array}{l}{x=2}\\{y=1}\end{array}\right.$;
(2)①-②×2,得:-9y=0,
解得y=0,
将y=0代入②得:x=6,
∴方程组的解为$\left\{\begin{array}{l}{x=6}\\{y=0}\end{array}\right.$.
点评 本题主要考查二元一次方程组的解法,熟练掌握代入消元法和加减消元法求解是解题的关键.