ExamSaathi learning library · Government exams · UPSC NDA and NA Examination (II) 2026, Paper I Mathematics: logarithms and their applications, named in the NDA & NA (II) 2026 notice syllabus · Mathematics

Logarithms: the laws, change of base and everyday uses

A logarithm is an exponent: log_b(N) = k exactly when b^k = N (b > 0, b not 1, N > 0). Use the product, quotient and power laws and the change-of-base rule, read the characteristic and mantissa, count the digits of 2^100, solve log equations safely, and see how doubling time, pH and decibels use logs.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

This lesson leans on four earlier lessons. The Class 11 lesson 'Relations and functions' (subtitled 'Cartesian products, domain, range and graphs of real functions') met the logarithmic function: for a base a > 0 with a not 1, log_a(t) reverses a^t, accepts only t > 0, can take every real value, and its graph cuts the horizontal axis at (1, 0), rising for a > 1 and falling for 0 < a < 1. 'Geometric and harmonic means: averaging growth rates, prices and speeds' found a geometric mean of positive numbers through logs: average their logs, then take the antilog. 'Compound interest: annual growth as a multiplier' showed that R percent a year, compounded annually, multiplies an amount by (1 + R/100) each year, so P grows to P x (1 + R/100)^n in n years. 'Acids, bases and indicators: litmus tests and reactions with metals' showed that acids give hydrogen ions in water and that indicators such as litmus sort acids from bases; the pH scale below puts a number on acidity. You also need the index laws for a base b > 0 and real powers m and n: b^m x b^n = b^(m + n), b^m / b^n = b^(m - n), (b^m)^n = b^(mn) and b^0 = 1. The UPSC notice for NDA & NA (II) 2026 lists 'Logarithms and their applications.' in its Paper I Mathematics syllabus. The CBSE Mathematics (041) curriculum for 2026-27 lists 'exponential, logarithmic and greatest integer functions, with their graphs' in Class XI and 'Concept of exponential and logarithmic functions' in Class XII.

The core idea: a logarithm is an exponent

Let b be a base with b > 0 and b not equal to 1, and let N > 0. Then log_b(N) = k says exactly the same thing as b^k = N: the logarithm is the power to which b must be raised to give N. Since 2^5 = 32, log_2(32) = 5. Since 10^(-3) = 0.001, log(0.001) = -3. For every allowed base, log_b(1) = 0 and log_b(b) = 1, and the two forms undo each other: b^(log_b N) = N and log_b(b^k) = k. Why these conditions? If b = 1, every power of b is 1, so log_1(5) has no value and log_1(1) has too many. A negative base gives no real value for powers such as (-4)^(1/2), and base 0 fails because 0^k is 0 for every positive k. For an allowed base, b^k is positive for every real k, so no real power of b can equal 0 or a negative number. That is why log 0 and log(-3) are not defined among real numbers, and why the number inside any log must be positive. Two bases have their own names. The common logarithm has base 10; in this lesson it is written log. The natural logarithm has base e, an irrational number close to 2.718, and is written ln. Many higher mathematics books use log for ln, so always check the base a book intends. The definition already solves simple exponential equations: 2^k = 50 means k = log_2(50), which lies between 5 and 6 because 2^5 = 32 and 2^6 = 64.

A second idea: product, quotient and power laws, and change of base

Take positive numbers M and N and an allowed base b. Name their logs u = log_b(M) and v = log_b(N), so that M = b^u and N = b^v. Then MN = b^u x b^v = b^(u + v), which gives the product law log_b(MN) = log_b(M) + log_b(N). Next, M/N = b^(u - v), which gives the quotient law log_b(M/N) = log_b(M) - log_b(N). Finally, for any real r, M^r = (b^u)^r = b^(ur), which gives the power law log_b(M^r) = r x log_b(M). So each law is an index law read in reverse: multiplying numbers adds their logs, dividing subtracts them, and a power multiplies the log. With log 2 about 0.3010 and log 3 about 0.4771, log 12 = 2 log 2 + log 3, about 1.0791, and log 5 = log(10/2) = 1 - log 2, about 0.6990. The same laws explain the geometric mean through logs: for n positive numbers, the log of the n-th root of their product is the average of their logs. To change base, let k = log_b(N), so b^k = N. Take logs to any allowed base c on both sides and use the power law: k x log_c(b) = log_c(N). Since b is not 1, log_c(b) is not 0, so log_b(N) = log_c(N) / log_c(b). Two results follow: log_b(a) x log_a(b) = 1 for allowed bases a and b, and log_2(10) = 1 / log 2, about 3.32. The laws join logs only when they share one base, so change bases before you combine.

