(x-2)^2-8*(|x-2|)+15=0 equation
The teacher will be very surprised to see your correct solution 😉
The solution
Detail solution
For every modulo expressions in the equation
allow cases, when this expressions ">=0" or "<0",
solve the resulting equation.
1.
$$x - 2 \geq 0$$
or
$$2 \leq x \wedge x < \infty$$
we get the equation
$$\left(x - 2\right)^{2} - 8 \left(x - 2\right) + 15 = 0$$
after simplifying we get
$$- 8 x + \left(x - 2\right)^{2} + 31 = 0$$
the solution in this interval:
$$x_{1} = 5$$
$$x_{2} = 7$$
2.
$$x - 2 < 0$$
or
$$-\infty < x \wedge x < 2$$
we get the equation
$$- 8 \cdot \left(2 - x\right) + \left(x - 2\right)^{2} + 15 = 0$$
after simplifying we get
$$8 x + \left(x - 2\right)^{2} - 1 = 0$$
the solution in this interval:
$$x_{3} = -3$$
$$x_{4} = -1$$
The final answer:
$$x_{1} = 5$$
$$x_{2} = 7$$
$$x_{3} = -3$$
$$x_{4} = -1$$
$$x_{1} = -3$$
$$x_{2} = -1$$
$$x_{3} = 5$$
$$x_{4} = 7$$
Sum and product of roots
[src]
$$\left(\left(\left(-3 + 0\right) - 1\right) + 5\right) + 7$$
$$8$$
$$1 \left(-3\right) \left(-1\right) 5 \cdot 7$$
$$105$$