Logarithms — From Confusion to Clarity

Learn logarithms with clear explanations, worked examples, and practice problems.

CBSE JEE-MAIN NEET 10 min read

Logarithms exist because exponentiation creates big numbers very fast. We needed a way to invert this process. If 210=10242^{10} = 1024, then log21024=10\log_2 1024 = 10 — the logarithm answers the question “what power did I raise the base to?”

Before calculators, logarithms were the standard tool for multiplying large numbers. Today, they’re essential for understanding exponential growth, information theory, pH and decibels, and for solving equations where the unknown is in the exponent.

Most students find logs hard because they try to memorise rules before understanding what a log actually is. We’ll fix that.

Key Terms and Definitions

Logarithm: logab=c\log_a b = c means ac=ba^c = b. Read as “log base aa of bb equals cc.”

Base: The number aa being raised to a power. Must be positive and not equal to 1.

Argument: The number bb you’re taking the log of. Must be positive.

Common logarithm: log10\log_{10}, written as just log\log. Used in pH, decibels, Richter scale.

Natural logarithm: loge=ln\log_e = \ln. Base e2.718e \approx 2.718. Used in calculus, compound interest.

Antilogarithm: The inverse of the logarithm. antilog(x)=10x\text{antilog}(x) = 10^x.

The Core Identity (Never Forget This)

logab=c    ac=b\log_a b = c \iff a^c = b

Every log property follows from this one identity. If you ever forget a rule, you can re-derive it.

All the Rules, Derived

loga(mn)=logam+logan(Product Rule)\log_a(mn) = \log_a m + \log_a n \quad \text{(Product Rule)} loga(mn)=logamlogan(Quotient Rule)\log_a\left(\frac{m}{n}\right) = \log_a m - \log_a n \quad \text{(Quotient Rule)} loga(mn)=nlogam(Power Rule)\log_a(m^n) = n \log_a m \quad \text{(Power Rule)} logaa=1(Base Rule)\log_a a = 1 \quad \text{(Base Rule)} loga1=0(Zero Rule)\log_a 1 = 0 \quad \text{(Zero Rule)} logab=logcblogca(Change of Base Rule)\log_a b = \frac{\log_c b}{\log_c a} \quad \text{(Change of Base Rule)}

Why the product rule works: Let logam=p\log_a m = p and logan=q\log_a n = q. Then m=apm = a^p and n=aqn = a^q. So mn=apaq=ap+qmn = a^p \cdot a^q = a^{p+q}. Therefore loga(mn)=p+q=logam+logan\log_a(mn) = p + q = \log_a m + \log_a n. The other rules follow similarly.

Methods for Solving Log Equations

Method 1: Convert to Exponential Form

log3x=4    x=34=81\log_3 x = 4 \implies x = 3^4 = 81.

Any time you have "loga(expression)=number\log_a(\text{expression}) = \text{number}", convert directly.

Method 2: Use Properties to Simplify

logx+log(x3)=1    log[x(x3)]=1    x(x3)=10    x23x10=0\log x + \log(x-3) = 1 \implies \log[x(x-3)] = 1 \implies x(x-3) = 10 \implies x^2 - 3x - 10 = 0

Solve the quadratic: (x5)(x+2)=0    x=5(x-5)(x+2) = 0 \implies x = 5 or x=2x = -2.

Check: x=2x = -2 would give log(2)\log(-2) which is undefined. So x=5x = 5 only.

Method 3: Change of Base for Mixed Bases

log2x=log4(x+6)\log_2 x = \log_4(x + 6)

Change both to base 2: log4(x+6)=log2(x+6)log24=log2(x+6)2\log_4(x+6) = \frac{\log_2(x+6)}{\log_2 4} = \frac{\log_2(x+6)}{2}.

