6.4 Solving equations of the form a^x = b — Learn
Prerequisites: the laws of logarithms from Section 6.3; solving a quadratic by factorising from Chapter 2; the domain of a logarithm.
By the end of this section you can: solve by taking logarithms; solve an equation where the exponent is a linear expression; solve a quadratic equation in or ; solve a simple logarithmic equation; and check each answer against the domain.
1. Take logarithms of both sides
To solve , take the logarithm of both sides. The power law then brings the down from the exponent, where it can be handled.
Starting from and taking natural logarithms:
This is the change-of-base rule in action: . Any base of logarithm works, but is the usual choice.
Example 1. Solve , giving exactly and to three significant figures.
Take logarithms: , so
Example 2. Solve .
The natural logarithm undoes the exponential directly:
Divide by the coefficient of only at the end.
Example 3. Solve .
Take logarithms of both sides:
Make the subject, then solve for :
2. An equation that is a quadratic in disguise
When an equation contains both and , write and treat as a single unknown. Factorise, then solve each exponential equation.
Example 4. Solve .
Let . The equation becomes , which factorises:
So or , giving or . Both values are valid, because is positive for every .
Example 5. Solve .
Write and let :
So , giving , or , giving .
3. Solving a logarithmic equation
Reverse the logarithm with its matching exponential. If , then . If , then . Always check that the answer lies in the domain, because a logarithm needs a positive input.
Example 6. Solve .
The input must be positive, so . Exponentiate both sides:
The answer is greater than , so it lies in the domain.
Progress check
Return to the cooling coffee in the chapter problem. Its excess temperature is , and after minutes the excess temperature is C.
- Substitute and to write an equation for .
- Solve it exactly, and give to three significant figures.
- Find the exact time for the excess temperature to fall to C, and give the time in minutes to one decimal place.
- Explain why the second time is longer than the first, even though the second temperature fall is smaller.
Watch out. These mistakes are common.
Taking the logarithm of a negative number. The equation has no solution, because is positive for every real . A negative number has no real logarithm.
Dividing by the wrong thing. In the logarithm gives , so . Dividing by or subtracting gives the wrong answer. Isolate the exponential first.
Stopping at the quadratic. After gives or , the equation is not solved. Substitute back: and still have to be solved for .
Forgetting the domain. From you get . If a candidate made the input zero or negative, it would have to be rejected. Re-check: substitute the answer into the original logarithm and confirm a positive input.
You should now be able to
- solve by taking logarithms of both sides;
- solve an equation where the exponent is a linear expression in ;
- recognise as and solve the resulting quadratic;
- solve a simple equation involving or ;
- check each solution against the domain of the logarithm or exponential.