MatheramaMatherama
← Definite Integration
Definite Integration·Section 10·18 min read

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 aa and bb 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 xx varies, the definite integral transforms from a single number into a function of the boundary:

A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt

This function is known as the accumulation function (or area function). Understanding how this function changes as xx 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/00/0 involving integrals using L'Hôpital's Rule.
  • Solving functional and integral equations where unknown functions live inside integrals.

The Accumulation Function§

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

A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt

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

Geometrically, as xx increases from aa toward bb, the vertical boundary line t=xt = x sweeps to the right, accumulating net signed area under the curve y=f(t)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)f(t) is jagged or has sudden jumps, what does the accumulated area function A(x)A(x) look like?

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

Theorem: Continuity of the Area Function§

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

Proof§

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

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

A(x+h)−A(x)=∫ax+hf(t) dt−∫axf(t) dt=∫xx+hf(t) dtA(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∣|h| and height MM:

0≤∣A(x+h)−A(x)∣=∣∫xx+hf(t) dt∣≤M∣h∣0 \le |A(x + h) - A(x)| = \left|\int_x^{x+h} f(t)\,dt\right| \le M|h|

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

lim⁡h→0∣A(x+h)−A(x)∣=0  ⟹  lim⁡h→0A(x+h)=A(x)\lim_{h \to 0} |A(x + h) - A(x)| = 0 \implies \lim_{h \to 0} A(x + h) = A(x)

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

The Smoothing Nature of Integration§

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

  • A function f(t)f(t) with a sudden, vertical jump discontinuity (such as a step function or the greatest integer function) produces an accumulation function A(x)A(x) that is completely unbroken and connected.
  • The sudden jump in height Δf\Delta f does not cause a gap in A(x)A(x); it merely causes a sudden change in the slope of A(x)A(x).
  • Consequently, a jump discontinuity in f(t)f(t) corresponds to a sharp corner (kink) in A(x)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][0, 4]:

f(t)={1,0≤t≤23,2<t≤4f(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)=∫0xf(t) dtA(x) = \int_0^x f(t)\,dt:

Case 1: For 0≤x≤20 \le x \le 2:

A(x)=∫0x1 dt=xA(x) = \int_0^x 1\,dt = x

Case 2: For 2<x≤42 < x \le 4:

We split the integral at the discontinuity t=2t = 2:

A(x)=∫021 dt+∫2x3 dt=2+3(x−2)=3x−4A(x) = \int_0^2 1\,dt + \int_2^x 3\,dt = 2 + 3(x - 2) = 3x - 4

Putting the two pieces together:

A(x)={x,0≤x≤23x−4,2<x≤4A(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=2x = 2:

lim⁡x→2−A(x)=lim⁡x→2−(x)=2\lim_{x \to 2^-} A(x) = \lim_{x \to 2^-} (x) = 2 lim⁡x→2+A(x)=lim⁡x→2+(3x−4)=3(2)−4=2\lim_{x \to 2^+} A(x) = \lim_{x \to 2^+} (3x - 4) = 3(2) - 4 = 2 A(2)=2A(2) = 2

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

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

  • The left-hand derivative is:
A−′(2)=lim⁡h→0−A(2+h)−A(2)h=1=f(2−)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→0+A(2+h)−A(2)h=3=f(2+)A'_+(2) = \lim_{h \to 0^+} \frac{A(2+h) - A(2)}{h} = 3 = f(2^+)

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


The Second Fundamental Theorem of Calculus§

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

Theorem: The Second Fundamental Theorem of Calculus§

Let ff be continuous on an open interval containing [a,b][a, b]. Then the accumulation function:

A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt

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

A′(x)=ddx[∫axf(t) dt]=f(x)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)A'(x):

A(x+h)−A(x)h=1h∫xx+hf(t) dt\frac{A(x + h) - A(x)}{h} = \frac{1}{h}\int_x^{x+h} f(t)\,dt

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

Because ff is continuous on the closed subinterval between xx and x+hx + h, it attains a minimum value mhm_h and a maximum value MhM_h on this subinterval:

mh≤f(t)≤Mhfor all t between x and x+hm_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 hh (assuming h>0h > 0):

mh⋅h≤∫xx+hf(t) dt≤Mh⋅hm_h \cdot h \le \int_x^{x+h} f(t)\,dt \le M_h \cdot h

Dividing through by h>0h > 0:

mh≤A(x+h)−A(x)h≤Mhm_h \le \frac{A(x + h) - A(x)}{h} \le M_h

Now let h→0h \to 0. As the width of the strip shrinks to zero, both endpoints collapse to xx. Because ff is continuous at xx:

lim⁡h→0mh=f(x)andlim⁡h→0Mh=f(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→0A(x+h)−A(x)h=f(x)\lim_{h \to 0} \frac{A(x + h) - A(x)}{h} = f(x)

An identical argument holds for h<0h < 0. Hence:

A′(x)=f(x)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)f(x) possesses an antiderivative, namely A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt, even if that antiderivative cannot be expressed in terms of elementary functions (such as ∫0xe−t2 dt\int_0^x e^{-t^2}\,dt).

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

ddx∫axf(t) dt=f(x)\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 xx, but a function v(x)v(x)? Or when both the lower and upper limits vary with xx, such as:

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

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

Theorem: Newton-Leibniz Rule for Variable Limits§

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

ddx[∫u(x)v(x)f(t) dt]=f(v(x))⋅v′(x)−f(u(x))⋅u′(x)\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 cc be an arbitrary fixed constant in the domain of ff. By the additive property of definite integrals:

I(x)=∫u(x)v(x)f(t) dt=∫cv(x)f(t) dt−∫cu(x)f(t) dtI(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)=∫cwf(t) dtA(w) = \int_c^w f(t)\,dt. Then:

I(x)=A(v(x))−A(u(x))I(x) = A(v(x)) - A(u(x))

Differentiating both sides with respect to xx using the Chain Rule:

dIdx=A′(v(x))⋅dvdx−A′(u(x))⋅dudx\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)A'(w) = f(w). Substituting this gives:

ddx[∫u(x)v(x)f(t) dt]=f(v(x))⋅v′(x)−f(u(x))⋅u′(x)\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 xx changes by a small amount Δx\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)v(x) to v(x+Δx)≈v(x)+v′(x)Δxv(x + \Delta x) \approx v(x) + v'(x)\Delta x. This adds a new vertical strip of area on the right:

