Calculus, in Summary
BasisSingle-variable calculus is built on three pillars — the limit, the derivative, and the Riemann integral — and the whole subject becomes coherent once you see how they fit together. This checkpoint steps back from the individual theorems and draws the map: which ideas rest on which, what connects the two sides, and where each pillar is taken further once you leave this course.
The three pillars
Limits and continuity
Every other concept in calculus is defined as a limit. The derivative is the limit of a difference quotient; the Riemann integral is the limit of Riemann sums; convergence of improper integrals is a limit of proper integrals. The limit is therefore the foundational layer, and everything in the DAG above it depends on it silently.
Continuity is the first structural property that limits let you express: is continuous at when . Continuous functions on closed bounded intervals have strong properties — they attain their maximum and minimum (Extreme Value Theorem) and hit every value in between (Intermediate Value Theorem). These two facts are used repeatedly in proofs across the rest of the subject.
The derivative
The derivative is the slope of the tangent line to at , defined by the limit
Differentiability implies continuity but is strictly stronger. The mechanics of differentiation — sum, product, quotient, and chain rules — reduce any elementary function to repeated applications of a short table of known derivatives. The derivative of the inverse function rule extends this table to logarithms and inverse trigonometric functions.
Higher-order derivatives describe curvature, convexity, and oscillation. They are the inputs to Taylor’s formula.
The Riemann integral
The Riemann integral is defined for bounded functions on closed intervals via upper and lower Darboux sums: is integrable when the infimum of upper sums equals the supremum of lower sums. Two large classes of functions are Riemann integrable: monotonic functions, and functions with at most finitely many discontinuities. Continuous functions are always integrable; the Dirichlet function (rational/irrational indicator) is the canonical counterexample that is not.
How the pillars interlock: the fundamental theorem
The deepest result in elementary calculus is the Newton–Leibniz formula:
where is any primitive (antiderivative) of , i.e., . This formula has two logically separate halves:
- FTC1: if is continuous on , then is differentiable and .
- FTC2: if is any primitive of , then .
FTC1 says differentiation and integration are inverse operations. FTC2 converts the problem of computing a definite integral — a limit of sums — into the algebraic task of finding an antiderivative. Without this bridge the two pillars would be isolated; with it, skill on one side immediately transfers to the other.
The mean value theorem family
A single idea — comparing a function to a secant slope — runs through nearly every non-trivial theorem on the differential side.
Rolle’s Theorem is the base case: if is continuous on , differentiable on , and , then for some .
Lagrange’s MVT generalises it: for some . This is used to prove the monotonicity test (positive derivative implies increasing), the “constant function has zero derivative” direction, and — at the heart of Taylor’s formula — the Lagrange remainder.
Cauchy’s MVT is the ratio version: for some . It is the key step in proving L’Hôpital’s rule for indeterminate forms.
On the integral side, the mean value theorem for integrals says for some . This is what FTC1 uses to identify the limit of the difference quotient of .
So the two MVT families — differential and integral — are not parallel developments; they are the workhorses that make the Newton–Leibniz formula provable.
Differentiation in depth: convexity and Taylor expansions
Convexity
A function is convex on an interval when every chord lies above or on the graph. The differential characterisation turns this geometric condition into an analytic one: is convex iff is non-decreasing, equivalently (for twice-differentiable ) iff everywhere. Convexity therefore does not require knowledge of the second derivative; it connects directly to the monotonicity of , which Lagrange’s MVT already controls.
Jensen’s inequality is the finite-point generalisation: for convex and non-negative weights summing to ,
This single inequality underlies dozens of classical inequalities (AM-GM, Hölder, …). In machine learning it appears in the derivation of the EM algorithm and in variational bounds.
Taylor’s formula
Taylor’s formula says that an -times differentiable function equals its degree- Taylor polynomial plus an explicit remainder:
The Lagrange form of the remainder comes from applying Rolle’s theorem to an auxiliary function, so Taylor is a direct descendant of the MVT family. Its two main uses are: error-bounded polynomial approximation, and the mechanical evaluation of indeterminate limits (as a cleaner alternative to repeated L’Hôpital).
Integration in depth: computation and extension
Definite integrals and the substitution and integration-by-parts rules
Two integration techniques transform definite integrals into solvable forms. The change of variables rule
follows by differentiating a composite primitive via the chain rule, then applying Newton–Leibniz. Integration by parts,
follows from the product rule the same way. Both are therefore corollaries of FTC2 applied to a cleverly chosen primitive.
Improper integrals
When the interval is unbounded or the integrand blows up at an endpoint, is defined as a limit of proper integrals. Convergence tests for improper integrals mirror convergence tests for series: comparison, limit comparison, and the Abel–Dirichlet criterion for oscillatory integrands. The Abel–Dirichlet tests use the second mean value theorem for integrals to control the oscillating part.
Where each pillar leads next
Single-variable calculus is a foundation, not a destination.
Convexity → convex analysis. Jensen’s inequality and the differential convexity criteria are the entry point to convex analysis, which studies optimisation over convex sets and functions. The subdifferential replaces the derivative for non-smooth convex functions; duality theory generalises the tangent-line characterisation of convexity.
The Riemann integral → the Lebesgue integral. The Riemann integral is limited: it requires the set of discontinuities to be “small” (measure zero, by Lebesgue’s criterion), and it does not interact well with pointwise limits of functions. The Lebesgue integral measures area by horizontal slices rather than vertical ones, admits a vastly larger class of integrable functions, and has far cleaner limit theorems (monotone convergence, dominated convergence). The Riemann integral is the right tool for computation; the Lebesgue integral is the right tool for analysis.
Summary
- Limit is the common language: derivative, integral, continuity, and improper integrals are all defined as limits.
- Continuity on gives you the Extreme Value Theorem (attains min/max) and the Intermediate Value Theorem (hits every value in between); both are used silently across the subject.
- The derivative is defined by the difference-quotient limit; differentiation rules (product, chain, inverse) reduce any elementary function to a known table.
- The Riemann integral is the common limit of upper and lower Darboux sums; monotonic and piecewise-continuous functions are integrable; the Dirichlet function is not.
- Newton–Leibniz (the Fundamental Theorem) bridges the two sides: when is the variable-upper-limit integral; for any primitive .
- The MVT family (Rolle → Lagrange → Cauchy → Taylor; MVT for integrals) drives virtually every non-trivial proof on both sides.
- Taylor’s formula approximates by a degree- polynomial with a Lagrange remainder controlled by ; standard series for , , , follow by sending .
- Convexity is characterised by ; Jensen’s inequality extends it to finite weighted sums, opening the door to convex analysis.
- Change of variables and integration by parts are both corollaries of FTC2 applied to composite or product primitives.
- Improper integrals are limits of proper ones; convergence tests mirror series tests, with Abel–Dirichlet handling oscillatory cases via the second MVT for integrals.
- The natural extensions are convex analysis (from convexity and Jensen) and the Lebesgue integral (from Riemann integration), which is needed for rigorous probability and functional analysis.