100 Best Calculus Formulas, Theorems, and Examples Every Student Should Know
100 calculus formulas and theorems, from limits and derivatives to series, multivariable and vector calculus and differential equations, each with an example.
By BlogAI Editors · · 14 min read
Calculus is the mathematics of change and accumulation. Derivatives measure how fast something changes; integrals add up small pieces into a whole; and the fundamental theorem of calculus says these two operations undo each other. Almost everything else in a calculus course, from optimization to series to differential equations, is built from those ideas.
This article collects 100 formulas and theorems that a student meets across single-variable calculus, series, multivariable calculus, vector calculus and a first look at differential equations. For each one you get the statement, the conditions under which it holds (theorems are only as good as their hypotheses), and a short worked example. Every example was recomputed with SymPy before publication.
The basic differentiation and integration rules also appear, more briefly, in 100 mathematics formulas every student should know. This article goes further: it states the theorems behind the rules and covers series, several variables and vector fields. All angles are in radians.
Limits and continuity
1. The epsilon–delta definition of a limit
x→alimf(x)=L⟺∀ε>0∃δ>0:0<∣x−a∣<δ⇒∣f(x)−L∣<ε
Example: To show limx→2(3x+1)=7: ∣3x+1−7∣=3∣x−2∣, so choosing δ=ε/3 guarantees ∣f(x)−7∣<ε.
2. Limit laws
Limits of sums, differences, products and quotients are the sums, differences, products and quotients of the limits, provided each limit exists and no denominator limit is zero.
Example:limx→2(x2+3x)=4+6=10.
3. Squeeze theorem
If g(x)≤f(x)≤h(x) near a and limg=limh=L, then limf=L.
Example:−x2≤x2sin(1/x)≤x2, and both bounds go to 0, so limx→0x2sin(1/x)=0 even though sin(1/x) oscillates wildly.
4. Limits at infinity of rational functions
Divide numerator and denominator by the highest power of x in the denominator.
Example: Compounding 100% interest n times a year turns $1 into (1+1/n)n dollars; as n→∞ (continuous compounding) the amount approaches $2.72.
6. Exponential and logarithm limits
x→0limxex−1=1,x→0limxln(1+x)=1
Example:x→0limxe3x−1=3⋅x→0lim3xe3x−1=3.
7. One-sided limits
limx→af(x) exists exactly when both one-sided limits exist and are equal.
Example: For f(x)=∣x∣/x, the left limit at 0 is −1 and the right limit is 1, so the two-sided limit does not exist.
8. Continuity and removable discontinuities
f is continuous at a when limx→af(x)=f(a).
Example:f(x)=x−1x2−1 is undefined at 1, but equals x+1 elsewhere, so the limit is 2. Defining f(1)=2 removes the discontinuity.
9. Intermediate value theorem
If f is continuous on [a,b] and N lies between f(a) and f(b), then f(c)=N for some c in (a,b).
Example:f(x)=x3+x−1 has f(0)=−1 and f(1)=1, so it has a root between 0 and 1. Bisection, the simplest root-finding algorithm, is this theorem applied repeatedly.
10. Extreme value theorem
A function continuous on a closed, bounded interval [a,b] attains a maximum and a minimum there.
Example:f(x)=x2 on [−1,2] attains its maximum 4 at x=2 and minimum 0 at x=0. On the open interval (0,1), f(x)=1/x has no maximum: the hypothesis "closed" matters.
11. L'Hôpital's rule for 0/0
If f(a)=g(a)=0 and f,g are differentiable near a with g′(x)=0, then limgf=limg′f′ when the right side exists.
Example:x→0limx21−cosx=x→0lim2xsinx=21.
12. The indeterminate form 1^∞
Take logarithms, find the limit of the logarithm, then exponentiate.
Example:x→∞lim(1+x2)x: the log is xln(1+2/x)→2, so the limit is e2.
Derivatives
13. Definition of the derivative
f′(x)=h→0limhf(x+h)−f(x)
Example: For f(x)=x2 at x=1, the difference quotient is h(1+h)2−1=2+h→2.
Formula 13: secant slopes 2 + h close in on the tangent slope 2 as h shrinks.
14. Differentiable implies continuous
If f′(a) exists, f is continuous at a. The converse is false.
Example:∣x∣ is continuous at 0 but not differentiable there: the difference quotient is −1 from the left and +1 from the right.
20. Derivatives of inverse trigonometric functions
(arcsinx)′=1−x21,(arctanx)′=1+x21
Example: The slope of arctanx at x=1 is 21.
21. Exponentials and logarithms in any base
dxdax=axlna,dxdlogax=xlna1
Example:dxd2x=2xln2≈0.693⋅2x. So a quantity that doubles every unit of time is, at each instant, growing at about 69% of its current size per unit of time.
22. Implicit differentiation
Differentiate both sides with respect to x, treating y as a function of x.
Example: For the circle x2+y2=25, 2x+2yy′=0, so y′=−x/y. At (3,4) the slope is −43.
23. Logarithmic differentiation
For products, quotients and variable exponents, differentiate lny instead of y.
Example:y=xx: lny=xlnx, so yy′=lnx+1 and y′=xx(lnx+1).
24. Derivative of an inverse function
(f−1)′(b)=f′(a)1where f(a)=b
Example:f(x)=x3+x has f(1)=2 and f′(1)=4, so (f−1)′(2)=41, without ever solving for f−1.
25. Higher derivatives
f′′ is the derivative of f′, and so on. For position s(t), s′ is velocity and s′′ is acceleration.
Example: A hanging chain or cable under its own weight takes the shape y=acosh(x/a), the catenary.
27. Linear approximation
f(x)≈f(a)+f′(a)(x−a)for x near a
Example: With f(x)=x and a=4: 4.1≈2+40.1=2.025. The true value is 2.02485.
28. Differentials and error propagation
dy=f′(x)dx
Example: A sphere's radius is measured as 10±0.1 cm. Since V=34πr3, dV=4πr2dr=4π(100)(0.1)≈125.7cm3, about 3% of the volume, three times the 1% error in r.
29. Related rates
Differentiate an equation linking the quantities with respect to time.
Example: A 10 ft ladder slides down a wall. When the base is 6 ft out and moving away at 2 ft/s, x2+y2=100 gives xx˙+yy˙=0. With y=8: y˙=−86⋅2=−1.5 ft/s. The top is falling at 1.5 ft/s.
30. Newton's method
xn+1=xn−f′(xn)f(xn)
Example: For 2, use f(x)=x2−2 and x0=1: x1=1.5, x2=1.41667, x3=1.414216. The number of correct digits roughly doubles each step.
31. Mean value theorem
If f is continuous on [a,b] and differentiable on (a,b), some c in (a,b) satisfies
f′(c)=b−af(b)−f(a)
Example:f(x)=x3−3x on [0,2] has average slope 22−0=1. Solving 3c2−3=1 gives c=2/3≈1.155. If a car's average speed over a trip is 60 km/h, the speedometer read exactly 60 at some instant.
Theorem 31: somewhere between the endpoints, the tangent is parallel to the secant.
32. Rolle's theorem
The special case of the mean value theorem with f(a)=f(b): then f′(c)=0 for some c in (a,b).
Example:f(x)=x2−4x has f(0)=f(4)=0, and f′(c)=2c−4=0 at c=2.
Applications of derivatives
33. Critical points and the first derivative test
Critical points are where f′=0 or f′ is undefined. If f′ changes from + to −, there is a local maximum; from − to +, a local minimum.
Example:f(x)=x3−3x has f′(x)=3(x−1)(x+1). It has a local maximum f(−1)=2 and a local minimum f(1)=−2.
34. Concavity and the second derivative test
f′′>0 means concave up; f′′<0 means concave down. At a critical point, f′′>0 gives a minimum and f′′<0 a maximum. An inflection point is where concavity changes.
Example: For f(x)=x3−3x, f′′(x)=6x: f′′(1)=6>0 confirms the minimum, and x=0 is an inflection point.
35. Optimization: the open-top box
Write the quantity as a function of one variable, find critical points, and check the endpoints.
Example: Cut squares of side x from the corners of a 12×12 sheet and fold up the sides. V(x)=x(12−2x)2 on [0,6]. V′(x)=(12−2x)(12−6x)=0 gives x=2, so the largest volume is V(2)=2⋅64=128.
36. Optimization: the cheapest can
Example: A cylinder must hold 1000 cm³ with the least surface area S=2πr2+2πrh. Using h=1000/(πr2), S(r)=2πr2+2000/r, and S′(r)=4πr−2000/r2=0 gives r=(500/π)1/3≈5.42 cm and h≈10.84 cm. The optimal can's height equals its diameter.
37. Comparing growth rates
As x→∞, for any n>0 and p>0:
xplnx→0,exxn→0
Example: Applying L'Hôpital's rule three times, exx3→ex6→0. Exponentials beat polynomials, which beat logarithms. This ordering is the basis of big-O notation in algorithm analysis.
38. Asymptotes
Vertical asymptotes occur where a function grows without bound; horizontal asymptotes are limits at ±∞.
Example:f(x)=x2−12x2 has vertical asymptotes x=±1 and horizontal asymptote y=2.
39. Marginal cost
In economics, the derivative of cost is the marginal cost: the approximate cost of one more unit.
Example: For C(x)=0.01x2+5x+100 dollars, C′(x)=0.02x+5, so C′(100)=7: the 101st unit costs about $7.
40. Velocity and acceleration
v(t)=s′(t) and a(t)=v′(t)=s′′(t). The object changes direction where v changes sign.
Example:s(t)=t3−6t2+9t gives v(t)=3(t−1)(t−3). The object moves forward until t=1, backward until t=3, then forward again.
Integrals
41. Riemann sums and the definite integral
∫abf(x)dx=n→∞limi=1∑nf(xi∗)Δx,Δx=nb−a
Example: For ∫02x2dx with 4 midpoint rectangles of width 0.5: 0.5(0.0625+0.5625+1.5625+3.0625)=2.625. The exact value is 38≈2.667.
Formula 41: four midpoint rectangles already come within 0.042 of the exact area.
Example:∫011+x24dx=π. With n=2 (h=0.5, values 4,3.2,2): T2=3.1 and S2=61(4+12.8+2)≈3.1333, against π≈3.1416. Simpson's rule is exact for cubics.
Sequences and series
61. Geometric series
n=0∑∞arn=1−ra,∣r∣<1
Example:0.9=∑n=1∞9⋅10−n=1−0.10.9=1.
62. Divergence test and the harmonic series
If an→0, ∑an diverges. The converse fails: an→0 does not guarantee convergence.
Example: The harmonic series ∑n1 has terms going to 0 but diverges. Grouping terms, 31+41>21, 51+⋯+81>21, and so on forever.
63. p-series and the Basel problem
∑np1 converges exactly when p>1. Euler found the value for p=2:
n=1∑∞n21=6π2≈1.6449
Example:∑n1.011 converges, though very slowly; ∑n1 diverges.
64. Integral test
If f is positive, continuous and decreasing with an=f(n), then ∑an and ∫1∞f(x)dx both converge or both diverge.
Example:∑nlnn1 (from n=2) diverges because ∫2∞xlnxdx=limb→∞ln(lnb)=∞.
65. Comparison test
If 0≤an≤bn and ∑bn converges, so does ∑an.
Example:n2+11<n21, so ∑n2+11 converges.
66. Ratio test
If limanan+1=L: L<1 converges absolutely, L>1 diverges, L=1 is inconclusive.
Example: For ∑2nn, the ratio is 2nn+1→21, so it converges (its sum is 2).
67. Alternating series test
If bn decreases to 0, ∑(−1)n+1bn converges, and the error after N terms is at most bN+1.
Example:1−21+31−⋯=ln2≈0.6931. After 100 terms the error is below 1011.
68. Absolute and conditional convergence
A series converges absolutely if ∑∣an∣ converges; it converges conditionally if it converges but not absolutely.
Example: The alternating harmonic series in formula 67 converges conditionally. By the Riemann rearrangement theorem its terms can be reordered to sum to any number you like, so the order of terms matters.
69. Radius of convergence of a power series
For ∑cn(x−a)n, the ratio test usually gives R=limcn+1cn. Check the endpoints separately.
Example:∑nxn has R=1. At x=1 it is the harmonic series (diverges); at x=−1 it is alternating (converges). The interval is [−1,1).
Example:sin0.1≈0.1−60.001=0.0998333, correct to 7 decimal places.
Formula 70: each extra term of the series widens the interval where the polynomial matches sin x.
71. Taylor's theorem with remainder
The error of the degree-n Taylor polynomial is
Rn(x)=(n+1)!f(n+1)(c)(x−a)n+1for some c between a and x
Example: To estimate e with ∑k=08k!1=2.7182788, the error is at most 9!e<3628803≈8.3×10−6. The true error is about 3.0×10−6.
72. Binomial series
(1+x)k=1+kx+2!k(k−1)x2+⋯,∣x∣<1
Example:1.1=(1+0.1)1/2≈1+0.05−80.01=1.04875. The true value is 1.048809.
Multivariable calculus
73. Partial derivatives
Differentiate with respect to one variable while holding the others fixed.
Example: For f(x,y)=x2y+sin(xy): fx=2xy+ycos(xy) and fy=x2+xcos(xy).
74. Gradient and directional derivative
∇f=(fx,fy),Duf=∇f⋅u(∥u∥=1)
Example:f(x,y)=x2y at (1,2) has ∇f=(2xy,x2)=(4,1). In the direction u=(3,4)/5: Duf=512+4=3.2.
75. The gradient points uphill
∇f points in the direction of steepest increase, its length is the maximum rate of increase, and it is perpendicular to level curves.
Example: For f in formula 74, the steepest rate at (1,2) is ∥(4,1)∥=17≈4.12. Gradient descent in machine learning steps in the direction −∇f.
76. Tangent plane
z=f(a,b)+fx(a,b)(x−a)+fy(a,b)(y−b)
Example: For z=x2+y2 at (1,2): z=5+2(x−1)+4(y−2).
77. Multivariable chain rule
dtdz=∂x∂zdtdx+∂y∂zdtdy
Example:z=x2y with x=cost, y=sint: dtdz=2xy(−sint)+x2cost=cost(1−3sin2t). Backpropagation in neural networks is this rule applied through many layers.
78. Equality of mixed partials (Clairaut's theorem)
If fxy and fyx are continuous, they are equal.
Example: For f=x3y2: fxy=∂y∂(3x2y2)=6x2y and fyx=∂x∂(2x3y)=6x2y.
79. Second derivative test in two variables
At a critical point, let D=fxxfyy−fxy2. D>0 and fxx>0: minimum. D>0 and fxx<0: maximum. D<0: saddle point.
Example:f(x,y)=x3−3x+y2 has critical points (±1,0) and D=12x. At (1,0), D=12>0 and fxx=6>0: a local minimum. At (−1,0), D=−12: a saddle.
80. Lagrange multipliers
To optimize f subject to g=c, solve ∇f=λ∇g together with g=c.
Example: Maximize xy subject to x+y=10: (y,x)=λ(1,1) gives x=y=5 and a maximum product of 25. The optimization article works through the geometry with a diagram.
81. Double integrals over rectangles (Fubini's theorem)
For continuous f on a rectangle, the double integral equals either iterated integral.
Example:∬[0,1]×[0,2]xydA=∫01xdx∫02ydy=21⋅2=1.
82. Double integrals over general regions
Describe the region with variable limits.
Example: Over the region between y=x2 and y=x for 0≤x≤1: ∬xdA=∫01x(x−x2)dx=31−41=121.
83. Polar coordinates
∬RfdA=∬f(rcosθ,rsinθ)rdrdθ
Example: The Gaussian integral: (∫e−x2dx)2=∬e−(x2+y2)dA=∫02π∫0∞e−r2rdrdθ=2π⋅21=π, so ∫−∞∞e−x2dx=π.
84. Change of variables and the Jacobian
dxdy=∂(u,v)∂(x,y)dudv
Example: For polar coordinates the Jacobian determinant is cosθsinθ−rsinθrcosθ=r. For spherical coordinates dV=ρ2sinϕdρdϕdθ.
85. Triple integrals
Example: The volume of a ball of radius R in spherical coordinates:
∫02π∫0π∫0Rρ2sinϕdρdϕdθ=2π⋅2⋅3R3=34πR3
86. Center of mass
xˉ=A1∬RxdA,yˉ=A1∬RydA
Example: For a half-disk of radius r above the x-axis, ∬ydA=∫0π∫0rρ2sinθdρdθ=32r3 and A=2πr2, so yˉ=3π4r≈0.42r.
87. Line integrals and conservative fields
If F=∇ϕ, then ∫CF⋅dr=ϕ(end)−ϕ(start) for any path.
Example:F=(y,x)=∇(xy). The work from (0,0) to (1,2) along any path is 1⋅2−0=2.
88. Green's theorem
∮CPdx+Qdy=∬R(∂x∂Q−∂y∂P)dA
Example: With P=−y/2 and Q=x/2 the integrand is 1, so 21∮(xdy−ydx) is the area enclosed. For a circle x=rcost, y=rsint, it gives 21∫02πr2dt=πr2. A planimeter measures area this way.
Example: For F=(x2,xy,z): ∇⋅F=2x+x+1=3x+1 and ∇×F=(0,0,y). Divergence measures outflow from a point; curl measures rotation.
90. Divergence theorem
∬SF⋅ndS=∭V∇⋅FdV
Example: For F=(x,y,z) and the unit ball, ∇⋅F=3, so the flux is 3⋅34π=4π. Directly: on the unit sphere F⋅n=1, and the area is 4π. Gauss's law for electric fields is this theorem.
91. Stokes' theorem
∮CF⋅dr=∬S(∇×F)⋅ndS
Example:F=(−y,x,0) has curl (0,0,2). Over the unit disk, ∬2dA=2π, which equals the circulation ∮(−ydx+xdy)=∫02π1dt=2π around the unit circle.
92. Test for a conservative field
On a simply connected region, a smooth field is conservative exactly when its curl is zero (in 2D: ∂Q/∂x=∂P/∂y).
Example:F=(2xy,x2): ∂x(x2)=2x=∂y(2xy), so F=∇(x2y). Gravity and electrostatic fields are conservative, which is why potential energy is well defined.
Differential equations
93. Exponential growth and decay
dtdy=ky⟹y=y0ekt
Example: Carbon-14 has a half-life of about 5,730 years, so k=−5730ln2. A sample with 25% of its original carbon-14 is two half-lives old, about 11,460 years.
94. Newton's law of cooling
dtdT=−k(T−Troom)⟹T=Troom+(T0−Troom)e−kt
Example: Coffee at 90 °C in a 20 °C room cools to 60 °C in 10 minutes, so e−10k=7040 and k≈0.0560 per minute. It reaches 40 °C when e−kt=7020, at t=kln3.5≈22.4 minutes.
95. Logistic growth
dtdP=rP(1−KP)⟹P(t)=1+P0K−P0e−rtK
Example: Growth is fastest when P=K/2, where the curve has its inflection point. Populations, technology adoption and the spread of rumors often follow this S-shaped curve.
96. First-order linear equations (integrating factor)
For y′+p(x)y=q(x), multiply by μ=e∫pdx; then (μy)′=μq.
Example:y′+y=x: μ=ex, (exy)′=xex, so exy=(x−1)ex+C and y=x−1+Ce−x.
97. Second-order linear equations with constant coefficients
For ay′′+by′+cy=0, try y=erx and solve ar2+br+c=0.
Example:y′′−3y′+2y=0 gives r=1,2, so y=c1ex+c2e2x.
98. Simple harmonic motion
my′′+ky=0⟹y=Acos(ωt)+Bsin(ωt),ω=k/m
Example: A 0.5 kg mass on a spring with k=8 N/m oscillates with ω=4 rad/s and period 42π=2π≈1.57 s.
99. Damped oscillations
my′′+by′+ky=0 has characteristic roots r=2m−b±b2−4mk. Underdamped (b2<4mk) systems oscillate while decaying; critically damped (b2=4mk) systems return fastest without oscillating.
Example: For the spring in formula 98, critical damping needs b=4⋅0.5⋅8=4 N·s/m. Car shock absorbers are designed to be close to critically damped.
100. Euler's method
yn+1=yn+hf(xn,yn)
Example: For y′=y, y(0)=1 and step h=0.25, four steps give y(1)≈1.254=2.441, against the exact e≈2.718. Halving h roughly halves the error, which is why practical solvers use higher-order methods such as Runge–Kutta.
Common mistakes
Using a theorem without its hypotheses. The mean value theorem needs continuity on the closed interval and differentiability inside; L'Hôpital's rule only applies to 0/0 or ∞/∞ forms.
Dropping the inner derivative in the chain rule.dxdsin(x2)=2xcos(x2), not cos(x2).
Forgetting to change the limits in a substitution. Either change them to u-values or substitute back before evaluating.
Assuming an→0 means the series converges. The harmonic series is the standard counterexample (formula 62).
Forgetting the Jacobian. In polar coordinates dA=rdrdθ, not drdθ.
Treating an improper integral as ordinary.∫−11x2dx is not −2; the integrand blows up at 0 and the integral diverges.
Using degrees. Every derivative and series of a trigonometric function in this article assumes radians.
NIST Digital Library of Mathematical Functions, National Institute of Standards and Technology, §4.28 (hyperbolic functions). https://dlmf.nist.gov/4.28
Elementary Differential Equations and Boundary Value Problems, William E. Boyce, Richard C. DiPrima and Douglas B. Meade, Wiley, 12th edition (2021).