Skip to content
The site is in test mode. All features are free for now.
MathAgora

University Mathematics · Calculus

Differentiation rules

Power, product, quotient and chain rules; derivatives of trigonometric, logarithmic and inverse functions; implicit differentiation, related rates and linear approximation.

100 min 11 questions

§3.1Derivatives of polynomials and exponential functions

Power rule: ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1} for every real nn. The derivative of a constant is 0; constant factors come out; the derivative of a sum is the sum of the derivatives.

Because of how ee is defined, ddxex=ex\frac{d}{dx}e^x = e^x: the natural exponential function is its own derivative.

§3.2The product and quotient rules

(fg)′=f′g+fg′,(fg)′=f′g−fg′g2(fg)' = f'g + fg', \qquad \left(\frac fg\right)' = \frac{f'g - fg'}{g^2} The derivative of a product is not the product of the derivatives. In the quotient rule the order in the numerator matters: "bottom times derivative of top minus top times derivative of bottom".

§3.3Derivatives of trigonometric functions

The key limit is lim⁡θ→0sin⁡θθ=1\lim_{\theta\to0}\frac{\sin\theta}{\theta} = 1 (proved with the Squeeze Theorem), together with lim⁡θ→0cos⁡θ−1θ=0\lim_{\theta\to0}\frac{\cos\theta - 1}{\theta} = 0. They give (sin⁡x)′=cos⁡x(\sin x)' = \cos x, (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x, and by the quotient rule (tan⁡x)′=sec⁡2x(\tan x)' = \sec^2 x.

The derivatives of the "co-" functions (cos⁡\cos, cot⁡\cot, csc⁡\csc) carry a minus sign.

§3.4The chain rule

If F=f∘gF = f\circ g, i.e. F(x)=f(g(x))F(x) = f(g(x)), then F′(x)=f′(g(x))⋅g′(x)F'(x) = f'(g(x))\cdot g'(x) In Leibniz notation, if y=f(u)y = f(u) and u=g(x)u = g(x), then dydx=dydududx\frac{dy}{dx} = \frac{dy}{du}\frac{du}{dx}. In words: derivative of the outer function (evaluated at the inner) times derivative of the inner function.

Consequences: ddx[g(x)]n=n[g(x)]n−1g′(x)\frac{d}{dx}[g(x)]^n = n[g(x)]^{n-1}g'(x), ddxeg(x)=eg(x)g′(x)\frac{d}{dx}e^{g(x)} = e^{g(x)}g'(x), ddxbx=bxln⁡b\frac{d}{dx}b^x = b^x\ln b.

§3.5Implicit differentiation

When yy is defined by an equation (e.g. x2+y2=25x^2 + y^2 = 25), differentiate both sides with respect to xx, treating yy as a function of xx and using the chain rule on terms containing yy: ddx(y2)=2y y′\frac{d}{dx}(y^2) = 2y\,y'. Then solve for y′y'.

This gives the derivatives of the inverse trig functions: (sin⁡−1x)′=11−x2(\sin^{-1}x)' = \frac{1}{\sqrt{1 - x^2}}, (tan⁡−1x)′=11+x2(\tan^{-1}x)' = \frac{1}{1 + x^2}.

§3.6Derivatives of logarithmic functions