So: log2x=log2(x+6)2    2log2x=log2(x+6)    log2x2=log2(x+6)\log_2 x = \frac{\log_2(x+6)}{2} \implies 2\log_2 x = \log_2(x+6) \implies \log_2 x^2 = \log_2(x+6)

    x2=x+6    x2x6=0    (x3)(x+2)=0    x=3\implies x^2 = x + 6 \implies x^2 - x - 6 = 0 \implies (x-3)(x+2) = 0 \implies x = 3 (rejecting x=2x = -2).

Solved Examples

Easy (CBSE Class 10): Evaluate using rules

Q: Find the value of log5500log54\log_5 500 - \log_5 4.

log5500log54=log5(500/4)=log5125=log553=3\log_5 500 - \log_5 4 = \log_5(500/4) = \log_5 125 = \log_5 5^3 = 3. ✓

Medium (JEE Main level): Simplify

Q: Simplify log28+log42\log_2 \sqrt{8} + \log_4 2.

log28=log281/2=12log28=12×3=32\log_2 \sqrt{8} = \log_2 8^{1/2} = \frac{1}{2}\log_2 8 = \frac{1}{2} \times 3 = \frac{3}{2}.

log42=log22log24=12\log_4 2 = \frac{\log_2 2}{\log_2 4} = \frac{1}{2}.

Total: 32+12=2\frac{3}{2} + \frac{1}{2} = 2.

Hard (JEE Advanced level): Proving an inequality

Q: If a>1a > 1, prove that loga(a+1a1)<2a21\log_a\left(\frac{a+1}{a-1}\right) < \frac{2}{a^2-1}.

This requires the inequality ln(1+x)<x\ln(1+x) < x for x>0x > 0. Let x=2a1x = \frac{2}{a-1}. With natural log:

ln(a+1a1)=ln(1+2a1)<2a1\ln\left(\frac{a+1}{a-1}\right) = \ln\left(1 + \frac{2}{a-1}\right) < \frac{2}{a-1} (using ln(1+x)<x\ln(1+x) < x).

Dividing by lna>0\ln a > 0: loga(a+1a1)<2(a1)lna\log_a\left(\frac{a+1}{a-1}\right) < \frac{2}{(a-1)\ln a}.

And since lna<a1\ln a < a - 1 for a>1a > 1 (another standard inequality), 1lna>1a1\frac{1}{\ln a} > \frac{1}{a-1}, giving 2(a1)lna>2(a1)2>2a21\frac{2}{(a-1)\ln a} > \frac{2}{(a-1)^2} > \frac{2}{a^2-1} for large aa. (A complete proof requires more care, but the log inequality technique is what JEE tests.)

Exam-Specific Tips

JEE Main: Log questions appear in the “sequences and series” section and as standalone algebra. The change of base formula and manipulation of expressions like log23×log34\log_2 3 \times \log_3 4 (answer = log24=2\log_2 4 = 2) are common. Also: logab×logba=1\log_a b \times \log_b a = 1.

CBSE Class 11: Chapter 2 (Relations and Functions) introduces logarithmic functions. Know the graphs of y=logaxy = \log_a x for a>1a > 1 (increasing) and 0<a<10 < a < 1 (decreasing).

NEET: Logarithms appear indirectly in pH calculations: pH=log[H+]\text{pH} = -\log[\text{H}^+]. If [H+]=107[\text{H}^+] = 10^{-7}, then pH = 7. Know how to convert between exponential and log form quickly.

Common Mistakes to Avoid

Mistake 1: "log(a+b)=loga+logb\log(a + b) = \log a + \log b" — WRONG. The product rule says log(ab)=loga+logb\log(ab) = \log a + \log b. There’s no rule for log(a+b)\log(a + b).

Mistake 2: "logab2=(logab)2\log_a b^2 = (\log_a b)^2" — WRONG. The power rule gives logab2=2logab\log_a b^2 = 2\log_a b. The square is on the argument, not the result.

Mistake 3: Not checking for domain validity. After solving a log equation, always check that the argument of every log in the original equation is positive. Reject any solution that makes an argument ≤ 0.

