We have been working with logs and didn't get any examples on how to do these types of problems. I was just wondering if someone could help me out on one of them.
5^(x-1)=2^x
$\displaystyle 5^{x-1} = 2^x$
take the log of both sides ...
$\displaystyle \log(5^{x-1}) = \log(2^x)$
use the power rule for logs ...
$\displaystyle (x-1)\log(5) = x\log(2)$
distribute the left side ...
$\displaystyle x\log(5) - \log(5) = x\log(2)$
get terms with x on the same side ...
$\displaystyle x\log(5) - x\log(2) = \log(5)$
factor out the x ...
$\displaystyle x[\log(5) - \log(2)] = \log(5)$
solve for x ...
$\displaystyle x = \frac{\log(5)}{\log(5) - \log(2)} = \frac{\log(5)}{\log(2.5)}$
Ouch! So you're needing help with understanding the topic first....
To learn, in general, how to solve this sort of equation, try here. Once you've studied that, the worked solution in the previous reply should make perfect sense!