để hệ phương trình có nghiệm là \(\left(x;y\right)=\left(1;-4\right)\)
\(\Leftrightarrow\left\{{}\begin{matrix}a-4b=17\\3b-4a=-29\end{matrix}\right.\)\(\Leftrightarrow\left\{{}\begin{matrix}a=4b+17\\3b-4\left(4b+17\right)=-29\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}a=4b+17\\3b-16b-68=-29\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}a=4b+17\\-13b=39\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}b=-3\\a=4.\left(-3\right)+17\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}b=-3\\a=5\end{matrix}\right.\)
vậy \(a=5;b=-3\)