Skip to content

Differentiation Under the Integral Sign: Leibniz Integral Rule and the Second Fundamental Theorem

In our study of definite integration so far, the limits of integration \(a\) and \(b\) were fixed numbers, producing a single numeric value representing the net signed area.

However, in many branches of mathematics and physics, the boundary of integration is not static—it evolves with time, position, or an external parameter. When the upper limit \(x\) varies, the definite integral transforms from a single number into a function of the boundary:

\[ A(x) = \int_a^x f(t)\,dt \]

This function is known as the accumulation function (or area function). Understanding how this function changes as \(x\) moves is the foundation of calculus. It reveals that differentiation and integration are inverse processes, a discovery formalized by the Second Fundamental Theorem of Calculus and generalized by the Newton-Leibniz Integral Rule.

In this chapter, we explore:

  • The surprising continuity of the area function (even when the underlying integrand jumps!).
  • The conditions under which the area function is differentiable.
  • The complete Newton-Leibniz rule for variable upper and lower boundaries.
  • Differentiation when the integrand itself depends on the external parameter.
  • Evaluating indeterminate limits of the form \(0/0\) involving integrals using L'Hôpital's Rule.
  • Solving functional and integral equations where unknown functions live inside integrals.

The Accumulation Function

Let \(f\) be a bounded function on \([a, b]\) whose definite integral exists—for instance, \(f\) may be continuous, or it may have finitely many jump or removable discontinuities. For any \(x \in [a, b]\), we define the accumulation function \(A(x)\) with basepoint \(a\) as:

\[ A(x) = \int_a^x f(t)\,dt \]

Here, the variable \(t\) is a dummy variable of integration—it acts as an internal bookkeeping coordinate along the horizontal axis. In contrast, \(x\) is the independent variable representing the rightmost boundary of the region.

Geometrically, as \(x\) increases from \(a\) toward \(b\), the vertical boundary line \(t = x\) sweeps to the right, accumulating net signed area under the curve \(y = f(t)\).

Figure 10.1: The accumulation function A(x) as a sweeping area


Continuity of the Accumulation Function

A fundamental question arises: If the integrand \(f(t)\) is jagged or has sudden jumps, what does the accumulated area function \(A(x)\) look like?

The answer is one of the most elegant surprises in calculus:

Theorem: Continuity of the Area Function

Let \(f(t)\) remain finite on \([a, b]\) (it may be continuous, or it may have finitely many jump or removable discontinuities). Then the accumulation function \(A(x) = \int_a^x f(t)\,dt\) is continuous everywhere on \([a, b]\).

Proof

Since \(f\) remains finite on \([a, b]\), there exists a positive constant \(M\) such that \(|f(t)| \le M\) for all \(t \in [a, b]\).

Take any point \(x \in [a, b]\) and consider a small shift \(h\) such that \(x + h \in [a, b]\). Geometrically, shifting the boundary by \(h\) adds or removes a thin vertical strip of width \(|h|\) and height at most \(M\):

\[ A(x + h) - A(x) = \int_a^{x+h} f(t)\,dt - \int_a^x f(t)\,dt = \int_x^{x+h} f(t)\,dt \]

Using the triangle inequality for definite integrals, the magnitude of this change cannot exceed the area of a rectangle of width \(|h|\) and height \(M\):

\[ 0 \le |A(x + h) - A(x)| = \left|\int_x^{x+h} f(t)\,dt\right| \le M|h| \]

As \(h \to 0\), \(M|h| \to 0\). By the Sandwich (Squeeze) Theorem:

\[ \lim_{h \to 0} |A(x + h) - A(x)| = 0 \implies \lim_{h \to 0} A(x + h) = A(x) \]

(At the endpoints \(x = a\) and \(x = b\), the same argument holds with the one-sided limits \(h \to 0^+\) and \(h \to 0^-\).) Therefore, \(A(x)\) is continuous at every point \(x \in [a, b]\). \(\blacksquare\)

The Smoothing Nature of Integration

Notice what this theorem implies: integration is a smoothing operator.

  • A function \(f(t)\) with a sudden, vertical jump discontinuity (such as a step function or the greatest integer function) produces an accumulation function \(A(x)\) that is completely unbroken and connected.
  • The sudden jump in height \(\Delta f\) does not cause a gap in \(A(x)\); it merely causes a sudden change in the slope of \(A(x)\).
  • Consequently, a jump discontinuity in \(f(t)\) corresponds to a sharp corner (kink) in \(A(x)\), but never a tear or break!

Figure 10.2: Smoothing effect of integration and jump discontinuity

Concrete Example: Integrating a Step Function

Consider the discontinuous step function defined on \([0, 4]\):

\[ f(t) = \begin{cases} 1, & 0 \le t \le 2 \\ 3, & 2 < t \le 4 \end{cases} \]

