Áp dụng hệ thức vi-ét:
\(\left\{{}\begin{matrix}x_1+x_2=4\\x_1.x_2=m-1\end{matrix}\right.\)
Ta có:
\(x_1^2+x^2_2=30\)
\(\Leftrightarrow\left(x_1+x_2\right)^2-2x_1.x_2=30\)
\(\Leftrightarrow4^2-2\left(m-1\right)=30\)
\(\Leftrightarrow2m-2=-14\)
\(\Leftrightarrow m=-6\)