Fundamental Theorem Of Calculus Chain Rule
okian
Mar 12, 2026 · 14 min read
Table of Contents
Introduction
The Fundamental Theorem of Calculus (FTC) bridges the two central operations of calculus—differentiation and integration—by showing that they are, in a precise sense, inverse processes. When the limits of an integral are themselves functions of the variable with respect to which we differentiate, the ordinary FTC must be combined with the Chain Rule from differential calculus. This combination yields a powerful tool often called the Leibniz rule for differentiating an integral with variable bounds. Understanding how the FTC and the chain rule work together is essential for solving problems in physics, engineering, and any field where quantities accumulate over a changing interval. In this article we will unpack the theorem, walk through its derivation step‑by‑step, illustrate it with concrete examples, discuss the underlying theory, highlight common pitfalls, and answer frequently asked questions.
Detailed Explanation
At its core, the FTC states that if (F) is an antiderivative of a continuous function (f) on an interval ([a,b]), then
[ \int_{a}^{b} f(x),dx = F(b)-F(a). ]
Equivalently, the derivative of the accumulation function
[ G(x)=\int_{a}^{x} f(t),dt ]
is simply (G'(x)=f(x)). This second form is what we call the first part of the FTC and it directly links differentiation to integration.
When the upper limit of integration is not just (x) but a differentiable function (u(x)), we must differentiate a composition:
[ H(x)=\int_{a}^{u(x)} f(t),dt. ]
Here (H) is the composition of the accumulation function (G) with (u). By the chain rule,
[ H'(x)=G'(u(x))\cdot u'(x)=f\bigl(u(x)\bigr),u'(x). ]
If the lower limit is also a function (v(x)), the same reasoning gives a subtraction term, leading to the general formula [ \frac{d}{dx}\int_{v(x)}^{u(x)} f(t),dt = f\bigl(u(x)\bigr)u'(x)-f\bigl(v(x)\bigr)v'(x). ]
Thus the chain rule is the mechanism that lets us “push” the derivative inside the integral when the limits depend on the variable of differentiation.
Step‑by‑Step Concept Breakdown
-
Identify the integral with variable limits
Write the expression in the form (\displaystyle I(x)=\int_{v(x)}^{u(x)} f(t),dt), where (f) is continuous on an interval containing the values of (u(x)) and (v(x)). -
Introduce an auxiliary accumulation function
Define (F(z)=\int_{c}^{z} f(t),dt) for some fixed constant (c). By the FTC, (F'(z)=f(z)). -
Express (I(x)) as a composition
Observe that (I(x)=F\bigl(u(x)\bigr)-F\bigl(v(x)\bigr)). This is a difference of two compositions of (F) with the limit functions. -
Apply the chain rule to each composition
Differentiate: (\displaystyle \frac{d}{dx}F\bigl(u(x)\bigr)=F'\bigl(u(x)\bigr)u'(x)=f\bigl(u(x)\bigr)u'(x)).
Similarly, (\displaystyle \frac{d}{dx}F\bigl(v(x)\bigr)=F'\bigl(v(x)\bigr)v'(x)=f\bigl(v(x)\bigr)v'(x)). -
Combine the results
Subtract the derivative of the lower‑limit term from that of the upper‑limit term:[ I'(x)=f\bigl(u(x)\bigr)u'(x)-f\bigl(v(x)\bigr)v'(x). ]
-
Interpret the result The derivative of the integral equals the integrand evaluated at the moving limits, each multiplied by the speed at which that limit moves.
This step‑by‑step procedure makes it clear why the chain rule appears naturally whenever the limits of integration are functions of the differentiation variable.
Real Examples
Example 1: Simple upper limit
Find (\displaystyle \frac{d}{dx}\int_{0}^{x^2} \sin(t),dt).
- Here (u(x)=x^{2}), (v(x)=0) (constant).
- Apply the formula: derivative = (\sin\bigl(u(x)\bigr)u'(x)-\sin\bigl(v(x)\bigr)v'(x)).
- Since (v'(x)=0) and (\sin(0)=0), the second term vanishes.
- Compute: (\sin(x^{2})\cdot (2x)=2x\sin(x^{2})).
Thus (\displaystyle \frac{d}{dx}\int_{0}^{x^{2}}\sin(t),dt = 2x\sin(x^{2})).
Example 2: Both limits variable
Evaluate (\displaystyle \frac{d}{dx}\int_{x}^{e^{x}} \frac{1}{1+t^{2}},dt).
-
Identify (u(x)=e^{x}), (v(x)=x).
-
The integrand is (f(t)=\frac{1}{1+t^{2}}).
-
Derivative = (f\bigl(e^{x}\bigr)u'(x)-f\bigl(x\bigr)v'(x)).
-
Compute (u'(x)=e^{x}), (v'(x)=1).
-
So
[ \frac{d}{dx}\int_{x}^{e^{x}}\frac{dt}{1+t^{2}} =\frac{1}{1+e^{2x}}\cdot e^{x}-\frac{1}{1+x^{2}}\cdot 1 =\frac{e^{x}}{1+e^{2x}}-\frac{1}{1+x^{2}}. ]
These examples illustrate how the chain rule converts a seemingly complex differentiation problem into a straightforward evaluation of the integrand at the moving boundaries.
Scientific or Theoretical Perspective From a theoretical standpoint, the combination of the FTC and the chain rule is a special case of the Leibniz integral rule, which governs differentiation under the integral sign when the integrand itself may also depend on the differentiation variable. The rule states
[ \frac{d}{dx}\int_{v(x)}^{u(x)} f(x,t),dt = f\bigl(x,u(x)\bigr)u'(x)-f\bigl(x,v(x)\bigr)v'(x) +\int_{v(x)}^{u(x)}\frac{\partial}{\partial x}f(x,t),dt. ]
When (f) does not depend explicitly on (x)
When the integrand possesses an explicit dependence on the differentiation variable, the extra term (\displaystyle \int_{v(x)}^{u(x)}\frac{\partial}{\partial x}f(x,t),dt) must be retained. This term captures the way the “shape’’ of the integrand shifts as (x) changes, and it is essential in many branches of analysis, physics, and statistics.
1. The full Leibniz formula
For a smooth function (f(x,t)) defined on a region containing the variable‑dependent interval ([v(x),u(x)]),
[ \boxed{; \frac{d}{dx}\int_{v(x)}^{u(x)} f(x,t),dt = f\bigl(x,u(x)\bigr)u'(x)-f\bigl(x,v(x)\bigr)v'(x) +\int_{v(x)}^{u(x)}\frac{\partial}{\partial x}f(x,t),dt ;} ]
The first two pieces are the familiar “boundary contributions’’; the third piece is the internal contribution arising from the partial derivative of the integrand.
2. Example with an explicit (x)‑dependence
Consider
[ I(x)=\int_{0}^{x} e^{xt},dt . ]
Here (u(x)=x), (v(x)=0), and (f(x,t)=e^{xt}). Computing each component:
-
Boundary term at the upper limit:
(f(x,u(x))u'(x)=e^{x\cdot x}\cdot 1=e^{x^{2}}). -
Boundary term at the lower limit:
(f(x,v(x))v'(x)=e^{x\cdot0}\cdot0=0). -
Partial‑derivative term:
(\displaystyle \frac{\partial}{\partial x}f(x,t)=\frac{\partial}{\partial x}e^{xt}=t,e^{xt}).
Hence[ \int_{0}^{x} t,e^{xt},dt. ]
Putting everything together,
[ I'(x)=e^{x^{2}}+\int_{0}^{x} t,e^{xt},dt. ]
The integral can be evaluated explicitly (by parts or by recognizing a derivative), yielding
[ I'(x)=e^{x^{2}}+\frac{1-e^{x^{2}}(1-x^{2})}{x^{2}}. ]
This illustrates how the extra term modifies the naïve application of the chain rule.
3. Physical interpretation
In continuum mechanics, the Leibniz rule appears when differentiating a control volume that moves with time. If (V(t)=\int_{a(t)}^{b(t)} \rho(x,t),dx) denotes the mass of a material slice whose boundaries translate according to (a(t),b(t)), then
[ \frac{dV}{dt}= \rho\bigl(b(t),t\bigr)b'(t)-\rho\bigl(a(t),t\bigr)a'(t) +\int_{a(t)}^{b(t)}\frac{\partial\rho}{\partial t}(x,t),dx . ]
The first two terms account for mass entering or leaving the slice, while the last term records the rate at which the material density itself changes within the slice.
4. Probabilistic applications
In probability theory, the distribution function of a random variable (X) that depends on a parameter (\theta) is often written
[ F_{\theta}(x)=\int_{-\infty}^{x} f_{\theta}(t),dt . ]
When (\theta) varies, the derivative of the cumulative distribution function is
[ \frac{\partial}{\partial\theta}F_{\theta}(x)=f_{\theta}(x) +\int_{-\infty}^{x}\frac{\partial}{\partial\theta}f_{\theta}(t),dt . ]
The extra integral reflects how the shape of the probability density itself evolves with the parameter, a fact that is central to the theory of statistical inference and to the derivation of the score function.
5. Higher‑dimensional analogues
The one‑dimensional Leibniz rule extends naturally to multiple integrals. For a region (R(x)={(t_{1},\dots ,t_{n})\mid a_{1}(x)\le t_{1}\le b_{1}(x),\dots ,a_{n}(x)\le t_{n}\le b_{n}(x)}),
[ \frac{d}{dx}\int_{R(x)} f(x,\mathbf{t}),d\mathbf{t} =\int_{\partial R(x)} f(x,\mathbf{t}),\mathbf{n}\cdot\mathbf{v}(x),dS +\int_{R(x)}\frac{\partial}{\partial x}f(x,\mathbf{t}),d\mathbf{t}, ]
where (\mathbf{v}(x)) is the velocity of the boundary and (\mathbf{n}) the outward unit normal. This formula underlies the Reynolds transport theorem in fluid dynamics and the coarea formula in geometric measure theory.
Conclusion
The chain rule,
These examples underscore the versatility of the Leibniz rule across disciplines—from calculus and physics to probability and geometry. Each application reveals how mathematical tools adapt to model changing systems, whether they are evolving boundaries, shifting densities, or traversing multi-dimensional spaces. By consistently applying partial derivatives and integrating wisely, we unlock deeper insights into the behavior of functions and their effects in real-world scenarios. Mastery of these concepts not only strengthens analytical precision but also fosters a greater appreciation for the interconnectedness of mathematical ideas. Ultimately, such practice reinforces the idea that rules like the partial derivative are not merely procedural steps, but essential lenses through which we interpret change and continuity.
6. Differentiation under the integral sign in advanced settings
When the integrand depends on several variables, the Leibniz rule can be iterated to produce higher‑order formulas. For a function
[ F(x,y)=\int_{a(x)}^{b(x)}!\int_{c(y)}^{d(y)} f(x,y,u,v),dv,du, ]
the mixed partial derivative is obtained by applying the rule successively:
[ \frac{\partial^{2}F}{\partial x,\partial y} =\int_{c(y)}^{d(y)}!\int_{a(x)}^{b(x)} \frac{\partial^{2}f}{\partial x,\partial y}(x,y,u,v),dv,du +\int_{a(x)}^{b(x)}!\frac{\partial f}{\partial x}(x,y,d(y),v),\frac{d d(y)}{dy},dv -\int_{a(x)}^{b(x)}!\frac{\partial f}{\partial x}(x,y,c(y),v),\frac{d c(y)}{dy},dv +\int_{c(y)}^{d(y)}!\frac{\partial f}{\partial y}(x,y,u,d(x))\frac{d d(x)}{dy},du -\int_{c(y)}^{d(y)}!\frac{\partial f}{\partial y}(x,y,u,c(x))\frac{d c(x)}{dy},du . ]
Such expressions appear routinely in the study of parametric partial differential equations. For instance, the heat equation
[ \frac{\partial u}{\partial t}=k,\frac{\partial^{2}u}{\partial x^{2}},\qquad u(x,0)=g(x), ]
can be represented via the heat kernel
[ u(x,t)=\int_{-\infty}^{\infty}K(x-y,t),g(y),dy, \qquad K(z,t)=\frac{1}{\sqrt{4\pi k t}}e^{-z^{2}/(4kt)} . ]
Differentiating (K) with respect to the parameter (t) brings down a factor that involves both (z) and (t); the resulting integral furnishes the fundamental solution of the diffusion equation and is indispensable for constructing Green’s functions in higher‑dimensional settings.
In stochastic analysis, the same machinery underlies the Feynman‑Kac formula, which links solutions of PDEs to expectations of functionals of Brownian motion. When the underlying probability law depends on a parameter (\theta), the derivative of the expectation is expressed as an integral of the derivative of the integrand, echoing the Leibniz rule in its most general probabilistic guise.
7. Geometric measure theory and the coarea formula
The coarea formula generalizes the one‑dimensional Leibniz rule to mappings between manifolds of different dimensions. Let (F:\mathbb{R}^{n}\to\mathbb{R}) be a Lipschitz function and (g:\mathbb{R}^{n}\to\mathbb{R}) an integrable function. Then
[ \int_{\mathbb{R}^{n}} g(x),|\nabla F(x)|,dx = \int_{-\infty}^{\infty}!!\left(\int_{F^{-1}(y)} g(x),d\mathcal{H}^{n-1}(x)\right)dy, ]
where (\mathcal{H}^{n-1}) denotes the ((n-1))-dimensional Hausdorff measure. Interpreting (F^{-1}(y)) as a level set that “moves’’ as (y) varies, the outer integral can be viewed as an integral over a family of hypersurfaces, each weighted by the Jacobian factor (|\nabla F|). This perspective is precisely the geometric analogue of the Leibniz rule: the rate of change of an integral over a level‑set family is expressed as an integral over the boundaries of those sets, plus a term accounting for the interior variation of the integrand.
8. Applications in modern data science
In machine learning, the backpropagation algorithm relies on the chain rule to propagate gradients through layered computational graphs. When a layer implements an integral operator—such as a convolutional layer with learnable filters—the gradient with respect to a parameter (\theta) involves a term of the form
[ \frac{\partial}{\partial\theta}\int_{\mathbb{R}^{d}} f_{\theta}(x),dx = \int_{\mathbb{R}^{d}} \frac{\partial f_{\theta}(x)}{\partial\theta},dx, ]
which is exactly the Leibniz rule applied to a parameter that does not affect the limits of integration. Extensions of this idea appear in normalizing flows, where a sequence of invertible transformations ({T_{\theta_i}}) is used to model complex densities. The log‑likelihood of an observed sample (
(x) under a flow (T_\theta) is given by (\log p_\theta(x) = \log p_0(T_\theta^{-1}(x)) + \log|\det J_{T_\theta^{-1}}(x)|). Differentiating this with respect to (\theta) requires applying the chain rule and the derivative of a determinant—a computation that, at its core, is an application of the Leibniz rule to the change-of-variables formula underlying the flow. This illustrates how even sophisticated probabilistic models rest on the same elementary principle of differentiating under the integral sign.
Beyond normalizing flows, the Leibniz rule permeates modern data science in less obvious ways. In optimal transport, the gradient of a Wasserstein distance with respect to a model parameter often involves differentiating through an integral over a coupling measure, again invoking the rule to interchange differentiation and integration. In physics-informed neural networks (PINNs), where neural networks approximate solutions to PDEs, the training loss includes residuals of the governing equations. Computing gradients of this loss with respect to network parameters requires differentiating integrals of the PDE residual—directly applying the Leibniz rule to the empirical loss integral.
Even in Bayesian inference, the derivative of the marginal likelihood (evidence) with respect to hyperparameters can be expressed via an integral over the posterior, a form of the Leibniz rule that enables gradient-based hyperparameter optimization. In reinforcement learning, policy gradient theorems often involve differentiating expectations over state-action trajectories, where the Leibniz rule justifies moving the gradient inside the expectation, provided regularity conditions hold.
Conclusion
From the elementary calculus classroom to the frontiers of artificial intelligence and geometric analysis, the Leibniz rule—the principle of differentiating under the integral sign—reveals itself as a remarkably persistent and adaptable tool. Its manifestations range from the concrete computation of a derivative to the abstract construction of fundamental solutions for PDEs, from the stochastic world of the Feynman–Kac formula to the high-dimensional geometry of the coarea formula. In each context, the rule provides a rigorous bridge between local differentiation and global integration, allowing us to probe how composite structures respond to change. As mathematics continues to infiltrate data science, engineering, and the physical sciences, this centuries-old principle remains not merely a technical lemma but a unifying lens—reminding us that the ability to interchange limits, derivatives, and integrals is often the key to unlocking both theoretical insight and practical computation.
Latest Posts
Latest Posts
-
How Many Significant Figures Is 10 0
Mar 12, 2026
-
Which Of These Is Are Pyrimidines
Mar 12, 2026
-
Stability Vs Change Ap Psychology Definition
Mar 12, 2026
-
What Are The Advantages Of A Parallel Circuit
Mar 12, 2026
-
Ap World History Modern Practice Exam
Mar 12, 2026
Related Post
Thank you for visiting our website which covers about Fundamental Theorem Of Calculus Chain Rule . We hope the information provided has been useful to you. Feel free to contact us if you have any questions or need further assistance. See you next time and don't miss to bookmark.