PYQ Vault

MHT-CET Maths · Differentiation

Logarithmic Differentiation — Logs, Powers, and Long Products

When a function is a product, a quotient, or has a variable in the exponent, take the natural log of both sides FIRST — logs turn products into sums and pull exponents down front, so the differentiation becomes routine.

Why this matters

This is the most mechanical high-yield method in the chapter — 32 PYQs sit here, 11 HARD, 19 MODERATE and 2 EASY, yet almost every one follows the SAME three steps. Two shapes dominate the exam: a variable raised to a variable power like (sin x) to the tan x, and a long product (x+1)(2x+1)…(nx+1) whose derivative is asked at x = 0. Master the three steps — take log, differentiate (1/y)·y′, multiply back by y — and most of these become one-minute questions.

Concept 1 of 5: Logarithmic Differentiation — the Method

If yy is a product, a quotient, or — crucially — has a variable in BOTH the base and the exponent, the ordinary power rule and chain rule do not apply directly. Taking the natural log of both sides first turns multiplication into addition and pulls exponents down as multipliers, after which differentiation is straightforward.

Definition

The three-step method for y=f(x)y = f(x):

  • Take logs: write log⁡y=log⁡f(x)\log y = \log f(x) and simplify using log laws (log⁡(ab)=log⁡a+log⁡b\log(ab)=\log a+\log b, log⁡(ap)=plog⁡a\log(a^p)=p\log a).
  • Differentiate both sides: the left becomes 1ydydx\dfrac{1}{y}\dfrac{dy}{dx} (chain rule), the right is now a sum.
  • Multiply back by yy: dydx=y⋅[the differentiated right side]\dfrac{dy}{dx} = y\cdot[\text{the differentiated right side}].

The headline result is the variable-base, variable-exponent rule below — both the "treat the exponent as constant" term and the "treat the base as constant" term appear and ADD.

Derivative of f(x) raised to g(x)

ddx[f(x)g(x)]=f(x)g(x)[g′(x) log⁡f(x)+g(x) f′(x)f(x)]\frac{d}{dx}\left[f(x)^{g(x)}\right] = f(x)^{g(x)}\left[g'(x)\,\log f(x) + g(x)\,\frac{f'(x)}{f(x)}\right]
  • g′(x) log⁡f(x)g'(x)\,\log f(x)the term from differentiating the exponent (treat base as constant)
  • g(x)\,f'(x)/f(x)the term from differentiating the base (treat exponent as constant)

Worked example

If y=xxy = x^x, find dydx\dfrac{dy}{dx}.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2023 · 11th May Shift 2 · Q148Moderate

Example 1 · Differentiation · Logarithmic Differentiation

If y=(sin⁡x)tan⁡xy=(\sin x)^{\tan x}, then dydx\frac{dy}{dx} is equal to

Both terms appear — never use just one

For fgf^g, the "power rule" alone (gfg−1f′g f^{g-1}f') and the "exponential rule" alone (fglog⁡f⋅g′f^g\log f\cdot g') are each HALF the answer. Logarithmic differentiation produces BOTH terms and adds them. Using only one is the single most common error here.

A variable in the exponent kills the power rule

ddx(xx)\dfrac{d}{dx}(x^x) is NOT x⋅xx−1x\cdot x^{x-1}. The power rule ddxxn=nxn−1\dfrac{d}{dx}x^n = nx^{n-1} requires nn to be CONSTANT. When the exponent itself depends on xx, take logs.

cos⁻¹(sin θ) collapses before you differentiate

In mixed stems like cos⁡−1(sin⁡θ)+xx\cos^{-1}(\sin\theta) + x^x, use cos⁡−1(sin⁡θ)=π2−θ\cos^{-1}(\sin\theta) = \tfrac{\pi}{2} - \theta (for θ∈[0,π2]\theta\in[0,\tfrac{\pi}{2}]) to flatten the inverse-trig piece to a simple −θ′-\theta'; only the xxx^x part needs log differentiation. Mixing the two methods up wastes time.

Concept 2 of 5: Products, Quotients and Powers via Logs

