Given an equation of the form ax=b, where a is a positive constant not equal to 1, and b is a positive constant, you can use logarithms to solve for x.
Logarithms as inverses to exponentials
Recall that both loga(ax)=x, and that aloga(x)=x, i.e. the functions ax and loga(x) are inverse to each other. Consequently, you can apply loga() to both sides of an exponential equation to solve it for the variable in the exponent.
Given an exponential equation, e.g.:
ax=b
Apply the logarithm with base a to both sides of the equation:
axloga(ax)x=b=loga(b)=loga(b)
Yielding the desired solution.
Example 1
Solve the equation 52x−1=10, giving your solution to 3 decimal places.
Rearrange the equation by multiplying by 5 and taking square roots:
52x−152x(5x)25x=10=50=50=50
Apply log5() to both sides of the equation:
5xlog5(5x)x=50=log5(50)=1.2153…
Therefore, to 3 decimal places, the solution to the equation 52x−1=10 is 1.215.
Example 2
Find the exact values of all solutions to the equation 9x=3x+1−2.
Observe that 9x=(32)x=(3x)2, and similarly that 3x+1=3×3x. Rearrange the equation to get a quadratic in 3x:
9x(3x)2−3×3x+2(3x−1)(3x−2)=3x+1−2=0=0
Hence the solutions to this equation are the solutions to 3x=1 and 3x=2. Applying log3() to these, get that these solutions are x=log3(1)=0and x=log3(2).
Therefore, the exact values of the solutions to the equation 9x=3x+1−2 are x=0 and x=log3(2).
Given any equation of the form f(x)=g(x), you can apply the logarithm with base a to both sides of the equation and get the equation loga(f(x))=loga(g(x)), allowing you to solve more complicated equations.
Example 3
Find the solution to the equation2x=53x−2. Give your answer to 3 decimal places.
Apply ln() to both sides of the equation (you can apply a logarithm with any base, but ln() is the natural logarithm, so serves as a "natural" choice when a choice of base does not matter).