\(x^2+6x-7=0\\ \Leftrightarrow x^2-x+7x-7=0\\ \Leftrightarrow x\left(x-1\right)+7\left(x-1\right)=0\\ \Leftrightarrow\left(x-1\right)\left(x+7\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}x-1=0\\x+7=0\end{matrix}\right.\\ \Leftrightarrow\left[{}\begin{matrix}x=1\\x=-7\end{matrix}\right.\)
Vậy \(S=\left\{1;-7\right\}\)
\(x^2+6x-7=0\\ \Leftrightarrow x^2+7x-x-7=0\\ \Leftrightarrow\left(x^2+7x\right)-\left(x+7\right)=0\\ \Leftrightarrow x\left(x+7\right)-\left(x+7\right)=0\\ \Leftrightarrow\left(x+7\right)\left(x-1\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}x+7=0\\x-1=0\end{matrix}\right.\\ \Leftrightarrow\left[{}\begin{matrix}x=-7\\x=1\end{matrix}\right.\)
\(x^2+6x-7=0\)
\(\Leftrightarrow\left(x-1\right)\left(x+7\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=1\\x=-7\end{matrix}\right.\)
Vậy \(S=\left\{1;-7\right\}\)