DoAssignment.ca

A1.2 · Approximate logarithms in any base with technology

Learn to approximate logarithms in any base with technology through clear examples and targeted practice.

Ontario Grade 12 Mathematics

Exponential and Logarithmic Functions

Using technology to find and check logarithmic values

A logarithm answers an exponent question. For example, asking for log⁡28\log_2 8 means asking, “What exponent on 22 gives 88?” Since 23=82^3=8, the answer is 33. Some logarithms are not easy to work out mentally. Technology can approximate them, including logarithms with bases that do not have their own calculator key. In this lesson, an approximation is a decimal value close to the exact value.

What you will learn

1. Prerequisite bridge: a logarithm is an exponent

A power has a base and an exponent. In 52=255^2=25, the base is 55 and the exponent is 22. A logarithm reverses this question: it tells you which exponent produces a given number.
The notation log⁡ba\log_b a means “the exponent on b that gives aa.” Here, bb is the base and aa is the number being reached. For instance, log⁡381=4\log_3 81=4 because 34=813^4=81.
For a real logarithm, the base must be positive and not equal to 11, and the number being logged must be positive. These conditions ensure that the logarithm represents an exponent question that can be answered with a real number.
log⁡ba=x  ⟺  bx=a\log_b a=x \iff b^x=a

2. Plain language and calculator notation

A calculator usually has keys for the common logarithm, written log⁡x\log x, and the natural logarithm, written ln⁡x\ln x. The common logarithm uses base 1010. The natural logarithm uses base ee, a number approximately equal to 2.7182.718. Neither key directly covers every possible base.
Technology can still find a logarithm in any valid base. Many graphing calculators and apps let you enter a base directly. On other calculators, use the change-of-base relationship. It rewrites a logarithm in terms of logarithms that the calculator can evaluate.
When using the change-of-base relationship, use the same type of calculator key in the top and bottom: both common logarithms or both natural logarithms. The ratio gives the same result either way. Keep the full ratio in the calculator before rounding.
A useful estimate comes from nearby powers. If the base is 77 and the number is 2020, then 71=77^1=7 and 72=497^2=49. Therefore, log⁡720\log_7 20 must be between 11 and 22. Technology gives a more precise decimal within that interval.
log⁡ba=log⁡alog⁡b=ln⁡aln⁡b\log_b a=\frac{\log a}{\log b}=\frac{\ln a}{\ln b}

3. Representing and interpreting a calculator result

The relationship between a logarithm and a power gives three ways to think about the same value. In words, log⁡720\log_7 20 asks which exponent on 77 gives 2020. In a power statement, the unknown exponent is the number xx that makes 7x=207^x=20. On a calculator, the change-of-base expression gives a decimal approximation for that exponent.
A table can help you decide whether a result is sensible before you accept it. Compare powers of the base with the number inside the logarithm. If the number lies between two consecutive powers, the logarithm lies between their exponents.
The table uses 77 and 2020 as an illustration. Since 77 is greater than 11, its powers increase as the exponent increases. The number 2020 lies between 77 and 4949, so the logarithm is between 11 and 22. This estimate does not replace the calculator; it checks the size of the answer.
71<20<72⇒1<log⁡720<27^1<20<7^2 \Rightarrow 1<\log_7 20<2

4. Using technology carefully

For a logarithm with an unusual base, first confirm that both the base and the number inside the logarithm meet the stated conditions. Then choose a calculator method: enter the base directly if the technology supports it, or enter the change-of-base ratio using log⁡\log or ln⁡\ln.
Use parentheses so the calculator divides the logarithm of the number by the logarithm of the base. Without clear grouping, some calculators may perform operations in an unintended order. Check the display before rounding, and state the result as an approximation rather than an exact value.
Finally, test the approximation in the original power question. If the result is xx, evaluate the base raised to xx. The result should be close to the number inside the original logarithm. A small difference is expected because the displayed exponent may be rounded.
This process applies to any permitted base, not just the base in the example. The technology supplies the decimal approximation; the meaning of the logarithm and the power check help you interpret it.
blog⁡ba≈ab^{\log_b a}\approx a

A range check for $\log_7 20$

ExponentPower of 77Comparison with 2020
1171=77^1=7Below 2020
?7?=207^?=20Exponent is between 11 and 22
2272=497^2=49Above 2020

Worked example

