Skip to content

Lesson 32 ยท Algebra, Geometry and Calendars

Logarithms for Aptitude Exams

Learn the log laws, change of base and the quick-estimate tricks aptitude exams reward, with worked problems on digits, doubling time and equations.

A logarithm answers one question: "to what power must I raise the base to get this number?" Since 2 to the power 5 is 32, we write logโ‚‚ 32 = 5. Logarithms turn multiplication into addition and powers into multiplication, which is why they were invented to speed up hand calculation, and why aptitude exams still use them for questions about digits, growth and equations with the unknown in the exponent.

Exam questions on logarithms are rarely long. They test whether you know five or six laws cold and can apply them without hesitation. This lesson gives you the laws, the handful of log values worth remembering, and three recurring problem types: simplify an expression, count digits, and find how long something takes to grow. Exponent rules from Surds and Indices are the foundation, so revisit them if "a to the power m times a to the power n" is not automatic.

The definition, both ways

log_b N = x means b^x = N, for b > 0, b โ‰  1 and N > 0.

The two forms say the same thing, and switching between them solves most basic questions.

  • logโ‚‚ 64 = 6 because 2โถ = 64.
  • logโ‚… 125 = 3 because 5ยณ = 125.
  • logโ‚โ‚€ 0.001 = โˆ’3 because 10โปยณ = 0.001.
  • logโ‚‰ 3 = 1/2 because 9^(1/2) = 3.

Three consequences are worth memorizing: log_b 1 = 0 (any base to the power 0 is 1), log_b b = 1, and b^(log_b N) = N (the log undoes the power).

You cannot take the logarithm of zero or of a negative number. When an equation produces a candidate answer that would make a log argument zero or negative, reject it. This is the most common trap in "solve for x" questions.

The laws

For any valid base, with M and N positive:

Law Statement
Product log(MN) = log M + log N
Quotient log(M/N) = log M โˆ’ log N
Power log(Mแต–) = p ร— log M
Change of base log_b N = log N / log b (in any common base)
Reciprocal log_b a = 1 / log_a b, so log_b a ร— log_a b = 1
Root of base log_(bแต) N = (1/k) ร— log_b N

A mistake that costs marks every year: log(M + N) is not log M + log N. There is no law for the log of a sum.

Example 1. Evaluate logโ‚ƒ 81 + logโ‚ƒ (1/27). Since 81 = 3โด, the first term is 4. Since 1/27 = 3โปยณ, the second is โˆ’3. The sum is 1.

Example 2. If log_x 125 = 3, find x. Rewrite as xยณ = 125, so x = 5.

Example 3. Solve logโ‚„ x + logโ‚‚ x = 9. Change the first term to base 2: logโ‚„ x = (1/2) logโ‚‚ x. The equation becomes 1.5 ร— logโ‚‚ x = 9, so logโ‚‚ x = 6 and x = 64. Check: logโ‚„ 64 = 3 and logโ‚‚ 64 = 6, total 9. โœ“

flowchart LR
    A["Expression with logs"] --> B{"Same base?"}
    B -->|No| C["Change to a common base"]
    B -->|Yes| D["Combine with product / quotient / power laws"]
    C --> D
    D --> E["Convert to power form if needed"]
    E --> F["Check arguments are positive"]

Make the bases agree first; the other laws then work directly.

Values worth remembering

Exams that allow logs on a table or give you values usually use base 10. Memorize these four to four decimal places:

Number logโ‚โ‚€
2 0.3010
3 0.4771
5 0.6990 (= 1 โˆ’ 0.3010)
7 0.8451

From these you can build almost any other value. log 6 = log 2 + log 3 = 0.7781. log 12 = 2 log 2 + log 3 = 1.0791. log 5 comes free from log 10 โˆ’ log 2. log 0.2 = โˆ’0.6990.

Counting digits

If logโ‚โ‚€ N = k + f, where k is the whole part and f the decimal part, then N has k + 1 digits (for N โ‰ฅ 1). The logic: 10แต has k + 1 digits, and N lies between 10แต and 10แตโบยน.

