How to compute $x$ from
$$q x^p = 1 - x$$
where $x$ and $q$ are positive, while $p$ is a real number?
When $p > 0$: it's two monotonic functions, one increasing and one decreasing, and having opposite relations on the ends - single solution. When $p \le 0$: second derivative is positive - up to two solutions.
And, since this equation is not even algebraic, I'm almost sure that $x$ may only be found, at best, as a power series, but not expressed finitely through elementary functions. If so, then what is the series? (Sure binary search may be employed, but a more elegant method is preferable.)
Alternatively, how to compute $x$ and $y$ from
$$a \log|x| + b \log|y| = c$$
$$x + y = 1$$
where $\log x, \log y$, $a, b$, and $c$ are real?
Sure I could expand the logarithms into the series and perform something weird with the coefficients, but isn't there an easier and cheaper (and well-known) way? Since the problem may be so easily formulated, someone probably already solved it, but I couldn't find anything related.