Single-Variable Derivatives & Integrals
Derivatives measure local sensitivity and integrals measure signed accumulation; the Fundamental Theorem of Calculus explains why these apparently different limits invert one another. This chapter derives the core rules, states their domain conditions, and builds a practical workflow for differentiation, qualitative analysis, and integration.
A derivative compresses nearby behavior into a local linear model; an integral assembles many small contributions into a net total. Both are limits, and the Fundamental Theorem of Calculus connects them: continuous rates accumulate into a function whose derivative recovers the rate, while an antiderivative evaluates the corresponding accumulation between endpoints.
One physical quantity, two different questions #
A derivative answers “how fast is this changing now?” An integral answers “how much change accumulated over an interval?” They operate on the same model but return different kinds of information, with different units.
This unit check is a fast conceptual test: a derivative divides output units by input units, while an integral multiplies by the integration variable's units.
The derivative is local sensitivity #
Geometrically, secant slopes approach the tangent slope. In a model, the units matter: if is measured in metres and in seconds, then has units metres per second. A derivative is not “just a formula”—it is a conversion factor from a small input change to a first-order output change.
If is differentiable at , then
The linear term dominates the remainder at sufficiently small scale. This is the precise reason tangent-line approximation works.
A cusp, corner, jump, or sufficiently wild oscillation can destroy differentiability. A vertical tangent is also not an ordinary real derivative: if difference quotients diverge to an infinite magnitude, report a vertical tangent or an infinite-slope limit, not the equation as though infinity were a real number.
The rules come from the limit #
For an integer , the binomial theorem gives
After division by , every term except still contains a positive power of and vanishes as . Hence
The same difference-quotient algebra produces the sum, product, and quotient rules. Their compact forms are:
The denominator condition belongs to the rule. A symbolic derivative outside the original real domain is not a derivative of the original function there.
The chain rule tracks nested change #
If and , differentiability of at and of at gives
The outer function sees a small change , then converts it to . Multiplying the two local conversion factors yields the chain rule.
Useful elementary derivatives include
For , . Logarithmic differentiation should therefore use when the differentiated expression may be negative and should state where the original expression is nonzero. For a real power , the largest real domain depends on ; the familiar formula must be applied only where the chosen real power is differentiable.
Implicit, inverse, and parametric derivatives #
Suppose a curve is specified by . Differentiating along a differentiable branch gives
so
where . The denominator is not an optional algebraic detail: it is the local condition that lets the curve be represented as a graph .
For a parametric curve , ,
when . If both numerator and denominator vanish, the displayed ratio is indeterminate; simplify the parametrization or analyze the limiting tangent rather than cancelling blindly.
For an inverse , if is locally one-to-one, differentiable, and , then
All three formulas express the same principle: local invertibility fails when the relevant rate in the denominator vanishes.
From derivatives to shape and bounds #
The mean value theorem states that if is continuous on and differentiable on , then some satisfies
This theorem turns local derivative information into interval-wide conclusions:
- if throughout an interval, is strictly increasing there;
- if throughout an interval, is constant there;
- if , then ;
- critical points are candidates for extrema, but endpoints and nondifferentiable domain points must also be checked.
The second derivative tracks change in slope. Where , slopes increase and the graph is convex (often called concave up in elementary calculus); where , slopes decrease. A sign change of can certify an inflection point, but merely solving cannot: has without changing convexity.
The integral is signed accumulation #
For a partition , choose a sample in each subinterval and form
If these sums approach one value as the maximum subinterval width tends to zero, that value is the definite integral:
Continuous functions on a closed interval are Riemann integrable. The integral is signed: regions where subtract from the total. The geometric area between the graph and the axis is instead , usually split at sign changes.
Units multiply. If is metres per second, then is net displacement in metres. Integrating speed gives total distance.
Do not conflate two notations:
is a number, while
denotes the family of antiderivatives satisfying on an interval. The constant is required because differentiation erases additive constants.
Why differentiation and integration invert one another #
Define an accumulation function for continuous :
Then
The right-hand side is the average value of on the shrinking interval. Continuity forces that average toward , so
This is the first part of the Fundamental Theorem of Calculus. The evaluation part says that if on and is continuous, then
The continuity hypotheses are a clean sufficient condition. More advanced integration theories weaken them, but the elementary FTC should not be applied across a singularity without first treating the integral as improper and proving convergence.
Integration techniques reverse derivative rules #
Not every elementary integrand has an elementary antiderivative, so a finite table of reverse rules cannot cover every case. The main hand techniques are structured reversals.
Substitution reverses the chain rule #
If and the needed continuity conditions hold,
For definite integrals, either transform the bounds to -values or substitute back before evaluating; mixing the two coordinate systems is an error.
Integration by parts reverses the product rule #
From ,
For example,
Differentiate the result to verify it. In repeated integration by parts, track signs and boundary terms explicitly rather than trusting a memorized pattern.
Rational functions require algebra first #
For :
- perform polynomial division when ;
- factor over the chosen field;
- include a full partial-fraction template—one term for every power of a repeated linear factor, and a linear numerator for every power of an irreducible quadratic factor;
- solve the coefficients and integrate term by term.
The decomposition is valid away from the zeros of . An antiderivative containing is defined separately on intervals that do not cross the pole ; one constant need not serve disconnected domain components.
Improper integrals are convergence limits #
An infinite interval or an unbounded integrand is not covered by the ordinary Riemann integral on a closed bounded interval. The notation is defined through a limit. For example,
provided that the limit exists and is finite. If is unbounded near the right endpoint instead, then
A singularity inside requires two integrals split at the singular point, and both must converge. Opposite divergences may cancel in a Cauchy principal value, but that is a different definition and does not make the ordinary improper integral converge.
The power family gives the two reference thresholds. For ,
so converges exactly when . At the other end, converges exactly when . When , the antiderivative is , and the relevant endpoint limit diverges in both cases. The existence of an antiderivative formula therefore does not by itself establish a finite integral.
Practical verification and failure modes #
For a derivative, compare units, domain, and a finite-difference estimate away from singular points. For an indefinite integral, differentiate the candidate. For a definite integral, also check sign, scale, and any symmetry.
A good workflow preserves meaning at every step: state the domain, identify the local or accumulated quantity and its units, choose the rule whose hypotheses match the structure, and verify the result by reversing the operation whenever possible.
Sources
- bookDifferential and Integral Calculus of a Function of One Variable: Lecture Notes and Practicumpdfnotes
- bookOpenStax Calculus Volume 1 — The Derivative as a Function
- bookOpenStax Calculus Volume 1 — Derivatives as Rates of Change
- bookOpenStax Calculus Volume 1 — The Chain Rule
- bookOpenStax Calculus Volume 1 — Linear Approximations and Differentials
- bookOpenStax Calculus Volume 1 — The Definite Integral
- bookOpenStax Calculus Volume 1 — The Fundamental Theorem of Calculus
- bookOpenStax Calculus Volume 1 — Substitution
- bookOpenStax Calculus Volume 1 — The Mean Value Theorem
- bookOpenStax Calculus Volume 2 — Integration by Parts
- bookOpenStax Calculus Volume 2 — Partial Fractions
- bookOpenStax Calculus Volume 2 — Improper Integrals
- docsMIT OpenCourseWare 18.01SC — Single Variable Calculus syllabus