I'm reading for my matriculation exams and I now face a really odd problem. It all comes down to me overthinking about/doubting my equation solving , so I would like some clarification on second degree equations, since it's so long from when these ideas were introduced to me.
Say there's:
$$x^2 = a$$
What is the process via which all my books come to the conclusion that $x=±\sqrt{a}$ ?
or say for example $0<y<3$ and $$3 \cos^2(x) = y$$
I sort of "know" that you get $\cos(x) = \pm\sqrt{\frac{y}{3}}$.
But how does one arrive at that conclusion? All my math books' examples just "automatically" remove the exponent $2$ and add $\pm$, and so did I until now when I really started to think about it...
Searching the Internet I've only found an explanation that you square root both sides, and that removes the exponent leaving just $x$ or $\cos(x)$ respectively (shouldn't it be $|x|$ and $|\cos(x)|$?), and meanwhile the other side gets $\pm$ because apparently when you take the square root it can be the positive or the negative root (but didn't we take the positive root of both sides??).
Meanwhile my math book just straight up says that the solution of an equation of the form $x^2 = a$ is $x = \pm\sqrt{a}$ and leaves it at that. Am I correct to assume that this "property" is true whatever $x$ and $a > 0$ may be? (for example $x = y^2 + 3$ and $a = \ln(z)$ would yield $y^2 + 3 = \pm\sqrt{(\ln(z)}$)
So in case my question wasn't clear, how does one remove the exponent in these kind of equations. Do you square root both sides, or are you just supposed to "see" what the expression being squared equals to?
I know the question may seem trivial but it's annoying me to no end (I tend to not just "accept" the rules given, I usually want to see how they're derived)