I've stumbled upon the equation $$f(x) := a x e^{2x} + b x e^x - c = 0$$ where $a,c > 0$ while doing my research. I'm only interested in the positive solution, i.e. $x>0$. It is easy to show a unique positive solution exists since $f(0)=-c < 0$ and if $f(x_0) > 0$ then $f(x)>0, \forall x\geq x_0$ (obviously such $x_0$ exists). This shows the existence of the unique positive solution because of continuity.
I'm interested in the analytical expression of the solution (if such an expression exists). I tried to put this equation in one of the forms in https://arxiv.org/pdf/1902.08910.pdf without any luck.
Is there any known solution to this kind of equation or am I stuck with numerical solutions?
Since $a>0$, WLOG we can fix it as $a=1$ and
consider zeros of the function with two parameters instead of three, \begin{align} f(x) &= x \exp(2x) + \alpha x \exp(x) - \beta = 0 \tag{1} \end{align}
where $\alpha=\tfrac{b}{a}$, $\beta=\tfrac{c}{a}$.
Unfortunately, I don't think there is a closed form solution for (1), but the numeric can be just fine. As a heuristic for initial guess of the positive root of (1) the root $x_0$ of a closely related equation
\begin{align} f_2(x) &= x^2 \exp(2x) + \alpha x \exp(x) - \beta = 0 , \tag{2} \end{align}
which has a positive root, \begin{align} x_0&= \operatorname{W}\Big(-\tfrac12\,\alpha+\tfrac12\,\sqrt{\alpha^2+4\beta}\Big) , \end{align} can be used.
Here is an example
pythoncode, which uses Halley's method to iteratively find the approximation of the root of (1) for $\alpha=1.2$, $\beta=1.6$, which is approximately $x\approx 0.39903258116278510968$:And this is a contour plot of solutions of (1) for $\alpha\in[-3,3]$, $\beta\in[0,6]$, $x=0.1,\dots,1.2$: