a) \(x^2+3x-4=0\)
\(\Leftrightarrow\left(x-1\right)\left(x+4\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x-1=0\\x+4=0\end{matrix}\right.\)\(\Leftrightarrow\left[{}\begin{matrix}x=1\\x=-4\end{matrix}\right.\)
b) \(x^2-2x-1=0\Leftrightarrow\left(x-1\right)^2=2\)
\(\Leftrightarrow\left[{}\begin{matrix}x-1=\sqrt{2}\\x-1=-\sqrt{2}\end{matrix}\right.\)\(\Leftrightarrow\left[{}\begin{matrix}x=1+\sqrt{2}\\x=1-\sqrt{2}\end{matrix}\right.\)
a: Ta có: \(x^2+3x-4=0\)
\(\Leftrightarrow\left(x+4\right)\left(x-1\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=-4\\x=1\end{matrix}\right.\)
b: Ta có: \(x^2-2x-1=0\)
\(\text{Δ}=\left(-2\right)^2-4\cdot1\cdot\left(-1\right)=8\)
Vì Δ>0 nên phương trình có hai nghiệm phân biệt là:
\(\left\{{}\begin{matrix}x_1=\dfrac{2-2\sqrt{2}}{2}=1-\sqrt{2}\\x_2=\dfrac{2+2\sqrt{2}}{2}=1+\sqrt{2}\end{matrix}\right.\)