Today at a math lecture, I solved the equation $|x+1|+|x-1|+|x|=4$ by using elementary arithmetic.
But my professor did it a little bit differently:
I didn`t pay attention to the teacher's method,because I thought that I could understand it, but no, I couldn't.
I do not understand what does pluses and minuses mean.
Might someone enlighten me?
$$|x+1|+|x-1|+|x|=4$$ then $x+1=0\Rightarrow x=-11$ for $x>-1$ you have $x-1>0$ so $|x+1|=x+1$ and for $x\leq -1$ $|x+1|=-(x+1)$
Using $$|x+1|+|x-1|+|x| = \left\{\begin{matrix} - (x+1)-(x-1)-x&\;, x\leq -1 \\\\ x+1-(x-1)-x & \;, -1<x \leq 0\\\\ x+1-(x-1)+x& , 0<x \leq 1\\\\ x+1+(x-1)+x& , x>1 \end{matrix}\right.$$
$\bullet\; $ If $x\leq -1\;,$ Then equation convert into $- (x+1)-(x-1)-x=-3x=4\Rightarrow x=\frac{-4}{3}\;\; \text{(true)}$
$\bullet\; $ If $-1<x \leq 0\;,$ Then equation convert into $x+1-(x-1)-x=4\Rightarrow \displaystyle x={2}\;\; \text{(False)}$
$\bullet\; $ If $x\geq 1\;,$ Then equation convert into $x+1+(x-1)+x=4\Rightarrow x=\frac{4}{3}\;\; \text{(True)}$