When yy is a tangle of products, quotients, and fractional powers, taking logs once flattens the whole thing into a SUM of simple log⁡\log terms. Each term differentiates to (inner)′inner\dfrac{(\text{inner})'}{\text{inner}}, and you read off dy/dxdy/dx almost by inspection.

Definition

After log⁡y=log⁡(everything)\log y = \log(\text{everything}), use the three log laws to split:

  • Product →\to sum: log⁡(ab)=log⁡a+log⁡b\log(ab) = \log a + \log b.
  • Quotient →\to difference: log⁡(a/b)=log⁡a−log⁡b\log(a/b) = \log a - \log b.
  • Power →\to coefficient: log⁡(ap)=plog⁡a\log(a^p) = p\log a (so a fractional exponent 4/34/3 becomes a coefficient 4/34/3).

Each resulting log⁡u(x)\log u(x) differentiates to u′(x)u(x)\dfrac{u'(x)}{u(x)}; then multiply the whole sum by yy. If the function is already wrapped in a log (y=log⁡(⋯ )y = \log(\cdots)), you do NOT have a hidden 1/y1/y — just expand the inside with log laws and differentiate the sum directly.

Log of a power-product

log⁡ ⁣(ap bqcr)=plog⁡a+qlog⁡b−rlog⁡c\log\!\left(\frac{a^{p}\,b^{q}}{c^{r}}\right) = p\log a + q\log b - r\log c

Worked example

If y=x2x−1(x+2)3y = \dfrac{x^2\sqrt{x-1}}{(x+2)^3}, find dydx\dfrac{dy}{dx}.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2023 · 3rd May Shift 1 · Q110Moderate

Example 2 · Differentiation · Logarithmic Differentiation

If y=log⁡e ⁣(x5⋅(3x−4)4/3(x+5)4/3)y=\log_e\!\left(\dfrac{x^{5}\cdot(3x-4)^{4/3}}{(x+5)^{4/3}}\right), then dydx\dfrac{dy}{dx} is equal to

If y is already a log, there is no 1/y

For y=log⁡(expression)y = \log(\text{expression}), expand the inside with log laws and differentiate the SUM directly. The 1ydydx\dfrac{1}{y}\dfrac{dy}{dx} form is only for log⁡y=⋯\log y = \cdots (i.e. you took the log yourself).

Simplify before you differentiate — log⁡1+sin⁡x1−sin⁡x\log\sqrt{\frac{1+\sin x}{1-\sin x}}

Some quotient-log stems collapse to a tidy single function. log⁡1+sin⁡x1−sin⁡x=log⁡tan⁡ ⁣(π4+x2)\log\sqrt{\tfrac{1+\sin x}{1-\sin x}} = \log\tan\!\left(\tfrac{\pi}{4}+\tfrac{x}{2}\right), whose derivative is the clean sec⁡x\sec x. Charging in with the quotient rule on the raw fraction works but is far slower and error-prone.

A fractional exponent becomes a fractional COEFFICIENT

log⁡[(x+5)4/3]=43log⁡(x+5)\log[(x+5)^{4/3}] = \tfrac{4}{3}\log(x+5), not 43(x+5)\tfrac{4}{3}(x+5) and not (x+5)4/3log⁡(x+5)^{4/3}\log. Drop the exponent out front; do not leave it on the argument.

Concept 3 of 5: The Product Chain [(x+1)(2x+1)⋯(nx+1)] Evaluated at x=0

This is the chapter's signature trick. A long product like [(x+1)(2x+1)⋯(nx+1)]p[(x+1)(2x+1)\cdots(nx+1)]^p looks frightening, but logs turn it into a sum and the magic happens AT x=0x=0: every factor kx+1kx+1 equals 11 there, so y=1y=1 and the messy denominators all collapse, leaving a simple sum like ∑k\sum k or ∑k2\sum k^2.

Definition

For y=[(x+1)(2x+1)(3x+1)⋯(nx+1)]py = [(x+1)(2x+1)(3x+1)\cdots(nx+1)]^{p}:

  • Take logs: log⁡y=p∑k=1nlog⁡(kx+1)\log y = p\sum_{k=1}^{n}\log(kx+1).
  • Differentiate: 1ydydx=p∑k=1nkkx+1\dfrac{1}{y}\dfrac{dy}{dx} = p\sum_{k=1}^{n}\dfrac{k}{kx+1}.
  • Evaluate at x=0x=0: every kx+1=1kx+1=1 so y=1y=1 and dydx=p∑k=1nk\dfrac{dy}{dx} = p\sum_{k=1}^{n}k.

The leftover sum is a standard power-sum (carried in the formula box). If the kk-th factor is k2x+1k^2x+1 instead, you get ∑k2\sum k^2. If the product runs (1−x)(2−x)⋯(n−x)(1-x)(2-x)\cdots(n-x) and you evaluate at x=1x=1, only the vanishing factor's term survives — handle that by factoring it out, not by the sum.

Power sums (the leftover at x=0)

∑k=1nk=n(n+1)2∑k=1nk2=n(n+1)(2n+1)6\sum_{k=1}^{n} k = \frac{n(n+1)}{2} \qquad \sum_{k=1}^{n} k^2 = \frac{n(n+1)(2n+1)}{6}
  • pthe outer power (e.g. 22, 44, 3/23/2, or nn) — it just multiplies the sum
  • kthe coefficient of xx in the kk-th factor; squared factors give ∑k2\sum k^2

Worked example

If y=(1+2x)(1+5x)(1+7x)y = (1+2x)(1+5x)(1+7x), find dydx\dfrac{dy}{dx} at x=0x=0.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2023 · 15th May Shift 1 · Q101Moderate

Example 3 · Differentiation · Logarithmic Differentiation

If y=[(x+1)(2x+1)(3x+1)⋯(nx+1)]2y = [(x+1)(2x+1)(3x+1)\cdots(nx+1)]^{2}, then dydx\frac{dy}{dx} at x=0x=0 is

Substitute x=0 only AFTER differentiating

If you plug x=0x=0 into yy before differentiating, you get the constant 11 and derivative 00 — wrong. Differentiate the log-sum fully (keep xx), THEN set x=0x=0 so the denominators collapse to 11.

Squared factor ⇒\Rightarrow ∑k2\sum k^2, not ∑k\sum k

If the kk-th factor is k2x+1k^2x+1 (i.e. 1,4x+1,9x+1,…1, 4x+1, 9x+1,\ldots), differentiating log⁡(k2x+1)\log(k^2x+1) gives k2k2x+1\dfrac{k^2}{k^2x+1}, so the leftover sum is ∑k2=n(n+1)(2n+1)6\sum k^2 = \tfrac{n(n+1)(2n+1)}{6}. Don't reflexively write ∑k\sum k.

Product like (1-x)(2-x)⋯(n-x) at x=1 — factor, don't sum

When a factor itself VANISHES at the evaluation point (here (1−x)=0(1-x)=0 at x=1x=1), the 1yy′\dfrac{1}{y}y' form blows up. Instead write y=(1−x) g(x)y=(1-x)\,g(x); then y′(1)=−1⋅g(1)y'(1) = -1\cdot g(1), where g(1)g(1) is the product of the remaining factors at x=1x=1.

The outer power just multiplies the sum

A power 3/23/2 or nn on the whole product becomes a coefficient pp in log⁡y=p∑log⁡(⋯ )\log y = p\sum\log(\cdots). So the answer is always p∑kp\sum k (or p∑k2p\sum k^2) — e.g. power 3/23/2 gives 32⋅n(n+1)2=3n(n+1)4\tfrac{3}{2}\cdot\tfrac{n(n+1)}{2} = \tfrac{3n(n+1)}{4}.

Concept 4 of 5: Change of Base and log-of-a-log Forms

A logarithm with a VARIABLE base — like log⁡sin⁡x(tan⁡x)\log_{\sin x}(\tan x) — can't be differentiated as is. Change it to natural logs first via log⁡ab=log⁡blog⁡a\log_a b = \dfrac{\log b}{\log a}; now both top and bottom are ordinary logs and the quotient rule finishes the job.

Definition

Change of base: log⁡ab=log⁡blog⁡a\log_a b = \dfrac{\log b}{\log a} (any common base; use natural log⁡\log). This converts a variable-base logarithm into a QUOTIENT of two natural logs, after which differentiate by the quotient rule. Nested form: log⁡x2(log⁡x)=log⁡(log⁡x)log⁡(x2)=log⁡(log⁡x)2log⁡x\log_{x^2}(\log x) = \dfrac{\log(\log x)}{\log(x^2)} = \dfrac{\log(\log x)}{2\log x}; differentiate this quotient, then evaluate. Many of these are asked at a clean point (x=π4x = \tfrac{\pi}{4}, x=ex = e) where one of the two log terms vanishes, killing half the quotient-rule expression.

Change of base

log⁡ab=log⁡blog⁡a\log_a b = \frac{\log b}{\log a}
  • log⁡\lognatural log (base ee) throughout this chapter
  • athe base — when it depends on xx, this is why you must convert

Worked example

If y=log⁡x(e)y = \log_{x}(e), find dydx\dfrac{dy}{dx} for x>0, x≠1x>0,\ x\neq 1.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2024 · 11th May Shift 1 · Q102Hard

Example 4 · Differentiation · Logarithmic Differentiation

If y=log⁡sin⁡x(tan⁡x)y = \log_{\sin x}(\tan x), then dydx∣x=π/4\left.\frac{dy}{dx}\right|_{x=\pi/4} has the value

Convert the variable base BEFORE differentiating

ddxlog⁡sin⁡x(tan⁡x)\dfrac{d}{dx}\log_{\sin x}(\tan x) cannot be done with the 1u\dfrac{1}{u} rule directly — the base sin⁡x\sin x is not constant. Always rewrite as log⁡tan⁡xlog⁡sin⁡x\dfrac{\log\tan x}{\log\sin x} first, then use the quotient rule.

A vanishing log term kills half the quotient rule

At nice points (x=π/4x=\pi/4 gives log⁡tan⁡x=0\log\tan x = 0; x=ex=e gives log⁡log⁡x=0\log\log x = 0), the quotient-rule term multiplying that zero disappears. Spot the vanishing term FIRST — it saves most of the algebra. The bank answer for log⁡sin⁡xtan⁡x\log_{\sin x}\tan x at π/4\pi/4 is −4log⁡2-4\log 2.

log of a log is NOT (log)²

log⁡(log⁡x)\log(\log x) is a composition (log applied to log⁡x\log x), with derivative 1log⁡x⋅1x\dfrac{1}{\log x}\cdot\dfrac{1}{x}. It is not (log⁡x)2(\log x)^2, whose derivative would be 2log⁡x⋅1x2\log x\cdot\tfrac{1}{x}. Keep the two straight.

Concept 5 of 5: Square-Root Quotients with Inverse-Trig Arguments

A function like 1−sin⁡−1x1+sin⁡−1x\sqrt{\dfrac{1-\sin^{-1}x}{1+\sin^{-1}x}} bundles a square root, a quotient, and an inverse-trig term. Logs flatten all three at once: the  \sqrt{\ } becomes a 12\tfrac{1}{2} coefficient and the quotient becomes a difference, leaving a short sum to differentiate and evaluate.

Definition

For y=1−u1+uy = \sqrt{\dfrac{1 - u}{1 + u}} where u=u(x)u = u(x) (e.g. u=sin⁡−1xu = \sin^{-1}x):

  • Take logs and use the square root →\to 12\tfrac{1}{2}: log⁡y=12[log⁡(1−u)−log⁡(1+u)]\log y = \tfrac{1}{2}[\log(1-u) - \log(1+u)].
  • Differentiate: 1ydydx=12[−u′1−u−u′1+u]\dfrac{1}{y}\dfrac{dy}{dx} = \tfrac{1}{2}\left[\dfrac{-u'}{1-u} - \dfrac{u'}{1+u}\right].
  • Multiply back by yy and evaluate at the given point.

When asked at x=0x=0, note sin⁡−10=0\sin^{-1}0 = 0, so u=0u=0, y=1y=1, and u′=11−x2=1u' = \dfrac{1}{\sqrt{1-x^2}} = 1 at x=0x=0 — the whole expression collapses to a single clean number.

Log of a square-root quotient

log⁡1−u1+u=12[log⁡(1−u)−log⁡(1+u)]\log\sqrt{\frac{1-u}{1+u}} = \frac{1}{2}\Big[\log(1-u) - \log(1+u)\Big]
  • uthe inner function, e.g. sin⁡−1x\sin^{-1}x, with u′=1/1−x2u' = 1/\sqrt{1-x^2}
  • 1/2the coefficient produced by the outer square root

Worked example

If y=1−x1+xy = \sqrt{\dfrac{1-x}{1+x}}, find dydx\dfrac{dy}{dx}.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2024 · 11th May Shift 1 · Q150Moderate

Example 5 · Differentiation · Logarithmic Differentiation

If y=1−sin⁡−1(x)1+sin⁡−1(x)y = \sqrt{\frac{1-\sin^{-1}(x)}{1+\sin^{-1}(x)}}, then dydx\frac{dy}{dx} at x=0x=0 and y=1y=1 is

Don't forget the chain factor u' on the inverse-trig inner

When u=sin⁡−1xu = \sin^{-1}x, each log⁡(1±u)\log(1\pm u) differentiates to ±u′1±u\dfrac{\pm u'}{1\pm u} with u′=11−x2u' = \dfrac{1}{\sqrt{1-x^2}}. Dropping the u′u' (treating uu as xx) is a frequent error; at x=0x=0 it happens to equal 11, but you must include it in general.

Compute y at the point — usually y=1 at x=0

You multiply 1yy′\dfrac{1}{y}y' by yy to finish. At x=0x=0 the quotient under the root is 11=1\tfrac{1}{1}=1, so y=1y=1 and the multiply-back is trivial. Forgetting to put yy back (leaving only 1yy′\tfrac{1}{y}y') gives the wrong magnitude when y≠1y\neq 1.

Watch which factor is on top — it sets the sign

1−sin⁡−1x1+sin⁡−1x\sqrt{\tfrac{1-\sin^{-1}x}{1+\sin^{-1}x}} gives −1-1 at x=0x=0; flipping to 1+sin⁡−1x1−sin⁡−1x\sqrt{\tfrac{1+\sin^{-1}x}{1-\sin^{-1}x}} gives +1+1. The numerator/denominator order flips every sign — read the stem carefully before reaching for a memorised answer.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (5)

  • Logarithmic Differentiation — the Method

    Derivative of f(x) raised to g(x)

    ddx[f(x)g(x)]=f(x)g(x)[g′(x) log⁡f(x)+g(x) f′(x)f(x)]\frac{d}{dx}\left[f(x)^{g(x)}\right] = f(x)^{g(x)}\left[g'(x)\,\log f(x) + g(x)\,\frac{f'(x)}{f(x)}\right]
  • Products, Quotients and Powers via Logs

    Log of a power-product

    log⁡ ⁣(ap bqcr)=plog⁡a+qlog⁡b−rlog⁡c\log\!\left(\frac{a^{p}\,b^{q}}{c^{r}}\right) = p\log a + q\log b - r\log c
  • The Product Chain [(x+1)(2x+1)⋯(nx+1)] Evaluated at x=0

    Power sums (the leftover at x=0)

    ∑k=1nk=n(n+1)2∑k=1nk2=n(n+1)(2n+1)6\sum_{k=1}^{n} k = \frac{n(n+1)}{2} \qquad \sum_{k=1}^{n} k^2 = \frac{n(n+1)(2n+1)}{6}
  • Change of Base and log-of-a-log Forms

    Change of base

    log⁡ab=log⁡blog⁡a\log_a b = \frac{\log b}{\log a}
  • Square-Root Quotients with Inverse-Trig Arguments

    Log of a square-root quotient

    log⁡1−u1+u=12[log⁡(1−u)−log⁡(1+u)]\log\sqrt{\frac{1-u}{1+u}} = \frac{1}{2}\Big[\log(1-u) - \log(1+u)\Big]

Watch out for (16)

Test yourself on Differentiation

20 past MHT-CET questions from this chapter, timed at 36 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.