Salta al contenuto
Note per Studenti Antiderivatives and the Fundamental Theorem of Calculus Report

Antiderivatives and the Fundamental Theorem of Calculus

In questa pagina 10

Prerequisites: The Riemann IntegralThe definite integral of a bounded f on [a,b] is the limit of the Cauchy-Riemann sums (sums of rectangle areas) when it exists, is finite and does not depend on the choice of points; equivalently the sup of lower sums equals the inf of upper sums. For f >= 0 it is the area of the region under the graph, in general the area above the axis minus the area below; continuous, monotone and piecewise integrable functions are integrable, the Dirichlet function is not.The Riemann Integral →, Properties of the Definite Integral and the Mean Value TheoremThe definite integral is linear, monotone, additive with respect to the interval (with the conventions integral from a to a equals 0 and from b to a equals minus the integral from a to b), satisfies |integral of f| <= integral of |f|, and has simple rules for even and odd functions; the integral mean value theorem says that for continuous f a rectangle of height f(c) has the same area as the trapezoid.Properties of the Definite Integral and the Mean Value Theorem →, derivatives, Rolle's and Lagrange's TheoremsRolle: f continuous on [a,b], differentiable in ]a,b[, f(a) = f(b) implies f'(c) = 0 for some c; Lagrange (mean value theorem): without f(a) = f(b), f'(c) equals the slope of the chord. Consequence: on an interval f is constant if and only if f' = 0, while on a non-interval set f is only piecewise constant (arctan x + arctan(1/x)).Rolle's and Lagrange's Theorems →.

Notation. II is any interval (also R\mathbb{R}). C(I)C(I) is the set of continuous functions on II; C1(I)C^1(I) the set of differentiable functions with continuous derivative.

Antiderivatives (primitives)

Definition. Given f∈C(I)f \in C(I), a function G∈C1(I)G \in C^1(I) with G′(x)=f(x)∀x∈IG'(x) = f(x) \qquad \forall x \in I is an antiderivative (primitive) of ff.

Finding one is the inverse problem of differentiation.

Example. f(x)=x2f(x) = x^2: G(x)=13x3G(x) = \frac13x^3 is an antiderivative (G′=x2G' = x^2), and so is 13x3+k\frac13x^3 + k for every constant kk. If a function has one antiderivative, it has infinitely many. Are there others, not of the form G+kG + k? No.

Proposition 1 (antiderivatives differ by a constant). Let f∈C(I)f \in C(I). If F,G∈C1(I)F, G \in C^1(I) are antiderivatives of ff, there is k∈Rk \in \mathbb{R} with G(x)=F(x)+kG(x) = F(x) + k for all x∈Ix \in I.

Proof. Let H=G−F∈C1(I)H = G - F \in C^1(I). Then H′=f−f=0H' = f - f = 0 on II. By the characterisation of constant functions (consequence of Lagrange's theorem), HH is constant. ■\blacksquare

Why II must be an interval: on a split set the constant may differ on each piece; e.g. on ]−∞,0[ ∪ ]0,+∞[]-\infty, 0[\,\cup\,]0, +\infty[ the function equal to 11 for x>0x > 0 and 00 for x<0x < 0 has zero derivative but is not constant.

Indefinite integral

Definition. The indefinite integral of f∈C(I)f \in C(I) is the set of all antiderivatives of ff on II: ∫f(x) dx={G∈C1(I):G′=f on I}.\int f(x)\,dx = \{G \in C^1(I) : G' = f \text{ on } I\}.

By Proposition 1, once one antiderivative FF is found, all are F+kF + k; one writes ∫f(x) dx=F(x)+k\int f(x)\,dx = F(x) + k, k∈Rk \in \mathbb{R}. Example: ∫2x dx=x2+k\int2x\,dx = x^2 + k.

Definite integral ∫abf dx\int_a^bf\,dx Indefinite integral ∫f dx\int f\,dx
What it is a number a set of functions
Meaning signed area on [a,b][a, b] all antiderivatives of ff
Defined as limit of Cauchy-Riemann sums antiderivative

They are linked through the integral function.

Integral function

Definition. The integral function of f∈C(I)f \in C(I) with centre a∈Ia \in I is Fa:I→RF_a: I \to \mathbb{R}, Fa(x)=∫axf(t) dt∀x∈I.F_a(x) = \int_a^xf(t)\,dt \qquad \forall x \in I.

The upper limit becomes the variable; the integration variable is called tt (dummy). For x<ax < a, ∫ax=−∫xa\int_a^x = -\int_x^a. For f≥0f \ge 0, Fa(x)F_a(x) is the area of the trapezoid from aa to xx; Fa(a)=0F_a(a) = 0.

Example. f=4f = 4: F1(x)=∫1x4 dt=4(x−1)F_1(x) = \int_1^x4\,dt = 4(x - 1) and F3(x)=4(x−3)F_3(x) = 4(x - 3), defined for every x∈Rx \in \mathbb{R}. Both have derivative 4=f4 = f: they are antiderivatives of ff. This is no accident.

Second fundamental theorem of calculus

Theorem (FTC 2). Let f∈C(I)f \in C(I). For every a∈Ia \in I the integral function Fa(x)=∫axf(t) dtF_a(x) = \int_a^xf(t)\,dt is an antiderivative of ff: Fa∈C1(I)F_a \in C^1(I) and Fa′(x)=f(x)∀x∈I.F_a'(x) = f(x) \qquad \forall x \in I.

Example. F(x)=∫0xt2 dtF(x) = \int_0^xt^2\,dt has F′(x)=x2F'(x) = x^2 (indeed F=x33F = \frac{x^3}{3}). Differentiating the integral function returns the integrand: derivative and integral are inverse operations.

Proof. Fix x∈Ix \in I and use the difference quotient: Fa′(x)=lim⁡h→01h[∫ax+hf dt−∫axf dt]=lim⁡h→01h∫xx+hf(t) dt(∗)F_a'(x) = \lim_{h \to 0}\frac1h\left[\int_a^{x+h}f\,dt - \int_a^xf\,dt\right] = \lim_{h \to 0}\frac1h\int_x^{x+h}f(t)\,dt \qquad (\ast) by additivity (valid for h>0h > 0 and h<0h < 0 thanks to the conventions on the limits). For h>0h > 0, ff is continuous on [x,x+h][x, x + h] and by the integral mean value theorem there is ch∈[x,x+h]c_h \in [x, x + h] with 1h∫xx+hf dt=f(ch)\frac1h\int_x^{x+h}f\,dt = f(c_h) (for h<0h < 0, same on [x+h,x][x + h, x]). So Fa′(x)=lim⁡h→0f(ch)F_a'(x) = \lim_{h \to 0}f(c_h). Since chc_h is trapped between xx and x+hx + h, ch→xc_h \to x by the squeeze theorem, and by continuity of ff, f(ch)→f(x)f(c_h) \to f(x). Hence Fa′=fF_a' = f, and Fa∈C1(I)F_a \in C^1(I) since ff is continuous. ■\blacksquare

Consequence. Every continuous function on an interval has an antiderivative (its integral function), and ∫f(x) dx=∫axf(t) dt+k,k∈R.\int f(x)\,dx = \int_a^xf(t)\,dt + k, \quad k \in \mathbb{R}. But we mostly need the opposite: use antiderivatives to compute definite integrals.

First fundamental theorem of calculus

Theorem (FTC 1). Let f∈C(I)f \in C(I) and let G∈C1(I)G \in C^1(I) be any antiderivative of ff. Then for every [a,b]⊆I[a, b] \subseteq I ∫abf(x) dx=G(b)−G(a)=[G(x)]x=ax=b.\int_a^bf(x)\,dx = G(b) - G(a) = \Big[G(x)\Big]_{x=a}^{x=b}.

Example. ∫13x2 dx=[x33]13=9−13=263\int_1^3x^2\,dx = \left[\frac{x^3}{3}\right]_1^3 = 9 - \frac13 = \frac{26}{3}.

Proof. By FTC 2, Fa(x)=∫axf dtF_a(x) = \int_a^xf\,dt is also an antiderivative, so by Proposition 1, G(x)=∫axf dt+kG(x) = \int_a^xf\,dt + k for all xx. At x=ax = a: G(a)=0+kG(a) = 0 + k, so k=G(a)k = G(a). At x=bx = b: G(b)=∫abf dt+G(a)G(b) = \int_a^bf\,dt + G(a), i.e. ∫abf=G(b)−G(a)\int_a^bf = G(b) - G(a). ■\blacksquare

Why "any": with G+kG + k one gets (G(b)+k)−(G(a)+k)=G(b)−G(a)(G(b) + k) - (G(a) + k) = G(b) - G(a); the constant cancels, so choose the most convenient one (k=0k = 0).

Scheme for a definite integral:

  1. compute the indefinite integral to find one antiderivative GG;
  2. apply FTC 1: ∫abf=G(b)−G(a)\int_a^bf = G(b) - G(a).

With Cauchy-Riemann sums the example above would need the formula for the sum of squares; here two lines suffice.

Antiderivatives of piecewise functions

If f=f1f = f_1 for x<cx < c and f=f2f = f_2 for x≥cx \ge c and ff is continuous, an antiderivative must be continuous. Gluing arbitrary F1F_1, F2F_2 is not enough: they may not match at cc.

Method.

  1. Find F1F_1 (antiderivative of f1f_1) and F2F_2 (of f2f_2).
  2. Set F(x)=F1(x)F(x) = F_1(x) for x<cx < c, F(x)=F2(x)+KF(x) = F_2(x) + K for x≥cx \ge c, with K=F1(c)−F2(c)K = F_1(c) - F_2(c) so that FF is continuous at cc.
  3. All antiderivatives are F+hF + h, h∈Rh \in \mathbb{R}.
  4. If F(x0)=y0F(x_0) = y_0 is required, impose F(x0)+h=y0F(x_0) + h = y_0.

Shifting F2F_2 by KK does not change its derivative but lets the pieces join.

The antiderivative equal to y0y_0 at x0x_0

By FTC 2, Fx0(x)=∫x0xf dtF_{x_0}(x) = \int_{x_0}^xf\,dt is the antiderivative that vanishes at x0x_0. So the one with F(x0)=y0F(x_0) = y_0 is F(x)=∫x0xf(t) dt+y0=G(x)−G(x0)+y0F(x) = \int_{x_0}^xf(t)\,dt + y_0 = G(x) - G(x_0) + y_0 for any antiderivative GG.

Derivative of ∫ag(x)f(t) dt\int_a^{g(x)}f(t)\,dt

F(x)=∫13x+x3t2log⁡(2+t2) dtF(x) = \int_1^{3x + x^3}t^2\log(2 + t^2)\,dt is not an integral function (the upper limit is not xx) but the composition of one with g(x)=3x+x3g(x) = 3x + x^3: with G(y)=∫1yf dtG(y) = \int_1^yf\,dt, F=G∘gF = G\circ g. By the chain rule and FTC 2: F′(x)=f(g(x))⋅g′(x).F'(x) = f(g(x))\cdot g'(x). Example. ddx∫0x2sin⁡t dt=2xsin⁡(x2)\frac{d}{dx}\int_0^{x^2}\sin t\,dt = 2x\sin(x^2). This allows studying the monotonicity of FF without computing the integral.

Both limits variable. For ff continuous and a(x)a(x), b(x)b(x) of class C1C^1, F(x)=∫a(x)b(x)f dtF(x) = \int_{a(x)}^{b(x)}f\,dt. Fix any cc and split: F(x)=∫cb(x)f dt−∫ca(x)f dt=G(b(x))−G(a(x)),G(y)=∫cyf dt,F(x) = \int_c^{b(x)}f\,dt - \int_c^{a(x)}f\,dt = G(b(x)) - G(a(x)), \quad G(y) = \int_c^yf\,dt, F′(x)=f(b(x)) b′(x)−f(a(x)) a′(x).F'(x) = f(b(x))\,b'(x) - f(a(x))\,a'(x). The point cc disappears. Example. F(x)=∫x2+3xex(1+t2) dtF(x) = \int_{x^2 + 3x}^{e^x}(1 + t^2)\,dt: F′(x)=(1+e2x)ex−(1+(x2+3x)2)(2x+3)F'(x) = (1 + e^{2x})e^x - (1 + (x^2 + 3x)^2)(2x + 3).

Derivatives give integrals

If f∈C1(I)f \in C^1(I), ff is an antiderivative of f′f': ∫f′(x) dx=f(x)+k\int f'(x)\,dx = f(x) + k. So every known derivative, read backwards, gives an integral (see Integration Techniques - Immediate Integrals, Substitution and Integration by PartsImmediate integrals come from reading the table of derivatives backwards; there are no integration rules like those for derivatives, only methods: linearity, substitution (the chain rule read backwards) and integration by parts (the product rule read backwards, used for log x, arcsin x, arctan x, squares of sine and cosine, and products such as x^n e^(ax) or e^(ax) sin(bx)).Integration Techniques - Immediate Integrals, Substitution and Integration by Parts →).

Common mistakes

  • Forgetting +k+k in the indefinite integral: the result is a set of functions.
  • Confusing definite (number) and indefinite (set of functions) integrals.
  • Applying FTC 1 to functions not continuous on the interval: ∫−111x2 dx\int_{-1}^1\frac{1}{x^2}\,dx cannot be computed this way; 1x2\frac1{x^2} is not even defined at 00, and the formula would give a negative result for a positive function.

Versione ripasso

Antiderivative. ff continuous on II; G∈C1(I)G \in C^1(I) with G′=fG' = f. Example: 13x3+k\frac13x^3 + k for x2x^2.

Proposition. Two antiderivatives on an interval differ by a constant (H=G−FH = G - F has H′=0H' = 0, so constant by Lagrange). Fails on non-intervals.

Indefinite integral ∫f dx={F+k}\int f\,dx = \{F + k\}: a set of functions; the definite integral ∫abf\int_a^bf is a number.

Integral function. Fa(x)=∫axf(t) dtF_a(x) = \int_a^xf(t)\,dt; Fa(a)=0F_a(a) = 0.

FTC 2. ff continuous: Fa′=fF_a' = f on II. Proof: Fa(x+h)−Fa(x)h=1h∫xx+hf=f(ch)\frac{F_a(x + h) - F_a(x)}{h} = \frac1h\int_x^{x+h}f = f(c_h) (mean value theorem), ch→xc_h \to x, continuity.

So every continuous function has an antiderivative: ∫f dx=∫axf+k\int f\,dx = \int_a^xf + k.

FTC 1. GG any antiderivative of ff continuous: ∫abf dx=G(b)−G(a)=[G]ab\int_a^bf\,dx = G(b) - G(a) = [G]_a^b. Proof: G=Fa+kG = F_a + k, x=ax = a gives k=G(a)k = G(a).

Example: ∫13x2 dx=263\int_1^3x^2\,dx = \frac{26}{3}. Scheme: find GG, then G(b)−G(a)G(b) - G(a); constants cancel.

Piecewise ff. F=F1F = F_1 for x<cx < c, F=F2+KF = F_2 + K for x≥cx \ge c, K=F1(c)−F2(c)K = F_1(c) - F_2(c) (continuity); all antiderivatives are F+hF + h.

Initial condition. F(x0)=y0F(x_0) = y_0: F(x)=G(x)−G(x0)+y0=∫x0xf+y0F(x) = G(x) - G(x_0) + y_0 = \int_{x_0}^xf + y_0.

Variable limits.

  • ddx∫ag(x)f=f(g(x)) g′(x)\frac{d}{dx}\int_a^{g(x)}f = f(g(x))\,g'(x); e.g. ddx∫0x2sin⁡t dt=2xsin⁡x2\frac{d}{dx}\int_0^{x^2}\sin t\,dt = 2x\sin x^2.
  • ddx∫a(x)b(x)f=f(b(x)) b′(x)−f(a(x)) a′(x)\frac{d}{dx}\int_{a(x)}^{b(x)}f = f(b(x))\,b'(x) - f(a(x))\,a'(x).

Typical mistakes. Missing +k+k; definite versus indefinite; FTC 1 on non-continuous integrands (∫−11x−2 dx\int_{-1}^1x^{-2}\,dx).

Teoria collegata