How many digits does 2โดโฐ have? log 2โดโฐ = 40 ร— 0.3010 = 12.04, so the whole part is 12 and there are 13 digits. (The actual number is 1,099,511,627,776, which has 13 digits.)

How many digits does 3ยฒโฐ have? 20 ร— 0.4771 = 9.542, so 10 digits.

For numbers below 1, the same idea counts zeros after the decimal point. If log N = โˆ’6.02, write it as โˆ’7 + 0.98. Then N = 10โปโท ร— 10^0.98, which is about 9.5 ร— 10โปโท. In general, a log whose whole part is โˆ’m (after writing the decimal part as positive) means there are m โˆ’ 1 zeros after the point.

How many zeros follow the decimal point in (1/2)ยฒโฐ before the first non-zero digit? log (1/2)ยฒโฐ = โˆ’20 ร— 0.3010 = โˆ’6.02 = โˆ’7 + 0.98, so m = 7 and there are 6 zeros. Indeed (1/2)ยฒโฐ = 0.00000095367...

Equations with the unknown in the exponent

If you meet 2หฃ = 7, take logs of both sides: x log 2 = log 7, so x = 0.8451 / 0.3010 โ‰ˆ 2.81. This works for any base. If the numbers are powers of the same base, skip logs: 4หฃ = 32 becomes 2ยฒหฃ = 2โต, so x = 2.5.

Growth and doubling time

Compound growth multiplies by (1 + r) every period, so reaching a target multiple T takes n periods where (1 + r)โฟ = T, giving n = log T / log (1 + r). This is how exams ask "in how many years will a sum double at 8% compound interest?" (see Compound Interest for the setup).

For doubling at 8%: n = log 2 / log 1.08 = 0.3010 / 0.03342 โ‰ˆ 9.0 years. The shortcut "rule of 72" (72 divided by the rate in percent) gives 9 as well; the logarithm explains why it works, because ln 2 โ‰ˆ 0.693 and ln (1 + r) โ‰ˆ r for small r.

Try it: a logarithm toolkit

This script checks the worked examples above. Change the numbers to test your own questions.

JS Logarithm toolkit

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The next tool builds log values from the four you memorized, so you can see how little you actually need to remember.

JS Building logs from log 2, 3 and 7

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Check your understanding

Quick check ยท 5 questions

of 5 answered You scored / 5 ยท perfect!

  1. 1. What is log base 3 of 81 plus log base 3 of (1/27)?

    log3 81 = 4 and log3 (1/27) = -3, so the sum is 4 - 3 = 1.
  2. 2. Given log 2 = 0.3010, how many digits does 2^40 have?

    40 x 0.3010 = 12.04. The whole part is 12, so the number has 12 + 1 = 13 digits.
  3. 3. Solve log base 4 of x plus log base 2 of x = 9.

    log4 x = (1/2) log2 x, so the equation becomes 1.5 log2 x = 9. Then log2 x = 6 and x = 64.
  4. 4. Which statement is always FALSE for positive M and N?

    There is no law for the log of a sum. log(M + N) is generally not log M + log N; the other three are the product, power and quotient laws.
  5. 5. Using log 2 = 0.3010 and log 1.08 = 0.0334, about how many years does money take to double at 8% compound interest?

    n = log 2 / log 1.08 = 0.3010 / 0.0334, which is about 9.0 years.

Summary

  • log_b N = x means b^x = N; the argument must be positive and the base positive and not 1.
  • Product, quotient and power laws turn multiplication, division and powers into addition, subtraction and multiplication. There is no law for log(M + N).
  • Change of base: log_b N = log N / log b. Make bases agree before combining terms.
  • Memorize log 2 = 0.3010, log 3 = 0.4771, log 7 = 0.8451; log 5 = 1 โˆ’ log 2.
  • A number N โ‰ฅ 1 with logโ‚โ‚€ N = k + f has k + 1 digits.
  • Growth time to a multiple T at rate r is n = log T / log(1 + r).

Next: Progressions, where repeated addition and repeated multiplication meet series and sums.