The study of continuous change, from limits to multivariable calculus.
July 2026
In standard calculus, we find a number that minimizes a function . In the Calculus of Variations, we find a function that minimizes an integral , called a Functional.
This is the math behind “nature is lazy”: physics always chooses the path that minimizes “Action.”
To find the function that makes stationary (a minimum or maximum), we solve the Euler-Lagrange Equation:
What is the shortest path between two points? In flat space, the Euler-Lagrange equation tells us it is a straight line. On a curved surface (like Earth), it is a Great Circle.
What shape of a wire allows a bead to slide from to in the shortest amount of time under gravity? Hint: It is not a straight line. It is a Cycloid (the path traced by a point on a rolling wheel).
Light travels between two points along the path that takes the least time. This principle alone allows us to derive Snell’s Law of refraction and the law of reflection.
Complex Analysis is the study of functions of a complex variable . It reveals a profound rigidity: if a complex function is differentiable once, it is differentiable infinitely many times.
A function is holomorphic if it is complex-differentiable. This requires the Cauchy-Riemann Equations:
If is holomorphic in a simply connected domain, the line integral along any closed path is zero:
However, if the domain has “holes” (singularities), we apply the Residue Theorem:
Holomorphic functions are conformal maps, meaning they preserve angles between curves. This property is vital in fluid dynamics and electromagnetism.
Functions can be expanded into Laurent series near singularities:
The derivative is the mathematical tool for measuring change. If limits are about “approaching,” derivatives are about “moving.”
We define the derivative as the limit of the average rate of change as the interval goes to zero:
Instead of jumping to rules, let’s calculate the slope of at by making smaller and smaller. This is exactly what your computer does when it performs Numerical Differentiation.
Around a point , we can approximate a complex function with a simple line defined by the derivative:
This is why derivatives are so powerful: they turn complex, curvy problems into simple, linear ones.
To avoid numerical limits, we use rules. The Chain Rule is particularly vital for modern AI, as it powers backpropagation.
If a smooth function reaches a peak or valley, its slope must be zero. These are Critical Points.
In basic calculus, we learn how to find the derivative of a function. In the real world, we often encounter the reverse problem: we know how a system changes, and we want to find the function that describes the system’s state. These are Differential Equations (DEs).
A DE is an equation that relates a function to its derivatives. For example: This says that the rate of change of is proportional to its current value. This is the model for population growth, radioactive decay, and continuously compounded interest.
The simplest way to solve a first-order DE is to “separate” the variables so that all ‘s are on one side and all ‘s are on the other. Example: Solve .
Newton’s Law of Cooling states that the rate of change of the temperature of an object is proportional to the difference between its temperature and the ambient temperature :
This equation tells us that a hot cup of coffee cools down quickly at first (when the difference is large) and then slows down as it approaches room temperature.
When we have multiple interdependent variables (like a predator and its prey, or a set of connected water tanks), we use Systems of Differential Equations. The solution to this system is deeply connected to the Eigenvalues and Eigenvectors of the matrix . In fact, the general solution is based on the matrix exponential .
Differential forms provide a unified framework for the study of integration, Stokes’ theorem, and the geometry of manifolds.
At each point of a manifold, a differential -form is a purely antisymmetric -tensor. The wedge product allows us to combine forms: where is a -form and is a -form.
The exterior derivative is a operator that transforms a -form into a -form. It generalizes the concepts of gradient, curl, and divergence from vector calculus.
The fundamental theorem of calculus, Green’s theorem, and the divergence theorem are all special cases of the generalized Stokes’ theorem: where is the boundary of .
The study of closed forms () that are not exact () leads to De Rham Cohomology, which reveals topological information about the underlying space (e.g., the presence of holes).
Fourier Analysis allows us to decompose complex, periodic signals into a sum of simple sine and cosine waves.
Any periodic function with period can be represented as:
For non-periodic functions, the Fourier Transform maps a function from the time (or space) domain to the frequency domain:
Parseval’s Theorem states that the total energy of a signal in the time domain is equal to the total energy in the frequency domain:
Functional analysis studies vector spaces endowed with a limit-related structure (like a metric or topology) and the linear operators acting upon them.
A Normed Linear Space is a vector space over a field (usually or ) with a norm function satisfying:
A Banach Space is a normed linear space that is complete (every Cauchy sequence converges).
A Hilbert Space is a complete inner product space. The inner product satisfies:
The Space is a primary example, where functions are square-integrable:
The Fundamental Theorem of Calculus (FTC) is the crown jewel of mathematics. It connects two seemingly unrelated concepts: the derivative (slopes) and the integral (areas). Before this discovery, calculating areas was a tedious process of infinite sums. After the FTC, it became a simple matter of finding an anti-derivative.
The first part of the theorem states that if we define an “area function” that accumulates the area under a function from a fixed point to : Then the derivative of this area function is simply the original function:
The Intuition: The rate at which area is being added at point is exactly equal to the “height” of the function at that point. If the function is tall, the area grows quickly. If it is zero, the area stops growing.
The second part provides the formula we use in practice to evaluate definite integrals. If is any anti-derivative of (meaning ), then:
This is revolutionary. To find the area under a curve, you don’t need to draw rectangles. You just need to find the “inverse” of the derivative and plug in the endpoints.
The FTC is fundamental because it shows that differentiation and integration are inverse operations. It turns a geometry problem (area) into an algebra problem (anti-derivatives). Every time a physicist calculates the energy lost by a falling object or an engineer calculates the total stress on a bridge, they are relying on this 300-year-old bridge between two worlds.
While derivatives break a function down into its local rates of change, integration builds it back up. Integration is the process of adding up infinitely many tiny pieces to find a whole.
We define the definite integral as the signed area under the curve from to . Formally, this is reached through a Riemann Sum: we divide the area into rectangles and take the limit as .
Instead of just looking at the formula, let’s watch the approximation get better as we add more rectangles.
Computer scientists rarely integrate by hand. They use algorithms like the Trapezoidal Rule, which fits a line (trapezoid) between points instead of a flat rectangle. This usually converges much faster.
The FTC states that integration and differentiation are inverse operations. If is the antiderivative of , then:
This turns a hard problem of “infinite summing” into a simple problem of “subtraction.”
Sometimes we need to integrate over an infinite interval, such as . These are vital for calculating total energy or probabilities in bell curves.
The Laplace Transform is a powerful tool used in engineering and physics to solve linear differential equations. Its primary “trick” is to transform a function from the Time Domain () to the Complex Frequency Domain (), where integration and differentiation become simple algebraic multiplication and division.
The Laplace transform of a function is defined as:
In the time domain, a system might be described by a messy differential equation:
In the Laplace (s) domain, this becomes a simple equation:
You can then solve for using basic algebra and “Inverse Transform” back to the time domain.
In control theory, the Transfer Function describes how a system responds to an input.
Calculus is built on the concept of change over zero. To make sense of “instantaneous” change, we need a way to talk about what a function does as it gets closer and closer to a point, even if it never actually reaches it. This is the Limit.
Intuition: A limit means we can force to be as close to as we want (within ), just by making sufficiently close to (within ).
For every , there exists a such that .
Let’s vizualize this. If , and we want to be within of the output at , how close must be?
A limit only exists if it matches from both directions. If the “safe zone” can’t be established because the function jumps or oscillates, the limit does not exist.
A function is continuous at if the limit exists and exactly matches the function’s value: .
Let’s test for a “Broken” function:
If is continuous on , it must hit every value between and . This is why we can use the Bisection Method to find roots.
The Mean Value Theorem (MVT) is often viewed as a “theoretical” result used by mathematicians for proofs. However, it has a very intuitive and practical meaning: if you travel 100 miles in one hour, there must have been at least one instant where your speedometer read exactly 100 mph.
Rolle’s Theorem is a special case of the MVT. It states that if a continuous and differentiable function starts and ends at the same value (), there must be at least one point in between where the derivative is zero ().
Think of it like this: if you throw a ball up and it comes back to your hand, there was a moment at the very top of its path where its vertical velocity was exactly zero.
The MVT generalizes Rolle’s Theorem to functions that don’t end where they start. It states that for a differentiable function on , there exists a point such that:
In plain English: The instantaneous rate of change () must equal the average rate of change over the interval at some point.
The MVT is the bridge between local behavior (the derivative at a point) and global behavior (the function values at the endpoints).
If the MVT tells us how to approximate a function with a line, Taylor’s Theorem tells us how to approximate it with a polynomial of any degree. The “remainder” is defined using a generalization of the Mean Value Theorem. This allows engineers to know exactly how many terms they need to keep in a computer simulation to ensure the error remains below a certain threshold.
In 1D calculus, we integrate over a line to find an area. In Multivariable Calculus, we integrate over a 2D region (Double Integral) to find a volume, or over a 3D region (Triple Integral) to find a total mass or charge.
The integral represents the volume between the -plane and the surface over the region .
Fubini’s Theorem: If the function is nice, you can calculate the double integral by doing two “nested” single integrals in any order:
When we change variables (e.g., from Cartesian to Polar ), the “infinitesimal area” changes. We use the Jacobian to account for this stretching.
If you forget the in polar coordinates, your areas and volumes will be wrong!
If represents the density of an object at point , the total mass of the object is the triple integral of the density over its volume :
Multivariable calculus extends the concepts of single-variable calculus to functions of several variables.
A partial derivative measures the rate of change of a multivariable function with respect to one variable, holding others constant. The Gradient is a vector of partial derivatives: It points in the direction of the steepest ascent.
A double integral calculates the volume under the surface over a region in the -plane.
A vector field assigns a vector to every point in space. A line integral measures the work done by a force field along a path .
The Jacobian matrix of a vector-valued function is the matrix of all first-order partial derivatives. It represents the best linear approximation of the function near a point.
Optimization is the selection of a best element (with regard to some criterion) from some set of available alternatives. In its simplest form, this means finding the values that maximize or minimize a function.
For a differentiable function , local extrema occur at points where . The Second Derivative Test determines if a point is a maximum () or a minimum ().
In higher dimensions, we often use iterative methods like Gradient Descent to find a local minimum: where is the learning rate.
To optimize subject to , we look for points where the gradients are parallel:
Ordinary Differential Equations (ODEs) deal with functions of one variable (usually time). Partial Differential Equations (PDEs) deal with functions of multiple variables, such as the temperature at a position and time .
Most physical PDEs involve the Laplacian (), which is the divergence of the gradient (). In 1D, this is just (the second spatial derivative). It measures how much the value at a point differs from the average of its neighbors.
Meaning: The rate of change in temperature () is proportional to how much “different” a point is from its neighbors. Heat flows from hot to cold to “smooth out” the distribution.
Meaning: Acceleration () is proportional to the local “curvature” of the medium. This models everything from guitar strings to light waves.
Meaning: The system has reached a state where every point is the average of its neighbors. This describes electric potentials in vacuum or the steady-state temperature of a plate.
Solving PDEs analytically is hard. Engineers use the Finite Difference Method, which replaces derivatives with differences on a grid.
Calculus is the study of the infinite. While derivatives and integrals use infinite processes to find slopes and areas, sequences and series study infinite processes directly. How can you add up an infinite number of things and get a finite answer? This question is at the heart of Zeno’s paradoxes and modern data compression.
A sequence is an infinite list of numbers . We are interested in its convergence: does the sequence eventually settle down to a specific value ?
In computer science, every iterative algorithm (like Newton’s method or Gradient Descent) is a sequence. We need to prove that these sequences converge to the correct solution.
A series is the sum of the terms of a sequence: . A series converges if the sequence of its partial sums converges to a finite limit.
The most famous convergent series is the geometric series: This formula is used to calculate the “Present Value” of future cash flows in finance and the “Multiplier Effect” in economics.
The ultimate application of series is the Taylor Series. It allows us to represent transcendental functions () as infinite polynomials.
This is how calculators and computers compute . They don’t have a giant lookup table; they use the first few terms of the Taylor series to get as much precision as needed.
A Power Series only converges for within a certain “Radius of Convergence.” Outside this range, the series explodes to infinity. Knowing this limit is vital for ensuring the stability of electronic filters and signal processing algorithms.
In 1D, the Fundamental Theorem of Calculus says that the integral of a derivative over an interval is determined by the values at the endpoints. Vector calculus extends this beautiful idea to higher dimensions: the behavior of a field inside a region is determined entirely by the field on its boundary.
Green’s Theorem relates a line integral around a closed curve to a double integral over the region enclosed by .
In physical terms: the total “circulation” around the boundary equals the sum of all the tiny “curls” inside.
Stokes’ Theorem is the 3D generalization of Green’s Theorem. It relates the surface integral of the curl of a vector field over a surface to the line integral of the field around the boundary curve .
This is why, in a conservative field (where ), the line integral around any closed loop is zero.
The Divergence Theorem relates the volume integral of the divergence of a field to the net “flux” through the surface enclosing that volume.
If there is a net flow of water coming out of a balloon, there must be a source of water (positive divergence) inside the balloon.
These theorems are the foundation of modern physics. Maxwell’s Equations (Electromagnetism), Fluid Dynamics (Navier-Stokes), and General Relativity all rely on the relationship between local changes (derivatives) and global accumulation (integrals).
Many physical systems involve multiple variables that change simultaneously, leading to coupled systems of differential equations.
A first-order linear system has the form: where is a constant matrix. If has eigenvalues and eigenvectors , the general solution is:
The behavior of the system near equilibrium points (where ) can be classified by the eigenvalues:
For non-linear systems or those without analytical solutions, we use numerical methods like the 4th-order Runge-Kutta (RK4).
A Taylor series is an infinite sum of terms that are expressed in terms of the function’s derivatives at a single point.
The Taylor series of a real or complex-valued function that is infinitely differentiable at a real or complex number is the power series:
A power series has a radius of convergence such that the series converges absolutely for and diverges for .
Taylor’s Theorem gives an estimate of the error when a function is approximated by its -th degree Taylor polynomial. The Lagrange form of the remainder is: for some between and .
In single-variable calculus, we map a number to a number (). In Vector Calculus, we map a position to a vector (). This represents physical phenomena like wind speed at every point in a city, or the force of gravity at every point in the solar system.
Given a scalar field (like the altitude of a mountain), the Gradient is a vector field that points in the direction of the steepest uphill slope.
The magnitude of the gradient tells you how steep the slope is.
The Divergence () of a vector field measures how much the “fluid” is expanding or compressing at a point.
The Curl () measures the tendency of the field to rotate around a point. If you placed a tiny paddlewheel in the field, the curl tells you how fast and in what direction it would spin.
A vector field is Conservative if it is the gradient of some scalar function (). In physics, this means the work done moving between two points is independent of the path taken. Gravity and electric fields are conservative; friction is not.