Differentiate the following function w.r.t. x : √ x - 1/ x + 1
Question 493 marksMedium
Differentiate the following function w.r.t. x: secx+1secx−1
Solution:
Key idea: We simplify the fraction first. Writing secx=cosx1 turns it into 1+cosx1−cosx, and the half-angle identities 1−cosx=2sin22x and 1+cosx=2cos22x turn that into tan22x. The square root then removes the square.
Step 1 — Change to cosines.
We multiply the top and the bottom of the fraction by cosx.
secx+1secx−1=1+cosx1−cosx
Step 2 — Use the half-angle identities.
We replace the top and the bottom.
1+cosx1−cosx=2cos22x2sin22x
1+cosx1−cosx=tan22x
Step 3 — Take the square root.
The square root of tan22x is tan2x. We take tan2x>0 (for example 0<x<π), so the modulus can be dropped.
y=tan2x
Step 4 — Differentiate.
The derivative of tan is sec2, and the angle 2x has derivative 21.
dxdy=sec22x×21
dxdy=21sec22x
Watch out: Where tan2x<0, the function is −tan2x and the derivative changes sign.