MHT-CET Maths · Differentiation

Differentiating One Function With Respect to Another

To find how u changes with respect to v (not x), differentiate both with respect to x and divide: du/dv equals (du/dx) over (dv/dx).

Why this matters

This is a compact, formulaic technique that turns up almost every year as a quick scoring question — and it is pure mechanics once you see the trick. 5 PYQs sit directly here, 3 HARD and 2 MODERATE: most pair two composite functions and ask for their rate of change at a point, and the harder ones supply f' and g' at specific values so you must apply the chain rule to numerator and denominator separately. Master the single formula below and these become easy marks.

Concept 1 of 2

Differentiating One Function With Respect to Another

Intuition

When a question asks for the rate of change of one function with respect to ANOTHER function (not with respect to x), you cannot differentiate directly. The trick is to route both through x: differentiate the top function and the bottom function with respect to x, then divide. The shared dx cancels.

Definition

To differentiate u=f(x)u = f(x) with respect to v=g(x)v = g(x), differentiate each with respect to xx and take the ratio:

  • Compute dudx\dfrac{du}{dx} and dvdx\dfrac{dv}{dx} separately.
  • Then dudv=du/dxdv/dx\dfrac{du}{dv} = \dfrac{du/dx}{dv/dx}, provided dvdx0\dfrac{dv}{dx} \neq 0.

If a specific point is given, substitute it only after forming the ratio.

Derivative of u with respect to v

dudv=dudxdvdx,dvdx0\dfrac{du}{dv} = \dfrac{\dfrac{du}{dx}}{\dfrac{dv}{dx}}, \qquad \dfrac{dv}{dx} \neq 0
  • u = f(x)the function being differentiated (the 'top')
  • v = g(x)the function we differentiate with respect to (the 'bottom')
  • dv/dx \neq 0ratio is undefined where the bottom's derivative vanishes

Worked example

Find the derivative of x3x^3 with respect to x2x^2.
  1. Let u=x3u = x^3 and v=x2v = x^2. These are differentiated with respect to xx, not each other.
  2. Differentiate each with respect to xx: dudx=3x2\dfrac{du}{dx} = 3x^2 and dvdx=2x\dfrac{dv}{dx} = 2x.
  3. Form the ratio: dudv=3x22x=3x2\dfrac{du}{dv} = \dfrac{3x^2}{2x} = \dfrac{3x}{2}.
Answer:dudv=3x2\dfrac{du}{dv} = \dfrac{3x}{2}
Practice this conceptself-check · 4 quick reps

Try it yourself

Find the derivative of logx\log x with respect to x2x^2.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Derivative of x4x^4 with respect to x2x^2.
  2. 2.
    Derivative of sinx\sin x with respect to cosx\cos x.
  3. 3.
    Derivative of e2xe^{2x} with respect to exe^x.
  4. 4.
    Derivative of x2x^2 with respect to 1x\dfrac{1}{x}.

From the bank · past-year question

Example 1DifferentiationMODERATE
Derivative of exe^{\sqrt{x}} w.r.t. x\sqrt{x} is

[Q124 · 9th May Shift 1 · 2023]

Do NOT differentiate one function directly by the other

dudv\dfrac{du}{dv} is not 'differentiate uu and substitute vv'. You must form both dudx\dfrac{du}{dx} and dvdx\dfrac{dv}{dx} and divide. There is no shortcut that skips xx.

Substitute the point only after dividing

If a value like x=5x = 5 is given, keep xx symbolic while you form du/dxdv/dx\dfrac{du/dx}{dv/dx}, then substitute. Plugging the point into dudx\dfrac{du}{dx} and dvdx\dfrac{dv}{dx} before simplifying invites arithmetic slips.

The bottom's derivative must be non-zero

dudv=du/dxdv/dx\dfrac{du}{dv} = \dfrac{du/dx}{dv/dx} is only valid where dvdx0\dfrac{dv}{dx} \neq 0. If v=g(x)v = g(x) has a stationary point at the value asked, the rate of change with respect to vv is undefined there.

Concept 2 of 2

Composite Functions Using Given Derivatives f' and g'

Intuition

A harder version pairs two composite functions like f(secx)f(\sec x) and g(tanx)g(\tan x), and hands you the values of ff' and gg' at specific points. Same ratio idea — but now differentiating the top and bottom needs the chain rule, and the inner derivative and the supplied ff'/gg' value both ride along.

Definition

To differentiate f(p(x))f(p(x)) with respect to g(q(x))g(q(x)):

  • Chain-rule the top: ddxf(p(x))=f(p(x))p(x)\dfrac{d}{dx}f(p(x)) = f'(p(x)) \cdot p'(x).
  • Chain-rule the bottom: ddxg(q(x))=g(q(x))q(x)\dfrac{d}{dx}g(q(x)) = g'(q(x)) \cdot q'(x).
  • Take the ratio: f(p(x))p(x)g(q(x))q(x)\dfrac{f'(p(x))\,p'(x)}{g'(q(x))\,q'(x)}, then substitute the given point and the supplied values of ff' and gg'.

Composite-over-composite ratio