A further case: characteristic, mantissa and the digits of a power

Write a positive number N in standard form, N = s x 10^c, where 1 <= s < 10 and c is an integer (it may be negative). Then log N = c + log s, and log s is at least 0 and less than 1. The integer c is the characteristic of log N, and the decimal part log s is its mantissa. Numbers that differ only by a power of 10 share a mantissa: log 5, log 500 and log 0.05 all have mantissa about 0.6990, with characteristics 0, 2 and -2. For N >= 1, the characteristic is one less than the number of digits before the decimal point. For N between 0 and 1 it is negative: if the first non-zero digit is in the d-th place after the decimal point, the characteristic is -d. The mantissa is never negative, so log 0.05 is about -2 + 0.6990; log tables print this with a bar over the 2, read as 'bar 2 point 6990', while as an ordinary decimal it is about -1.3010. Digit counting follows. If a positive whole number N has characteristic c, then 10^c <= N < 10^(c + 1), so N has exactly c + 1 digits. For 2^100, log(2^100) = 100 log 2, about 30.10, so the characteristic is 30 and 2^100 has 31 digits. The mantissa, about 0.10, says more: 10^0.10 is about 1.26, so 2^100 is roughly 1.26 x 10^30 and starts with the digits 1 and 2.

Equations, doubling time, pH and decibels

To solve an exponential equation, take logs of both sides. From 3^k = 20 we get k x log 3 = log 20, so k = log 20 / log 3, about 2.73. Some hide a quadratic: with m = 2^k, 4^k - 2^k - 2 = 0 becomes m^2 - m - 2 = 0, so m = 2 or m = -1; a power of 2 is never negative, so m = -1 is rejected and k = 1. For a logarithmic equation, write the domain first (every argument positive), combine the logs with the laws, rewrite log_b(M) = k as M = b^k, solve, and keep only roots inside the domain. Doubling time: at r percent a year, compounded annually, T whole years multiply an amount by (1 + r/100)^T, and (1 + r/100)^T = 2 gives T = log 2 / log(1 + r/100). At 6 percent this is 0.3010 / 0.0253, about 11.9; with interest added once a year, Rs. 5,000 first passes Rs. 10,000 at the end of year 12, as 1.06^12 is about 2.01. The rough rules 70/r and 72/r give about 11.7 and 12. pH: in outline, pH = -log[H+], where [H+] is the hydrogen ion concentration in moles per litre (chemists refine this with a quantity called activity). So [H+] = 10^(-3) gives pH 3, a fall of 1 in pH means a tenfold rise in [H+], and doubling [H+] lowers pH by log 2, about 0.30. At 25 degrees Celsius, pH 7 is neutral, below 7 is acidic and above 7 is basic. Decibels: a power ratio P/P0 is 10 log(P/P0) decibels (dB), so 10 times the power adds 10 dB, 100 times adds 20 dB and double the power adds about 3 dB.

Common mistakes

1. Splitting the log of a sum. log(a + b) is not log a + log b: log(1 + 1) = log 2, about 0.3010, while log 1 + log 1 = 0. The product law splits log(ab); no law splits the log of a sum or a difference. 2. Reading a quotient of logs as the log of a quotient. log 100 / log 10 = 2 / 1 = 2, but log(100/10) = log 10 = 1. A quotient of logs is really a change of base: log a / log b = log_b(a) for a > 0 and b > 0, b not 1. 3. Forgetting the domain. In log_2(n) + log_2(n - 2) = 3 the algebra gives n = 4 or n = -2, but log_2(-2) does not exist, so only n = 4 works. Also, log(n^2) = 2 log n holds only for n > 0; for n = -3 the left side is log 9, while log(-3) is undefined. For any n not 0, the safe form is log(n^2) = 2 log|n|. 4. Mixing bases. log_2(8) + log_3(9) = 3 + 2 = 5, but squeezing it into one log such as log_6(72) gives about 2.39, because the product law needs one shared base. In the same way, ln 10 is about 2.303, not 1, so never mix ln values and log values in one line. 5. Squaring the wrong thing. (log a)^2 is not log(a^2): (log 1000)^2 = 9, but log(1000^2) = 2 log 1000 = 6. 6. Misreading a negative characteristic. log 0.05 is about -1.3010, but its mantissa is about 0.6990, not 0.3010.

A short routine for log questions

