• Practice
  • About 14 min
  • 5 practice questions

Derivative of an inverse function, and one function with respect to another

Find the derivative of an inverse function at a point without finding the inverse, differentiate one function with respect to another, and compute d²x/dy² from y′ and y″.

If something looks wrong, please tell us.

Two types of questions need a small change of viewpoint: asking for the derivative of an inverse function when the inverse cannot be written down, and asking for the derivative of one function with respect to another function instead of with respect to x. In both cases the chain rule does the work. After this lesson these should be among the quickest questions in a paper.

The inverse function rule

If y = f(x) has an inverse x = g(y), then g(f(x)) = x. Differentiating both sides by the chain rule gives g′(f(x)) × f′(x) = 1. In the dy/dx notation, dx/dy = 1/(dy/dx), when dy/dx ≠ 0. To use it at a point: find the x that gives the required y, compute f′ at that x, and take the reciprocal.

(f⁻¹)′(b) = 1/f′(a), where f(a) = b. Find a by solving f(a) = b (often by inspection), then take the reciprocal of f′(a).

Worked example 1: no formula for the inverse

Let f(x) = x³ + 2x + 1 and let g be its inverse. Find g′(4). We need f(a) = 4: try a = 1, which gives 1 + 2 + 1 = 4. So a = 1. Then f′(x) = 3x² + 2, so f′(1) = 5, and g′(4) = 1/5. We never needed a formula for g.

Worked example 2: another one

Let f(x) = x + eˣ. Find (f⁻¹)′(1). Solve f(a) = 1: a = 0 gives 0 + 1 = 1. Since f′(x) = 1 + eˣ, f′(0) = 2, and (f⁻¹)′(1) = 1/2.

One function with respect to another

To differentiate u(x) with respect to v(x), write du/dv = (du/dx)/(dv/dx). This is the chain rule in the form du/dx = (du/dv)(dv/dx). The usual 'with respect to x' is the special case v = x.

Worked example 3: sin x with respect to x²

d(sin x)/d(x²) = (cos x)/(2x), for x ≠ 0. In the same way d(x⁶)/d(x³) = 6x⁵/3x² = 2x³, which agrees with writing x⁶ = (x³)² and differentiating 2·x³ treating x³ as the variable.

Worked example 4: identical angles

Differentiate tan⁻¹(2x/(1 − x²)) with respect to sin⁻¹(2x/(1 + x²)) for 0 < x < 1. With x = tan θ, 2x/(1 − x²) = tan 2θ, and 2x/(1 + x²) = sin 2θ, where θ = tan⁻¹x lies in (0, π/4). So the first function equals 2 tan⁻¹x and so does the second. Their ratio of derivatives is (2/(1 + x²))/(2/(1 + x²)) = 1.

The second derivative of the inverse

Since dx/dy = 1/y′, differentiating again with respect to y gives d²x/dy² = −y″/(y′)³. Take y = x³ + x. Then y′ = 3x² + 1 and y″ = 6x. At x = 1 (where y = 2) this is d²x/dy² = −6/4³ = −6/64 = −3/32.

Checks

  • For the inverse rule, the derivative of f at the point a, not at b, goes in the reciprocal.
  • The argument of g′ is the y-value b, while f′ is evaluated at the x-value a.
  • For du/dv, differentiate both functions with respect to x first, then divide; do not divide the functions themselves.

Key takeaways: (f⁻¹)′(b) = 1/f′(a) where f(a) = b. du/dv = (du/dx)/(dv/dx). d²x/dy² = −y″/(y′)³. Look for substitutions like x = tan θ that make two expressions identical before you differentiate.

Check your understanding

  1. 1. Let f(x) = x³ + 2x + 1 and let g be its inverse. What is g′(4)?

    1. 1/4
    2. 5
    3. 1/11
    4. 1/5
    Show answer

    Answer: D. Since f(1) = 4, we use a = 1. f′(x) = 3x² + 2 gives f′(1) = 5, so g′(4) = 1/5.

  2. 2. Let f(x) = x + eˣ. What is the derivative of its inverse at the point 1?

    1. 2
    2. 1/2
    3. 1
    4. 1/e
    Show answer

    Answer: B. Solving f(a) = 1 gives a = 0. f′(0) = 1 + e⁰ = 2, so the inverse has derivative 1/2 at 1.

  3. 3. What is d(x⁶)/d(x³)?

    1. 6x⁵
    2. 3x²
    3. 2x³
    4. 18x⁷
    Show answer

    Answer: C. (d/dx)x⁶ = 6x⁵ and (d/dx)x³ = 3x². Dividing gives 2x³.

  4. 4. What is d(sin x)/d(x²) for x ≠ 0?

    1. cos x/(2x)
    2. cos x/x²
    3. 2x cos x
    4. cos x/2
    Show answer

    Answer: A. d(sin x)/dx = cos x and d(x²)/dx = 2x. The ratio is cos x/(2x).

  5. 5. For y = x³ + x, what is d²x/dy² at x = 1?

    1. 3/32
    2. −3/8
    3. −3/32
    4. 3/16
    Show answer

    Answer: C. d²x/dy² = −y″/(y′)³. Here y′ = 3x² + 1 = 4 and y″ = 6x = 6. So the value is −6/64 = −3/32.

Privacy · Terms · Refunds · Delivery