How many times must you double 1 to pass a million? The exact answer to is , yet most calculators have keys only for and . Two rules close the gap. The power rule moves an exponent out of a logarithm, and the change of base formula rewrites a logarithm in a base your calculator knows. Together they give , so it takes 20 doublings.
Key terms
The power rule
Definition Let with , let , and let be any real number. Then
To prove it, put , so that . Then , and by the definition of the logarithm . Roots are powers too, so for every integer the rule gives
In plain words An exponent inside a logarithm can come out in front as a multiplier. This is the step that brings an unknown down from an exponent when you solve equations.
Example Since ,
and indeed . The rule also counts digits of numbers far too long to write out by hand. The common logarithm of is
so the number lies between and and has 31 digits.
Positive argument in the power rule
Definition The power rule needs . The left side can be defined for a negative , for example when is an even integer, but then is not defined. For every real and every integer the correct statement is
So for every , while holds only for .
In plain words Before you pull an exponent out, make sure the number being raised to it is positive. If it might be negative, put absolute value bars around it.
Example At the left side is , but is undefined. The version with absolute values gives , which matches. The domains differ as well. The expression is defined for every , while is defined only for , so trading one for the other in an equation can lose solutions or add false ones.
Change of base
Definition Let and be positive numbers, neither equal to , and let . Then
To prove it, put , so that . Taking of both sides and using the power rule gives . Since , the number is not , and dividing by it gives the formula. With the two bases on a calculator,
Taking gives the special case . Calculus uses the formula to reduce every logarithm to , for example in derivatives of exponential and logarithmic functions. The power rule does the same for exponentials. For and every real it gives , so . Calculus takes this formula as its definition of , and the computation shows that it gives the same values as the definition in the lesson on exponential functions.
In plain words Logarithms in two different bases differ only by a constant factor, the way a length in inches and the same length in centimeters do. To switch to a new base, take the logarithm of in the new base and divide it by the logarithm of the old base, also taken in the new base.
Example Compare base 2 with base 10 on a few powers of 2.
| divided by | |||
|---|---|---|---|
Every row has the same ratio, . That is the change of base formula in the form . Solving for at gives
Valid logarithm bases
Definition The base of a logarithm must be a positive real number other than , and in the change of base formula this applies to both bases. The new base must be valid so that and exist, and the condition is exactly what keeps the denominator away from . When the base contains a variable, as in , the expression is defined only for with .
In plain words Any valid base can serve as the new base, and the result does not depend on which one you pick. Bases 10 and are popular only because calculators have keys for them.
Example Solve . By the definition of the logarithm this means , so or . A base must be positive, so is rejected and the only solution is . Change of base shows the same restrictions from another side. The formula
needs for to exist and fails at , where the denominator is .
Exact expressions
Definition An exact expression names a number with no rounding, using integers, fractions, radicals, constants such as and , and functions such as logarithms. The expressions , and are all exact, and they all name the same number. An exact answer is usually written in simplest form, with every logarithm that equals a rational number replaced by that number, for example by .
In plain words Keep answers exact for as long as you can. An exact answer can always be turned into a decimal later, but a decimal cannot be turned back into the exact answer.
Example When the argument and the base are integer powers of the same number, change of base gives an exact fraction. Since and ,
The same idea gives and . To check the first value with powers, note that .
Calculator approximations
Definition A calculator approximation is a decimal that agrees with an exact value to a stated number of decimal places or significant digits. It is written with rather than . Rounding in the middle of a calculation lets the errors grow, so keep full precision in every intermediate step and round only the final answer.
In plain words Type the whole exact expression into the calculator in one go, then round once. Raising the base to your answer is a quick check that catches most slips.
Example Entering the whole quotient at once gives
and the check confirms it. Rounding first to and gives , which is already off in the second decimal place, and is only about .
Check yourself
- Find exactly.
Show the answer
Both numbers are powers of 2, so
Indeed .
- Approximate to four decimal places and check your answer.
Show the answer
By change of base
As a check, , which is up to the rounding.
- Use the power rule to find how many digits the number has.
Show the answer
By the power rule
so the number lies between and and has 24 digits.