If $|x^2-x-5|+(3x+6)=0$, then how many values of $x$ exist?
What I did: when $x^2-x-5\geq0$ $x^2-x-5=-(3x+6)$ On solving I got $x=-1$. Then I took intersection of $x=-1$ and domain that is zero. On intersection there was no such value of $x$.
When $x^2-x-5<0$, on solving I got my answer in root. Now, I don't know what to do next and I don't know if I am doing it in a right way.
Please guys let me know if my way of solving it is right.
Observe that when we have $|a|=b$, then $b \geq 0$. You are given
$$|x^2-x-5|=-(3x+6).$$
So here if there is a solution then it can only occur when $3x+6 \leq 0$, same as saying $x \leq -2$.
Now for your second case, when $x^2-x-5 < 0$, the quadratic you get is $x^2-4x-11=0$, it has two roots $x=2 \pm \sqrt{15}$. None of the roots satisfy the condition $x \leq -2$, hence NO solution.
Graphically things are as shown below.