|x+1|=3 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 + 1 \geq 0$$
or
$$-1 \leq x \wedge x < \infty$$
we get the equation
$$\left(x + 1\right) - 3 = 0$$
after simplifying we get
$$x - 2 = 0$$
the solution in this interval:
$$x_{1} = 2$$
2.
$$x + 1 < 0$$
or
$$-\infty < x \wedge x < -1$$
we get the equation
$$\left(- x - 1\right) - 3 = 0$$
after simplifying we get
$$- x - 4 = 0$$
the solution in this interval:
$$x_{2} = -4$$
The final answer:
$$x_{1} = 2$$
$$x_{2} = -4$$
$$x_{1} = -4$$
$$x_{2} = 2$$
Sum and product of roots
[src]
$$-4 + 2$$
$$-2$$
$$- 8$$
$$-8$$