[tex]\it x^2 +1=5 \Rightarrow x^2=5-1 \Rightarrow x^2=4 \Rightarrow \sqrt{x^2}=\sqrt4 \Rightarrow |x|=2 \Rightarrow x=\pm2[/tex]