Differentiating sin⁻¹ x and tan⁻¹ x

Undo the inverse, then differentiate both sides.

Undo the inverse first

y = sin⁻¹ x is the angle whose sine is x, taken between −π/2 and π/2. So y = sin⁻¹ x says exactly the same as sin y = x, with y in that range. There is no rule yet for differentiating sin⁻¹ directly, but sin y = x can be differentiated, because sin is a function whose derivative is known.

All angles here are in radians. The derivative of sin is cos only in radians, and every result below depends on it.

Differentiate both sides

Differentiate sin y = x with respect to x. The right-hand side gives 1. On the left, y is a function of x, so the chain rule gives cos y · dy/dx, as in implicit differentiation. So cos y · dy/dx = 1, and dividing by cos y gives dy/dx = 1/cos y.

This is the inverse-function rule at work: the gradient of sin at the angle y is cos y, and the gradient of sin⁻¹ at the matching point x is its reciprocal.

Back to x

The answer should be in terms of x. From sin²y + cos²y = 1, cos y = ±√(1 − sin²y). Because y lies between −π/2 and π/2, cos y is never negative, so the positive root is the right one. And sin y is x, so cos y = √(1 − x²). Therefore d/dx sin⁻¹ x = 1/√(1 − x²).

This holds for −1 < x < 1. At x = 1 and x = −1, cos y = 0 and there is nothing to divide by: the graph of sin⁻¹ x stands vertical at its two ends. Near them the gradient grows without limit. At x = 0.99 the formula gives 7.088812, and the chord from 0.999 to 1 already has gradient 44.725087.

Check at two points. At x = 0 the formula gives 1/√1 = 1, and the chord with h = 0.001 gives 1. At x = 0.5 it gives 1/√0.75, about 1.154701, and the chord gives 1.155086.

cos⁻¹ x: the same moves, and a minus sign

y = cos⁻¹ x is the angle between 0 and π whose cosine is x, so cos y = x. Differentiating both sides gives −sin y · dy/dx = 1, so dy/dx = −1/sin y. For y between 0 and π, sin y is never negative, so sin y = √(1 − cos²y) = √(1 − x²). Therefore d/dx cos⁻¹ x = −1/√(1 − x²), again for −1 < x < 1.

There is a quicker way to see the minus sign. For every x in [−1, 1], sin⁻¹ x + cos⁻¹ x = π/2, two complementary angles; at x = 0.3, for instance, the two add to 1.570796. A constant has derivative 0, so the two derivatives add to 0, and cos⁻¹ x must have the negative of the gradient of sin⁻¹ x. The graph of cos⁻¹ x falls from π to 0 as x goes from −1 to 1.

Check at two points. At x = 0 the formula gives −1, and the chord with h = 0.001 gives −1. At x = 0.6 it gives −1/√0.64 = −1/0.8 = −1.25, and the chord gives −1.250587.

xy

The curves y = sin⁻¹ x, rising from −π/2 to π/2, and y = cos⁻¹ x, falling from π to 0. The tangent to sin⁻¹ x at x = 0.5 has gradient 1/√0.75, about 1.155; the tangent to cos⁻¹ x at x = 0.6 has gradient −1.25. Both curves stand vertical at x = −1 and x = 1.

tan⁻¹ x

y = tan⁻¹ x is the angle between −π/2 and π/2 whose tangent is x, so tan y = x. The derivative of tan is sec², so differentiating both sides gives sec²y · dy/dx = 1, and dy/dx = 1/sec²y.

To get back to x, use 1 + tan²y = sec²y. Since tan y = x, sec²y = 1 + x². Therefore d/dx tan⁻¹ x = 1/(1 + x²). Here no root is taken and 1 + x² is never 0, so the formula holds for every x.

Check at two points. At x = 0 it gives 1, and the chord with h = 0.001 gives 1. At x = 1 it gives 1/2, and the chord gives 0.49975.

The graphs agree

The graph of tan⁻¹ x climbs steepest at the origin, where its gradient is 1, and flattens out toward the levels π/2 and −π/2 as x grows in either direction. Its derivative 1/(1 + x²) says the same: it is 1 at x = 0, 1/2 at x = 1, 1/5 at x = 2, and it falls toward 0 on both sides. At x = 2 the chord with h = 0.001 gives 0.19992.

Both derivatives in this lesson are algebraic: no trigonometric function is left in 1/√(1 − x²) or 1/(1 + x²). That is why an integral of either shape has an inverse trigonometric answer.

xy

The curve y = tan⁻¹ x and, softer, its derivative y = 1/(1 + x²). At x = 1 the curve is at π/4, about 0.785, and its tangent has gradient 1/2, the height of the derivative curve directly below.

With an inner function

When the inverse is applied to something other than x, the chain rule multiplies by the derivative of the inside. For y = sin⁻¹(x/2), the inside is x/2, with derivative 1/2, so dy/dx = 1/√(1 − x²/4) × 1/2 = 1/√(4 − x²). At x = 1 that is 1/√3, about 0.577350; the chord with h = 0.001 gives 0.577447.

For y = tan⁻¹(2x), the inside 2x has derivative 2, so dy/dx = 2/(1 + 4x²). At x = 0.5 that is 2/2 = 1, and the chord gives 0.999001.

