Skip to content

Mathematics · Ch 8 — Differentiation

Derivatives of Some Standard Composite Functions (Table 1.1.2)

8.1.3

Derivatives of Some Standard Composite Functions (Table 1.1.2)

Applying the chain rule to every entry of the Class 11 table, but with a general differentiable inner function f(x)f(x) in place of plain xx, produces the composite-function reference table used throughout this chapter (every entry carries an extra factor of f′(x)f'(x) compared to the plain table):

y=[f(x)]ndydx=n[f(x)]n−1f′(x)y=f(x)dydx=f′(x)2f(x)y=1[f(x)]ndydx=−nf′(x)[f(x)]n+1y=sin⁡[f(x)]dydx=cos⁡[f(x)]f′(x)y=cos⁡[f(x)]dydx=−sin⁡[f(x)]f′(x)y=tan⁡[f(x)]dydx=sec⁡2[f(x)]f′(x)y=sec⁡[f(x)]dydx=sec⁡[f(x)]tan⁡[f(x)]f′(x)y=af(x)dydx=af(x)log⁡a⋅f′(x)y=ef(x)dydx=ef(x)f′(x)y=log⁡[f(x)]dydx=f′(x)f(x)\begin{array}{ll} y=[f(x)]^n & \dfrac{dy}{dx}=n[f(x)]^{n-1}f'(x) \\ y=\sqrt{f(x)} & \dfrac{dy}{dx}=\dfrac{f'(x)}{2\sqrt{f(x)}} \\ y=\dfrac1{[f(x)]^n} & \dfrac{dy}{dx}=\dfrac{-nf'(x)}{[f(x)]^{n+1}} \\ y=\sin[f(x)] & \dfrac{dy}{dx}=\cos[f(x)]f'(x) \\ y=\cos[f(x)] & \dfrac{dy}{dx}=-\sin[f(x)]f'(x) \\ y=\tan[f(x)] & \dfrac{dy}{dx}=\sec^2[f(x)]f'(x) \\ y=\sec[f(x)] & \dfrac{dy}{dx}=\sec[f(x)]\tan[f(x)]f'(x) \\ y=a^{f(x)} & \dfrac{dy}{dx}=a^{f(x)}\log a\cdot f'(x) \\ y=e^{f(x)} & \dfrac{dy}{dx}=e^{f(x)}f'(x) \\ y=\log[f(x)] & \dfrac{dy}{dx}=\dfrac{f'(x)}{f(x)} \end{array}

When a solution introduces u=f(x)u=f(x) explicitly and applies the chain rule as two separate steps, that is called Method 1; once the pattern is familiar, it is faster to mentally 'treat the inner block as u' and write the derivative in one line — that is Method 2, used for the rest of the chapter.

Worked Example 1 — differentiate w.r.t. x:

  1. y=x2+5y=\sqrt{x^2+5}: with u=x2+5u=x^2+5, dydu=12u\dfrac{dy}{du}=\dfrac1{2\sqrt u} and dudx=2x\dfrac{du}{dx}=2x, so dydx=2x2x2+5=xx2+5\dfrac{dy}{dx}=\dfrac{2x}{2\sqrt{x^2+5}}=\dfrac{x}{\sqrt{x^2+5}}.
  2. y=sin⁡(log⁡x)y=\sin(\log x): dydx=cos⁡(log⁡x)⋅1x=cos⁡(log⁡x)x\dfrac{dy}{dx}=\cos(\log x)\cdot\dfrac1x=\dfrac{\cos(\log x)}{x}.
  3. y=etan⁡xy=e^{\tan x}: dydx=etan⁡xsec⁡2x\dfrac{dy}{dx}=e^{\tan x}\sec^2x.
  4. y=log⁡(x5+4)y=\log(x^5+4): dydx=5x4x5+4\dfrac{dy}{dx}=\dfrac{5x^4}{x^5+4}.
  5. y=53cos⁡x−2y=5^{3\cos x-2}: dydx=53cos⁡x−2log⁡5⋅(−3sin⁡x)=−3sin⁡x⋅53cos⁡x−2log⁡5\dfrac{dy}{dx}=5^{3\cos x-2}\log5\cdot(-3\sin x)=-3\sin x\cdot5^{3\cos x-2}\log5.
  6. y=(2x2−7)53=(2x2−7)5/3y=\sqrt[3]{(2x^2-7)^5}=(2x^2-7)^{5/3}: dydx=53(2x2−7)2/3⋅4x=20x3(2x2−7)2/3\dfrac{dy}{dx}=\dfrac53(2x^2-7)^{2/3}\cdot4x=\dfrac{20x}{3}(2x^2-7)^{2/3}. Worked Example 2 — differentiate w.r.t. x:

(i) y=sin⁡x3y=\sqrt{\sin x^3}: dydx=cos⁡(x3)⋅3x22sin⁡x3=3x2cos⁡(x3)2sin⁡x3\dfrac{dy}{dx}=\dfrac{\cos(x^3)\cdot3x^2}{2\sqrt{\sin x^3}}=\dfrac{3x^2\cos(x^3)}{2\sqrt{\sin x^3}}.

(ii) y=cot⁡2(x3)y=\cot^2(x^3): dydx=2cot⁡(x3)⋅[−cosec2(x3)]⋅3x2=−6x2cot⁡(x3)cosec2(x3)\dfrac{dy}{dx}=2\cot(x^3)\cdot[-\text{cosec}^2(x^3)]\cdot3x^2=-6x^2\cot(x^3)\text{cosec}^2(x^3).

