(|3*x-9|)-(|x+2|)=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 + 2 \geq 0$$
$$3 x - 9 \geq 0$$
or
$$3 \leq x \wedge x < \infty$$
we get the equation
$$- (x + 2) + \left(3 x - 9\right) - 7 = 0$$
after simplifying we get
$$2 x - 18 = 0$$
the solution in this interval:
$$x_{1} = 9$$
2.
$$x + 2 \geq 0$$
$$3 x - 9 < 0$$
or
$$-2 \leq x \wedge x < 3$$
we get the equation
$$\left(9 - 3 x\right) - \left(x + 2\right) - 7 = 0$$
after simplifying we get
$$- 4 x = 0$$
the solution in this interval:
$$x_{2} = 0$$
3.
$$x + 2 < 0$$
$$3 x - 9 \geq 0$$
The inequality system has no solutions, see the next condition
4.
$$x + 2 < 0$$
$$3 x - 9 < 0$$
or
$$-\infty < x \wedge x < -2$$
we get the equation
$$\left(9 - 3 x\right) - \left(- x - 2\right) - 7 = 0$$
after simplifying we get
$$4 - 2 x = 0$$
the solution in this interval:
$$x_{3} = 2$$
but x3 not in the inequality interval
The final answer:
$$x_{1} = 9$$
$$x_{2} = 0$$
$$x_{1} = 0$$
$$x_{2} = 9$$
Sum and product of roots
[src]
$$9$$
$$9$$
$$0 \cdot 9$$
$$0$$