Two angles are complementary if they add to 90∘ and supplementary if they add to 180∘. When two lines cross, the angles opposite each other are vertical angles, and vertical angles are always equal.Angles and Parallel Lines →
TheoremExterior angle theorem
An exterior angle of a triangle equals the sum of the two interior angles that are not next to it.Triangles and Congruence →
TheoremTriangle inequality
Any side is shorter than the sum of the other two: a<b+c. Lengths 2,3,6 cannot form a triangle because 6>2+3.Triangles and Congruence →
TheoremAA similarity
If two angles of one triangle equal two angles of another, the triangles are similar. The third angles match automatically because both sets add to 180∘.Similarity and Scale →
TheoremPythagorean theorem
In a right triangle with legs a,b and hypotenuse c, a2+b2=c2. Conversely, if the side lengths satisfy this equation, the triangle has a right angle opposite c.The Pythagorean Theorem →
TheoremInscribed angle theorem
An angle with its vertex on the circle is half the central angle that subtends the same arc. In particular, any angle inscribed in a semicircle is a right angle (Thales’ theorem).Circles →
TheoremTangents
A tangent line meets the circle at one point and is perpendicular to the radius drawn to that point.Circles →
TheoremCavalieri’s principle
If two solids have equal cross-sectional areas at every height, they have equal volumes. A leaning stack of coins has the same volume as a straight one.Area and Volume →
We say limx→af(x)=L if, for every ε > 0, there exists a δ > 0 such that whenever 0<∣x−a∣<δ, we have ∣f(x)−L∣<ε.Limits →
TheoremOne-Sided Limits
The left-hand limitlimx→a−f(x)=L means f(x) → L as x approaches a through values less than a. The right-hand limitlimx→a+f(x) uses values greater than a.One-Sided Limits →
TheoremTwo-Sided Limit Theorem
limx→af(x)=L if and only if both one-sided limits exist and equal L.One-Sided Limits →
TheoremInfinite Limit
We write limx→af(x)=∞ if f(x) can be made arbitrarily large by taking x sufficiently close to a. The limit does not "equal infinity" as a number — it means the function grows without bound.Infinite Limits →
TheoremContinuity at a Point
f is continuous at a if (1) f(a) is defined, (2) limx→af(x) exists, and (3) limx→af(x)=f(a).Continuity →
TheoremIntermediate Value Theorem
If f is continuous on [a, b] and N is any number between f(a) and f(b), then there exists c in (a, b) with f(c)=N.Intermediate Value Theorem →
DefinitionDefinition of the Derivative
The derivative of f at a is f′(a)=limh→0[f(a+h)−f(a)]/h, provided the limit exists. When it exists, we say f is differentiable at a.The Derivative →
If g is differentiable at x and f is differentiable at g(x), then the composite (f∘g)(x)=f(g(x)) is differentiable at x with (f∘g)′(x)=f′(g(x))⋅g′(x).The Chain Rule →
TheoremRolle's Theorem
If f is continuous on [a,b], differentiable on (a,b), and f(a)=f(b), then there exists at least one c in (a,b) with f′(c)=0.Rolle's Theorem →
TheoremMean Value Theorem
If f is continuous on [a,b] and differentiable on (a,b), then there is a c in (a,b) withMean Value Theorem →
If limf(x)/g(x) has the form 0/0 or ∞/∞, and g′(x)=0 nearby, thenL'Hôpital's Rule →
TheoremFermat's Theorem
If f has a local maximum or minimum at an interior point c, then f′(c)=0 or f′(c) does not exist. Such points are called critical points.Optimization →
TheoremLinearization
Near x = a, f(x)≈L(x)=f(a)+f′(a)(x−a). This is the equation of the tangent line at a.Linear Approximation →
TheoremDifferential
For y=f(x), the differential is dy=f′(x)dx. The actual change Δy=f(x+Δx)−f(x) is approximated by dy≈Δy for small dx = Δx.Differentials →
TheoremNewton's Method
Starting from a guess xn, the next approximation is xn+1=xn−f(xn)/f′(xn). Repeat until the values stabilize.Newton's Method →
TheoremConcavity test
If f′′(x)>0 on an interval, f is concave up there. If f′′(x)<0, it is concave down. An inflection point is where concavity changes and f′′ switches sign.Concavity & Inflection Points →
DefinitionDefinition
The definite integral of f from a to b is ∫abf(x)dx=limn→∞∑if(xi\∗)Δx, provided the limit exists and is independent of the sample points.Riemann Sums →
A series ∑(−1)nbn with bn>0 converges if (1) the terms decrease, bn+1≤bn, and (2) bn→0.Alternating Series →
TheoremRatio Test
Let L=lim∣an+1/an∣. The series converges absolutely if L1, and the test is inconclusive if L=1.Ratio & Root Tests →
TheoremRoot Test
Let L=limn√∣an∣. The same thresholds apply: converge for L1, inconclusive at L=1. It shines when terms carry an n-th power.Ratio & Root Tests →
TheoremRadius
A power series converges for ∣x−a∣R, for some R (possibly 0 or ∞). Find R with the ratio or root test.Power Series →
TheoremTaylor Series
If f has derivatives of all orders at a, its Taylor series about a is f(x)=∑f(n)(a)/n!⋅(x−a)n.Taylor Series →
TheoremFourier Series
For a 2π-periodic function f: f(x)≈a0/2+∑[ancos(nx)+bnsin(nx)], where the coefficients are integrals of f against cos and sin.Fourier Series Introduction →
Duf=∇f⋅u, the dot product of the gradient with the unit direction. The direction must be a unit vector.Directional Derivatives →
TheoremTangent Plane
For z=f(x,y) at (x0,y0,z0): z−z0=fx(x0,y0)(x−x0)+fy(x0,y0)(y−y0).Tangent Planes →
TheoremLagrange condition
To optimize f(x,y) subject to g(x,y)=k, solve ∇f=λ∇g together with the constraint. At an extremum, the level curve of f is tangent to the constraint, so their gradients are parallel.Lagrange Multipliers →
TheoremFubini
If f is continuous on a rectangle [a,b]×[c,d], then ∫∫fdA=∫ab∫cdf(x,y)dydx=∫cd∫abf(x,y)dxdy — the order can be swapped.Multiple Integrals →
TheoremPolar Conversion
∫∫Rf(x,y)dA=∫∫f(rcosθ,rsinθ)⋅rdrdθ. The extra factor r is the Jacobian.Double Integrals →
TheoremConservative
A field is conservative if it is the gradient of a scalar potential: F=∇f. In 2D, this is equivalent to ∂y∂P=∂x∂Q (on a simply connected domain).Vector Fields →
TheoremDivergence
For F=(P,Q,R), the divergence is the scalar div F=∂x∂P+∂y∂Q+∂z∂R. Positive divergence marks a source; negative marks a sink.Curl & Divergence →
TheoremCurl
The curl is the vector curl F=∇×F, whose components measure rotation about each axis. A paddle wheel placed in the field spins according to the curl.Curl & Divergence →
For F=⟨P,Q⟩ along r(t), a≤t≤b: ∫CF⋅dr=∫abF(r(t))⋅r′(t)dt.Line Integrals →
TheoremFTC for Line Integrals
If F is conservative with potential f, then ∫CF⋅dr=f(r(b))−f(r(a)) — the integral depends only on the endpoints.Line Integrals →
TheoremFlux
For a parametrized surface r(u,v) with normal ru×rv, the flux of F is ∫∫F⋅(ru×rv)dudv. For a graph z=g(x,y): ∫∫F⋅⟨−gx,−gy,1⟩dA.Surface Integrals →
TheoremGreen's Theorem
For positively oriented C bounding D: ∮CPdx+Qdy=∫∫D(∂x∂Q−∂y∂P)dA.Green's Theorem →
A linear combination of v1,…,vk is any sum c1v1+⋯+ckvk. The span is the set of all such combinations.Vectors, Combinations and Span →
DefinitionLinear independence
Vectors are linearly independent if the only combination that gives 0 is the one with all coefficients zero. Equivalently, none of them is redundant: removing any vector shrinks the span.Vectors, Combinations and Span →
The degrees add to twice the number of edges: ∑deg(v)=2∣E∣. So every graph has an even number of odd-degree vertices.Graph Theory →
TheoremEuler circuits and paths
A connected graph has a closed walk using every edge once exactly when every vertex has even degree. It has an open such walk exactly when exactly two vertices have odd degree.Graph Theory →
DefinitionTrees
A tree is a connected graph with no cycles. A tree with n vertices always has exactly n−1 edges.Graph Theory →
TheoremDijkstra’s algorithm
With non-negative edge weights, repeatedly finalise the unvisited vertex with the smallest tentative distance and relax its outgoing edges. Each finalised distance is optimal.Graph Search and Shortest Paths →
DefinitionBig-O
f(n)=O(g(n)) if there are constants C and n0 with f(n)≤Cg(n) for all n≥n0.Growth Rates and Big-O →
If X1,…,Xn are independent with mean μ and variance σ2, the sample mean Xˉ is approximately N(μ,σ2/n) for large n, whatever the shape of the original distribution.The Law of Large Numbers and the CLT →
a∣b (“a divides b”) means b=ak for some integer k. A prime is an integer p>1 whose only positive divisors are 1 and p.Primes and Divisibility →
TheoremFundamental theorem of arithmetic
Every integer greater than 1 is a product of primes in exactly one way, apart from the order of the factors. For example 360=23⋅32⋅5.Primes and Divisibility →
TheoremBézout
For integers a,b not both zero, there are integers x,y with ax+by=gcd(a,b). Running the Euclidean algorithm backwards finds them.GCD and the Euclidean Algorithm →
DefinitionCongruence
a≡b(modn) means n∣(a−b): a and b leave the same remainder on division by n. Fifteen o’clock and three o’clock are congruent modulo 12.Modular Arithmetic →
For distinct odd primes, (qp)(pq)=(−1)2p−1⋅2q−1. Whether p is a square mod q is tied to whether q is a square mod p.Quadratic Residues and Reciprocity →
TheoremEuclid–Euler
An even number is perfect, meaning σ(n)=2n, exactly when n=2p−1(2p−1) with 2p−1 prime. 6, 28 and 496 are the first three.Arithmetic Functions →
TheoremMiller–Rabin
Write n−1=2sd with d odd. For a prime, the sequence ad,a2d,…,a2sd either starts at 1 or contains −1. A composite n fails this for at least three quarters of bases, so k random bases give error below 4−k.Primality Testing →
A group is a set G with an operation ∗ such that: the operation is closed and associative; there is an identitye with e∗g=g∗e=g; and every g has an inverseg−1 with g∗g−1=e.Groups →
TheoremLagrange
If G is finite and H≤G, then ∣H∣ divides ∣G∣. The cosetsgH split G into [G:H] disjoint pieces of equal size.Subgroups and Lagrange’s Theorem →
DefinitionHomomorphism
A map φ:G→H with φ(ab)=φ(a)φ(b). Its kernel is everything sent to the identity; it is always a subgroup, and φ is injective exactly when the kernel is trivial.Homomorphisms and Isomorphisms →
TheoremFinite fields
Zn is a field if and only if n is prime. In Z6, 2⋅3=0, so neither 2 nor 3 can have an inverse.Rings and Fields →
TheoremCayley’s theorem
Every group of order n is isomorphic to a subgroup of Sn: each element acts by shuffling the others.Permutation Groups →
DefinitionNormal subgroup
N⊴G if gNg−1=N for every g, equivalently left and right cosets agree. Then the cosets form a group G/N under (aN)(bN)=abN.Normal Subgroups and Quotient Groups →
∣G∣=∣orbit of x∣⋅∣stabiliser of x∣. A cube has 24 rotations because a face can go to 6 places and then turn 4 ways.Group Actions and Burnside’s Lemma →
If ∇f(x∗)=0 and the Hessian ∇2f(x∗) is positive definite, x∗ is a strict local minimum. If the Hessian has eigenvalues of both signs, it is a saddle point.Optimality Conditions →
DefinitionConvex function
f is convex if the chord between any two points on its graph lies on or above the graph: f(tx+(1−t)y)≤tf(x)+(1−t)f(y) for 0≤t≤1.Convexity →
TheoremWhy convexity matters
For a convex function on a convex set, every local minimum is a global minimum, and ∇f(x∗)=0 is sufficient as well as necessary.Convexity →
TheoremFundamental theorem of linear programming
If a linear program has an optimal solution, one occurs at a vertex of the feasible region.Linear Programming →
TheoremKKT conditions
For minf subject to gi≤0 (with suitable regularity), an optimum satisfies ∇f+∑μi∇gi=0, with μi≥0, gi≤0, and μigi=0. The last condition says a constraint either binds or its multiplier is zero.Lagrange Multipliers and KKT →
TheoremWeak and strong duality
The dual optimum never exceeds the primal optimum. For convex problems satisfying a mild regularity condition (Slater’s), they are equal.Duality →
TheoremPrinciple of optimality
An optimal plan has the property that, whatever the first decision, the remaining decisions are optimal for the state that results.Dynamic Programming →
x↦ax+b(mod26), where a must be invertible modulo 26, that is gcd(a,26)=1. Decryption uses x=a−1(y−b).Substitution and Shift Ciphers →
DefinitionIndex of coincidence
The probability that two randomly chosen letters of a text are equal. English text scores about 0.066; uniformly random letters score 1/26≈0.038.Breaking Ciphers with Statistics →
TheoremBirthday bound
For an n-bit hash, a collision is expected after roughly 2n/2 random tries, not 2n. A 256-bit hash gives 128 bits of collision security.Hash Functions and Signatures →
Given many noisy equations ⟨ai,s⟩+ei≡bi(modq) with small errors ei, find s. Without noise this is Gaussian elimination; with noise no efficient classical or quantum algorithm is known.Post-Quantum Cryptography →
No lossless code can use fewer than H(X) bits per symbol on average, and codes exist that come within one bit of it.Compression and Huffman Codes →
TheoremChannel coding theorem
Below capacity, codes exist that make the error probability as small as you like. Above capacity, reliable communication is impossible.Noisy Channels and Error Correction →
TheoremNo free lunch
There are 2n files of n bits and fewer than 2n shorter ones, so any lossless compressor must lengthen some inputs.Arithmetic Coding and Lempel–Ziv →
TheoremKolmogorov Complexity
Most strings of length n have K(x)≥n−1: they are their own shortest description. Yet K is uncomputable, by an argument akin to the paradox of “the smallest number not describable in under twenty words”.Kolmogorov Complexity →
TheoremReed–Solomon Codes
A Reed–Solomon code with n−k check symbols corrects n−k erasures, or ⌊(n−k)/2⌋ errors at unknown positions.Reed–Solomon Codes →
For every real x there is a natural number n>x. Otherwise N would have a supremum s, yet s−1 would fail to be an upper bound, giving n>s−1 and so n+1>s.The Real Numbers and Completeness →
Every bounded sequence of real numbers has a convergent subsequence. Proof idea: halve an interval repeatedly, always keeping a half that contains infinitely many terms.Cauchy Sequences and Bolzano–Weierstrass →
Every continuous function on [a,b] is integrable, as is every monotone function. More generally, a bounded function is Riemann integrable exactly when its discontinuities form a set of measure zero.The Riemann Integral, Rigorously →
A bounded function holomorphic on the whole plane is constant. A quick consequence is the fundamental theorem of algebra: if a polynomial p had no root, 1/p would be bounded and entire, hence constant.Cauchy’s Integral Formula →
A problem is ill-conditioned if small changes in input cause large changes in output. An algorithm is unstable if it magnifies rounding errors beyond what the problem itself demands.Floating-Point Arithmetic and Error →
Every game with finitely many players and strategies has at least one equilibrium, possibly in mixed strategies.Mixed Strategies →
Formula Sheets
A compact reference of the differentiation, integration, and series formulas used throughout calculus.
§1Derivatives
dxd[xn]=nxn−1
(1)
dxd[ex]=ex,dxd[ax]=axlna
(2)
dxd[lnx]=1/x,dxd[logax]=1/(xlna)
(3)
dxd[sinx]=cosx,dxd[cosx]=−sinx
(4)
dxd[tanx]=sec2x,dxd[secx]=secxtanx
(5)
dxd[arcsinx]=1/1−x2,dxd[arctanx]=1/(1+x2)
(6)
§2Integrals
∫xndx=xn+1/(n+1)+C(n=−1)
(7)
∫(1/x)dx=ln∣x∣+C
(8)
∫exdx=ex+C,∫axdx=ax/lna+C
(9)
∫cosxdx=sinx+C,∫sinxdx=−cosx+C
(10)
∫sec2xdx=tanx+C,∫1/(1+x2)dx=arctanx+C
(11)
∫1/1−x2dx=arcsinx+C
(12)
§3Series
∑arn=a/(1−r),∣r∣<1
(13)
ex=∑xn/n!
(14)
sinx=∑(−1)nx2n+1/(2n+1)!
(15)
cosx=∑(−1)nx2n/(2n)!
(16)
ln(1+x)=∑(−1)nxn+1/(n+1),∣x∣<1
(17)
§4How to Use
Use this sheet as a memory aid, not a substitute for understanding. Each formula is derived in the corresponding lesson; revisit the derivation when a formula feels mysterious.
Mathematical Identities
Algebraic, trigonometric, logarithmic, and hyperbolic identities that simplify calculus work.
§1Algebraic
a2−b2=(a−b)(a+b)
(1)
(a±b)2=a2±2ab+b2
(2)
a3−b3=(a−b)(a2+ab+b2)
(3)
§2Trigonometric
sin2θ+cos2θ=1
(4)
1+tan2θ=sec2θ,1+cot2θ=csc2θ
(5)
sin(2θ)=2sinθcosθ
(6)
cos(2θ)=cos2θ−sin2θ=2cos2θ−1=1−2sin2θ
(7)
sin2θ=(1−cos2θ)/2,cos2θ=(1+cos2θ)/2
(8)
§3Logarithmic and Exponential
ln(xy)=lnx+lny,ln(x/y)=lnx−lny
(9)
ln(xn)=nlnx,ax=exlna
(10)
logax=lnx/lna
(11)
§4Why Identities Matter
Identities are the algebraic moves that turn an impossible-looking integral into a standard form. Mastery of identities is mastery of calculus technique.
Theorem Index
A catalog of the major theorems of calculus, with a one-line statement and a link to the lesson.
§1Limits and Continuity
§2Derivatives
§3Integrals
§4Multivariable and Vector Calculus
§5Using Theorems
A theorem is a license to conclude something from its hypotheses. Always verify the hypotheses before applying the conclusion.
Glossary
Definitions of the key terms of calculus, from "abscissa" to "zero vector".
§1A–F
Abscissa: the x-coordinate of a point.
Antiderivative: a function whose derivative is a given function.
Asymptote: a line a graph approaches without touching.
Concavity: the curving direction of a graph, given by the sign of the second derivative.
Continuous: having no jumps, holes, or breaks.
Convergent: approaching a finite limit.
Differentiable: having a derivative at a point.
Differential: an infinitesimal change, dy = f'(x) dx.
§2G–L
Gradient: the vector of partial derivatives, pointing in the direction of steepest increase.
Indefinite integral: the family of all antiderivatives.
Inflection point: where concavity changes.
Integrable: having a well-defined definite integral.
Limit: the value a function approaches as the input approaches a point.
Linearization: the tangent-line approximation of a function near a point.
§3M–Z
Maclaurin series: a Taylor series centered at 0.
Partial derivative: a derivative with respect to one variable, others held fixed.
Riemann sum: a sum approximating an integral with rectangles.
Sequence: an ordered list of numbers indexed by n.
Series: the sum of a sequence.
Tangent line: the best linear approximation at a point.
Taylor series: a power series built from a function's derivatives at a point.
Vector: a quantity with magnitude and direction.
Symbol Guide
A reference for the mathematical notation used throughout calculus.
§1Calculus Symbols
dxd: derivative with respect to x.
f′(x): the derivative of f at x (prime notation).
∫: integral sign; ∫ab a definite integral from a to b.
∂: partial derivative symbol.
∇: nabla / gradient operator.
lim: limit.
∞: infinity.
§2Logic and Sets
∀: for all; ∃: there exists.
∈: is an element of; ⊂: is a subset of.
⇒: implies; ⟺: if and only if.
∅: the empty set.
§3Common Greek Letters
α,β,γ: alpha, beta, gamma (often angles or coefficients).
δ,ε: delta, epsilon (small quantities, as in the ε–δ definition).
θ: theta (an angle).
λ: lambda (an eigenvalue or parameter).
ρ,φ: rho, phi (spherical coordinates).
∑: sigma (summation); Π: pi (product).
Historical Timeline
The people and ideas that built calculus, from antiquity to the modern era.
§1Antiquity to Medieval
Archimedes (c. 250 BCE): the method of exhaustion — an early form of integration for areas and volumes.
Madhava (14th c.): infinite series for sin, cos, and arctan in Kerala, India.
§2The Birth of Calculus
Newton (1665–1687): fluxions and the Principia — calculus as the language of physics.
Leibniz (1670s): the notation we still use (dy/dx, ∫) and the product rule.
Bernoulli, l'Hôpital (1690s): the first calculus textbook and l'Hôpital's rule.
§3The Age of Rigor
Euler (1700s): functions, e, i, and the explosion of analysis.
Cauchy, Weierstrass (1800s): the ε–δ definition and the rigorization of limits.
Riemann (1850s): the formal definition of the integral.
Lebesgue (1900s): a more general theory of integration.
§4Multivariable and Beyond
Gauss, Green, Stokes, Gauss (1800s): the great integral theorems of vector calculus.
Poincaré, Cartan (1900s): differential forms and modern geometry.
20th century: calculus becomes the foundation of physics, engineering, economics, and machine learning.
§5Why History Matters
Calculus was not handed down finished — it was built over two millennia by people wrestling with motion, area, and infinity. Knowing the history makes the ideas feel less arbitrary and more human.