Skip to content
Tutorials Center
My learning

Topics

Lesson 32 of 86 · 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.