There are no elementary formulas for such equations. Using the Lambert W function, the solution is $x$x = -\frac{W(-a \log b)}{\log b}$b}$$1 There are no elementary formulas for such equations. Using the Lambert W function, the solution is$x = -\frac{W(-a \log b)}{\log b}\$