Is it possible to solve this equation?
\begin{align} a &= b^x + x \\ a-x &= b^x \\ \log_b(a-x) &= x \end{align}
If $a$ and $b$ are known, how do you find $x$?
Is it possible to solve this equation?
\begin{align} a &= b^x + x \\ a-x &= b^x \\ \log_b(a-x) &= x \end{align}
If $a$ and $b$ are known, how do you find $x$?
As noted in the comments, since the function is monotonically increasing, there is only one real solution. To find the solution for say $10-2^x-x=0$, you can use Newton's method to iterate: $$x_{n+1} = x_n-\frac{10 - 2^x - x}{2^x\ln 2-1}$$ Alternatively, you could use the Lambert $W$ function to write the solution as: $$x = 10 -\frac{W(2^{10} \ln(2))}{\ln(2)}$$ To get to this, use the definition: $$x = W(x)\exp(W(x))$$ And define $y= 10-x$, and use $W(y)$.