Mistake 4: Confusing loga\log_a with log10\log_{10}. In most Indian textbooks, log\log without a base means log10\log_{10} (common log). In calculus and engineering, ln\ln = natural log. Don’t mix them up.

Mistake 5: "logmlogn=logmn\frac{\log m}{\log n} = \log\frac{m}{n}" — WRONG. Change of base says logmlogn=lognm\frac{\log m}{\log n} = \log_n m — the ratio of logs is a log with a different base, not a log of the ratio.

Practice Questions

Q1: Evaluate log101000\log_{10} 1000.

log101000=log10103=3\log_{10} 1000 = \log_{10} 10^3 = 3.

Q2: Simplify log232log24\log_2 32 - \log_2 4.

log2(32/4)=log28=3\log_2(32/4) = \log_2 8 = 3.

Q3: Find xx if log3x=4\log_3 x = 4.

x=34=81x = 3^4 = 81.

Q4: Simplify logaa5\log_a a^5.

5logaa=5×1=55 \log_a a = 5 \times 1 = 5.

Q5: If log2=0.301\log 2 = 0.301 and log3=0.477\log 3 = 0.477, find log72\log 72.

log72=log(8×9)=log23+log32=3(0.301)+2(0.477)=0.903+0.954=1.857\log 72 = \log(8 \times 9) = \log 2^3 + \log 3^2 = 3(0.301) + 2(0.477) = 0.903 + 0.954 = 1.857.

Q6: Solve log(x+2)+log(x1)=1\log(x+2) + \log(x-1) = 1.

log[(x+2)(x1)]=1    (x+2)(x1)=10    x2+x12=0    (x+4)(x3)=0\log[(x+2)(x-1)] = 1 \implies (x+2)(x-1) = 10 \implies x^2 + x - 12 = 0 \implies (x+4)(x-3) = 0. x=3x = 3 (reject x=4x = -4 as it makes log(2)\log(-2) undefined).

Q7: Find the value of log48\log_4 8.

log48=log8log4=3log22log2=32\log_4 8 = \frac{\log 8}{\log 4} = \frac{3\log 2}{2\log 2} = \frac{3}{2}.

Q8: Is log23\log_2 3 rational or irrational? Why?

Irrational. If log23=p/q\log_2 3 = p/q (rational), then 3=2p/q3 = 2^{p/q}, so 3q=2p3^q = 2^p. But this contradicts the fundamental theorem of arithmetic (a power of 2 cannot equal a power of 3). So log23\log_2 3 is irrational.

FAQs

Q: Why is log0\log 0 undefined? Because ac=0a^c = 0 has no solution for any finite cc and a>0a > 0. The function aca^c is always positive — it can approach 0 but never reach it.

Q: Why is log\log of a negative number undefined (in real numbers)? Because ac>0a^c > 0 for all real cc and a>0a > 0. There’s no real power you can raise a positive number to and get a negative result.

Q: What’s the difference between log\log and ln\ln? log=log10\log = \log_{10} (common log), ln=loge\ln = \log_e (natural log, e2.718e \approx 2.718). They’re related by lnx=logx/loge2.303logx\ln x = \log x / \log e \approx 2.303 \log x.

Q: How do I use log tables? Express the number in scientific notation: N=m×10nN = m \times 10^n where 1m<101 \leq m < 10. Then logN=n+logm\log N = n + \log m. Look up logm\log m in the four-figure log table. This is still tested in some CBSE board exams.


Advanced Applications

Logarithmic equations with conditions

When solving logaf(x)=g(x)\log_a f(x) = g(x), always check:

  1. Base a>0a > 0, a1a \neq 1
  2. Argument f(x)>0f(x) > 0
  3. The solution satisfies the original equation

These domain checks reject extraneous solutions that algebraic manipulation introduces.

Logarithmic inequalities

