PYQ Vault

NDA Mathematics · Formula sheet

Logarithms formulas

10 formulas and 13 common traps for NDA Mathematics Logarithms, grouped by subtopic.

Full notes with worked examples

Logarithm Identities, Change of Base & Sums

Learn this subtopic in the notes

What a Logarithm Is — Laws, Special Values, Domain

The defining equivalence and the three laws

log⁡aN=x  ⟺  ax=N;log⁡a(MN)=log⁡aM+log⁡aN,  log⁡aMk=klog⁡aM\log_a N = x \iff a^x = N;\quad \log_a(MN)=\log_a M+\log_a N,\ \ \log_a M^k = k\log_a M

Applying the Laws — Evaluate and Combine

Rewrite as powers, then pull the exponent out

log⁡a(bm⋅cn)=mlog⁡ab+nlog⁡ac\log_a(b^m \cdot c^n) = m\log_a b + n\log_a c

Change of Base & the Reciprocal Identity

Change of base and its reciprocal twin

log⁡ba=log⁡alog⁡b,1log⁡ab=log⁡ba\log_b a = \dfrac{\log a}{\log b}, \qquad \dfrac{1}{\log_a b} = \log_b a

Sign of a Logarithm & Bounds of a Log Function

Sign of a log (base > 1)

log⁡aN  {>0N>1=0N=1<00<N<1\log_a N \;\begin{cases}>0 & N>1\\ =0 & N=1\\ <0 & 0<N<1\end{cases}

Logarithms in AP/GP and the Geometric Mean

AP and GP conditions for three terms

AP:2q=p+r,GP:q2=pr\text{AP}: 2q = p+r, \qquad \text{GP}: q^2 = pr

Common traps

log⁡(M+N)\log(M+N) is NOT log⁡M+log⁡N\log M + \log N

The product law splits a log of a product, not a log of a sum. log⁡a(M+N)\log_a(M+N) has no simplification — only log⁡a(MN)\log_a(MN) splits into log⁡aM+log⁡aN\log_a M+\log_a N.

The base must be >0>0 and ≠1\neq 1

log⁡aN\log_a N is only defined for a base a>0, a≠1a > 0,\ a \neq 1. A base of 11 is forbidden because 1x=11^x = 1 for every xx, so log⁡1N\log_1 N has no unique value; a base ≤0\le 0 breaks the exponential entirely.

Keep the base when you pull out a power

log⁡7777\log_7\sqrt{7\sqrt{7\sqrt{7}}} first becomes 78\tfrac{7}{8}, but a second outer log⁡7\log_7 of that gives log⁡778=1−3log⁡72\log_7\tfrac{7}{8} = 1 - 3\log_7 2 — don't lose the −log⁡78=−3log⁡72-\log_7 8 = -3\log_7 2 term.

Reciprocal flips the base and the argument together

1log⁡ab=log⁡ba\dfrac{1}{\log_a b} = \log_b a — the base and argument swap. It does NOT equal log⁡a(1/b)\log_a(1/b) (which would be −log⁡ab-\log_a b). Keep the two operations separate.

Change of base does NOT invert the fraction

log⁡ba=log⁡alog⁡b\log_b a = \dfrac{\log a}{\log b} — the NEW argument aa goes on top, the NEW base bb on the bottom. Writing it upside-down as log⁡blog⁡a\dfrac{\log b}{\log a} gives log⁡ab\log_a b, the reciprocal, and flips the whole answer.

The minimum is of the LOG, not the quadratic

After finding the quadratic's minimum (say 100100), you must still take log⁡10100=2\log_{10} 100 = 2. The smallest argument and the smallest log value are different numbers — the question asks for the log.

AP holding does not make it GP — test GP separately

p,q,rp, q, r being in AP says nothing about GP. The GP condition q2=prq^2 = pr must be checked on its own; for ln⁡x,3ln⁡x,5ln⁡x\ln x, 3\ln x, 5\ln x it fails because 9≠59 \neq 5, so the terms are AP-but-never-GP.

Solving Logarithmic Equations & Applications

Learn this subtopic in the notes

Taking the Log of an Exponential Equation

Bring the exponent down with a log

ax=b  ⇒  x=log⁡blog⁡aa^x = b \;\Rightarrow\; x = \dfrac{\log b}{\log a}

Substitution t = aˣ to a Quadratic

Let t = aˣ and solve the quadratic (keep t > 0)

t=ax>0,t2+bt+c=0  ⇒  x=log⁡att = a^x > 0,\quad t^2 + bt + c = 0 \;\Rightarrow\; x = \log_a t

Domain Checks & Counting Solutions

Keep only roots with every argument > 0

log⁡aM=log⁡aN⇒M=N, then require M,N>0\log_a M = \log_a N \Rightarrow M = N,\ \text{then require } M,N > 0

GP, Chain-Rule & AM-GM Conditions

Chain rule and the AM-GM floor

log⁡xa⋅log⁡bx=log⁡ba,t+1t≥2 (t>0)\log_x a\cdot\log_b x = \log_b a, \qquad t + \tfrac{1}{t} \ge 2\ (t>0)

Application — Trailing Zeros of a Factorial

Legendre — trailing zeros count the 5s

Z(n)=∑i≥1⌊n5i⌋Z(n) = \sum_{i\ge 1}\left\lfloor \dfrac{n}{5^i} \right\rfloor

Common traps

log⁡100.2=log⁡102−1\log_{10} 0.2 = \log_{10} 2 - 1, which is negative

Writing 0.2=2100.2 = \tfrac{2}{10} gives log⁡100.2=log⁡102−log⁡1010=0.3010−1=−0.6990\log_{10} 0.2 = \log_{10} 2 - \log_{10} 10 = 0.3010 - 1 = -0.6990. Dropping the −1-1 flips the sign of xx — the answer to (0.2)x=2(0.2)^x = 2 is negative.

Throw out the non-positive t

A quadratic in t=2xt = 2^x often hands you a negative root. Because 2x2^x is strictly positive, that root yields no real xx — keep only t>0t > 0 before solving x=log⁡2tx = \log_2 t.

An algebraic root is not a solution until the domain clears it

x−1=(x−3)2x-1 = (x-3)^2 gives x=2x = 2 and x=5x = 5, but x=2x = 2 makes x−3=−1<0x-3 = -1 < 0, so log⁡2(x−3)\log_2(x-3) is undefined. Only x=5x = 5 is a genuine solution — always re-substitute into the ORIGINAL equation.

The argument must be strictly positive — 00 is not allowed

log⁡ax\log_a x is undefined for x≤0x \le 0, and that includes x=0x = 0: there is no power of aa that gives 00. A root that makes ANY argument equal to 00 (not just negative) must be rejected — the domain requires every argument >0> 0, strictly.

The GP condition squares the MIDDLE term

For p,q,rp, q, r in GP the relation is q2=prq^2 = pr — the middle term is squared and set equal to the product of the outer two. Squaring the wrong term derails the whole chain-rule collapse.

Count the 5s, not the 2s — and don't forget 25, 125…

Each multiple of 2525 contributes an EXTRA 55 beyond the one already counted by ⌊n/5⌋\lfloor n/5\rfloor. Stopping at ⌊n/5⌋\lfloor n/5\rfloor undercounts for n≥25n \ge 25.

More NDA Mathematics formula sheets