05 Differentiation Techniques and Related Rates

A progressive guide to derivatives, product and quotient rules, the Chain Rule, implicit and inverse-function methods, higher-order derivatives, and related-rates applications.

Rates of Change and the Basic

A measures how a quantity changes at an instant. For y=f(x)y=f(x), it is written as f′(x)=dydxf'(x)=\frac{dy}{dx}. Geometrically, f′(a)f'(a) is the slope of the tangent line at x=ax=a. In applications, derivatives can represent velocity, acceleration, population growth, marginal cost, or changing dimensions.

The basic rules are

ddx(c)=0,ddx(xn)=nxn−1.\frac{d}{dx}(c)=0,\qquad \frac{d}{dx}(x^n)=nx^{n-1}.

Constant multiples and sums are differentiated term by term:

ddx[cf(x)]=cf′(x),ddx[f(x)±g(x)]=f′(x)±g′(x).\frac{d}{dx}[cf(x)]=cf'(x),\qquad \frac{d}{dx}[f(x)\pm g(x)]=f'(x)\pm g'(x).

More complicated expressions require recognizing whether their overall structure is a product, quotient, or composition.

Takeaway: Interpret the first, then identify the structure of the function before choosing a rule.

Products and Quotients

When two differentiable factors are multiplied, use the :

ddx[f(x)g(x)]=f′(x)g(x)+f(x)g′(x).\frac{d}{dx}[f(x)g(x)]=f'(x)g(x)+f(x)g'(x).

Differentiate the first factor while keeping the second fixed, then keep the first factor fixed while differentiating the second.

For

y=(x2+1)sin⁡x,y=(x^2+1)\sin x,

the factors have derivatives 2x2x and cos⁡x\cos x, so

y′=2xsin⁡x+(x2+1)cos⁡x.y'=2x\sin x+(x^2+1)\cos x.

The of a product is not generally the product of the derivatives:

(fg)′≠f′g′.(fg)'\ne f'g'.

For a quotient, use the :

ddx[f(x)g(x)]=f′(x)g(x)−f(x)g′(x)[g(x)]2.\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right]=\frac{f'(x)g(x)-f(x)g'(x)}{[g(x)]^2}.

For

y=x2+1x−3,y=\frac{x^2+1}{x-3},

this gives

y′=(2x)(x−3)−(x2+1)(x−3)2=x2−6x−1(x−3)2.y'=\frac{(2x)(x-3)-(x^2+1)}{(x-3)^2}=\frac{x^2-6x-1}{(x-3)^2}.

Takeaway: Products produce a sum of two terms, while quotients use a difference in the numerator and the square of the denominator.

Nested Functions and the

A composite function applies one function to the output of another. The is

ddxf(g(x))=f′(g(x))g′(x).\frac{d}{dx}f(g(x))=f'(g(x))g'(x).

Differentiate from the outside inward: differentiate the outer function while leaving the inner expression unchanged, then multiply by the of the inner expression.

For

y=(3x2−5)4,y=(3x^2-5)^4,

the outer function is a fourth power and the inner function is 3x2−53x^2-5. Therefore,

dydx=4(3x2−5)3(6x)=24x(3x2−5)3.\frac{dy}{dx}=4(3x^2-5)^3(6x)=24x(3x^2-5)^3.

For several nested layers, repeat the process. If

y=sin⁡((x2+1)3),y=\sin\left((x^2+1)^3\right),

then

y′=cos⁡((x2+1)3)⋅3(x2+1)2⋅2x.y'=\cos\left((x^2+1)^3\right)\cdot 3(x^2+1)^2\cdot 2x.

Thus,

y′=6x(x2+1)2cos⁡((x2+1)3).y'=6x(x^2+1)^2\cos\left((x^2+1)^3\right).

Rules can be combined. For

y=(2x+1)5(3x−2)7,y=(2x+1)^5(3x-2)^7,

use the for the two factors and the within each factor:

y′=10(2x+1)4(3x−2)7+21(2x+1)5(3x−2)6.y'=10(2x+1)^4(3x-2)^7+21(2x+1)^5(3x-2)^6.

Takeaway: Identify the outer structure first, apply its rule, and then work inward through every composite layer.

is used when an equation relates xx and yy without isolating yy. Treat yy as a function of xx, so differentiating a term involving yy introduces dydx\frac{dy}{dx}.

A reliable procedure is:

  1. Differentiate both sides with respect to xx.

  2. Apply the and wherever needed.

  3. Collect all terms containing dydx\frac{dy}{dx} on one side.

  4. Factor out dydx\frac{dy}{dx} and solve.

For the circle

x2+y2=25,x^2+y^2=25,

differentiation gives

2x+2ydydx=0.2x+2y\frac{dy}{dx}=0.

Solving produces

dydx=−xy.\frac{dy}{dx}=-\frac{x}{y}.

At (3,4)(3,4), the slope is −34-\frac{3}{4}.

can also involve products. If

x3sin⁡y+y=4x+3,x^3\sin y+y=4x+3,

then

3x2sin⁡y+x3cos⁡ydydx+dydx=4.3x^2\sin y+x^3\cos y\frac{dy}{dx}+\frac{dy}{dx}=4.

Collecting terms gives

(x3cos⁡y+1)dydx=4−3x2sin⁡y.\left(x^3\cos y+1\right)\frac{dy}{dx}=4-3x^2\sin y.

Therefore,

dydx=4−3x2sin⁡yx3cos⁡y+1.\frac{dy}{dx}=\frac{4-3x^2\sin y}{x^3\cos y+1}.

Takeaway: Whenever yy depends on xx, differentiating a term involving yy must account for that dependence.

Inverse Functions and Their Derivatives

For a one-to-one differentiable function, an reverses the original input-output relationship. If

