I want to understand how these equations have been solved:
Here's the first equation:
$$\log^2(x) + \frac{1}{2}\log(x^2)-2 = 0$$
$$= \log^2(x)+\log(x)-2=0 \text{ (What is this rule called here?)}$$ $$\Rightarrow u \equiv \log(x): u^2 + u-2 = 0 \text{ (Substitution)}$$ $$\Rightarrow u^2 + u - 2 = (u+2)(u-1) \Rightarrow u_1 = -2, u_2 = 1 $$ $$x_1 =e^{-2}, x_2=e^1 \text{ (How do we know that we have to use e here?)}$$
Here's the second equation:
$$\log_2(x)+\log_2(x+2)-2 = 0$$ $$=\log_2(x^2+2x)-2= 0 \text{ (Can we just multiply it even though it is a sum? } x \cdot (x+2))$$ $$\Leftrightarrow \log_2(x^2+2x) = 2$$ $$\Leftrightarrow x^2 +2x = 2^2 = 4 \text{ }$$ $$\Rightarrow x_{1,2} = \frac{1}{2} \big(-2 \pm \sqrt{4-4\cdot(-8)}\big) = -1 \pm \sqrt{1+8}$$ $$\Rightarrow x_1=2, x_2 = -4$$