|x^2-1|-|x-3|=7 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 - 3 \geq 0$$
$$x^{2} - 1 \geq 0$$
or
$$3 \leq x \wedge x < \infty$$
we get the equation
$$- (x - 3) + \left(x^{2} - 1\right) - 7 = 0$$
after simplifying we get
$$x^{2} - x - 5 = 0$$
the solution in this interval:
$$x_{1} = \frac{1}{2} - \frac{\sqrt{21}}{2}$$
but x1 not in the inequality interval
$$x_{2} = \frac{1}{2} + \frac{\sqrt{21}}{2}$$
but x2 not in the inequality interval
2.
$$x - 3 \geq 0$$
$$x^{2} - 1 < 0$$
The inequality system has no solutions, see the next condition
3.
$$x - 3 < 0$$
$$x^{2} - 1 \geq 0$$
or
$$\left(1 \leq x \wedge x < 3\right) \vee \left(x \leq -1 \wedge -\infty < x\right)$$
we get the equation
$$- (3 - x) + \left(x^{2} - 1\right) - 7 = 0$$
after simplifying we get
$$x^{2} + x - 11 = 0$$
the solution in this interval:
$$x_{3} = - \frac{1}{2} + \frac{3 \sqrt{5}}{2}$$
$$x_{4} = - \frac{3 \sqrt{5}}{2} - \frac{1}{2}$$
4.
$$x - 3 < 0$$
$$x^{2} - 1 < 0$$
or
$$-1 < x \wedge x < 1$$
we get the equation
$$\left(1 - x^{2}\right) - \left(3 - x\right) - 7 = 0$$
after simplifying we get
$$- x^{2} + x - 9 = 0$$
the solution in this interval:
$$x_{5} = \frac{1}{2} - \frac{\sqrt{35} i}{2}$$
but x5 not in the inequality interval
$$x_{6} = \frac{1}{2} + \frac{\sqrt{35} i}{2}$$
but x6 not in the inequality interval
The final answer:
$$x_{1} = - \frac{1}{2} + \frac{3 \sqrt{5}}{2}$$
$$x_{2} = - \frac{3 \sqrt{5}}{2} - \frac{1}{2}$$
___
1 3*\/ 5
x1 = - - + -------
2 2
$$x_{1} = - \frac{1}{2} + \frac{3 \sqrt{5}}{2}$$
___
1 3*\/ 5
x2 = - - - -------
2 2
$$x_{2} = - \frac{3 \sqrt{5}}{2} - \frac{1}{2}$$
Sum and product of roots
[src]
___ ___
1 3*\/ 5 1 3*\/ 5
- - + ------- + - - - -------
2 2 2 2
$$\left(- \frac{3 \sqrt{5}}{2} - \frac{1}{2}\right) + \left(- \frac{1}{2} + \frac{3 \sqrt{5}}{2}\right)$$
$$-1$$
/ ___\ / ___\
| 1 3*\/ 5 | | 1 3*\/ 5 |
|- - + -------|*|- - - -------|
\ 2 2 / \ 2 2 /
$$\left(- \frac{1}{2} + \frac{3 \sqrt{5}}{2}\right) \left(- \frac{3 \sqrt{5}}{2} - \frac{1}{2}\right)$$
$$-11$$