ΔAright≈f(v(x))⋅[v(x+Δx)−v(x)]≈f(v(x))⋅v′(x)Δx\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)u(x) to u(x+Δx)≈u(x)+u′(x)Δxu(x + \Delta x) \approx u(x) + u'(x)\Delta x. This removes a vertical strip of area on the left:

ΔAleft≈f(u(x))⋅[u(x+Δx)−u(x)]≈f(u(x))⋅u′(x)Δx\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+Δx)u(x + \Delta x) and v(x)v(x) remains unaffected by the boundary shift.

Therefore, the net change in area is:

ΔI=ΔAright−ΔAleft≈[f(v(x))v′(x)−f(u(x))u′(x)]Δx\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 Δx\Delta x and taking the limit as Δx→0\Delta x \to 0 yields:

dIdx=f(v(x))v′(x)−f(u(x))u′(x)\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)=∫0x3cos⁡(t2) dtF(x) = \int_0^{x^3} \cos(t^2)\,dt.

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

F′(x)=cos⁡((x3)2)⋅ddx(x3)−0=3x2cos⁡(x6)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)=∫x2x311+t4 dtG(x) = \int_{x^2}^{x^3} \frac{1}{1 + t^4}\,dt.

Solution: Here u(x)=x2  ⟹  u′(x)=2xu(x) = x^2 \implies u'(x) = 2x, and v(x)=x3  ⟹  v′(x)=3x2v(x) = x^3 \implies v'(x) = 3x^2.

G′(x)=11+(x3)4⋅(3x2)−11+(x2)4⋅(2x)=3x21+x12−2x1+x8G'(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 ddx∫sin⁡xcos⁡xet2 dt\frac{d}{dx} \int_{\sin x}^{\cos x} e^{t^2}\,dt.

Solution: Here u(x)=sin⁡x  ⟹  u′(x)=cos⁡xu(x) = \sin x \implies u'(x) = \cos x, and v(x)=cos⁡x  ⟹  v′(x)=−sin⁡xv(x) = \cos x \implies v'(x) = -\sin x.

ddx∫sin⁡xcos⁡xet2 dt=e(cos⁡x)2⋅(−sin⁡x)−e(sin⁡x)2⋅(cos⁡x)=−sin⁡x ecos⁡2x−cos⁡x esin⁡2x\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 xx appears both in the limits of integration and inside the integrand?

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