The usual mistakes

Reading sin⁻¹ x as 1/sin x. The index −1 here means the inverse function, the angle whose sine is x, not a reciprocal.

Differentiating forwards. sec²x is the derivative of tan x, and cos x is the derivative of sin x; the derivatives of the inverses are 1/(1 + x²) and 1/√(1 − x²).

Mixing up the two forms. The root belongs to sin⁻¹ and cos⁻¹, with 1 − x² under it; tan⁻¹ has no root, and its identity adds: 1 + x².

Dropping the minus sign of cos⁻¹ x, or putting one on sin⁻¹ x. sin⁻¹ x rises, so its gradient is positive; cos⁻¹ x falls, so its gradient is negative.

A rocket

In the application below, an observer 800 m from a launch pad watches a rocket climb. The angle of elevation is tan⁻¹(h/800), so its derivative, times the rocket's speed, is the rate the angle opens; turning the derivative over gives the meters of climb per radian.

Worked example: A Rocket Watched from 800 Meters Away: the Angle of Elevation Opening Up, and the Climb Behind One Radian

Question An observer stands 800 m from a launch pad on level ground. A rocket rises vertically, and when it is h meters up the observer's angle of elevation is θ = tan−1(h800) radians. At the moment the rocket is 600 m up it is rising at 200 m per second. (a) How fast is the angle of elevation increasing then? (b) Find dhdθ at that height.

  1. 1.Let x be the number of seconds and h the height in meters. The angle of elevation is θ = tan−1(h800) radians.

    800 mh = 600 mθ00.40.81.2040080012001600height, mangle in radians0.6435θ = the angle whose tan is h/800
    800 mh = 600 mθ00.40.81.2040080012001600height, mangle in radians0.6435θ = the angle whose tan is h/800
    The observer is 800 m from the pad, so the angle of elevation is θ = tan−1(h800).
  2. 2.Differentiate with respect to h. The rule is ddhtan−1u = 11 + u2dudh, and here u = h800, so dudh = 1800.

    800 mh = 600 mθ00.40.81.2040080012001600height, mangle in radians0.6435the rule: 1/(1 + u2) × du/dhu = h/800, so du/dh = 1/800
    800 mh = 600 mθ00.40.81.2040080012001600height, mangle in radians0.6435the rule: 1/(1 + u2) × du/dhu = h/800, so du/dh = 1/800
    The rule for tan−1u is 11 + u2dudh, and here u = h800.
  3. 3.At h = 600, u = 0.75 and 1 + u2 = 1.5625, so dθdh = 1800 × 1.5625 = 11250 = 0.0008 radians per meter.

    800 mh = 600 mθ00.40.81.2040080012001600height, mangle in radiansrun 400rise 0.320.6435h = 600: u = 0.75 and 1 + u2= 1.5625dθ/dh = 1/1250 = 0.0008
    800 mh = 600 mθ00.40.81.2040080012001600height, mangle in radiansrun 400rise 0.320.6435h = 600: u = 0.75 and 1 + u2= 1.5625dθ/dh = 1/1250 = 0.0008
    At h = 600 the tangent rises 0.32 radians over 400 m: dθdh = 11250 = 0.0008 radians per meter.
  4. 4.(a) The rocket rises at dhdx = 200 m per second, so the chain rule gives dθdx = 0.0008 × 200 = 0.16 radians per second.

    800 mh = 600 mθ00.40.81.2040080012001600height, mangle in radians0.6435dh/dx = 200 m per seconddθ/dx = 0.0008 × 200 = 0.16
    800 mh = 600 mθ00.40.81.2040080012001600height, mangle in radians0.6435dh/dx = 200 m per seconddθ/dx = 0.0008 × 200 = 0.16
    (a) The rocket climbs at 200 m per second, so dθdx = 0.0008 × 200 = 0.16 radians per second.
  5. 5.(b) The derivative of the inverse function is the reciprocal of the derivative: dhdθ = 10.0008 = 1250 meters per radian. Check: lifting the rocket from 600 m to 601 m raises the angle from 0.6435 to 0.6443 radians.

    800 mh = 600 mθ00.40.81.2040080012001600height, mangle in radians0.6435dh/dθ = 1/0.0008 = 1250 m per radian601 m gives 0.6443 radians
    800 mh = 600 mθ00.40.81.2040080012001600height, mangle in radians0.6435dh/dθ = 1/0.0008 = 1250 m per radian601 m gives 0.6443 radians
    (b) The inverse function turns the derivative over: dhdθ = 10.0008 = 1250 meters per radian.

Answer: (a) The angle is increasing at 0.16 radians per second; (b) dhdθ = 1250 meters per radian

Common mistakes

  • Reading tan−1 as 1tan. It is the inverse tangent, the angle whose tangent is h800, and the same warning applies to sin−1 and cos−1.
  • Stopping at dθdh = 0.0008 for part (a). That is radians per meter of climb; it becomes radians per second only after it is multiplied by the rocket's speed.

More rules of differentiation problems, worked step by step →

Practice Differentiating sin⁻¹ x and tan⁻¹ x in the app