B1:
\(x^n\left(x+1\right)-x^n-x^{n-1}=0\)
\(\Rightarrow x^{n-1}\left(x^2+x\right)-x^{n-1}.x-x^{n-1}=0\)
\(\Rightarrow x^{n-1}\left(x^2+x-x-1\right)=0\)
\(\Rightarrow x^{n-1}\left(x^2-1\right)=0\)
\(\Rightarrow\left[{}\begin{matrix}x^{n-1}=0\\x^2-1=0\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}x=0\\x=1\\x=-1\end{matrix}\right.\)