0

What methods/techniques are available to solve for x in the following type of situation:

$$ \log(b ^x+a)=\log( c ) $$

The only log methods I have been exposed to are using the power laws and bring x out, which you cannot do in this case.

Thanks for your help.

AlexR
  • 24,905
user2321
  • 699

2 Answers2

3

You can use the function $e^x$ as inverse of $\log$:

$$\log(b^x+a)=\log(c)$$

Apply $e^x$ on both sides:

$$b^x+a = c$$

Minus $c$:

$$b^x = c-a$$

Apply $\log$ and use exponent law:

$$x\log(b) = \log(c-a)$$

Divide:

$$x = \frac{\log(c-a)}{\log(b)}$$

Keep in mind that $\log$ is only defined on stric positive values, and you should not divide by 0 as well, that means we assume $b \neq 1$.

flawr
  • 16,533
  • 5
  • 41
  • 66
  • @AlexR should it not be $c-a > 0$ , $b > 0$ , $b \neq 1$ – user2321 Aug 05 '14 at 19:32
  • @user2321 Yes, but you also have to assume $c>0$ for the first equation to make sense. His assumption $a>c>0$ is not correct, since then $c-a<0$ which implies that $\log(c-a)$ is undefined (in real numbers, but it has a value in $\mathbb C$). – flawr Aug 05 '14 at 19:42
  • @flawr I noticed the sign error after checking assumptions; the correct assumptions are $c > a > 0$ and $1 \ne b > 0$. Thanks for being polite. – AlexR Aug 06 '14 at 13:14
1

The $\log$ function is bijective, so if $\log(b^x+a)=\log(c)$, then $b^x+a=c$. Don't forget that $b^x+a$ should be strictly positive.

$b^x=c-a$ if $x={}^b\!\log(c-a)$. This is exactly the definition of ${}^b\!\log(c-a)$: to which power should we raise $b$ in order to get $c-a$.

AlexR
  • 24,905