1. Note the base of every log. If the bases differ, change them to one base first. 2. Write the domain before solving: each base positive and not 1, each argument positive. 3. Use the three laws to split products, quotients and powers inside a log, or to join logs of one base into a single log. Never split a sum or difference inside a log. 4. For an exponential equation, take logs of both sides, or put m = b^k and remember that m must be positive. 5. For a logarithmic equation, combine into one log, rewrite log_b(M) = k as M = b^k, solve, and keep only the roots that pass step 2. 6. To count the digits of a positive whole number N, find log N: the number of digits is the characteristic plus 1. Check that rounding the logs cannot push the value across a whole number. 7. For growth, set (1 + r/100)^T equal to the multiple you want and solve for T with logs. 8. Check every answer by putting it back, or by a rough estimate such as 2^10 = 1024, just over 10^3.

Worked examples

  1. Find the exact value of 2 log 15 + log 8 - log 18, where log is the common logarithm (base 10).

    1. Step 1: Power law first: 2 log 15 = log(15^2) = log 225.
    2. Step 2: Product law: log 225 + log 8 = log(225 x 8) = log 1800.
    3. Step 3: Quotient law: log 1800 - log 18 = log(1800/18) = log 100.
    4. Step 4: Since 10^2 = 100, log 100 = 2. Every number inside a log was positive and every log had base 10, so each law could be used.

    Answer: 2 log 15 + log 8 - log 18 = log 100 = 2.

  2. Use the change-of-base rule to find log_8(32) exactly. Then, taking log 2 as about 0.3010 and log 3 as about 0.4771, find log_6(50) to 2 decimal places.

    1. Step 1: Change to base 2: log_8(32) = log_2(32) / log_2(8) = 5/3, because 2^5 = 32 and 2^3 = 8.
    2. Step 2: Check: 8^(5/3) = (8^(1/3))^5 = 2^5 = 32, so log_8(32) = 5/3, which is about 1.67.
    3. Step 3: For log_6(50) use common logs: log_6(50) = log 50 / log 6.
    4. Step 4: log 50 = log(100/2) = 2 - log 2, about 1.6990, and log 6 = log 2 + log 3, about 0.7781.
    5. Step 5: So log_6(50) is about 1.6990 / 0.7781 = 2.18 to 2 decimal places. Sense check: 6^2 = 36 and 6^3 = 216, so the answer must lie between 2 and 3.

    Answer: log_8(32) = 5/3, about 1.67, and log_6(50) is about 2.18.

  3. Taking log 2 as about 0.3010, find how many digits 2^100 has, and its first two digits.

    1. Step 1: By the power law, log(2^100) = 100 x log 2, about 100 x 0.3010 = 30.10.
    2. Step 2: The characteristic is 30, so 10^30 <= 2^100 < 10^31.
    3. Step 3: Every whole number from 10^30 up to, but not including, 10^31 has 31 digits, so 2^100 has 31 digits.
    4. Step 4: Is the rounding safe? The true log 2 lies between 0.30095 and 0.30105, so 100 x log 2 lies between 30.095 and 30.105, well away from 30 and 31. The digit count cannot change.
    5. Step 5: The mantissa is about 0.10, and 10^0.10 is about 1.26, so 2^100 is roughly 1.26 x 10^30 and begins with 1 and then 2. A computer confirms this: 2^100 = 1267650600228229401496703205376.

    Answer: 2^100 has 31 digits, and its first two digits are 1 and 2.

  4. Solve log_2(n) + log_2(n - 2) = 3.

    1. Step 1: Domain first: log_2(n) needs n > 0 and log_2(n - 2) needs n - 2 > 0, so any solution must have n > 2.
    2. Step 2: Both logs have base 2 and positive arguments, so the product law gives log_2(n(n - 2)) = 3.
    3. Step 3: In exponential form, n(n - 2) = 2^3 = 8, so n^2 - 2n - 8 = 0.
    4. Step 4: Factorise: (n - 4)(n + 2) = 0, so n = 4 or n = -2.
    5. Step 5: n = -2 breaks the condition n > 2, and log_2(-2) is not defined, so reject it. Check n = 4: log_2(4) + log_2(2) = 2 + 1 = 3.

    Answer: n = 4, since log_2(4) + log_2(2) = 2 + 1 = 3; the root n = -2 is rejected because log_2(-2) is not defined.

Practice checks

  1. Which statement is true for all positive numbers a and b?
  2. Taking log 2 as about 0.3010 and log 3 as about 0.4771, what is log_4(27) to 2 decimal places?
  3. Taking log 3 as about 0.4771, how many digits does 3^50 have?
  4. Solve log k + log(k - 3) = 1, where log is the common logarithm.
  5. Rs. 10,000 grows at 8 percent a year, compounded annually. Taking log 2 as about 0.3010 and log 1.08 as about 0.0334, solve 1.08^T = 2 to find roughly how many years the amount takes to double.

Sources checked