Answer with explanation:
The given function is
f(x)= | x² -x-2|
x²-x-2
=x²-2 x + x -2
= x (x -2)+1(x-2)
= (x+1)(x-2)
Modulus of any polynomial function will always yield positive value.
All the points lying on x axis, above x axis which is in between the parabola and on and inside the parabola are solution of the given equation.