Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Assume we have a simple equation

  • $a^x = y, \quad a, x \in \mathbb{R}, \; a \neq 0$

from where $x$ needs to be evaluated. If we set a restriction $a > 0$, there is a simple logarithm expression available

  • $x = \log_a y = \frac{\log y}{\log a}$.

Still I'm not sure how to deal with cases such as $(-2)^x=-8$.
Eventually, I would like to solve $\theta$ from

  • $a^{\theta} \exp (-\theta \sum\limits_{k=1}^{N} f(k)) = c \qquad a,c \neq 0, \; N \in \mathbb{N}^{+}$

Any help would be highly appreciated.

share|cite|improve this question
If $a < 0$ and $y < 0$, then $x$ is restricted to odd positive integers. – rgettman Jun 25 '13 at 20:21
up vote 0 down vote accepted

If $a,y \lt 0$ in $\Bbb R$ we are restricted to $x$ being an odd integer and we can use $x=\frac {\log(-y)}{\log(-a)}$. If $a \lt 0, y \gt 0$ we are restricted to $x$ being an even integer and can use $x=\frac {\log(y)}{\log(-a)}$

share|cite|improve this answer
Thank you for your help. So basically the analysis will be divided into several conditions. – Tim Jun 25 '13 at 20:43
@Tim: basically you need the argument of $\log$ to be positive. – Ross Millikan Jun 25 '13 at 20:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.