Đáp án:
`x^2-3x-4=0`
`<=>x^2-2*x*3/2+9/4-4-9/4=0`
`<=>(x-3/2)^2-25/4=0`
`<=>(x-3/2-5/2)(x-3/2+5/2)=0`
`<=>(x-4)(x+1)=0`
`<=>` \(\left[ \begin{array}{l}x=4=0\\x+1=0\end{array} \right.\)
`<=>` \(\left[ \begin{array}{l}x=4\\x=-1\end{array} \right.\)
Vậy phương trình `x^2-3x-4=0` có tập nghiệm là `S={-1,4}.`