(iii) y=log⁡[cos⁡(x5)]y=\log[\cos(x^5)]: dydx=−sin⁡(x5)⋅5x4cos⁡(x5)=−5x4tan⁡(x5)\dfrac{dy}{dx}=\dfrac{-\sin(x^5)\cdot5x^4}{\cos(x^5)}=-5x^4\tan(x^5).

(iv) y=(x3+2x−3)4(x+cos⁡x)3y=(x^3+2x-3)^4(x+\cos x)^3: by the product rule, each factor is differentiated in turn (using the chain rule inside each): dydx=3(x3+2x−3)4(x+cos⁡x)2(1−sin⁡x)+4(3x2+2)(x3+2x−3)3(x+cos⁡x)3\dfrac{dy}{dx}=3(x^3+2x-3)^4(x+\cos x)^2(1-\sin x)+4(3x^2+2)(x^3+2x-3)^3(x+\cos x)^3.

(v) y=(1+cos⁡2x)4x+tan⁡xy=(1+\cos^2x)^4\sqrt x+\sqrt{\tan x}: differentiate the product term and the root term separately. ddx ⁣[(1+cos⁡2x)4]=4(1+cos⁡2x)3⋅2cos⁡x(−sin⁡x)=−8(1+cos⁡2x)3sin⁡xcos⁡x\dfrac{d}{dx}\!\left[(1+\cos^2x)^4\right]=4(1+\cos^2x)^3\cdot2\cos x(-\sin x)=-8(1+\cos^2x)^3\sin x\cos x, so by the product rule ddx ⁣[(1+cos⁡2x)4x]=(1+cos⁡2x)42x−8x(1+cos⁡2x)3sin⁡xcos⁡x\dfrac{d}{dx}\!\left[(1+\cos^2x)^4\sqrt x\right]=\dfrac{(1+\cos^2x)^4}{2\sqrt x}-8\sqrt x(1+\cos^2x)^3\sin x\cos x; and ddxtan⁡x=sec⁡2x2tan⁡x\dfrac{d}{dx}\sqrt{\tan x}=\dfrac{\sec^2x}{2\sqrt{\tan x}}. Adding, dydx=(1+cos⁡2x)42x−8x(1+cos⁡2x)3sin⁡xcos⁡x+sec⁡2x2tan⁡x.\dfrac{dy}{dx}=\dfrac{(1+\cos^2x)^4}{2\sqrt x}-8\sqrt x(1+\cos^2x)^3\sin x\cos x+\dfrac{\sec^2x}{2\sqrt{\tan x}}.

Worked Example 3 — differentiate w.r.t. x (composites of a logarithm to a non-ee base, handled via the change-of-base formula log⁡au=ln⁡uln⁡a\log_a u=\dfrac{\ln u}{\ln a}, so a constant factor 1ln⁡a\dfrac1{\ln a} simply carries through the derivative):

(i) y=log⁡3(log⁡5x)y=\log_3(\log_5x). Writing log⁡5x=ln⁡xln⁡5\log_5x=\dfrac{\ln x}{\ln5} so y=log⁡3(ln⁡x)−log⁡3(ln⁡5)y=\log_3(\ln x)-\log_3(\ln5), and the second term is a constant, dydx=1ln⁡3⋅1ln⁡x⋅1x=1xln⁡xln⁡3\dfrac{dy}{dx}=\dfrac{1}{\ln3}\cdot\dfrac{1}{\ln x}\cdot\dfrac1x=\dfrac1{x\ln x\ln3}.

Parts (ii)–(iv) of this example continue in the same spirit — a logarithm of a logarithm, or a logarithm of a trigonometric/algebraic composite, to a non-standard base — and are differentiated the same way: rewrite with the change-of-base formula so the base becomes a constant multiplier, then apply the ordinary chain rule to what remains; the source scan for these particular sub-parts was too fragmented to transcribe safely, so their exact printed expressions are not reproduced here, but the technique demonstrated in parts (i) and (v)–(vi) is the same one that resolves them.

(v) A composite built from alog⁡af(x)=f(x)a^{\log_a f(x)}=f(x) collapses first: once simplified, this example reduces to y=sin⁡2x+cos⁡2x=1y=\sin^2x+\cos^2x=1, a constant, so dydx=0\dfrac{dy}{dx}=0 — a reminder to always simplify algebraically/trigonometrically before differentiating, since a constant function's derivative is trivially zero no matter how complicated it looked originally.

(vi) y=acot⁡xy=a^{\cot x} (again using alog⁡af(x)=f(x)a^{\log_a f(x)}=f(x) to arrive at this simplified form first): dydx=acot⁡xlog⁡a⋅(−cosec2x)=−cosec2x⋅acot⁡xlog⁡a\dfrac{dy}{dx}=a^{\cot x}\log a\cdot(-\text{cosec}^2x)=-\text{cosec}^2x\cdot a^{\cot x}\log a. …

Table 1Composite-function derivative table (Table 1.1.2)

y -> dy/dx

[f(x)]^n -> n [f(x)]^(n-1) . f'(x)

sqrt(f(x)) -> f'(x) / (2 sqrt(f(x)))

1/[f(x)]^n -> -n f'(x) / [f(x)]^(n+1)

sin[f(x)] -> cos[f(x)] . f'(x)

cos[f(x)] -> -sin[f(x)] . f'(x)

tan[f(x)] -> sec^2[f(x)] . f'(x)

sec[f(x)] -> sec[f(x)] tan[f(x)] . f'(x)

cot[f(x)] -> -cosec^2[f(x)] . f'(x)

cosec[f(x)] -> -cosec[f(x)] cot[f(x)] . f'(x)

a^f(x) -> a^f(x) . log a . f'(x) …