My math teacher told us that 'The square root of a positive number is always positive' and then he gave this relation to us $\sqrt{x^2}=\lvert x\rvert$.
I have been previously taught that any positive number has a positive and negative square root. Eg $\sqrt{4}=\pm2 $
So what is right or wrong in this situation.