When xx changes, the area changes for two distinct reasons:

  1. The left and right boundaries move (governed by the boundary terms f(x,v)v′f(x, v)v' and f(x,u)u′f(x, u)u').
  2. The height of the curve itself deforms at every point tt (governed by the rate of change ∂f∂x\frac{\partial f}{\partial x}).

Theorem: General Leibniz Integral Rule§

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

ddx[∫u(x)v(x)f(x,t) dt]=f(x,v(x))⋅v′(x)−f(x,u(x))⋅u′(x)+∫u(x)v(x)∂f∂x(x,t) dt\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 xx can frequently be factored out of the integral using linearity!

Consider the classic integral:

F(x)=∫0x(x−t)f(t) dtF(x) = \int_0^x (x - t) f(t)\,dt

Do not differentiate directly until you separate xx from tt! Expand the integrand:

F(x)=∫0xxf(t) dt−∫0xtf(t) dtF(x) = \int_0^x x f(t)\,dt - \int_0^x t f(t)\,dt

Because xx does not depend on the integration variable tt, it is a constant with respect to the integral and can be factored outside:

F(x)=x∫0xf(t) dt−∫0xtf(t) dtF(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)=[1⋅∫0xf(t) dt+x⋅ddx(∫0xf(t) dt)]−ddx(∫0xtf(t) dt)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)=∫0xf(t) dt+x⋅f(x)−x⋅f(x)=∫0xf(t) dtF'(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 xf(x)−xf(x)x f(x) - x f(x) cancelled out completely! Differentiating once more yields:

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

This remarkable identity shows that ∫0x(x−t)f(t) dt\int_0^x (x - t)f(t)\,dt is the second antiderivative of f(x)f(x) vanishing with its derivative at x=0x = 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 [00]\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→c∫u(x)v(x)f(t) dtg(x)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→cx \to c:

lim⁡x→cu(x)=lim⁡x→cv(x)=k  ⟹  ∫kkf(t) dt=0andlim⁡x→cg(x)=0\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→cf(v(x))v′(x)−f(u(x))u′(x)g′(x)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→0∫0xsin⁡(t2) dtx3L = \lim_{x \to 0} \frac{\int_0^x \sin(t^2)\,dt}{x^3}

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

Differentiating numerator and denominator with respect to xx:

  • Numerator derivative: ddx∫0xsin⁡(t2) dt=sin⁡(x2)⋅(1)=sin⁡(x2)\frac{d}{dx}\int_0^x \sin(t^2)\,dt = \sin(x^2) \cdot (1) = \sin(x^2)
  • Denominator derivative: ddx(x3)=3x2\frac{d}{dx}(x^3) = 3x^2

Applying L'Hôpital's Rule:

L=lim⁡x→0sin⁡(x2)3x2=13lim⁡x→0sin⁡(x2)x2L = \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⁡θ→0sin⁡θθ=1\lim_{\theta \to 0} \frac{\sin \theta}{\theta} = 1 with θ=x2\theta = x^2:

L=13⋅1=13L = \frac{1}{3} \cdot 1 = \frac{1}{3}

Limit Problem 2: Nonlinear Upper Limit

Evaluate:

L=lim⁡x→0∫0x2sin⁡t dtx3L = \lim_{x \to 0} \frac{\int_0^{x^2} \sin\sqrt{t}\,dt}{x^3}

Solution: As x→0x \to 0, ∫00sin⁡t dt=0\int_0^0 \sin\sqrt{t}\,dt = 0 and x3→0x^3 \to 0, giving [00]\left[\frac{0}{0}\right].

Differentiating numerator and denominator:

  • Numerator derivative via Newton-Leibniz:
ddx[∫0x2sin⁡t dt]=sin⁡(x2)⋅ddx(x2)=sin⁡(∣x∣)⋅2x\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>0x > 0, this is 2xsin⁡x2x \sin x.

  • Denominator derivative:
ddx(x3)=3x2\frac{d}{dx}(x^3) = 3x^2

Applying L'Hôpital's Rule:

L=lim⁡x→02xsin⁡x3x2=23lim⁡x→0sin⁡xx=23⋅1=23L = \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→0∫0xet2 dt−xx3L = \lim_{x \to 0} \frac{\int_0^x e^{t^2}\,dt - x}{x^3}

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

Applying L'Hôpital's Rule:

L=lim⁡x→0ex2⋅1−13x2=13lim⁡x→0ex2−1x2L = \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→0eu−1u=1\lim_{u \to 0} \frac{e^u - 1}{u} = 1 with u=x2u = x^2:

L=13⋅1=13L = \frac{1}{3} \cdot 1 = \frac{1}{3}

Limit Problem 4: Ratio of Two Accumulation Integrals

Evaluate:

L=lim⁡x→0x∫0xet2 dt∫0xet2sin⁡t dtL = \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→0x \to 0, both numerator and denominator approach 00, giving [00]\left[\frac{0}{0}\right].

Differentiate the numerator using the Product Rule:

ddx[x∫0xet2 dt]=1⋅∫0xet2 dt+x⋅(ex2⋅1)=∫0xet2 dt+xex2\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:

ddx[∫0xet2sin⁡t dt]=ex2sin⁡x⋅1=ex2sin⁡x\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→0∫0xet2 dt+xex2ex2sin⁡xL = \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→0x \to 0, the numerator is 0+0=00 + 0 = 0 and the denominator is e0sin⁡0=0e^0 \sin 0 = 0, still [00]\left[\frac{0}{0}\right].

Before differentiating a second time, divide both numerator and denominator by xx:

L=lim⁡x→01x∫0xet2 dt+ex2ex2⋅sin⁡xxL = \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→0x \to 0:

  • By definition of derivative / FTC-2: lim⁡x→0∫0xet2 dtx=e02=1\lim_{x \to 0} \frac{\int_0^x e^{t^2}\,dt}{x} = e^{0^2} = 1
  • lim⁡x→0ex2=1\lim_{x \to 0} e^{x^2} = 1
  • lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1

Substituting these values:

L=1+11⋅1=2L = \frac{1 + 1}{1 \cdot 1} = 2

Limit Problem 5: Variable Lower and Upper Limits

Evaluate:

L=lim⁡x→0+∫0sin⁡xtan⁡t dt∫0tan⁡xsin⁡t dtL = \lim_{x \to 0^+} \frac{\int_0^{\sin x} \sqrt{\tan t}\,dt}{\int_0^{\tan x} \sqrt{\sin t}\,dt}

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

Differentiating numerator and denominator using the Newton-Leibniz rule:

  • Numerator derivative:
ddx[∫0sin⁡xtan⁡t dt]=tan⁡(sin⁡x)⋅cos⁡x\frac{d}{dx}\left[\int_0^{\sin x} \sqrt{\tan t}\,dt\right] = \sqrt{\tan(\sin x)} \cdot \cos x
  • Denominator derivative:
ddx[∫0tan⁡xsin⁡t dt]=sin⁡(tan⁡x)⋅sec⁡2x\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→0+tan⁡(sin⁡x)⋅cos⁡xsin⁡(tan⁡x)⋅sec⁡2x=lim⁡x→0+tan⁡(sin⁡x)sin⁡(tan⁡x)⋅lim⁡x→0+cos⁡xsec⁡2xL = \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 cos⁡0sec⁡20=1\frac{\cos 0}{\sec^2 0} = 1. For the first factor, divide and multiply by xx:

lim⁡x→0+tan⁡(sin⁡x)x=lim⁡x→0+tan⁡(sin⁡x)sin⁡x⋅sin⁡xx=1⋅1=1\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→0+sin⁡(tan⁡x)x=lim⁡x→0+sin⁡(tan⁡x)tan⁡x⋅tan⁡xx=1⋅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=11⋅1=1L = \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 xx 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)f(x) satisfying:

f(x)=x+∫0xf(t) dtfor all x∈Rf(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=0x = 0 into the original equation:

f(0)=0+∫00f(t) dt=0+0=0f(0) = 0 + \int_0^0 f(t)\,dt = 0 + 0 = 0

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

f′(x)=1+f(x)f'(x) = 1 + f(x)

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

dfdx−f(x)=1  ⟹  df1+f=dx\frac{df}{dx} - f(x) = 1 \implies \frac{df}{1 + f} = dx

Integrating both sides:

ln⁡∣1+f(x)∣=x+C  ⟹  1+f(x)=Aex\ln|1 + f(x)| = x + C \implies 1 + f(x) = A e^x

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

1+0=Ae0  ⟹  A=11 + 0 = A e^0 \implies A = 1

Therefore:

1+f(x)=ex  ⟹  f(x)=ex−11 + f(x) = e^x \implies f(x) = e^x - 1

Let us verify:

∫0x(et−1) dt=[et−t]0x=(ex−x)−(1−0)=ex−x−1\int_0^x (e^t - 1)\,dt = [e^t - t]_0^x = (e^x - x) - (1 - 0) = e^x - x - 1 x+∫0xf(t) dt=x+(ex−x−1)=ex−1=f(x)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)f(x) on (0,∞)(0, \infty) satisfying:

