\(\left\{{}\begin{matrix}kx+y=1\\-x+y=1\end{matrix}\right.\) ⇔\(\left\{{}\begin{matrix}kx+y=1\\y=x+1\end{matrix}\right.\)
⇔\(\left\{{}\begin{matrix}kx+x+1=1\\y=x+1\end{matrix}\right.\)
⇔\(\left\{{}\begin{matrix}\left(k+1\right)x=0\\y=x+1\end{matrix}\right.\)
Để HPT có nghiệm duy nhất thì k+1≠0⇔k≠-1
Vậy.........