Để hệ pt có nghiệm duy nhât \(\dfrac{a+1}{1}\ne\dfrac{-1}{a-1}\Leftrightarrow a^2-1\ne-1\Leftrightarrow a^2\ne0\Leftrightarrow a\ne0\)
\(\left\{{}\begin{matrix}\left(a^2-1\right)x-\left(a-1\right)y=a^2-1\\x+\left(a-1\right)y=2\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}a^2x=a^2+1\\y=\dfrac{2-x}{a-1}\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=\dfrac{a^2+1}{a^2}\\y=\dfrac{2-\dfrac{a^2+1}{a^2}}{a-1}=\dfrac{\dfrac{a^2-1}{a^2}}{a-1}=\dfrac{\left(a^2-1\right)\left(a-1\right)}{a^2}\end{matrix}\right.\)
Ta có \(\dfrac{a^2+1}{a^2}-\dfrac{\left(a^2-1\right)\left(a-1\right)}{a^2}=0\)
\(\Leftrightarrow a^2+1-a^3+a^2+a-1=0\)
\(\Leftrightarrow-a^3+2a^2+a=0\Leftrightarrow a^2-2a-1=0\)
\(\Leftrightarrow\left(a-1\right)^2-2=0\Leftrightarrow\left(a-1-\sqrt{2}\right)\left(a-1+\sqrt{2}\right)=0\Leftrightarrow a=1\pm\sqrt{2}\)