Let us compute its area accumulation function \(A(x) = \int_0^x f(t)\,dt\):

Case 1: For \(0 \le x \le 2\):

\[ A(x) = \int_0^x 1\,dt = x \]

Case 2: For \(2 < x \le 4\):

We split the integral at the discontinuity \(t = 2\):

\[ A(x) = \int_0^2 1\,dt + \int_2^x 3\,dt = 2 + 3(x - 2) = 3x - 4 \]

Putting the two pieces together:

\[ A(x) = \begin{cases} x, & 0 \le x \le 2 \\ 3x - 4, & 2 < x \le 4 \end{cases} \]

Let us test continuity at the transition point \(x = 2\):

\[ \lim_{x \to 2^-} A(x) = \lim_{x \to 2^-} (x) = 2 \]
\[ \lim_{x \to 2^+} A(x) = \lim_{x \to 2^+} (3x - 4) = 3(2) - 4 = 2 \]
\[ A(2) = 2 \]

Since the left-hand limit, right-hand limit, and functional value all equal \(2\), \(A(x)\) is completely continuous at \(x = 2\)!

Now examine the derivative of \(A(x)\) at \(x = 2\):

  • The left-hand derivative is:
\[ A'_-(2) = \lim_{h \to 0^-} \frac{A(2+h) - A(2)}{h} = 1 = f(2^-) \]
  • The right-hand derivative is:
\[ A'_+(2) = \lim_{h \to 0^+} \frac{A(2+h) - A(2)}{h} = 3 = f(2^+) \]

Because \(A'_-(2) \neq A'_+(2)\), the derivative \(A'(2)\) does not exist. The graph of \(A(x)\) has a sharp corner (kink) at \(x = 2\), transitioning instantaneously from slope \(1\) to slope \(3\).


The Second Fundamental Theorem of Calculus

When is the accumulation function \(A(x)\) differentiable? Exactly when the integrand \(f(t)\) does not jump!

Theorem: The Second Fundamental Theorem of Calculus

Let \(f\) be continuous on an open interval containing \([a, b]\). Then the accumulation function:

\[ A(x) = \int_a^x f(t)\,dt \]

is differentiable at every point \(x \in (a, b)\), and its derivative is simply the value of the integrand at that boundary point:

\[ A'(x) = \frac{d}{dx}\left[\int_a^x f(t)\,dt\right] = f(x) \]

Geometric Meaning and Proof

Consider the difference quotient for \(A'(x)\):

\[ \frac{A(x + h) - A(x)}{h} = \frac{1}{h}\int_x^{x+h} f(t)\,dt \]

The integral \(\int_x^{x+h} f(t)\,dt\) represents the area of a thin vertical strip of width \(h\) extending from \(t = x\) to \(t = x + h\).

Because \(f\) is continuous on the closed subinterval between \(x\) and \(x + h\), it attains a minimum value \(m_h\) and a maximum value \(M_h\) on this subinterval:

\[ m_h \le f(t) \le M_h \quad \text{for all } t \text{ between } x \text{ and } x + h \]

Integrating this inequality across the interval of width \(h\) (assuming \(h > 0\)):

\[ m_h \cdot h \le \int_x^{x+h} f(t)\,dt \le M_h \cdot h \]

Dividing through by \(h > 0\):

\[ m_h \le \frac{A(x + h) - A(x)}{h} \le M_h \]

Now let \(h \to 0\). As the width of the strip shrinks to zero, both endpoints collapse to \(x\). Because \(f\) is continuous at \(x\):

\[ \lim_{h \to 0} m_h = f(x) \quad \text{and} \quad \lim_{h \to 0} M_h = f(x) \]

By the Squeeze Theorem:

\[ \lim_{h \to 0} \frac{A(x + h) - A(x)}{h} = f(x) \]

An identical argument holds for \(h < 0\). Hence:

\[ A'(x) = f(x) \]

This completes the proof. \(\blacksquare\)

Key Takeaway

The Second Fundamental Theorem guarantees two fundamental truths:

Truth 1 (Existence of Antiderivatives): Every continuous function \(f(x)\) possesses an antiderivative, namely \(A(x) = \int_a^x f(t)\,dt\), even if that antiderivative cannot be expressed in terms of elementary functions (such as \(\int_0^x e^{-t^2}\,dt\)).

Truth 2 (Inversion of Calculus): Differentiation undoes integration with respect to the upper boundary:

\[ \frac{d}{dx} \int_a^x f(t)\,dt = f(x) \]

The Newton-Leibniz Integral Rule for Variable Limits

What happens when the upper limit is not simply \(x\), but a function \(v(x)\)? Or when both the lower and upper limits vary with \(x\), such as:

\[ I(x) = \int_{u(x)}^{v(x)} f(t)\,dt \]

We can determine the derivative \(\frac{d I}{dx}\) using the Chain Rule.

Theorem: Newton-Leibniz Rule for Variable Limits

Let \(f\) be continuous on an interval containing the ranges of \(u(x)\) and \(v(x)\), where \(u(x)\) and \(v(x)\) are differentiable functions of \(x\). Then:

\[ \frac{d}{dx} \left[\int_{u(x)}^{v(x)} f(t)\,dt\right] = f(v(x)) \cdot v'(x) - f(u(x)) \cdot u'(x) \]

Formal Derivation via the Chain Rule

Let \(c\) be an arbitrary fixed constant in the domain of \(f\). By the additive property of definite integrals:

\[ I(x) = \int_{u(x)}^{v(x)} f(t)\,dt = \int_c^{v(x)} f(t)\,dt - \int_c^{u(x)} f(t)\,dt \]

Recall our accumulation function \(A(w) = \int_c^w f(t)\,dt\). Then:

\[ I(x) = A(v(x)) - A(u(x)) \]

Differentiating both sides with respect to \(x\) using the Chain Rule:

\[ \frac{d I}{dx} = A'(v(x)) \cdot \frac{dv}{dx} - A'(u(x)) \cdot \frac{du}{dx} \]

By the Second Fundamental Theorem, \(A'(w) = f(w)\). Substituting this gives:

\[ \frac{d}{dx} \left[\int_{u(x)}^{v(x)} f(t)\,dt\right] = f(v(x)) \cdot v'(x) - f(u(x)) \cdot u'(x) \]

\(\blacksquare\)

Geometric Derivation via Boundary Strips

Consider the integral as an area whose boundaries shift when \(x\) changes by a small amount \(\Delta x\):

Figure 10.3: Geometric derivation of the Newton-Leibniz formula

The Added Strip on the Right: The upper boundary shifts from \(v(x)\) to \(v(x + \Delta x) \approx v(x) + v'(x)\Delta x\). This adds a new vertical strip of area on the right:

\[ \Delta A_{\text{right}} \approx f(v(x)) \cdot [v(x + \Delta x) - v(x)] \approx f(v(x)) \cdot v'(x)\Delta x \]

The Subtracted Strip on the Left: The lower boundary shifts from \(u(x)\) to \(u(x + \Delta x) \approx u(x) + u'(x)\Delta x\). This removes a vertical strip of area on the left:

\[ \Delta A_{\text{left}} \approx f(u(x)) \cdot [u(x + \Delta x) - u(x)] \approx f(u(x)) \cdot u'(x)\Delta x \]

The Unchanged Central Region: The central region between \(u(x + \Delta x)\) and \(v(x)\) remains unaffected by the boundary shift.

Therefore, the net change in area is:

\[ \Delta I = \Delta A_{\text{right}} - \Delta A_{\text{left}} \approx [f(v(x)) v'(x) - f(u(x)) u'(x)] \Delta x \]

Dividing by \(\Delta x\) and taking the limit as \(\Delta x \to 0\) yields:

\[ \frac{d I}{dx} = f(v(x)) v'(x) - f(u(x)) u'(x) \]

Three Warm-Up Demonstrations

Example 1: Polynomial Limits

Differentiate \(F(x) = \int_0^{x^3} \cos(t^2)\,dt\).

Solution: Here \(u(x) = 0\) (constant) and \(v(x) = x^3\), so \(u'(x) = 0\) and \(v'(x) = 3x^2\).

\[ F'(x) = \cos\big((x^3)^2\big) \cdot \frac{d}{dx}(x^3) - 0 = 3x^2 \cos(x^6) \]

Example 2: Both Limits Varying

Differentiate \(G(x) = \int_{x^2}^{x^3} \frac{1}{1 + t^4}\,dt\).

Solution: Here \(u(x) = x^2 \implies u'(x) = 2x\), and \(v(x) = x^3 \implies v'(x) = 3x^2\).

\[ G'(x) = \frac{1}{1 + (x^3)^4} \cdot (3x^2) - \frac{1}{1 + (x^2)^4} \cdot (2x) = \frac{3x^2}{1 + x^{12}} - \frac{2x}{1 + x^8} \]

Example 3: Trigonometric Boundaries

Find \(\frac{d}{dx} \int_{\sin x}^{\cos x} e^{t^2}\,dt\).

Solution: Here \(u(x) = \sin x \implies u'(x) = \cos x\), and \(v(x) = \cos x \implies v'(x) = -\sin x\).

\[ \frac{d}{dx}\int_{\sin x}^{\cos x} e^{t^2}\,dt = e^{(\cos x)^2} \cdot (-\sin x) - e^{(\sin x)^2} \cdot (\cos x) = -\sin x \, e^{\cos^2 x} - \cos x \, e^{\sin^2 x} \]

Leibniz Rule with a Parameter in the Integrand

What if the variable \(x\) appears both in the limits of integration and inside the integrand?

\[ I(x) = \int_{u(x)}^{v(x)} f(x, t)\,dt \]

When \(x\) changes, the area changes for two distinct reasons: 1. The left and right boundaries move (governed by the boundary terms \(f(x, v)v'\) and \(f(x, u)u'\)). 2. The height of the curve itself deforms at every point \(t\) (governed by the rate of change \(\frac{\partial f}{\partial x}\)).

Theorem: General Leibniz Integral Rule

If \(f(x, t)\) and its partial derivative \(\frac{\partial f}{\partial x}(x, t)\) are continuous, and \(u(x), v(x)\) are differentiable, then:

\[ \frac{d}{dx}\left[\int_{u(x)}^{v(x)} f(x, t)\,dt\right] = f(x, v(x)) \cdot v'(x) - f(x, u(x)) \cdot u'(x) + \int_{u(x)}^{v(x)} \frac{\partial f}{\partial x}(x, t)\,dt \]

The Algebraic Factoring Strategy

In high school calculus, students often do not need partial derivatives because the variable \(x\) can frequently be factored out of the integral using linearity!

Consider the classic integral:

\[ F(x) = \int_0^x (x - t) f(t)\,dt \]

Do not differentiate directly until you separate \(x\) from \(t\)! Expand the integrand:

\[ F(x) = \int_0^x x f(t)\,dt - \int_0^x t f(t)\,dt \]

Because \(x\) does not depend on the integration variable \(t\), it is a constant with respect to the integral and can be factored outside:

\[ F(x) = x \int_0^x f(t)\,dt - \int_0^x t f(t)\,dt \]

Now differentiate using the standard Product Rule on the first term and the standard Newton-Leibniz rule on the second:

\[ F'(x) = \left[ 1 \cdot \int_0^x f(t)\,dt + x \cdot \frac{d}{dx}\left(\int_0^x f(t)\,dt\right) \right] - \frac{d}{dx}\left(\int_0^x t f(t)\,dt\right) \]

Applying the Newton-Leibniz rule:

\[ F'(x) = \int_0^x f(t)\,dt + x \cdot f(x) - x \cdot f(x) = \int_0^x f(t)\,dt \]

Notice how the boundary terms \(x f(x) - x f(x)\) cancelled out completely! Differentiating once more yields:

\[ F''(x) = \frac{d}{dx}\left[\int_0^x f(t)\,dt\right] = f(x) \]

This remarkable identity shows that \(\int_0^x (x - t)f(t)\,dt\) is the second antiderivative of \(f(x)\) vanishing with its derivative at \(x = 0\) (Cauchy's formula for repeated integration).


Evaluating Limits Involving Integrals via L'Hôpital's Rule

One of the most powerful applications of the Newton-Leibniz rule is evaluating limits of indeterminate forms \(\left[\frac{0}{0}\right]\) or \(\left[\frac{\infty}{\infty}\right]\) where the numerator or denominator contains a definite integral.

Standard Workflow

When evaluating:

\[ L = \lim_{x \to c} \frac{\int_{u(x)}^{v(x)} f(t)\,dt}{g(x)} \]

Step 1 (Verify Indeterminate Form): Check that as \(x \to c\):

\[ \lim_{x \to c} u(x) = \lim_{x \to c} v(x) = k \implies \int_k^k f(t)\,dt = 0 \quad \text{and} \quad \lim_{x \to c} g(x) = 0 \]

Step 2 (Apply L'Hôpital's Rule): Differentiate the numerator using the Newton-Leibniz rule and differentiate the denominator normally:

\[ L = \lim_{x \to c} \frac{f(v(x)) v'(x) - f(u(x)) u'(x)}{g'(x)} \]

Step 3 (Evaluate the Limit): Compute the resulting limit using standard limit properties and expansions.


Classic Limit Problems

Limit Problem 1: Standard Indeterminate Form

Evaluate:

\[ L = \lim_{x \to 0} \frac{\int_0^x \sin(t^2)\,dt}{x^3} \]

Solution: As \(x \to 0\), the numerator \(\int_0^0 \sin(t^2)\,dt = 0\) and the denominator \(0^3 = 0\). This is a \(\left[\frac{0}{0}\right]\) form.

Differentiating numerator and denominator with respect to \(x\): * Numerator derivative: \(\frac{d}{dx}\int_0^x \sin(t^2)\,dt = \sin(x^2) \cdot (1) = \sin(x^2)\) * Denominator derivative: \(\frac{d}{dx}(x^3) = 3x^2\)

Applying L'Hôpital's Rule:

\[ L = \lim_{x \to 0} \frac{\sin(x^2)}{3x^2} = \frac{1}{3} \lim_{x \to 0} \frac{\sin(x^2)}{x^2} \]

Using the standard trigonometric limit \(\lim_{\theta \to 0} \frac{\sin \theta}{\theta} = 1\) with \(\theta = x^2\):

\[ L = \frac{1}{3} \cdot 1 = \frac{1}{3} \]

Limit Problem 2: Nonlinear Upper Limit

Evaluate:

\[ L = \lim_{x \to 0} \frac{\int_0^{x^2} \sin\sqrt{t}\,dt}{x^3} \]

Solution: As \(x \to 0\), \(\int_0^0 \sin\sqrt{t}\,dt = 0\) and \(x^3 \to 0\), giving \(\left[\frac{0}{0}\right]\).

Differentiating numerator and denominator: * Numerator derivative via Newton-Leibniz:

\[ \frac{d}{dx}\left[\int_0^{x^2} \sin\sqrt{t}\,dt\right] = \sin\big(\sqrt{x^2}\big) \cdot \frac{d}{dx}(x^2) = \sin(|x|) \cdot 2x \]

For \(x > 0\), this is \(2x \sin x\). * Denominator derivative:

\[ \frac{d}{dx}(x^3) = 3x^2 \]

Applying L'Hôpital's Rule:

\[ L = \lim_{x \to 0} \frac{2x \sin x}{3x^2} = \frac{2}{3} \lim_{x \to 0} \frac{\sin x}{x} = \frac{2}{3} \cdot 1 = \frac{2}{3} \]

Limit Problem 3: Multi-Term Numerator with Exponential

Evaluate:

\[ L = \lim_{x \to 0} \frac{\int_0^x e^{t^2}\,dt - x}{x^3} \]

Solution: At \(x = 0\), numerator is \(\int_0^0 e^{t^2}\,dt - 0 = 0\) and denominator is \(0\), form \(\left[\frac{0}{0}\right]\).

Applying L'Hôpital's Rule:

\[ L = \lim_{x \to 0} \frac{e^{x^2} \cdot 1 - 1}{3x^2} = \frac{1}{3} \lim_{x \to 0} \frac{e^{x^2} - 1}{x^2} \]

Using the standard exponential limit \(\lim_{u \to 0} \frac{e^u - 1}{u} = 1\) with \(u = x^2\):

\[ L = \frac{1}{3} \cdot 1 = \frac{1}{3} \]

Limit Problem 4: Ratio of Two Accumulation Integrals

Evaluate:

\[ L = \lim_{x \to 0} \frac{x \int_0^x e^{t^2}\,dt}{\int_0^x e^{t^2} \sin t\,dt} \]

Solution: As \(x \to 0\), both numerator and denominator approach \(0\), giving \(\left[\frac{0}{0}\right]\).

Differentiate the numerator using the Product Rule:

\[ \frac{d}{dx}\left[x \int_0^x e^{t^2}\,dt\right] = 1 \cdot \int_0^x e^{t^2}\,dt + x \cdot \left(e^{x^2} \cdot 1\right) = \int_0^x e^{t^2}\,dt + x e^{x^2} \]

Differentiate the denominator using the Newton-Leibniz Rule:

\[ \frac{d}{dx}\left[\int_0^x e^{t^2}\sin t\,dt\right] = e^{x^2} \sin x \cdot 1 = e^{x^2} \sin x \]

Applying L'Hôpital's Rule:

\[ L = \lim_{x \to 0} \frac{\int_0^x e^{t^2}\,dt + x e^{x^2}}{e^{x^2} \sin x} \]

Notice that as \(x \to 0\), the numerator is \(0 + 0 = 0\) and the denominator is \(e^0 \sin 0 = 0\), still \(\left[\frac{0}{0}\right]\).

Before differentiating a second time, divide both numerator and denominator by \(x\):

\[ L = \lim_{x \to 0} \frac{\frac{1}{x}\int_0^x e^{t^2}\,dt + e^{x^2}}{e^{x^2} \cdot \frac{\sin x}{x}} \]

Now evaluate the individual components as \(x \to 0\): * By definition of derivative / FTC-2: \(\lim_{x \to 0} \frac{\int_0^x e^{t^2}\,dt}{x} = e^{0^2} = 1\) * \(\lim_{x \to 0} e^{x^2} = 1\) * \(\lim_{x \to 0} \frac{\sin x}{x} = 1\)

Substituting these values:

\[ L = \frac{1 + 1}{1 \cdot 1} = 2 \]

Limit Problem 5: Variable Lower and Upper Limits

Evaluate:

\[ L = \lim_{x \to 0^+} \frac{\int_0^{\sin x} \sqrt{\tan t}\,dt}{\int_0^{\tan x} \sqrt{\sin t}\,dt} \]

Solution: As \(x \to 0^+\), both limits collapse to \(0\), producing \(\left[\frac{0}{0}\right]\).

Differentiating numerator and denominator using the Newton-Leibniz rule: * Numerator derivative:

\[ \frac{d}{dx}\left[\int_0^{\sin x} \sqrt{\tan t}\,dt\right] = \sqrt{\tan(\sin x)} \cdot \cos x \]
  • Denominator derivative:
\[ \frac{d}{dx}\left[\int_0^{\tan x} \sqrt{\sin t}\,dt\right] = \sqrt{\sin(\tan x)} \cdot \sec^2 x \]

Applying L'Hôpital's Rule:

\[ L = \lim_{x \to 0^+} \frac{\sqrt{\tan(\sin x)} \cdot \cos x}{\sqrt{\sin(\tan x)} \cdot \sec^2 x} = \lim_{x \to 0^+} \sqrt{\frac{\tan(\sin x)}{\sin(\tan x)}} \cdot \lim_{x \to 0^+} \frac{\cos x}{\sec^2 x} \]

The second factor evaluates directly to \(\frac{\cos 0}{\sec^2 0} = 1\). For the first factor, divide and multiply by \(x\):

\[ \lim_{x \to 0^+} \frac{\tan(\sin x)}{x} = \lim_{x \to 0^+} \frac{\tan(\sin x)}{\sin x} \cdot \frac{\sin x}{x} = 1 \cdot 1 = 1 \]
\[ \lim_{x \to 0^+} \frac{\sin(\tan x)}{x} = \lim_{x \to 0^+} \frac{\sin(\tan x)}{\tan x} \cdot \frac{\tan x}{x} = 1 \cdot 1 = 1 \]

Therefore:

\[ L = \sqrt{\frac{1}{1}} \cdot 1 = 1 \]

Solving Integral Equations and Functional Relations

An integral equation is an equation in which the unknown function appears under an integral sign. By differentiating both sides with respect to \(x\) using the Newton-Leibniz rule, an integral equation can frequently be transformed into an ordinary differential equation!

Example 1: Differentiating an Integral Equation

Find the continuous function \(f(x)\) satisfying:

\[ f(x) = x + \int_0^x f(t)\,dt \quad \text{for all } x \in \mathbb{R} \]

Solution:

Step 1 (Find the initial condition): Substitute \(x = 0\) into the original equation:

\[ f(0) = 0 + \int_0^0 f(t)\,dt = 0 + 0 = 0 \]

Step 2 (Differentiate both sides): Differentiating with respect to \(x\) using the Second Fundamental Theorem:

\[ f'(x) = 1 + f(x) \]

Step 3 (Solve the differential equation): Rearrange as:

\[ \frac{df}{dx} - f(x) = 1 \implies \frac{df}{1 + f} = dx \]

Integrating both sides:

\[ \ln|1 + f(x)| = x + C \implies 1 + f(x) = A e^x \]

Using the initial condition \(f(0) = 0\):

\[ 1 + 0 = A e^0 \implies A = 1 \]

Therefore:

\[ 1 + f(x) = e^x \implies f(x) = e^x - 1 \]

Let us verify:

\[ \int_0^x (e^t - 1)\,dt = [e^t - t]_0^x = (e^x - x) - (1 - 0) = e^x - x - 1 \]
\[ x + \int_0^x f(t)\,dt = x + (e^x - x - 1) = e^x - 1 = f(x) \]

The solution holds identically.


Example 2: Recovering an Unknown Integrand

Find all continuous functions \(f(x)\) on \((0, \infty)\) satisfying:

\[ \int_1^x t f(t)\,dt = \frac{2}{3} x^3 - \frac{2}{3} \]

Solution: Differentiate both sides with respect to \(x\) using the Newton-Leibniz rule: * Left-hand side:

\[ \frac{d}{dx}\left[\int_1^x t f(t)\,dt\right] = x f(x) \cdot (1) = x f(x) \]
  • Right-hand side:
\[ \frac{d}{dx}\left[\frac{2}{3} x^3 - \frac{2}{3}\right] = 2x^2 \]

Equating both sides:

\[ x f(x) = 2x^2 \]

Since \(x > 0\), dividing by \(x\) gives:

\[ f(x) = 2x \]

Example 3: Monotonicity and Extrema of Accumulation Functions

Let \(F(x) = \int_0^x (t - 1)(t - 2)^2 e^t \, dt\). Find the intervals of increase and decrease, and all points of local extrema of \(F(x)\).

Solution:

Step 1 (Find the first derivative): By the Second Fundamental Theorem:

\[ F'(x) = (x - 1)(x - 2)^2 e^x \]

Step 2 (Find the critical points): Setting \(F'(x) = 0\):

\[ (x - 1)(x - 2)^2 e^x = 0 \]

Since \(e^x > 0\) for all real \(x\), the critical points are \(x = 1\) and \(x = 2\).

Step 3 (Analyze sign changes via the First Derivative Test): * For \(x < 1\): \((x - 1) < 0\), \((x - 2)^2 > 0\), \(e^x > 0 \implies F'(x) < 0\). \(F(x)\) is strictly decreasing. * For \(1 < x < 2\): \((x - 1) > 0\), \((x - 2)^2 > 0\), \(e^x > 0 \implies F'(x) > 0\). \(F(x)\) is strictly increasing. * For \(x > 2\): \((x - 1) > 0\), \((x - 2)^2 > 0\), \(e^x > 0 \implies F'(x) > 0\). \(F(x)\) continues to be strictly increasing.

Conclusion: * At \(x = 1\), \(F'(x)\) changes sign from negative to positive. Hence, \(x = 1\) is a point of local minimum. * At \(x = 2\), \(F'(x)\) does not change sign (it remains positive on both sides). Hence, \(x = 2\) is neither a local maximum nor a local minimum; it is a horizontal point of inflection!


Miscellaneous Advanced Worked Examples

Problem 1: Integral Equation with a Quadratic Boundary

A continuous function \(f(x)\) satisfies:

\[ \int_0^{x^2} f(t)\,dt = x^2 \cos x \quad \text{for all } x \in \mathbb{R} \]

Find the value of \(f(\pi^2)\).

Solution: Differentiate both sides with respect to \(x\) using the Newton-Leibniz rule: * Left-hand side:

\[ \frac{d}{dx}\left[\int_0^{x^2} f(t)\,dt\right] = f(x^2) \cdot \frac{d}{dx}(x^2) = f(x^2) \cdot 2x \]
  • Right-hand side (via Product Rule):
\[ \frac{d}{dx}[x^2 \cos x] = 2x \cos x - x^2 \sin x \]

Equating both sides:

\[ 2x f(x^2) = 2x \cos x - x^2 \sin x \]

For \(x \neq 0\), divide both sides by \(2x\):

\[ f(x^2) = \cos x - \frac{x}{2}\sin x \]

To find \(f(\pi^2)\), set \(x = \pi\):

\[ f(\pi^2) = \cos \pi - \frac{\pi}{2}\sin \pi = -1 - \frac{\pi}{2}(0) = -1 \]

Problem 2: Higher-Order Derivative of an Integral

Let \(f(x) = \int_0^x \frac{\sin t}{t}\,dt\) for \(x > 0\). Find the coordinates of all inflection points of \(f(x)\) on \((0, 2\pi)\).

Solution:

Step 1: Compute \(f'(x)\) using the Second Fundamental Theorem:

\[ f'(x) = \frac{\sin x}{x} \]

Step 2: Compute \(f''(x)\) using the Quotient Rule:

\[ f''(x) = \frac{x \cos x - \sin x}{x^2} \]

Step 3: For an inflection point, \(f''(x) = 0\):

\[ x \cos x - \sin x = 0 \implies x \cos x = \sin x \implies \tan x = x \]

On the interval \((0, 2\pi)\): * For \(x \in (0, \pi/2)\), \(\tan x > x\), so no roots exist. * For \(x \in (\pi/2, \pi)\), \(\tan x < 0\) while \(x > 0\), no roots exist. * For \(x \in (\pi, 3\pi/2)\), the curves \(y = \tan x\) and \(y = x\) intersect at exactly one point \(x_0 \approx 4.4934\) radians. * For \(x \in (3\pi/2, 2\pi)\), \(\tan x < 0\), no roots exist.

At this unique point \(x_0\), \(f''(x)\) changes sign. Therefore, there is exactly one inflection point on \((0, 2\pi)\), occurring at the root of \(\tan x = x\).


Problem 3: Double Variable Limits with Sines and Cosines

Let \(F(x) = \int_{\sin x}^{\cos x} \sqrt{1 - t^2}\,dt\) for \(x \in (0, \pi/2)\). Simplify \(F'(x)\).

Solution: Apply the Newton-Leibniz rule:

\[ F'(x) = \sqrt{1 - \cos^2 x} \cdot \frac{d}{dx}(\cos x) - \sqrt{1 - \sin^2 x} \cdot \frac{d}{dx}(\sin x) \]

For \(x \in (0, \pi/2)\), \(\sin x > 0\) and \(\cos x > 0\):

\[ \sqrt{1 - \cos^2 x} = \sqrt{\sin^2 x} = \sin x \]
\[ \sqrt{1 - \sin^2 x} = \sqrt{\cos^2 x} = \cos x \]

Substituting these into the formula:

\[ F'(x) = (\sin x)(-\sin x) - (\cos x)(\cos x) = -\sin^2 x - \cos^2 x = -(\sin^2 x + \cos^2 x) = -1 \]

An extraordinarily clean result: \(F'(x) = -1\) everywhere on \((0, \pi/2)\)! This implies \(F(x) = -x + C\).


Problem 4: Advanced Limit with Power Factor

Evaluate:

\[ L = \lim_{x \to 0} \frac{1}{x^4}\int_0^{x^2} \frac{t^2}{t^4 + 1}\,dt \]

Solution: Rewrite as a quotient:

\[ L = \lim_{x \to 0} \frac{\int_0^{x^2} \frac{t^2}{t^4 + 1}\,dt}{x^4} \]

At \(x = 0\), this is \(\left[\frac{0}{0}\right]\).

Differentiating numerator and denominator: * Numerator:

\[ \frac{d}{dx}\left[\int_0^{x^2} \frac{t^2}{t^4 + 1}\,dt\right] = \frac{(x^2)^2}{(x^2)^4 + 1} \cdot 2x = \frac{x^4}{x^8 + 1} \cdot 2x = \frac{2x^5}{x^8 + 1} \]
  • Denominator:
\[ \frac{d}{dx}(x^4) = 4x^3 \]

Applying L'Hôpital's Rule:

\[ L = \lim_{x \to 0} \frac{\frac{2x^5}{x^8 + 1}}{4x^3} = \lim_{x \to 0} \frac{2x^5}{4x^3(x^8 + 1)} = \lim_{x \to 0} \frac{x^2}{2(x^8 + 1)} \]

Evaluating directly as \(x \to 0\):

\[ L = \frac{0^2}{2(0^8 + 1)} = \frac{0}{2} = 0 \]

Problem 5: Finding a Constant in an Integral Identity

Let \(f\) be continuous on \(\mathbb{R}\). If for all \(x \in \mathbb{R}\):

\[ \int_0^x f(t)\,dt = x \sin(\pi x) \]

Find \(f(1)\) and \(f'(1)\).

Solution: Differentiating both sides with respect to \(x\) using the Second Fundamental Theorem:

\[ f(x) = \frac{d}{dx}[x \sin(\pi x)] = 1 \cdot \sin(\pi x) + x \cdot \pi \cos(\pi x) = \sin(\pi x) + \pi x \cos(\pi x) \]

Evaluating at \(x = 1\):

\[ f(1) = \sin(\pi) + \pi(1)\cos(\pi) = 0 + \pi(-1) = -\pi \]

Now differentiate \(f(x)\) to find \(f'(x)\):

\[ f'(x) = \pi \cos(\pi x) + \pi \cos(\pi x) - \pi^2 x \sin(\pi x) = 2\pi \cos(\pi x) - \pi^2 x \sin(\pi x) \]

Evaluating at \(x = 1\):

\[ f'(1) = 2\pi \cos(\pi) - \pi^2(1)\sin(\pi) = 2\pi(-1) - 0 = -2\pi \]

Summary of Core Formulas and Techniques

Form or Problem Type Mathematical Tool Formula or Core Step
Area Function Continuity Bounded Integrand ($ f
Standard FTC-2 Continuous integrand at \(x\) \(\frac{d}{dx} \int_a^x f(t)\,dt = f(x)\)
Variable Upper Limit Chain Rule \(\frac{d}{dx} \int_a^{v(x)} f(t)\,dt = f(v(x)) \cdot v'(x)\)
Variable Both Limits Full Newton-Leibniz Rule \(\frac{d}{dx} \int_{u(x)}^{v(x)} f(t)\,dt = f(v(x)) v'(x) - f(u(x)) u'(x)\)
Parameter in Integrand Extended Leibniz Rule \(\frac{d}{dx}\int_u^v f(x, t) dt = \text{boundary terms} + \int_u^v \frac{\partial f}{\partial x}(x, t) dt\)
Indeterminate Limits L'Hôpital + Leibniz \(\lim_{x \to c} \frac{\int_a^{v(x)} f(t) dt}{g(x)} = \lim_{x \to c} \frac{f(v(x)) v'(x)}{g'(x)}\)
Integral Equations Differentiation Differentiate both sides to convert the integral equation into an ODE; substitute \(x = a\) for initial conditions

Common Pitfalls to Avoid

  • Forgetting the Chain Rule factor: Never write \(\frac{d}{dx}\int_0^{x^2} \sin t\,dt = \sin(x^2)\). You must multiply by the derivative of the limit: \(\sin(x^2) \cdot 2x\).
  • Confusing the dummy variable with the boundary: In \(\int_a^x f(t)\,dt\), the variable \(t\) ceases to exist after integration. Never differentiate \(f(t)\) with respect to \(t\) when asked for \(\frac{d}{dx}\int_a^x f(t)\,dt\).
  • Differentiating through a jump discontinuity: If \(f(t)\) has a jump discontinuity at \(c\), \(A(x) = \int_a^x f(t)\,dt\) is continuous at \(c\), but not differentiable at \(c\). Its left and right derivatives will equal \(f(c^-)\) and \(f(c^+)\), forming a corner.
  • Treating \(x\) inside the integrand as a dummy variable: In \(\frac{d}{dx}\int_0^x (x - t) f(t)\,dt\), do not write \((x - x)f(x) = 0\). The factor of \(x\) inside must either be factored outside before differentiating or treated with the extended Leibniz rule.