A certain physics problem I have been working on has turned into a math problem. Particularly, I want to find the solutions of some equation of the form
$$f(x)=ae^{bx}+cx+d = 0$$
where $a, b, c,$ and $d$ are constant, real numbers that come from the physics problem and $x$ will be a real number. I do not know how to find the solutions of an equation of this form. In the special case where $c=0$, the solution is simply
$$x = \frac{\ln(\frac{-d}{a})}{b}$$
but for other values of $c$, I am stumped. If there is no exact form for the roots, is there a relatively simple way to estimate the roots?
$$ae^{bx}=-(cx+d)$$ Let : $y=-(cx+d)$ hense $x=-\frac{1}{c}(y+d)$ $$ae^{-\frac{b}{c}(y+d)}=y$$ $$ae^{-\frac{bd}{c}}=ye^{\frac{b}{c}y}$$ $$\frac{ab}{c}e^{-\frac{bd}{c}}=\frac{b}{c}ye^{\frac{b}{c}y}$$ Let $X=\frac{b}{c}y$ $$Xe^X=\frac{ab}{c}e^{-\frac{bd}{c}}$$ With the Lambert W function : $$X=W\left(\frac{ab}{c}e^{-\frac{bd}{c}}\right)$$ $x=-\frac{1}{c}(y+d)=-\frac{1}{c}\left(\frac{c}{b}X+d\right)=-\frac{1}{b}X-\frac{d}{c}$ $$x=-\frac{1}{b}W\left(\frac{ab}{c}e^{-\frac{bd}{c}}\right)-\frac{d}{c}$$