Approximate a logarithm with an unusual base

Use a calculator to approximate log⁡720\log_7 20 to four decimal places. Check that the result is reasonable.
  1. Predict the range
    Compare 2020 with powers of the base. Since 71=77^1=7 and 72=497^2=49, the exponent that produces 2020 must be between 11 and 22. This gives a range to check against the calculator.
    7<20<497<20<49
  2. Rewrite for the calculator
    Use the change-of-base relationship with the natural logarithm key. The base and the number inside the logarithm are both positive, and the base is not 11, so the logarithm is valid.
    log⁡720=ln⁡20ln⁡7\log_7 20=\frac{\ln 20}{\ln 7}
  3. Evaluate and round
    Enter the entire quotient into the calculator. Keep the displayed digits until the final step, then round to four decimal places.
    ln⁡20ln⁡7≈1.5395\frac{\ln 20}{\ln 7}\approx 1.5395
  4. Check with a power
    Raise 77 to the rounded exponent. The result is close to 2020, as expected. A slight difference is normal because the exponent was rounded.
    71.5395≈207^{1.5395}\approx 20
Answer: log⁡720≈1.5395\log_7 20\approx 1.5395.
Check: The approximation is between 11 and 22, matching the comparison 71<20<727^1<20<7^2. Raising 77 to the rounded exponent gives a value close to 2020.

Common mistakes and how to avoid them

Using the common-log key alone for a logarithm with a different base.
Correction: Either use a calculator that accepts the base directly or enter the change-of-base ratio.
Reversing the numerator and denominator in the change-of-base ratio.
Correction: The logarithm of the number being logged goes on top, and the logarithm of the base goes on the bottom.
Rounding each logarithm before dividing.
Correction: Keep the full calculator values in the ratio and round only the final answer.
Accepting a decimal without checking its size.
Correction: Compare the number being logged with nearby powers of the base, then check the decimal by raising the base to that exponent.
Trying to find a real logarithm of zero or a negative number.
Correction: The number inside a real logarithm must be positive.

Lesson summary

Check your understanding

Question 1

Which calculator entry using natural logarithms gives log⁡512\log_5 12?
  1. ln⁡5ln⁡12\frac{\ln 5}{\ln 12}
  2. ln⁡12ln⁡5\frac{\ln 12}{\ln 5}
  3. ln⁡12−ln⁡5\ln 12-\ln 5
  4. ln⁡125\frac{\ln 12}{5}
Show answer and explanation
ln⁡12ln⁡5\frac{\ln 12}{\ln 5}
The number inside the logarithm goes in the numerator, and the base goes in the denominator.

Question 2

Without calculating a decimal, which interval contains log⁡410\log_4 10?
  1. Between 00 and 11
  2. Between 11 and 22
  3. Between 22 and 33
  4. Between 33 and 44
Show answer and explanation
Between 11 and 22
Since 41=44^1=4 and 42=164^2=16, the number 1010 is between those powers. Its exponent is therefore between 11 and 22.

Question 3

A calculator gives log⁡315≈2.4650\log_3 15\approx 2.4650. Which check best matches the meaning of this result?
  1. Check whether 32.46503^{2.4650} is close to 1515.
  2. Check whether 152.465015^{2.4650} is close to 33.
  3. Check whether 3+2.46503+2.4650 is close to 1515.
  4. Check whether 152.4650\frac{15}{2.4650} is close to 33.
Show answer and explanation
Check whether 32.46503^{2.4650} is close to 1515.
The logarithm is the exponent on 33 that produces 1515, so raise 33 to the approximate exponent.

Key terms

Logarithm
The exponent that tells how many times a base must be used as a factor to produce a given positive number.
Base
The number being raised to an exponent in a power or serving as the base of a logarithm.
Common logarithm
A logarithm with base 1010, usually written log⁡x\log x.
Natural logarithm
A logarithm with base ee, usually written ln⁡x\ln x.
Approximation
A value close to an exact value, often written as a rounded decimal.
Change of base
A relationship that rewrites a logarithm in one base as a ratio of logarithms in a calculator-friendly base.

Continue through MHF4U

View the complete MHF4U Ontario Grade 12 Mathematics curriculum and lessons

About this lesson

Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 12 Mathematics (MHF4U), expectation A1.2. It is a study resource, not an official curriculum publication.

Official curriculum reference

Report a correction or ask a question