The direction of inequality flips depending on the base:

  • If a>1a > 1: logax>logay    x>y\log_a x > \log_a y \iff x > y (both positive)
  • If 0<a<10 < a < 1: logax>logay    x<y\log_a x > \log_a y \iff x < y (inequality flips!)

Forgetting to flip the inequality when the base is between 0 and 1 is one of the most common JEE errors. Always check the base before manipulating log inequalities.

Logarithmic differentiation preview

In calculus, ddx(lnx)=1x\frac{d}{dx}(\ln x) = \frac{1}{x} and ddx(logax)=1xlna\frac{d}{dx}(\log_a x) = \frac{1}{x \ln a}.

Logarithmic differentiation is used for functions like y=xxy = x^x: take ln\ln of both sides, then differentiate. This technique relies entirely on fluency with log properties.

Additional Solved Examples

Hard (JEE Main): Find the number of digits in 21002^{100}. Given log2=0.301\log 2 = 0.301.

log(2100)=100×0.301=30.1\log(2^{100}) = 100 \times 0.301 = 30.1

The characteristic is 30, so 21002^{100} has 30+1=3130 + 1 = \mathbf{31} digits.

Medium: Solve log3(x+2)log3(x2)=2\log_3(x+2) - \log_3(x-2) = 2.

log3x+2x2=2    x+2x2=9    x+2=9x18    8x=20    x=2.5\log_3\frac{x+2}{x-2} = 2 \implies \frac{x+2}{x-2} = 9 \implies x + 2 = 9x - 18 \implies 8x = 20 \implies x = 2.5.

Check: x2=0.5>0x - 2 = 0.5 > 0. Valid.

Additional Practice Questions

Q9. If log2(x1)+log2(x+1)=3\log_2(x-1) + \log_2(x+1) = 3, find xx.

log2[(x1)(x+1)]=3    x21=8    x2=9    x=3\log_2[(x-1)(x+1)] = 3 \implies x^2 - 1 = 8 \implies x^2 = 9 \implies x = 3 (reject x=3x = -3 since log2(4)\log_2(-4) is undefined).

Q10. How many digits does 5205^{20} have? (Use log5=0.699\log 5 = 0.699)

log(520)=20×0.699=13.98\log(5^{20}) = 20 \times 0.699 = 13.98. Characteristic = 13. Number of digits = 13+1=1413 + 1 = 14.

Logarithmic and Exponential Functions — Graphs

The graph of y=logaxy = \log_a x (for a>1a > 1) is:

  • Defined only for x>0x > 0
  • Passes through (1,0)(1, 0) always (loga1=0\log_a 1 = 0)
  • Passes through (a,1)(a, 1) (logaa=1\log_a a = 1)
  • Increasing (slope positive but decreasing)
  • Concave down
  • Approaches -\infty as x0+x \to 0^+

For 0 &lt; a &lt; 1, the graph is decreasing (reflected about the x-axis compared to a>1a > 1).

The exponential function y=axy = a^x is the inverse — its graph is the reflection of logax\log_a x across y=xy = x.

Logarithms in chemistry — pH

pH=log10[H+]\text{pH} = -\log_{10}[\text{H}^+]

If [H+]=103[\text{H}^+] = 10^{-3} M, then pH =3= 3 (acidic). If [H+]=1011[\text{H}^+] = 10^{-11} M, then pH =11= 11 (basic). Neutral water: [H+]=107[\text{H}^+] = 10^{-7}, pH =7= 7.

Logarithms in physics — decibels

dB=10log10II0\text{dB} = 10\log_{10}\frac{I}{I_0}

where I0=1012I_0 = 10^{-12} W/m2^2 (threshold of hearing). A sound of intensity 10610^{-6} W/m2^2 has level 10log(106)=6010\log(10^6) = 60 dB (normal conversation).

These cross-subject applications of logarithms appear in both Chemistry (pH) and Physics (decibels) papers. The underlying skill is identical: converting between exponential and logarithmic form.

Practice Questions