Differentiation Rules
Computing derivatives straight from the limit definition is slow and error-prone. This chapter builds a toolkit of rules — for powers, products, quotients, compositions, and the standard families of functions — that let you differentiate almost any expression quickly, then turns those rules loose on rates of change, growth and decay, related rates, and approximation.
Engineers: nearly every dynamics, controls, and thermo problem you'll meet reduces to one of these rules applied carefully. Master the Chain Rule (3.4) and Related Rates (3.9) first — they show up constantly in mechanism kinematics and fluid systems.
Derivatives of Polynomials & Exponential Functions
The simplest functions have the simplest derivatives. Starting from constants and integer powers, a short list of rules covers every polynomial, and a single special base gives the cleanest exponential derivative in all of calculus.
Derivative of a Constant
A constant function has a horizontal graph, so its slope is zero everywhere. The rate of change of something that never changes is nothing.
The Power Rule. For any real exponent \(n\), the derivative of \(x^n\) is found by pulling the exponent down as a coefficient and reducing it by one. It holds first for positive integers, then extends to negative and fractional exponents, and finally to all real numbers.
Constant Multiple, Sum & Difference Rules
Differentiation is linear: a constant factor passes straight through, and the derivative of a sum or difference is the sum or difference of the derivatives. Combined with the Power Rule, this differentiates any polynomial term-by-term.
Why \(e\) Is Special
The derivative of \(a^{x}\) is proportional to \(a^{x}\) itself, with a proportionality constant that depends on the base. The number \(e\) is defined as the base for which that constant is exactly 1 — making \(e^{x}\) its own derivative.
The fact that \(e^{x}\) reproduces itself under differentiation is exactly why it governs growth, decay, and oscillating systems. When you see \(e\) in a model, it usually means "rate of change proportional to current amount" — keep that intuition handy for 3.8.
The Product & Quotient Rules
The derivative of a product is not the product of the derivatives — a tempting guess that fails on simple examples. Two correct rules handle functions joined by multiplication and division.
The Product Rule
The derivative of a product of two functions equals the first function times the derivative of the second, plus the second function times the derivative of the first. Each factor takes a turn being differentiated while the other is held fixed.
The Quotient Rule
The derivative of a quotient is the denominator times the derivative of the numerator, minus the numerator times the derivative of the denominator, all divided by the square of the denominator. Order matters because of the minus sign.
Don't reach for the Quotient Rule reflexively. If a quotient simplifies first — e.g. \(\dfrac{3x^{2}+2\sqrt{x}}{x}=3x+2x^{-1/2}\) — rewrite, then use the Power Rule. Fewer steps, fewer sign errors.
Derivatives of Trigonometric Functions
Reading slopes off the sine curve already hints that its derivative is the cosine. A careful limit argument confirms it, and the Quotient Rule delivers the rest of the family. These hold only when angles are measured in radians.
The Fundamental Trig Limit
As an angle shrinks toward zero, the ratio of its sine to its size approaches 1. This single limit is what powers the derivative of the sine function.
Derivatives of the six trig functions. The cofunctions (cosine, cosecant, cotangent) all carry a minus sign — a handy memory aid.
Radians are not optional here. If you ever differentiate trig functions in degrees, an extra factor of \(\pi/180\) appears and every formula above breaks. In engineering work, keep angular quantities in radians end-to-end.
The Chain Rule
Composite functions — a function inside another — are everywhere. The Chain Rule is the single most important differentiation rule for applied work: it tells you how rates multiply through a chain of dependencies.
The Chain Rule
To differentiate a composition, multiply the derivative of the outer function (evaluated at the inner function) by the derivative of the inner function. Intuitively, if \(y\) changes \(k\) times as fast as \(u\), and \(u\) changes \(m\) times as fast as \(x\), then \(y\) changes \(km\) times as fast as \(x\).
Work strictly outside-in and don't skip the inner derivative — forgetting the \(g'(x)\) factor is the single most common differentiation mistake. For deep nests (a function of a function of a function), peel one layer at a time.
Implicit Differentiation
Some curves can't be solved cleanly for \(y\) in terms of \(x\). Implicit differentiation lets you find \(dy/dx\) directly from the equation, treating \(y\) as an unknown function of \(x\) and applying the Chain Rule wherever \(y\) appears.
The Method
Differentiate both sides of the equation with respect to \(x\), remembering that every \(y\) carries a hidden \(dy/dx\) factor by the Chain Rule. Then collect the \(dy/dx\) terms and solve for it algebraically.
Inverses via Implicit Differentiation
Writing \(y=\sin^{-1}x\) as \(\sin y = x\) and differentiating implicitly produces clean algebraic derivatives for the inverse trigonometric functions — no transcendental functions remain.
Implicit differentiation is the engineer's shortcut for constraint equations — gear meshes, four-bar linkages, pressure-volume relations. You rarely solve the constraint explicitly; you differentiate it as-is and solve for the rate you want.
Derivatives of Logarithmic Functions
Logarithms are the inverses of exponentials, so implicit differentiation hands us their derivatives. The natural log gives the simplest formula, and "logarithmic differentiation" tames otherwise brutal products, quotients, and powers.
Logarithmic Differentiation
For complicated products, quotients, and powers, take the natural log of both sides first. The Laws of Logarithms turn multiplication into addition and exponents into coefficients, so differentiating becomes far simpler — then multiply back by \(y\) to recover \(dy/dx\).
The general Power Rule for all real exponents is finally proved here, using logarithmic differentiation. Also note the four exponent–base cases: constant^constant, function^constant (Power Rule), constant^function (exponential rule), and function^function (needs logs).
Rates of Change in the Sciences
A derivative is an instantaneous rate of change, and that one idea wears many costumes across the sciences — velocity, density, current, reaction rate, growth rate, and marginal cost are all the same mathematical object.
Velocity & Acceleration
For a particle with position \(s=f(t)\), velocity is the first derivative \(v=ds/dt\) and acceleration is the second derivative \(a=dv/dt\). A particle speeds up when velocity and acceleration share a sign, and slows down when they differ.
Other Interpretations
The same derivative becomes linear density \(\rho=dm/dx\) for a non-uniform rod, current \(I=dQ/dt\) for flowing charge, reaction rate \(d[\text{C}]/dt\) in chemistry, population growth rate \(dn/dt\) in biology, and marginal cost \(dC/dx\) in economics. One concept, developed once, applies everywhere.
Exponential Growth & Decay
When a quantity changes at a rate proportional to its own size, the result is exponential. This single differential equation models population growth, radioactive decay, cooling, and compound interest.
Law of Natural Growth / Decay. The only solutions of the differential equation \( dy/dt=ky \) are exponential functions \( y(t)=y(0)e^{kt} \). A positive \(k\) gives growth; a negative \(k\) gives decay. The constant \(k\) is the relative rate of change.
Newton's Law of Cooling
An object's temperature changes at a rate proportional to the difference between it and its surroundings. The substitution \( y=T-T_{s} \) reduces this to the natural-growth equation, so the temperature difference decays exponentially toward zero.
Cooling, charging capacitors, settling transients, and first-order control systems all share the form \(dy/dt=k(y-y_\infty)\). Recognize it once and you can write the solution by inspection — no re-derivation needed.
Related Rates
When two changing quantities are linked by an equation, their rates of change are linked too. Related-rates problems compute a hard-to-measure rate from an easy-to-measure one — a workhorse technique for mechanism and flow analysis.
The Strategy
Find an equation relating the quantities, then differentiate both sides with respect to time using the Chain Rule. Substitute the known instantaneous values only after differentiating — never before, or you'll lose the very dependence you need.
The golden rule: differentiate first, substitute numbers last. If you plug in fixed values too early, the changing quantity becomes a constant and its derivative wrongly drops to zero.
Linear Approximations & Differentials
Near a point, a smooth curve looks like its tangent line. That observation turns the tangent into a cheap, accurate stand-in for the function — the basis of countless engineering approximations.
Linearization
The tangent line at \(x=a\) approximates the function for \(x\) near \(a\). This linearization \(L(x)\) is the best first-degree approximation, accurate over a small interval and trivial to compute.
Differentials
The differential \(dy=f'(x)\,dx\) measures the change along the tangent line, while \(\Delta y\) is the true change along the curve. For small \(dx\) they nearly agree, which makes \(dy\) a convenient estimate of error in a measured quantity.
The small-angle approximations \(\sin\theta\approx\theta\) and \(\cos\theta\approx 1\) underpin pendulum analysis and paraxial optics. Differentials also give the standard error-propagation shortcut: relative error in a volume is about three times the relative error in the radius.
Hyperbolic Functions
Certain combinations of \(e^{x}\) and \(e^{-x}\) appear so often they earn their own names. The hyperbolic functions mirror the trig functions and describe hanging cables, ocean waves, and damped phenomena.
Definitions
Hyperbolic sine and cosine are the odd and even parts of the exponential function. They satisfy the identity \( \cosh^{2}x-\sinh^{2}x=1 \), the hyperbolic analog of the Pythagorean identity — which is why the point \((\cosh t,\sinh t)\) traces a hyperbola.
The catenary \(y=c+a\cosh(x/a)\) is the real shape of suspended cables and chains — not a parabola, though it looks similar. The Gateway Arch is an inverted, weighted catenary. Useful whenever something flexible hangs under its own weight.