Ma · Mathematics

What Is the nth Derivative of (ax + b)^(-m)?

Published By the 9to5Science editorial team

At a glance

  1. 1. Differentiate once

    Apply the chain rule to the power of the linear expression.

  2. 2. Spot the pattern

    Each derivative adds a factor and raises the denominator's exponent by one.

  3. 3. Apply the formula

    Use the rising product m(m + 1) through (m + n − 1), along with the chain-rule factor a^n.

For constants aa, bb, and mm, the expression (ax+b)−m(ax+b)^{-m} combines a power rule with the chain rule. Each differentiation contributes another factor of aa, changes the sign, and increases the magnitude of the exponent in the denominator.

For a positive integer mm and a nonnegative integer nn, the formula is

dndxn(ax+b)−m=(−1)nanm(m+1)⋯(m+n−1)(ax+b)−m−n.\frac{d^n}{dx^n}(ax+b)^{-m} = (-1)^n a^n m(m+1)\cdots(m+n-1)(ax+b)^{-m-n}.

The product has nn factors. When n=0n=0, it is an empty product, defined to be 11, so the formula gives the original function.

Why the formula works

Start with the ordinary power rule and chain rule:

ddx(ax+b)−m=−m(ax+b)−m−1⋅a=−am(ax+b)−m−1.\frac{d}{dx}(ax+b)^{-m} = -m(ax+b)^{-m-1}\cdot a = -am(ax+b)^{-m-1}.

Differentiate once more. The exponent is now −m−1-m-1, so another application of the chain rule gives

d2dx2(ax+b)−m=a2m(m+1)(ax+b)−m−2.\frac{d^2}{dx^2}(ax+b)^{-m} = a^2m(m+1)(ax+b)^{-m-2}.

A third derivative introduces the next factor, m+2m+2, and another negative sign:

d3dx3(ax+b)−m=−a3m(m+1)(m+2)(ax+b)−m−3.\frac{d^3}{dx^3}(ax+b)^{-m} = -a^3m(m+1)(m+2)(ax+b)^{-m-3}.

After nn derivatives, the sign is (−1)n(-1)^n, the chain rule has supplied ana^n, and the factors from differentiating the power are mm through m+n−1m+n-1. This gives the stated result.

You can also justify the pattern by induction: differentiating the formula for the nnth derivative multiplies it by −(m+n)a-(m+n)a and decreases the exponent by one. That produces exactly the formula with nn replaced by n+1n+1.

Worked example

Find the third derivative of

f(x)=(3x−2)−4.f(x)=(3x-2)^{-4}.

Here a=3a=3, m=4m=4, and n=3n=3. Substitute into the formula:

f(3)(x)=(−1)333⋅4⋅5⋅6 (3x−2)−4−3=−27⋅120 (3x−2)−7=−3240(3x−2)−7.\begin{aligned} f^{(3)}(x) &= (-1)^3 3^3\cdot 4\cdot 5\cdot 6\,(3x-2)^{-4-3}\\ &= -27\cdot120\,(3x-2)^{-7}\\ &= -3240(3x-2)^{-7}. \end{aligned}

Thus, equivalently,

f(3)(x)=−3240(3x−2)7.f^{(3)}(x)=\frac{-3240}{(3x-2)^7}.

The domain excludes x=23x=\frac{2}{3}, where the original function is undefined. For x>23x>\frac{2}{3}, the first derivative is negative, the second positive, and the third negative; the coefficient signs alternate with the order of differentiation.

A compact notation for the coefficient

The rising factorial is defined by

(m)n‾=m(m+1)⋯(m+n−1),(m)^{\overline{n}}=m(m+1)\cdots(m+n-1),

with (m)0‾=1(m)^{\overline{0}}=1. Using it, the formula becomes

dndxn(ax+b)−m=(−1)nan(m)n‾(ax+b)−m−n.\frac{d^n}{dx^n}(ax+b)^{-m} = (-1)^n a^n(m)^{\overline{n}}(ax+b)^{-m-n}.

For positive real mm, the product can also be written with the gamma function as Γ(m+n)/Γ(m)\Gamma(m+n)/\Gamma(m). The product form is usually simplest when nn is a whole number.

Common mistakes

  • Forgetting the chain-rule factor. Differentiating with respect to xx contributes a factor of aa each time, so the nnth derivative has ana^n, not just aa.
  • Using the wrong product. The coefficient is m(m+1)⋯(m+n−1)m(m+1)\cdots(m+n-1), not mnm^n and not the descending product m(m−1)⋯m(m-1)\cdots.
  • Missing the alternating coefficient sign. The coefficient contains (−1)n(-1)^n: it is negative for odd nn and positive for even nn, though the sign of the full derivative can also depend on ax+bax+b.
  • Miscounting the exponent. It becomes −m−n-m-n after nn derivatives.
  • Ignoring where the function is defined. If a≠0a\ne0 and mm is a positive integer, exclude the point where ax+b=0ax+b=0. If mm is a general real number, the real-valued power may require ax+b>0ax+b>0, depending on mm; use a domain on which the original function is defined.

Special cases

If a=0a=0 and b≠0b\ne0, the expression is constant in xx, so every derivative of positive order is zero. The general formula also gives zero for n≥1n\ge1 because it contains ana^n. If a=0a=0 and b=0b=0, the expression is undefined for positive mm.

If mm is a positive integer, the formula applies directly wherever ax+b≠0ax+b\ne0. For other real values of mm, the same differentiation pattern holds on any interval where (ax+b)−m(ax+b)^{-m} is a well-defined real-valued function. The algebraic formula does not remove the need to check that domain.

References

  1. James Stewart, Calculus: Early Transcendentals

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.