(ln⁡x)′=1x(\ln x)' = \frac1x, (ln⁡∣x∣)′=1x(\ln|x|)' = \frac1x, (log⁡bx)′=1xln⁡b(\log_b x)' = \frac{1}{x\ln b}, and by the chain rule (ln⁡g(x))′=g′(x)g(x)(\ln g(x))' = \frac{g'(x)}{g(x)}.

Logarithmic differentiation: for messy products/quotients or functions like xxx^x, take ln⁡\ln of both sides, simplify with the laws of logarithms, then differentiate implicitly.

§3.7–3.8Rates of change; exponential growth and decay

The derivative is the rate of change in every science: velocity and acceleration in physics, reaction rates in chemistry, marginal cost in economics.

If a quantity changes at a rate proportional to its size, dydt=ky\frac{dy}{dt} = ky, then y(t)=y(0)ekty(t) = y(0)e^{kt} (k>0k > 0 growth, k<0k < 0 decay). With half-life TT: y(t)=y(0)(12)t/Ty(t) = y(0)\left(\frac12\right)^{t/T}. Newton's Law of Cooling and continuously compounded interest follow the same model.

§3.9Related rates

When two quantities are linked by an equation and both change with time, differentiate the equation with respect to tt to relate their rates.

Strategy: (1) draw a diagram and name the quantities; (2) write what is given and what is wanted (as ddt\frac{d}{dt} rates); (3) write an equation relating the quantities; (4) differentiate with respect to tt; (5) only then substitute the given values.

§3.10Linear approximations and differentials

Near aa, a function looks like its tangent line: f(x)≈L(x)=f(a)+f′(a)(x−a)f(x) \approx L(x) = f(a) + f'(a)(x - a) (LL is the linearization). For example 4.1≈2+14(0.1)=2.025\sqrt{4.1} \approx 2 + \frac14(0.1) = 2.025.

Differential: dy=f′(x) dxdy = f'(x)\,dx. For small dx=Δxdx = \Delta x, dy≈Δydy \approx \Delta y, which estimates how measurement errors propagate.

§3.11Hyperbolic functions

sinh⁡x=ex−e−x2\sinh x = \frac{e^x - e^{-x}}{2}, cosh⁡x=ex+e−x2\cosh x = \frac{e^x + e^{-x}}{2}, tanh⁡x=sinh⁡xcosh⁡x\tanh x = \frac{\sinh x}{\cosh x}. Key identity: cosh⁡2x−sinh⁡2x=1\cosh^2x - \sinh^2x = 1. Derivatives: (sinh⁡x)′=cosh⁡x(\sinh x)' = \cosh x, (cosh⁡x)′=sinh⁡x(\cosh x)' = \sinh x (no minus sign!). A hanging cable has the shape y=acosh⁡xay = a\cosh\frac{x}{a} (a catenary).

Key formulas

  • Power and exponential (§3.1)

    ddxxn=nxn−1,ddxex=ex\dfrac{d}{dx}x^n=nx^{n-1},\qquad \dfrac{d}{dx}e^x=e^x
  • Product and quotient (§3.2)

    (fg)′=f′g+fg′,(fg)′=f′g−fg′g2(fg)'=f'g+fg',\qquad \left(\dfrac fg\right)'=\dfrac{f'g-fg'}{g^2}
  • Trigonometric (§3.3)

    (sin⁡x)′=cos⁡x, (cos⁡x)′=−sin⁡x, (tan⁡x)′=sec⁡2x(\sin x)'=\cos x,\ (\cos x)'=-\sin x,\ (\tan x)'=\sec^2x
  • Chain rule (§3.4)

    (f(g(x)))′=f′(g(x)) g′(x)\big(f(g(x))\big)'=f'(g(x))\,g'(x)
  • Inverse trig (§3.5)

    (sin⁡−1x)′=11−x2,(tan⁡−1x)′=11+x2(\sin^{-1}x)'=\dfrac1{\sqrt{1-x^2}},\qquad (\tan^{-1}x)'=\dfrac1{1+x^2}
  • Logarithm and bxb^x (§3.4, §3.6)

    (ln⁡x)′=1x,(bx)′=bxln⁡b(\ln x)'=\dfrac1x,\qquad (b^x)'=b^x\ln b
  • Linear approximation (§3.10)

    f(x)≈f(a)+f′(a)(x−a)f(x)\approx f(a)+f'(a)(x-a)

Worked examples

Example 1

Differentiate y=x21+exy = \dfrac{x^2}{1 + e^x}.

Example 2

Differentiate y=sin⁡3(2x)y = \sin^3(2x).

Example 3

A 10 m ladder leans against a wall. Its bottom slides away from the wall at 1 m/s. How fast is the top sliding down when the bottom is 6 m from the wall?