d[f(p(x))]d[g(q(x))]=f(p(x))p(x)g(q(x))q(x)\dfrac{d\,[f(p(x))]}{d\,[g(q(x))]} = \dfrac{f'(p(x))\,p'(x)}{g'(q(x))\,q'(x)}
  • f'(p(x))outer derivative of the top, read from the given f' value
  • p'(x)inner derivative of the top function
  • g'(q(x))outer derivative of the bottom, read from the given g' value
  • q'(x)inner derivative of the bottom function

Worked example

Find the derivative of f(sinx)f(\sin x) with respect to g(cosx)g(\cos x) at x=π3x = \dfrac{\pi}{3}, given f ⁣(32)=4f'\!\left(\dfrac{\sqrt{3}}{2}\right) = 4 and g ⁣(12)=2g'\!\left(\dfrac{1}{2}\right) = 2.
  1. Chain-rule the top: ddxf(sinx)=f(sinx)cosx\dfrac{d}{dx}f(\sin x) = f'(\sin x)\cdot\cos x.
  2. Chain-rule the bottom: ddxg(cosx)=g(cosx)(sinx)\dfrac{d}{dx}g(\cos x) = g'(\cos x)\cdot(-\sin x).
  3. Form the ratio: f(sinx)cosxg(cosx)(sinx)\dfrac{f'(\sin x)\,\cos x}{g'(\cos x)\,(-\sin x)}.
  4. At x=π3x = \dfrac{\pi}{3}: sinx=32\sin x = \dfrac{\sqrt{3}}{2}, cosx=12\cos x = \dfrac{1}{2}. Substitute the given values: 4122(32)=23\dfrac{4 \cdot \frac{1}{2}}{2 \cdot \left(-\frac{\sqrt{3}}{2}\right)} = \dfrac{2}{-\sqrt{3}}.
Answer:23-\dfrac{2}{\sqrt{3}}
Practice this conceptself-check · 4 quick reps

Try it yourself

Find the derivative of f(x2)f(x^2) with respect to g(x3)g(x^3) at x=1x = 1, given f(1)=6f'(1) = 6 and g(1)=2g'(1) = 2.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Derivative of f(x2)f(x^2) w.r.t. g(x)g(x) at x=2x = 2, given f(4)=3f'(4) = 3, g(2)=1g'(2) = 1.
  2. 2.
    Derivative of f(logx)f(\log x) w.r.t. g(x)g(x) at x=1x = 1, given f(0)=5f'(0) = 5, g(1)=1g'(1) = 1.
  3. 3.
    Derivative of f(sinx)f(\sin x) w.r.t. g(sinx)g(\sin x) at any xx, given f(t)=3f'(t) = 3, g(t)=2g'(t) = 2 for all tt.
  4. 4.
    Derivative of f(ex)f(e^x) w.r.t. g(x)g(x) at x=0x = 0, given f(1)=7f'(1) = 7, g(0)=7g'(0) = 7.

From the bank · past-year question

Example 2DifferentiationHARD
The derivative of f(secx)f(\sec x) with respect to g(tanx)g(\tan x) at x=π4x=\frac{\pi}{4}, where f(2)=4f'(2)=4 and g(1)=2g'(1)=2, is

[Q105 · 9th May Shift 1 · 2024]

Each inner derivative must be carried through

When the top is f(secx)f(\sec x), its derivative is f(secx)secxtanxf'(\sec x)\cdot\sec x\tan x — the inner secxtanx\sec x\tan x is part of it. Forgetting the inner derivative is the most common slip and silently drops a factor.

Match each supplied value to the right inner argument

A given f(2)f'(\sqrt{2}) is meant for where the inner function equals 2\sqrt{2} (e.g. secπ4=2\sec\frac{\pi}{4} = \sqrt{2}) — not for x=2x = \sqrt{2}. Evaluate the inner function at the given xx first, then read off the matching ff' value.

Keep the negative sign on falling inner functions

If the bottom is g(cosx)g(\cos x), its inner derivative is sinx-\sin x; the minus sign stays in the denominator and sets the sign of the final answer. Drop it and you get the right magnitude with the wrong sign.

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 (2)

Watch out for (6)

Mastery check — 3 interleaved questions

Try each one before clicking. Questions are interleaved across the concepts above, not grouped — interleaving sharpens transfer.

Example 1DifferentiationHARD
The rate of change of x2+16\sqrt{x^2+16} with respect to xx1\frac{x}{x-1} at x=5x=5 is

[Q127 · 9th May Shift 1 · 2024]

Example 2DifferentiationHARD
The derivative of f(tanx)f(\tan x) w.r.t. g(secx)g(\sec x) at x=π4x=\frac{\pi}{4} where f(1)=2f'(1)=2 and g(2)g'(\sqrt{2}) is

[Q109 · 12th May Shift 1 · 2024]

Example 3DifferentiationMODERATE
Derivative of sin2x\sin^{2}x with respect to ecosxe^{\cos x} is

[Q146 · 3rd May Shift 2 · 2023]

Drill every past-year question on this subtopic

5 questions from the bank — paginated, with cart and Word-export support.