# Thread: Using Log to solve for variable in the exponent

1. ## Using Log to solve for variable in the exponent

I need help solving the following:

c(1+g1)^n = k(1+g2)^n

where c and k are positive constants and g1 and g2 are growth rates. need to solve for n

c>k g2>g1

I should know how to do this but I am having trouble. Thank you

2. I would try this:

$\displaystyle \dfrac{c}{k}=\dfrac{(1+g_{2})^{n}}{(1+g_{1})^{n}}= \left(\dfrac{1+g_{2}}{1+g_{1}}\right)^{\!\!n}.$

Can you continue?

3. is this correct then?

[log(c/k)]/log[(1+g2)/1+g1)] =

I appreciate the help. Can you refer me to a source that gives basic log rules? I should have learned them in high school math class but I must not have been paying attention during those classes

4. See here for a list of the basic logarithmic identities.

You don't have an equation in post # 3. So, I would not agree with your result as is.

5. ok I am sorry,

[log(c/k)]/log[(1+g2)/1+g1)] = n

6. You just need one more parenthesis in there. Put it like this:

[log(c/k)]/log[(1+g2)/(1+g1)] = n. Then you have it.