∫1xtf(t) dt=23x3−23\int_1^x t f(t)\,dt = \frac{2}{3} x^3 - \frac{2}{3}

Solution: Differentiate both sides with respect to xx using the Newton-Leibniz rule:

  • Left-hand side:
ddx[∫1xtf(t) dt]=xf(x)⋅(1)=xf(x)\frac{d}{dx}\left[\int_1^x t f(t)\,dt\right] = x f(x) \cdot (1) = x f(x)
  • Right-hand side:
ddx[23x3−23]=2x2\frac{d}{dx}\left[\frac{2}{3} x^3 - \frac{2}{3}\right] = 2x^2

Equating both sides:

xf(x)=2x2x f(x) = 2x^2

Since x>0x > 0, dividing by xx gives:

f(x)=2xf(x) = 2x

Example 3: Monotonicity and Extrema of Accumulation Functions§

Let F(x)=∫0x(t−1)(t−2)2et dtF(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)F(x).

Solution:

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

F′(x)=(x−1)(x−2)2exF'(x) = (x - 1)(x - 2)^2 e^x

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

(x−1)(x−2)2ex=0(x - 1)(x - 2)^2 e^x = 0

Since ex>0e^x > 0 for all real xx, the critical points are x=1x = 1 and x=2x = 2.

Step 3 (Analyze sign changes via the First Derivative Test):

  • For x<1x < 1: (x−1)<0(x - 1) < 0, (x−2)2>0(x - 2)^2 > 0, ex>0  ⟹  F′(x)<0e^x > 0 \implies F'(x) < 0. F(x)F(x) is strictly decreasing.
  • For 1<x<21 < x < 2: (x−1)>0(x - 1) > 0, (x−2)2>0(x - 2)^2 > 0, ex>0  ⟹  F′(x)>0e^x > 0 \implies F'(x) > 0. F(x)F(x) is strictly increasing.
  • For x>2x > 2: (x−1)>0(x - 1) > 0, (x−2)2>0(x - 2)^2 > 0, ex>0  ⟹  F′(x)>0e^x > 0 \implies F'(x) > 0. F(x)F(x) continues to be strictly increasing.

Conclusion:

  • At x=1x = 1, F′(x)F'(x) changes sign from negative to positive. Hence, x=1x = 1 is a point of local minimum.
  • At x=2x = 2, F′(x)F'(x) does not change sign (it remains positive on both sides). Hence, x=2x = 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)f(x) satisfies:

∫0x2f(t) dt=x2cos⁡xfor all x∈R\int_0^{x^2} f(t)\,dt = x^2 \cos x \quad \text{for all } x \in \mathbb{R}

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

Solution: Differentiate both sides with respect to xx using the Newton-Leibniz rule:

  • Left-hand side:
ddx[∫0x2f(t) dt]=f(x2)⋅ddx(x2)=f(x2)⋅2x\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):
ddx[x2cos⁡x]=2xcos⁡x−x2sin⁡x\frac{d}{dx}[x^2 \cos x] = 2x \cos x - x^2 \sin x

Equating both sides:

2xf(x2)=2xcos⁡x−x2sin⁡x2x f(x^2) = 2x \cos x - x^2 \sin x

For x≠0x \neq 0, divide both sides by 2x2x:

f(x2)=cos⁡x−x2sin⁡xf(x^2) = \cos x - \frac{x}{2}\sin x

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

f(π2)=cos⁡π−π2sin⁡π=−1−π2(0)=−1f(\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)=∫0xsin⁡tt dtf(x) = \int_0^x \frac{\sin t}{t}\,dt for x>0x > 0. Find the coordinates of all inflection points of f(x)f(x) on (0,2π)(0, 2\pi).

Solution:

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

f′(x)=sin⁡xxf'(x) = \frac{\sin x}{x}

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

f′′(x)=xcos⁡x−sin⁡xx2f''(x) = \frac{x \cos x - \sin x}{x^2}

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

xcos⁡x−sin⁡x=0  ⟹  xcos⁡x=sin⁡x  ⟹  tan⁡x=xx \cos x - \sin x = 0 \implies x \cos x = \sin x \implies \tan x = x