f(f−1(x))=x,f\left(f^{-1}(x)\right)=x,

then differentiating both sides gives

f′(f−1(x))(f−1)′(x)=1.f'\left(f^{-1}(x)\right)(f^{-1})'(x)=1.

Thus,

(f−1)′(x)=1f′(f−1(x)).(f^{-1})'(x)=\frac{1}{f'(f^{-1}(x))}.

At corresponding points, if f(a)=bf(a)=b, then

(f−1)′(b)=1f′(a).(f^{-1})'(b)=\frac{1}{f'(a)}.

For example, if f(2)=5f(2)=5 and f′(2)=3f'(2)=3, then f−1(5)=2f^{-1}(5)=2, and

(f−1)′(5)=1f′(2)=13.(f^{-1})'(5)=\frac{1}{f'(2)}=\frac{1}{3}.

The graph of an inverse is reflected across y=xy=x, which explains why corresponding nonvertical tangent slopes are reciprocals.

For y=arcsin⁡xy=\arcsin x, write sin⁡y=x\sin y=x and differentiate:

cos⁡ydydx=1.\cos y\frac{dy}{dx}=1.

On the range of arcsin⁡x\arcsin x, cos⁡y=1−x2\cos y=\sqrt{1-x^2}, so

ddx(arcsin⁡x)=11−x2,−1<x<1.\frac{d}{dx}(\arcsin x)=\frac{1}{\sqrt{1-x^2}},\qquad -1<x<1.

Takeaway: Locate the corresponding point on the original function and take the reciprocal of the original .

Repeated Differentiation

are obtained by differentiating a repeatedly. The second is

f′′(x)=ddx[f′(x)]=d2ydx2.f''(x)=\frac{d}{dx}[f'(x)]=\frac{d^2y}{dx^2}.

Further derivatives include f′′′(x)f'''(x), f(4)(x)f^{(4)}(x), and f(n)(x)f^{(n)}(x). If s(t)s(t) is position, then

v(t)=s′(t)v(t)=s'(t)

is velocity and

a(t)=s′′(t)a(t)=s''(t)

is acceleration.

For

f(x)=x5−3x3+2x,f(x)=x^5-3x^3+2x,

successive differentiation gives

f′(x)=5x4−9x2+2,f'(x)=5x^4-9x^2+2,
f′′(x)=20x3−18x,f''(x)=20x^3-18x,
f′′′(x)=60x2−18,f'''(x)=60x^2-18,
f(4)(x)=120x,f^{(4)}(x)=120x,

and

f(5)(x)=120.f^{(5)}(x)=120.

The second also describes how a function's rate of change is itself changing, including concavity in appropriate contexts.

Takeaway: Repeated differentiation reveals successive layers of change, from position to velocity to acceleration and beyond.

in Applications

problems connect quantities that change with time through an equation. The central strategy is to differentiate that relationship with respect to time before inserting numerical values.

Use this sequence:

  1. Name the changing quantities.

  2. State the known and unknown rates with units.

  3. Write an equation relating the quantities.

  4. Differentiate with respect to time.

  5. Substitute the specified values.

  6. Solve for the unknown rate and interpret its sign and units.

For a spherical balloon,

V=43πr3.V=\frac{4}{3}\pi r^3.

Differentiating with respect to time gives

dVdt=4πr2drdt.\frac{dV}{dt}=4\pi r^2\frac{dr}{dt}.

If dVdt=2 cm3/s\frac{dV}{dt}=2\text{ cm}^3/\text{s} when r=3 cmr=3\text{ cm}, then

2=4π(3)2drdt,2=4\pi(3)^2\frac{dr}{dt},

so

drdt=118π cm/s.\frac{dr}{dt}=\frac{1}{18\pi}\text{ cm/s}.

The positive sign means the radius is increasing.

For a 1010-ft ladder, let xx be the bottom's distance from the wall and yy the top's height. The relationship is

x2+y2=100.x^2+y^2=100.

If dxdt=2 ft/s\frac{dx}{dt}=2\text{ ft/s}, differentiate:

2xdxdt+2ydydt=0.2x\frac{dx}{dt}+2y\frac{dy}{dt}=0.

When x=6x=6, the Pythagorean relationship gives y=8y=8. Therefore,

2(6)(2)+2(8)dydt=0,2(6)(2)+2(8)\frac{dy}{dt}=0,

so

dydt=−32 ft/s.\frac{dy}{dt}=-\frac{3}{2}\text{ ft/s}.

The negative sign means the top is moving downward.

Takeaway: Differentiate first, substitute second, and use the sign and units to explain the result.

Strategy and Error Checks

Several mistakes can be prevented by checking the structure of the expression and the meaning of the result.

  • For a product, use (fg)′=f′g+fg′(fg)'=f'g+fg', not f′g′f'g'.

  • For a composition, use (f∘g)′=f′(g(x))g′(x)(f\circ g)'=f'(g(x))g'(x), including the of the inner function.

  • In implicit work, remember that ddx(y2)=2ydydx\frac{d}{dx}(y^2)=2y\frac{dy}{dx}, not merely 2y2y.

  • In related-rates problems, do not substitute a numerical value before differentiating; doing so can remove the changing quantity whose rate is needed.

  • Include units for rates, such as cm/s\text{cm/s}, ft/s\text{ft/s}, or square units per second for an area rate.

  • Check whether a negative answer indicates decrease or downward motion, rather than treating the sign as an error.

A useful final check is to ask whether the rule matched the structure, whether every changing variable was differentiated correctly, and whether the units match the requested rate.

Final takeaway: Correct differentiation depends on both symbolic technique and interpretation. Recognize the structure, preserve dependencies, delay substitution, and interpret the result.