Skip to content

Cheatsheet: The essence of calculus

Break a hard problem into many small easy pieces, then add them up as the pieces shrink toward zero. That is the move behind almost all of calculus.

  1. Slice the disk into thin concentric rings: radius r, thickness dr.
  2. Unroll one ring into a thin rectangle: length 2πr (the circumference), width dr. Area ≈ 2πr · dr.
  3. Total area ≈ sum over r of (2πr · dr), which is the area under the line 2πr plotted against r.
  4. That region is a triangle, base R, height 2πR:
area = (1/2) · R · 2πR = πR²

The familiar formula is the area under a straight line, assembled from thin rectangles.

PillarQuestionName
Rate of changeHow fast is a function changing at each instant?Differentiation
AccumulationHow much does a function add up over a range?Integration

For the circle: A(R) = πR² is the accumulated (integrated) circumference 2πr.

The inverse relationship (Fundamental Theorem)

Section titled “The inverse relationship (Fundamental Theorem)”
curve --(accumulate area: integrate)--> accumulated function
accumulated function --(rate of change: differentiate)--> curve

A(R) = πR², and its rate of change A'(R) = 2πR is exactly the circumference being accumulated. Integration and differentiation undo each other. This is the Fundamental Theorem of Calculus.

The systematic study of two questions about any function, how fast it changes (rate) and how much it accumulates (total), plus the discovery that they are inverses.

  • Training = following a rate. A model lowers its loss by computing the loss’s derivative with respect to each parameter and nudging downhill (gradient descent). Backpropagation computes those derivatives through the layers.
  • Continuous probability = accumulation. Likelihood is the area under a density curve, an integral.
  • dr is a mystery. No, treat it as a small ordinary width that shrinks toward zero.
  • The ring-as-rectangle is exact. No, it is an approximation that becomes exact in the limit.
  • Differentiation and integration are unrelated. No, they are inverses (the Fundamental Theorem).
  • Memorize πR². Don’t; it is the area under 2πr, rederivable on a napkin.

Calculus slices hard problems into tiny pieces and adds them up; its two ideas, rates and accumulation, are inverses, which is why the rate of a circle’s accumulated area is exactly its circumference.