For which $a$ does $\lvert x+1\rvert+\lvert 2-x\rvert=a^2 -1$ have exactly two solutions?

118 Views Asked by At

If it is not a problem, I would really appreciate if someone could explain to me how to solve and graph the following equation:

For which real numbers $a$ does the equation

$$\lvert x+1\rvert +\lvert 2-x\rvert=a^2 -1$$

Have exactly two solutions?

3

There are 3 best solutions below

3
On

$a^2-1$ must be greater than 3.

Why? You can see this very quickly, without doing any ugly algebra or casework, if you understand the geometry of absolute value.

Hint: $|x-c|$ represents the distance of $x$ from $c$ on the number line. So your equation says

$$(\text{the distance of $x$ from $-1$})+(\text{the distance of $x$ from $2$})=a^2-1$$

Now draw a picture on a number line, and think about what the sum of the distances from $-1$ and $2$ must equal in order to give you exactly two solutions. (Subhint: the sum of those distances must be at least three. How many solutions are there for $x$ when the sum is exactly three? When the sum is more than three? Use your picture.)

0
On

First we plot the terms in the L.H.S. Drawing the first term by blue and the second by orange, we have $$$$enter image description here$$$$now by adding these two functions point by point, we obtain the following figure:$$$$enter image description here$$$$ From the figure above, it is obvious that if we want to have two distinct roots, then the R.H.S. of the equation should be strictly greater than 3, so that $$\begin{array}{l}a > 2\\{\rm{or}}\\a < - 2\end{array}$$

0
On

This solution does not use graph or distance between points. We have $4$ cases to look at:

Case 1:

If $x < -1$, then $x+1 < 0$, and $2-x > 0$, so $LHS = -x-1 + 2-x = 1 - 2x = a^2 - 1 \to x = \dfrac{2-a^2}{2}$. This means the equation either has only one solution, or no solution depending on $a$. In particular it has one solution only if $\dfrac{2-a^2}{2} < -1$ or $a<-2$ or $a>2$

Case 2:

If $-1 < x < 2$, then $x+1 > 0$, and $2-x > 0$, so $LHS = x+1 + 2-x = 3 = a^2 - 1 \to a = \pm 2$, and the equation has infinitely many solutions on this interval $(-1,2)$ or it has no solution depending on $a$.

Case 3:

If $x > 2$, then $x+1 > 0$, and $2-x < 0$, so $LHS = x+1+x-2 = 2x-1 = a^2- 1 \to x = \dfrac{a^2}{2}$ which is one solution or no solution depending on $a$. In particular it has one solution only when $\dfrac{a^2}{2} > 2$, so $a<-2$ or $a > 2$

Case 4: If $x = -1$ or $x = 2$, then $LHS = 3 = a^2 - 1 \to a = \pm 2$. This takes us back to case 2 which gives additional solutions.

Observe that if $a < -2$ or $a > 2$, then we have one solution $x < -1$, and another solution $x > 2$. So in total there are $2$ solutions. For other values of $a$, we have either one or no solution or more than two solutions. Thus the answer is : $a < -2$ or $a > 2$.