$||x-1|-|x+2||=p$ find p for which the equation has one solution

149 Views Asked by At

Consider the equation $||x-1|-|x+2||=p$

Find the value of $p$ for which the above equation has one solution.

2

There are 2 best solutions below

0
On BEST ANSWER

Hint:

Notice the range of $||x-1|-|x+2||=[0,3]$, so $p\in [0,3]$

for $x\leqslant-2$ or $x \geqslant1$ , $p=3$

if $p\neq0$, there are $2$ distinct solutions for $x$ (why?)

so $p=0$

Edit:

The graph of $||x-1|-|x+2||$ enter image description here

0
On

You need $|x-1|=|x+2|$ and you need that this has only one solution, which is the case for $x=-0.5$. So $p=0$is indeed the answer.