Solution:
Concept: An inverse trigonometric function of an algebraic expression is often simplified by a trigonometric substitution (such as x=tanθ, x=sinθ or x=cosθ), which turns the expression into one trigonometric ratio of a multiple of θ. Then we use the principal-value rules: sin−1(sinφ)=φ for −2π≤φ≤2π, cos−1(cosφ)=φ for 0≤φ≤π, tan−1(tanφ)=φ for −2π<φ<2π and cot−1(cotφ)=φ for 0<φ<π, and after that the simplified function is differentiated with the standard results.
We also use sec−1u=cos−1u1 for ∣u∣≥1, and cos−1(−v)=π−cos−1v.
Step 1 — Change the inverse secant into an inverse cosine.
The inverse secant of a number is the inverse cosine of its reciprocal, so we turn the fraction upside down. We take x>0 with x=1, so the fraction is defined.
y=sec−1(x2−1x2+1)=cos−1(x2+1x2−1)
Step 2 — Take the minus sign outside the inverse cosine.
The numerator x2−1 is −(1−x2), so we use the rule cos−1(−v)=π−cos−1v.
y=cos−1(−1+x21−x2)=π−cos−1(1+x21−x2)
Step 3 — Simplify the remaining inverse cosine with x=tanθ.
The fraction 1+x21−x2 matches cos2θ=1+tan2θ1−tan2θ, so we put x=tanθ. For x>0 the angle θ lies in (0,2π), so 2θ lies in (0,π), the principal range of cos−1.
cos−1(1+tan2θ1−tan2θ)=cos−1(cos2θ)=2θ=2tan−1x
So the function becomes
y=π−2tan−1x
Step 4 — Differentiate with respect to x.
The constant π has derivative 0, and dxd(tan−1x)=1+x21.
dxdy=0−2⋅1+x21=−1+x22
Watch out: For x<0 we get y=π+2tan−1x, and the derivative is +1+x22.
Therefore, for x>0, dxdy=−1+x22.