Basic Log Function, Solve for X

1. Oct 9, 2007

**Im helping a friend go through this problem, so "the answer will be shown eventually" because im editing as we go through.
1. The problem statement, all variables and given/known data
$$2^{x-1}=25$$

2. Relevant equations

All Log/Exponent Formulas, they'll be shown as we go.

3. The attempt at a solution

There are various ways of approaching this problem, so lets start
APPROACH #1
Ok, lets multiply both sides by $$\log_{10}$$

So, $$\log 2^{x-1}=log 25$$

We know that $$\log a^{b}=b \log a$$, so apply this to our left hand side.

So, if we know the above formula, the $$\log 2^{x-1}=log a ^{b}$$. So, we find our a and b.
A=2 and B=x-1

So, $$log(2)^{x-1}=(x-1)log2$$

Therefore, $$(x-1) log 2 = log 25$$ so multiply x-1.

Therefore, $$x log 2 - 1 log 2 = log 25$$

So we solve for x!

So, we pass log 2 to the other side, by adding on each side.

$$x log 2 = log 25 + log 2.$$

Divide both sides by log 2.

$$x= \frac{log 25 + log 2}{log 2}$$

Now use the calculator.

x=5.64

APPROACH #2
If we know that $$(a^{b})(a^{c}) = a^{b+c}$$

we know that $$2^{x-1}=(2^{x})(2^{-1}).$$

Therefore, $$(2^{x})(\frac{1}{2})=25$$.

So multiply both sides by 2, to cancel out the 1/2.

$$2^{x}=50$$

Now its simple log work, we multiply both sides by $$log_{10}$$

So $$log 2^{x} = log 50$$

So $$x log 2 = log 50$$

So $$x=\frac{log 50}{log 2} = 5.64$$

Last edited: Oct 9, 2007
2. Oct 9, 2007

rock.freak667

well from $$lg2^{x-1}=lg25$$ applying your law you'd get $$(x-1)lg2=lg25$$ right?

and well lg2 and lg25 are constants...so how do you think you'd get x from here?

3. Oct 9, 2007

bob1182006

in (x-1)log2=log25 why don't you just divide by log2 and find x?

did the answer have to be in base of 10?

if it could be any log base it would have been easier to do log base 2 to start off, which would give you the exact same answer. changing log base 2 (25) to log base 10 you get what you got.

Edit: those are correct, but just a suggestion when you had (x-1)log 2= log 25 you could just divide and move the 1 over to the RHS to get: x=(log25)/(log2)+1, which again is exactly what you got just a little thing that might save you some time in a test.

Last edited: Oct 9, 2007
4. Oct 9, 2007