<s>[INST] Is taking square root of both parts of equation in this way is an equivalent transformation of the equation? Solve equation
$$(2x+7)^2=(2x-1)^2$$
$t=2x-1 $, so equation becomes $$ (t+8)^2 = t^2  $$
Now let's make a "prohibited" - take a square root from both parts (minding that $\sqrt{x^2} = \lvert x\rvert$), so we get a union of solutions of two equations
$$
t+8 = t \\ 
t+8 = - t
$$
$-(t+8) = t, -(t+8) = -t $ are same as the 2 equations above, so no need to solve them separately.
The first equation is a contradiction ( 0 = 8) so it has no solutions.
The second equation give $t = -4 \Rightarrow 2x-1 = -4 \Rightarrow x = -3/2$ and this is the only solution of the original quadratic equation, and it need not to be checked (substituted into original equation) because all transformations all along the way were equivalent. 
May I go ahead and take square roots in that manner at my exams, is it OK?
 [/INST] Yes, when the square root is taken from both sides, the equation results in two equivalent equations.
In fact, that is how the quadratic formula is obtained:
$$ax^2+bx+c=0 \iff \\
x^2+\frac bax+\frac ca=0\iff \\
\left(x+\frac{b}{2a}\right)^2-\frac{b^2}{4a^2}+\frac ca=0 \iff \\
\left(x+\frac b{2a}\right)^2=\frac{b^2-4ac}{4a^2} \iff \\
x+\frac b{2a}= \frac{\pm\sqrt{b^2-4ac}}{2a} \iff \\
x=\frac{-b\pm \sqrt{b^2-4ac}}{2a}.$$
</s>