Given that the solution set of inequation
$$ax ^ 2-bx-1>0$$ is $-1/2<x<-1/3$, I want to calculate the solution set of inequation
$$x ^ 2-bx-a\geq 0.$$
I have used the following code, but is there a faster and better way to solve this problem?
Clear["Global`*"]
sol = First@Solve[{-1/2 - 1/3 == b/a, 1/6 == -1/a}, {a, b}]
(* {a -> -6, b -> 5} *)
Reduce[x^2 - b x - a >= 0, x] /. sol
(* x ∈ Reals && (x <= 2 || x >= 3) *)
{-1/2 - 1/3 == b/a, 1/6 == -1/a}
? $\endgroup$