1

I need to solve an equation of the type, $axe^{qx} + be^{rx} + cx + d = 0$

I tried but couldn't solve it.

Does anyone have an idea how to solve this(for x)?

Thanks

1 Answers1

2

The equation as stated does not admit a symbolic (closed-form) solution. The following variations of it can be solved analytically:

$$ \begin{equation} \begin{split} axe^{qx}+cx & = 0 \quad \text{(Solution: } \frac{1}{q}\log(-\frac{c}{a}) \text{)} \\ axe^{qx}+d & = 0 \quad \text{(Solution: } \frac{1}{q}W(-\frac{dq}{a}) \text{, where W is the Lambert W function)} \\ \end{split} \end{equation} $$

More general forms such as the one you provided are out of reach from an analytical standpoint, but may easily be tackled numerically with any variation of Newton's method, especially since the derivatives can be computed analytically and therefore rapidly evaluated to high precision. Additionally, the optimization function is convex for many parameter choices, so you can expect rapid convergence to a zero without problems.

  • So, simply it is not possible to have a general solution for this using any method? – Manuri Perera Dec 23 '14 at 05:57
  • @TavionPotter: Not an analytical solution, no. But any sufficiently advanced numerical method will converge to at least one solution (though not necessarily all of them). –  Dec 23 '14 at 06:00
  • Could you recommend any such method? Sorry I am not very familiar with numerical methods. – Manuri Perera Dec 23 '14 at 06:02
  • If you're unfamiliar with numerical equation solving, you'll be best served with the built-in solvers of any computer algebra system (MATLAB, Octave, Mathematica, ...). These systems will apply sophisticated meta-algorithms that are pretty much guaranteed to find not just one but even multiple (all?) solutions. –  Dec 23 '14 at 06:07
  • Will it be possible to get a solution from them without having specific values for a,b,c.. ? – Manuri Perera Dec 23 '14 at 06:10
  • No. Numerical methods require numbers, they cannot work with symbols. You might be able to get an analytical solution when specifying only some of the parameters, though. –  Dec 23 '14 at 06:13
  • Yeah that is the problem. I'll see what I can do. Thank you for the help. – Manuri Perera Dec 23 '14 at 06:18