I want to solve a polynomial equation but I know that it can have exactly one root. Is there some method to solve these kinds of problems.
for example- $$A(1+x)^4 + B(1+x)^3 +C(1+x)^2 + D(1+x) +E=0$$
Here $A$ is always negative, and $B,C,D,E$ are always positive.
Let $ f(x)=A(1+x)^4 + B(1+x)^3 +C(1+x)^2 + D(1+x) +E=0$
Since $A$ is negative, $f(-\infty) = f(\infty)=-\infty$ and if this polynomial has just one root that should be a double root. Therefore you can take $gcd(f(x),f'(x))$.