On the interval (0,2π)(0, 2\pi):

  • For x∈(0,π/2)x \in (0, \pi/2), tan⁡x>x\tan x > x, so no roots exist.
  • For x∈(π/2,π)x \in (\pi/2, \pi), tan⁡x<0\tan x < 0 while x>0x > 0, no roots exist.
  • For x∈(π,3π/2)x \in (\pi, 3\pi/2), the curves y=tan⁡xy = \tan x and y=xy = x intersect at exactly one point x0≈4.4934x_0 \approx 4.4934 radians.
  • For x∈(3π/2,2π)x \in (3\pi/2, 2\pi), tan⁡x<0\tan x < 0, no roots exist.

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


Problem 3: Double Variable Limits with Sines and Cosines§

Let F(x)=∫sin⁡xcos⁡x1−t2 dtF(x) = \int_{\sin x}^{\cos x} \sqrt{1 - t^2}\,dt for x∈(0,π/2)x \in (0, \pi/2). Simplify F′(x)F'(x).

Solution: Apply the Newton-Leibniz rule:

F′(x)=1−cos⁡2x⋅ddx(cos⁡x)−1−sin⁡2x⋅ddx(sin⁡x)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∈(0,π/2)x \in (0, \pi/2), sin⁡x>0\sin x > 0 and cos⁡x>0\cos x > 0:

1−cos⁡2x=sin⁡2x=sin⁡x\sqrt{1 - \cos^2 x} = \sqrt{\sin^2 x} = \sin x 1−sin⁡2x=cos⁡2x=cos⁡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⁡2x−cos⁡2x=−(sin⁡2x+cos⁡2x)=−1F'(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)=−1F'(x) = -1 everywhere on (0,π/2)(0, \pi/2)! This implies F(x)=−x+CF(x) = -x + C.


Problem 4: Advanced Limit with Power Factor§

Evaluate:

L=lim⁡x→01x4∫0x2t2t4+1 dtL = \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→0∫0x2t2t4+1 dtx4L = \lim_{x \to 0} \frac{\int_0^{x^2} \frac{t^2}{t^4 + 1}\,dt}{x^4}

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

Differentiating numerator and denominator:

  • Numerator:
ddx[∫0x2t2t4+1 dt]=(x2)2(x2)4+1⋅2x=x4x8+1⋅2x=2x5x8+1\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:
ddx(x4)=4x3\frac{d}{dx}(x^4) = 4x^3

Applying L'Hôpital's Rule:

L=lim⁡x→02x5x8+14x3=lim⁡x→02x54x3(x8+1)=lim⁡x→0x22(x8+1)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→0x \to 0:

L=022(08+1)=02=0L = \frac{0^2}{2(0^8 + 1)} = \frac{0}{2} = 0

Problem 5: Finding a Constant in an Integral Identity§

Let ff be continuous on R\mathbb{R}. If for all x∈Rx \in \mathbb{R}:

∫0xf(t) dt=xsin⁡(πx)\int_0^x f(t)\,dt = x \sin(\pi x)

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

Solution: Differentiating both sides with respect to xx using the Second Fundamental Theorem:

f(x)=ddx[xsin⁡(πx)]=1⋅sin⁡(πx)+x⋅πcos⁡(πx)=sin⁡(πx)+πxcos⁡(πx)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=1x = 1:

f(1)=sin⁡(π)+π(1)cos⁡(π)=0+π(−1)=−πf(1) = \sin(\pi) + \pi(1)\cos(\pi) = 0 + \pi(-1) = -\pi

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

f′(x)=πcos⁡(πx)+πcos⁡(πx)−π2xsin⁡(πx)=2πcos⁡(πx)−π2xsin⁡(π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=1x = 1:

f′(1)=2πcos⁡(π)−π2(1)sin⁡(π)=2π(−1)−0=−2π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 xx ddx∫axf(t) dt=f(x)\frac{d}{dx} \int_a^x f(t)\,dt = f(x)
Variable Upper Limit Chain Rule ddx∫av(x)f(t) dt=f(v(x))⋅v′(x)\frac{d}{dx} \int_a^{v(x)} f(t)\,dt = f(v(x)) \cdot v'(x)
Variable Both Limits Full Newton-Leibniz Rule ddx∫u(x)v(x)f(t) dt=f(v(x))v′(x)−f(u(x))u′(x)\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 ddx∫uvf(x,t)dt=boundary terms+∫uv∂f∂x(x,t)dt\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→c∫av(x)f(t)dtg(x)=lim⁡x→cf(v(x))v′(x)g′(x)\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=ax = a for initial conditions

Common Pitfalls to Avoid§

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

Mark this section complete when you have worked through its proofs.