1st problem: $(\sqrt{-4})^2$
1st method: $(\sqrt{-4})^2=(2i)^2=-4$
2nd method: $(\sqrt{-4})^2=-4$ (square and square root remove each other)
Different methods were used to complete the same problem and the results match as they should.
2nd problem: $\sqrt{(-4)^2}$
1st method: $\sqrt{(-4)^2} = -4$ (again square and square root remove each other)
2nd method: $\sqrt{(-4)^2} = \sqrt16 = 4$ (now we start with the square)
Here completing the same problem with different methods gives different results. This doesn't make sense. I must be missing something or doing something wrong. What is it?
In workings A and D, you have interpreted $\sqrt x$ to mean “the square root of $x$ with the smallest nonnegative argument”, so $\sqrt{-4}$ here means $2i$ rather than $-2i$ and $\sqrt{16}$ here means $4$ rather than $-4.\quad$ (This interpretation is defensible; however, when working with complex numbers, it is best to avoid using the radical symbol or to explicitly and carefully define it in the preface of your text.)
In working B, you have interpreted $\sqrt x$ to mean “both square roots of $x$”, so $\sqrt{-4}$ here means $\pm2i.\quad$ (This is a nonstandard usage of the radical symbol, but again, if you must interpret it this way, please explicitly specify this usage in the preface of your text.)
In working C, you have used false identity $\sqrt {x^2}\equiv x,$ a common mistake: note that, instead, $$\sqrt {x^2}=|x|,$$ so, actually, $\sqrt {(-7)^2}=7\ne-7.$