Skip to content
Miscellaneous Examples · Example 40

Q.Differentiate the following w.r.t. xx:

(i) cos⁡−1(sin⁡x)\cos^{-1}(\sin x)
(ii) tan⁡−1(sin⁡x1+cos⁡x)\tan^{-1}\left(\dfrac{\sin x}{1 + \cos x}\right)
(iii) sin⁡−1(2x+11+4x)\sin^{-1}\left(\dfrac{2^{x+1}}{1 + 4^x}\right).
Sikkim CbseNCERTSubjective· 3mImportance★★★★★
Appeared in past exams:COMEDK 2023· Set 2023-E· 1mreworded
55% · 155/281 Questions
✓ Free question

  1. −1-1;
  2. 12\dfrac12;
  3. 2x+1log⁡21+4x\dfrac{2^{x+1}\log 2}{1+4^x} for x≤0x\le0, and −2x+1log⁡21+4x-\dfrac{2^{x+1}\log 2}{1+4^x} for x>0x>0 (not differentiable at x=0x=0).

Each part simplifies the inverse-trig argument with an identity first, then differentiates the simplified form — the efficient route, rather than differentiating the inverse-trig composition directly.

(i) cos⁡−1(sin⁡x)\cos^{-1}(\sin x)

Using the complementary-angle identity sin⁡x=cos⁡(π2−x)\sin x=\cos\left(\dfrac{\pi}{2}-x\right):

cos⁡−1(sin⁡x)=cos⁡−1 ⁣[cos⁡ ⁣(π2−x)]=π2−x\cos^{-1}(\sin x) = \cos^{-1}\!\left[\cos\!\left(\dfrac{\pi}{2}-x\right)\right] = \dfrac{\pi}{2}-x

on the principal range. Differentiating,

ddx(π2−x)=−1.\dfrac{d}{dx}\left(\dfrac{\pi}{2}-x\right) = -1.

(ii) tan⁡−1 ⁣(sin⁡x1+cos⁡x)\tan^{-1}\!\left(\dfrac{\sin x}{1+\cos x}\right)

Using half-angle identities sin⁡x=2sin⁡x2cos⁡x2\sin x=2\sin\dfrac x2\cos\dfrac x2 and 1+cos⁡x=2cos⁡2x21+\cos x=2\cos^2\dfrac x2:

sin⁡x1+cos⁡x=2sin⁡x2cos⁡x22cos⁡2x2=tan⁡x2.\dfrac{\sin x}{1+\cos x} = \dfrac{2\sin\frac x2\cos\frac x2}{2\cos^2\frac x2} = \tan\dfrac x2.

So the function is tan⁡−1 ⁣(tan⁡x2)=x2\tan^{-1}\!\left(\tan\dfrac x2\right) = \dfrac x2 on the principal range, and

ddx(x2)=12.\dfrac{d}{dx}\left(\dfrac x2\right) = \dfrac12.

(iii) sin⁡−1 ⁣(2x+11+4x)\sin^{-1}\!\left(\dfrac{2^{x+1}}{1+4^x}\right)

Put t=2xt=2^x (so t>0t>0 for every real xx); then 4x=t24^x=t^2 and 2x+1=2t2^{x+1}=2t, so the argument becomes 2t1+t2\dfrac{2t}{1+t^2}.

This is where care is needed. Write t=tan⁡θt=\tan\theta with θ∈(0,π2)\theta\in\left(0,\dfrac{\pi}{2}\right) (possible since t>0t>0). Then 2t1+t2=sin⁡2θ\dfrac{2t}{1+t^2}=\sin2\theta, so the expression is sin⁡−1(sin⁡2θ)\sin^{-1}(\sin2\theta) — but sin⁡−1(sin⁡y)=y\sin^{-1}(\sin y)=y only when yy lies in [−π2,π2]\left[-\dfrac{\pi}{2},\dfrac{\pi}{2}\right]; otherwise it equals π−y\pi-y.

Since θ∈(0,π2)\theta\in\left(0,\dfrac\pi2\right), 2θ∈(0,π)2\theta\in(0,\pi), which is not always inside sin⁡−1\sin^{-1}'s principal range — so the simplification genuinely splits into two cases depending on the sign of xx (which controls whether t=2x≶1t=2^x\lessgtr1, i.e. whether θ≶π4\theta\lessgtr\dfrac\pi4):

  • If x≤0x\le0: t=2x≤1t=2^x\le1, so θ≤π4\theta\le\dfrac\pi4 and 2θ≤π22\theta\le\dfrac\pi2, which IS inside the principal range. Then

sin⁡−1(sin⁡2θ)=2θ=2tan⁡−1t=2tan⁡−1(2x).\sin^{-1}(\sin2\theta) = 2\theta = 2\tan^{-1}t = 2\tan^{-1}(2^x).

Differentiating (using ddx2x=2xlog⁡2\dfrac{d}{dx}2^x=2^x\log 2):

ddx 2tan⁡−1(2x)=2⋅11+4x⋅2xlog⁡2=2x+1log⁡21+4x.\dfrac{d}{dx}\,2\tan^{-1}(2^x) = 2\cdot\dfrac{1}{1+4^x}\cdot2^x\log 2 = \dfrac{2^{x+1}\log 2}{1+4^x}.

  • If x>0x>0: t=2x>1t=2^x>1, so θ>π4\theta>\dfrac\pi4 and 2θ>π22\theta>\dfrac\pi2, OUTSIDE the principal range. Then

sin⁡−1(sin⁡2θ)=π−2θ=π−2tan⁡−1(2x).\sin^{-1}(\sin2\theta) = \pi-2\theta = \pi-2\tan^{-1}(2^x).

Differentiating:

ddx[π−2tan⁡−1(2x)]=−2x+1log⁡21+4x.\dfrac{d}{dx}\left[\pi-2\tan^{-1}(2^x)\right] = -\dfrac{2^{x+1}\log 2}{1+4^x}.

So the derivative is genuinely piecewise, flipping sign at x=0x=0 — a well-known trap in this exercise. (The function value itself is continuous at x=0x=0, but the two one-sided derivatives there are +log⁡2+\log 2 and −log⁡2-\log 2, so yy is not differentiable at x=0x=0.)

Watch out

A very common mistake is to quote only the x≤0x\le0 branch, 2x+1log⁡21+4x\dfrac{2^{x+1}\log 2}{1+4^x}, as if it held unconditionally for all xx — but for x>0x>0 the correct value is the negative of that expression.

✓Final answer

  1. −1-1;
  2. 12\dfrac12;
  3. 2x+1log⁡21+4x\dfrac{2^{x+1}\log 2}{1+4^x} for x≤0x\le0, and −2x+1log⁡21+4x-\dfrac{2^{x+1}\log 2}{1+4^x} for x>0x>0 (not differentiable at x=0x=0).

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.