By Ariel Balter, Ph.D. Updated Aug 30, 2022
Hulton Archive/Getty Images News/Getty Images
In calculus, the derivative is a fundamental tool that quantifies how a function changes. For example, if x(t) represents the position of a vehicle at time t, its derivative dx/dt gives the vehicle’s velocity. Visually, the derivative equals the slope of the tangent line to the function’s graph at a given point. While the conceptual definition relies on limits, in practice mathematicians employ a set of standard rules and lookup tables to compute derivatives quickly.
Conceptually, the slope of a straight line between two points is the rise over run: Δy / Δx. For a function y(x) at a specific x, the derivative is the slope of the line that just touches the curve at [x, y(x)]. To approximate this, one draws a line from [x, y(x)] to a nearby point [x+h, y(x+h)] where h is very small. The run is h and the rise is y(x+h)-y(x). Thus the slope is approximately (y(x+h)-y(x))/h. Taking the limit as h approaches zero gives the exact slope, denoted y'(x) or dy/dx.
Using the limit definition, we can derive the derivative of a power function y(x)=x^a. For instance, if y=x^3, then
dy/dx=lim_{h→0}[(x+h)^3-x^3]/h.
Expanding (x+h)^3 gives [(x^3+3x^2h+3xh^2+h^3)-x^3]/h=3x^2+3xh^2+h^2. As h tends to zero, the terms containing h vanish, leaving y'(x)=3x^2. In general, d/dx x^a = a x^{a-1}.
Many functions can be expressed as power series, i.e., infinite sums of the form ∑_{n=0}^{∞}C_n x^n. For example, the sine function expands to
sin(x)=x- x^3/6 + x^5/120 - x^7/5040 + …
Differentiating term‑by‑term yields the power series for cos(x):
cos(x)=1- x^2/2 + x^4/24 - x^6/720 + …
While the limit and power‑series methods provide the foundation, mathematicians often rely on pre‑computed tables for elementary derivatives: d/dx sin x = cos x, d/dx e^x = e^x, d/dx ln x = 1/x, and so forth. For composite or product functions, rules such as the chain rule and product rule are indispensable. For example, the chain rule gives d/dx sin(x^2)=2x cos(x^2), and the product rule gives d/dx[x sin x]=x cos x+sin x. By combining these standard rules with the tables, any differentiable function can be handled analytically. When functions become exceedingly complex, computational tools like Mathematica or SymPy are employed to automate the process.