IC

Integral Calculus

13 theorems

03 — Integral Calculus

Comprehensive study guide for Bocconi Math Module 2 (cod. 30063), General Exam. Source materials: Alice Sicconi's Proofs - Integral Calculus.pdf, Integral Calculus.pdf, lect{1..9}_calc_int*.pdf, TA41_calc_int{1,2}.pdf, General_24524_ENG_SOL.pdf, Final exercises solution.pdf.


§1. Overview & Exam Relevance

Integral Calculus is the third block of the first partial and accounts for approximately 18% of the general exam (typically 1 MCQ worth 5 pts and one open-ended question worth up to 20 pts — about 25 pts of the 150-pt exam). It is the topic where a correctly stated First Fundamental Theorem of Calculus (Theorem 1894) is often the single highest-yield 20-pt question on the whole paper.

Topic scope. The exam tests:

  • Riemann integration: partitions Π\Pi of [a,b][a,b], lower and upper Riemann sums I(f,Π),S(f,Π)I(f,\Pi), S(f,\Pi), lower and upper integrals, the integrability criterion (Theorem 1869), integrability of continuous functions (Theorem 1875);
  • Elementary properties of the definite integral: linearity, monotonicity, boundedness (Prop. 1884), absolute value inequality (Prop. 1883), and the Integral Mean Value Theorem (Theorem 1885);
  • The Fundamental Theorems of Calculus: Newton–Leibniz (Theorem 1894 — "state and prove" on May 2024 Q9), and the fact that F(x)=axf(t)dtF(x) = \int_a^x f(t)\,dt is a primitive of a continuous ff (Theorem 1899);
  • Antiderivatives / primitives: the indefinite integral f(x)dx+C\int f(x)\,dx + C, linearity of primitives (Theorem 1903), integration by parts (Prop. 1905), integration by substitution (Prop. 1908);
  • Standard antiderivatives table: xa,1/x,ex,sinx,cosx,1/(1+x2),1/1x2x^a, 1/x, e^x, \sin x, \cos x, 1/(1+x^2), 1/\sqrt{1-x^2} and composition shortcuts;
  • Improper integrals of the first kind (infinite bounds) and second kind (unbounded integrand); convergence via the comparison criterion (Theorem 1932), asymptotic comparison (Theorem 1933 / 1928 monotonicity), and absolute convergence (Theorem 1937);
  • Cauchy principal value PV+f(x)dx\operatorname{PV}\int_{-\infty}^{+\infty} f(x)\,dx — a symmetric limit that can converge even when the integral diverges;
  • Barrow–Torricelli's Theorem (2030): the bijection T:C01([a,b])C([a,b])T: C^1_0([a,b]) \leftrightarrow C([a,b]) via differentiation / integration.

Typical MCQ pattern (from May 2024 General exam).

  • MCQ3 (Mode A) / MCQ2 (Mode B): "The improper integral 1+x+lnxx3dx\int_1^{+\infty} \frac{x + \ln x}{x^3}\,dx is …" — asymptotically x+lnxx31x2\frac{x + \ln x}{x^3} \sim \frac{1}{x^2} at ++\infty so the integral is finite; moreover x+lnxx31x2\frac{x + \ln x}{x^3} \ge \frac{1}{x^2} on [1,+)[1, +\infty) so by monotonicity of the improper integral (Theorem 1928), 1+x+lnxx3dx1+1x2dx\int_1^{+\infty} \frac{x + \ln x}{x^3}\,dx \ge \int_1^{+\infty} \frac{1}{x^2}\,dx.

Typical open-ended pattern (May 2024 Q9 Mode A / Q8 Mode B).

  • Part (a) — State and prove the First Fundamental Theorem of Calculus (Theorem 1894). This is the flagship proof of Integral Calculus and must be reproduced verbatim.
  • Part (b1) — Compute an antiderivative of f(x)=x2lnxf(x) = x^2 \ln x: integrate by parts with f1=x2,g1=lnxf'_1 = x^2, g_1 = \ln x to get x2lnxdx=x33lnxx39+C\int x^2 \ln x\,dx = \frac{x^3}{3}\ln x - \frac{x^3}{9} + C.
  • Part (b2) — Compute 1ex2lnxdx=[x33lnxx39]1e=29e3+19\int_1^e x^2 \ln x\,dx = \left[\frac{x^3}{3}\ln x - \frac{x^3}{9}\right]_1^e = \frac{2}{9}e^3 + \frac{1}{9}, invoking Theorem 1894.

Why this topic is high-leverage for the final partial.

  • The indicator f(s)ds\int f'(s)\,ds shows up again in Mathematical Finance (continuous-compounding capital M(t)=1+0tf(s)dsM(t) = 1 + \int_0^t f'(s)\,ds, Final exercises Q5).
  • The Riemann integral is the rigorous scaffolding for the expected value of a continuous random variable in Probability (since E[X]=RxfX(x)dxE[X] = \int_{\mathbb{R}} x f_X(x)\,dx).
  • Improper integrals of the form 0+λeλxdx\int_0^{+\infty} \lambda e^{-\lambda x}\,dx underpin the exponential distribution.

§2. Definitions

2.1 Partition (subdivision) Π\Pi of [a,b][a,b]

A partition (or subdivision) Π\Pi of [a,b][a, b] is a finite set of points Π={x0,x1,,xn},a=x0<x1<x2<<xn=b.\Pi = \{x_0, x_1, \ldots, x_n\}, \qquad a = x_0 < x_1 < x_2 < \cdots < x_n = b. It breaks [a,b][a,b] into nn sub-intervals [xi1,xi][x_{i-1}, x_i] for i=1,,ni = 1, \ldots, n, each of length Δxi=xixi1\Delta x_i = x_i - x_{i-1}.

The mesh (or norm) of Π\Pi is Π=maxiΔxi|\Pi| = \max_{i} \Delta x_i — the length of the largest sub-interval. We write Ππ\Pi \in \pi for the collection of all possible partitions of [a,b][a,b].

A partition Π\Pi' is a refinement of Π\Pi if every point of Π\Pi is also a point of Π\Pi' (i.e., ΠΠ\Pi \subseteq \Pi'). The union Π1Π2\Pi_1 \cup \Pi_2 of two partitions is always a refinement of both.

2.2 Tagged partition (ξ,Π)(\xi, \Pi)

A tagged partition is a pair (ξ,Π)(\xi, \Pi) where Π\Pi is a partition and ξ=(ξ1,,ξn)\xi = (\xi_1, \ldots, \xi_n) is a choice of tags with ξi[xi1,xi]\xi_i \in [x_{i-1}, x_i]. The tags will be evaluation points for the integrand.

Remark. In Sicconi's notation (and Marinacci's textbook), the lower and upper sums are defined via the infimum and supremum of ff on each sub-interval — independent of any tag choice — so the tag drops out of the final Riemann integral. We still introduce the tagged notation because it is the standard setup for the Riemann sum if(ξi)Δxi\sum_i f(\xi_i)\Delta x_i that appears in the proof of Theorem 1894 (FTC I).

2.3 Lower and upper Riemann sums I(f,Π)I(f, \Pi), S(f,Π)S(f, \Pi)

Let f:[a,b]Rf : [a, b] \to \mathbb{R} be bounded. For a partition Π\Pi, define on each sub-interval mi=infx[xi1,xi]f(x),Mi=supx[xi1,xi]f(x).m_i = \inf_{x \in [x_{i-1}, x_i]} f(x), \qquad M_i = \sup_{x \in [x_{i-1}, x_i]} f(x).

The lower (Riemann) sum and upper (Riemann) sum are I(f,Π)=i=1nmiΔxi,S(f,Π)=i=1nMiΔxi.I(f, \Pi) = \sum_{i=1}^n m_i \cdot \Delta x_i, \qquad S(f, \Pi) = \sum_{i=1}^n M_i \cdot \Delta x_i.

Geometrically, for a positive ff, I(f,Π)I(f, \Pi) is the total area of the largest inscribed rectangles (heights mim_i) and S(f,Π)S(f, \Pi) is the total area of the smallest circumscribed rectangles (heights MiM_i). One always has I(f,Π)S(f,Π),I(f,Π)I(f,Π)S(f,Π)S(f,Π)whenever Π refines Π.I(f, \Pi) \le S(f, \Pi), \qquad I(f, \Pi) \le I(f, \Pi') \le S(f, \Pi') \le S(f, \Pi) \qquad \text{whenever $\Pi'$ refines $\Pi$.} Refining a partition always gives a better approximation of the area.

2.4 Lower and upper integrals

Let f:[a,b]Rf : [a, b] \to \mathbb{R} be bounded. The lower integral and upper integral of ff on [a,b][a, b] are abf(x)dx  =  supΠπI(f,Π),abf(x)dx  =  infΠπS(f,Π).\underline{\int_a^b} f(x)\,dx \;=\; \sup_{\Pi \in \pi} I(f, \Pi), \qquad \overline{\int_a^b} f(x)\,dx \;=\; \inf_{\Pi \in \pi} S(f, \Pi).

One always has abfabf\underline{\int_a^b} f \le \overline{\int_a^b} f (Theorem 1857 below).

2.5 Riemann integrability and the Riemann integral

A bounded function f:[a,b]Rf : [a, b] \to \mathbb{R} is Riemann-integrable on [a,b][a, b] if abf(x)dx  =  abf(x)dx.\underline{\int_a^b} f(x)\,dx \;=\; \overline{\int_a^b} f(x)\,dx. In that case the common value is the Riemann integral of ff on [a,b][a, b]: abf(x)dx  =  abf(x)dx  =  abf(x)dx.\int_a^b f(x)\,dx \;=\; \underline{\int_a^b} f(x)\,dx \;=\; \overline{\int_a^b} f(x)\,dx.

We denote by R[a,b]\mathcal{R}[a,b] the set of Riemann-integrable functions on [a,b][a,b]. It is a linear subspace of the space F([a,b])F([a,b]) of all real-valued functions on [a,b][a,b], and abdx\int_a^b \cdot\,dx is a linear functional on it (the linearity property).

Counterexample (Dirichlet). The function f(x)=1f(x) = 1 if xQ[a,b]x \in \mathbb{Q} \cap [a,b] and f(x)=0f(x) = 0 otherwise is bounded but not Riemann-integrable: on every partition mi=0m_i = 0 and Mi=1M_i = 1, giving I(f,Π)=0I(f, \Pi) = 0 and S(f,Π)=baS(f, \Pi) = b - a. So abf=0ba=abf\underline{\int_a^b} f = 0 \neq b - a = \overline{\int_a^b} f.

2.6 Oscillation on a sub-interval

The oscillation of ff on [xi1,xi][x_{i-1}, x_i] is Mimi=supfinff0M_i - m_i = \sup f - \inf f \ge 0. Theorem 1869 recasts integrability as "oscillations can be made arbitrarily small in total length". For a continuous ff, the Heine–Cantor theorem (uniform continuity on a compact set) controls the oscillation uniformly — that is the mechanism behind Theorem 1875.

2.7 Primitive (antiderivative) PP

Let II be an interval (not necessarily closed). A function P:IRP : I \to \mathbb{R} is a primitive (or antiderivative) of f:IRf : I \to \mathbb{R} if

  1. PP is differentiable on II;
  2. P(x)=f(x)P'(x) = f(x) for every xIx \in I.

Theorem (uniqueness up to a constant). If P1,P2P_1, P_2 are primitives of the same ff on an interval II, then there exists KRK \in \mathbb{R} with P2(x)=P1(x)+KP_2(x) = P_1(x) + K for every xIx \in I.

Existence. If ff is continuous on II, then ff has primitives (this is essentially Theorem 1899). If ff has a jump or eliminable discontinuity in II, ff does not have primitives on II; essential discontinuities may or may not block primitivability.

2.8 Indefinite integral f(x)dx+C\int f(x)\,dx + C

The indefinite integral of ff is the family of all primitives: f(x)dx  =  P(x)+C,CR,\int f(x)\,dx \;=\; P(x) + C, \qquad C \in \mathbb{R}, where PP is any single primitive of ff. In the textbook the symbols f(x)dx\int f(x)\,dx and "antiderivative" are used interchangeably, with the understanding that a constant of integration is always present.

2.9 Definite integral abf(x)dx\int_a^b f(x)\,dx

The definite integral of a Riemann-integrable ff on [a,b][a, b] is the number abf(x)dx\int_a^b f(x)\,dx defined in §2.5. By convention: baf(x)dx  =  abf(x)dx,aaf(x)dx  =  0.\int_b^a f(x)\,dx \;=\; -\int_a^b f(x)\,dx, \qquad \int_a^a f(x)\,dx \;=\; 0. These conventions make the additivity with respect to the interval valid for any ordering: acf+cbf  =  abfa,b,cI where f is integrable.\int_a^c f + \int_c^b f \;=\; \int_a^b f \qquad \forall\, a, b, c \in I \text{ where $f$ is integrable}.

Crucial distinction. The definite integral is a number (depends on aa, bb, and ff); the indefinite integral is a family of functions (depends only on ff).

2.10 Positive / negative parts and signed integration

Every function decomposes as f(x)=f+(x)f(x)f(x) = f^+(x) - f^-(x), where f+(x)=max{f(x),0}f^+(x) = \max\{f(x), 0\} (positive part) and f(x)=min{f(x),0}=max{f(x),0}f^-(x) = -\min\{f(x), 0\} = \max\{-f(x), 0\} (negative part). Both f+,ff^+, f^- are non-negative. A bounded ff is Riemann-integrable iff both f+,ff^+, f^- are, and then abf(x)dx  =  abf+(x)dx    abf(x)dx.\int_a^b f(x)\,dx \;=\; \int_a^b f^+(x)\,dx \;-\; \int_a^b f^-(x)\,dx. Geometrically this is the signed area — area above the xx-axis minus area below.

2.11 Improper integral of the first kind (infinite bounds)

Let f:[a,+)Rf : [a, +\infty) \to \mathbb{R} be integrable on every [a,t][a,+)[a, t] \subseteq [a, +\infty). The improper integral of the first kind is a+f(x)dx  =  limt+atf(x)dx\int_a^{+\infty} f(x)\,dx \;=\; \lim_{t \to +\infty} \int_a^t f(x)\,dx provided the limit exists in R{±}\mathbb{R} \cup \{\pm \infty\}. Symmetrically define b\int_{-\infty}^b. If both bounds are infinite, split at any cc: +f(x)dx  =  limsscf(x)dx  +  limt+ctf(x)dx,\int_{-\infty}^{+\infty} f(x)\,dx \;=\; \lim_{s \to -\infty} \int_s^c f(x)\,dx \;+\; \lim_{t \to +\infty} \int_c^t f(x)\,dx, with the two limits taken independently — both must exist and be finite (or at least not an indeterminate form ++\infty - \infty) for the integral to make sense.

Convergence / divergence / oscillation.

  • Converges if the limit is a finite number LRL \in \mathbb{R}.
  • Diverges to ++\infty if the limit equals ++\infty; similarly to -\infty.
  • Does not exist (oscillates, or yields an indeterminate form) otherwise — e.g., +(2x3)dx\int_{-\infty}^{+\infty} (2x - 3)\,dx gives ++()+\infty + (-\infty), which does not exist.

2.12 Improper integral of the second kind (unbounded integrand)

Let f:[a,b)Rf : [a, b) \to \mathbb{R} be integrable on every [a,t][a,b)[a, t] \subseteq [a, b) but possibly unbounded as xbx \to b^-. The improper integral of the second kind is abf(x)dx  =  limtbatf(x)dx.\int_a^b f(x)\,dx \;=\; \lim_{t \to b^-} \int_a^t f(x)\,dx. Similarly for a singularity at the left endpoint, or at an interior point (split and take two separate limits).

Typical example. 011xdx=limt0+t1x1/2dx=limt0+[2x]t1=2\int_0^1 \frac{1}{\sqrt{x}}\,dx = \lim_{t \to 0^+} \int_t^1 x^{-1/2}\,dx = \lim_{t \to 0^+} [2\sqrt{x}]_t^1 = 2, converges; 011xdx=limt0+(lnt)=+\int_0^1 \frac{1}{x}\,dx = \lim_{t \to 0^+} (-\ln t) = +\infty, diverges.

Harmonic rule for finite-singularity improper integrals. 011xpdx\int_0^1 \frac{1}{x^p}\,dx converges iff p<1p < 1 (and equals 11p\frac{1}{1-p}); diverges iff p1p \ge 1.

2.13 Cauchy principal value (PV)

Let f:RRf : \mathbb{R} \to \mathbb{R} be integrable on every [K,K][-K, K]. The Cauchy principal value of +f(x)dx\int_{-\infty}^{+\infty} f(x)\,dx is PV+f(x)dx  =  limK+KKf(x)dx\operatorname{PV}\int_{-\infty}^{+\infty} f(x)\,dx \;=\; \lim_{K \to +\infty} \int_{-K}^{K} f(x)\,dx provided this single symmetric limit exists. The definition uses one parameter KK for both bounds.

Key fact. If the classical improper integral +f(x)dx\int_{-\infty}^{+\infty} f(x)\,dx converges, then its PV equals the classical value. However, the PV may exist even when the classical improper integral diverges — because the symmetric cancellation can kill a divergence. See Example 4.6 below (PV+(2x3)dx\operatorname{PV}\int_{-\infty}^{+\infty}(2x - 3)\,dx).

A similar PV definition applies at a finite singularity: PVabf=limε0+(acε+c+εb)\operatorname{PV}\int_a^b f = \lim_{\varepsilon \to 0^+}\bigl(\int_a^{c - \varepsilon} + \int_{c + \varepsilon}^b\bigr) with the same ε\varepsilon on both sides of an interior singularity cc.

2.14 Integral function F(x)=axf(t)dtF(x) = \int_a^x f(t)\,dt

Let f:[a,b]Rf : [a, b] \to \mathbb{R} be integrable. The integral function of ff with base point aa is F:[a,b]R,F(x)  =  axf(t)dt.F : [a, b] \to \mathbb{R}, \qquad F(x) \;=\; \int_a^x f(t)\,dt. (Here tt is a dummy integration variable and xx is the upper bound.) By convention F(a)=0F(a) = 0.

Properties.

  • FF is always Lipschitz continuous on [a,b][a,b] (and hence uniformly continuous): F(x)F(y)Mxy|F(x) - F(y)| \le M|x - y| where M=supfM = \sup|f|. Proof sketch. F(x)F(y)=yxfdtyxfdtMxy|F(x) - F(y)| = |\int_y^x f\,dt| \le \int_y^x |f|\,dt \le M|x-y| using the absolute-value property 1883.
  • If moreover ff is continuous, then FF is differentiable and F(x)=f(x)F'(x) = f(x) (Theorem 1899, Second FTC) — so FF is a primitive of ff.

Geometric interpretation. F(x)F(x) is the signed area between the graph of ff and the xx-axis from aa to xx. Increasing xx adds more area on the right.


§3. Theorems, Propositions & Proofs

3.1 Theorem 1857 — Lower and upper integrals are finite

Statement. Let f:[a,b]Rf : [a, b] \to \mathbb{R} be positive and bounded on [a,b][a, b]. Then (1) the lower and upper integrals abf(x)dx\underline{\int_a^b} f(x)\,dx and abf(x)dx\overline{\int_a^b} f(x)\,dx are both finite; (2) abf(x)dxabf(x)dx\underline{\int_a^b} f(x)\,dx \le \overline{\int_a^b} f(x)\,dx.

Source: Proofs - Integral Calculus.pdf p.1 (handwritten theorem 1857).

Proof.

ff is positive and bounded, so there exists M>0M > 0 with 0f(x)M0 \le f(x) \le M for every x[a,b]x \in [a, b]. For any subdivision Π={x0,,xn}\Pi = \{x_0, \ldots, x_n\} and every ii, 0miMiM0 \le m_i \le M_i \le M. Therefore 0  =  i=1n0Δxi    i=1nmiΔxi    i=1nMiΔxi    i=1nMΔxi  =  Mi=1nΔxi  =  M(ba).0 \;=\; \sum_{i=1}^n 0 \cdot \Delta x_i \;\le\; \sum_{i=1}^n m_i \cdot \Delta x_i \;\le\; \sum_{i=1}^n M_i \cdot \Delta x_i \;\le\; \sum_{i=1}^n M \cdot \Delta x_i \;=\; M \sum_{i=1}^n \Delta x_i \;=\; M(b - a). That is, 0 \;\le\; I(f, \Pi) \;\le\; S(f, \Pi) \;\le\; M(b - a) \qquad \forall\, \Pi \in \pi. \tag{$\ast$} Taking supremum over Π\Pi in the first inequality of ()(\ast): 0    abf(x)dx  =  supΠπI(f,Π)    M(ba)  <  +(finite).0 \;\le\; \underline{\int_a^b} f(x)\,dx \;=\; \sup_{\Pi \in \pi} I(f, \Pi) \;\le\; M(b - a) \;<\; +\infty \qquad \text{(finite).} Taking infimum over Π\Pi in the last inequality of ()(\ast): 0    abf(x)dx  =  infΠπS(f,Π)    M(ba)  <  +(finite).0 \;\le\; \overline{\int_a^b} f(x)\,dx \;=\; \inf_{\Pi \in \pi} S(f, \Pi) \;\le\; M(b - a) \;<\; +\infty \qquad \text{(finite).} This proves (1).

For (2), suppose by contradiction that abf>abf\underline{\int_a^b} f > \overline{\int_a^b} f and set δ  :=  abf(x)dx    abf(x)dx  >  0.\delta \;:=\; \underline{\int_a^b} f(x)\,dx \;-\; \overline{\int_a^b} f(x)\,dx \;>\; 0. Using the properties of infimums and supremums, for any ε>0\varepsilon > 0 (take ε=δ/2\varepsilon = \delta / 2) there exist partitions Π,Π\Pi', \Pi'' such that I(f,Π)  >  abf(x)dx    δ2,S(f,Π)  <  abf(x)dx  +  δ2.I(f, \Pi') \;>\; \underline{\int_a^b} f(x)\,dx \;-\; \frac{\delta}{2}, \qquad S(f, \Pi'') \;<\; \overline{\int_a^b} f(x)\,dx \;+\; \frac{\delta}{2}. Subtracting the two inequalities: I(f,Π)S(f,Π)  >  (abfδ2)(abf+δ2)  =  abfabfδ  =  δδ  =  0.I(f, \Pi') - S(f, \Pi'') \;>\; \Bigl(\underline{\int_a^b} f - \frac{\delta}{2}\Bigr) - \Bigl(\overline{\int_a^b} f + \frac{\delta}{2}\Bigr) \;=\; \underline{\int_a^b} f - \overline{\int_a^b} f - \delta \;=\; \delta - \delta \;=\; 0.

Now consider the common refinement Π=ΠΠ\Pi = \Pi' \cup \Pi''. Refinement monotonicity gives I(f,Π)I(f,Π)I(f, \Pi) \ge I(f, \Pi') and S(f,Π)S(f,Π)S(f, \Pi) \le S(f, \Pi''). Combining: I(f,Π)S(f,Π)    I(f,Π)S(f,Π)  >  0,I(f, \Pi) - S(f, \Pi) \;\ge\; I(f, \Pi') - S(f, \Pi'') \;>\; 0, i.e., I(f,Π)>S(f,Π)I(f, \Pi) > S(f, \Pi) — which is absurd since the lower sum never exceeds the upper sum. Therefore abfabf\underline{\int_a^b} f \le \overline{\int_a^b} f. \blacksquare


3.2 Theorem 1869 — Riemann integrability criterion (SI<εS - I < \varepsilon)

Statement. Let f:[a,b]Rf : [a, b] \to \mathbb{R} be bounded. Then ff is Riemann-integrable on [a,b][a, b] if and only if for every ε>0\varepsilon > 0 there exists a subdivision Π\Pi of [a,b][a, b] such that S(f,Π)    I(f,Π)  <  ε.S(f, \Pi) \;-\; I(f, \Pi) \;<\; \varepsilon.

Source: Proofs - Integral Calculus.pdf p.2 (handwritten theorem 1869).

Proof.

(\Rightarrow) Riemann integrability \Longrightarrow existence of a partition with SI<εS - I < \varepsilon.

Assume ff is Riemann-integrable, so abf=abf\underline{\int_a^b} f = \overline{\int_a^b} f. Fix ε>0\varepsilon > 0 and set δ=ε/2>0\delta = \varepsilon / 2 > 0. Using the properties of infimums and supremums, there exist partitions Π,Π\Pi', \Pi'' with I(f,Π)  >  abf    δ,S(f,Π)  <  abf  +  δ.I(f, \Pi') \;>\; \underline{\int_a^b} f \;-\; \delta, \qquad S(f, \Pi'') \;<\; \overline{\int_a^b} f \;+\; \delta. Consider the common refinement Π=ΠΠ\Pi = \Pi' \cup \Pi''. By refinement monotonicity, I(f,Π)I(f,Π)I(f, \Pi) \ge I(f, \Pi') and S(f,Π)S(f,Π)S(f, \Pi) \le S(f, \Pi''). Hence S(f,Π)I(f,Π)    S(f,Π)I(f,Π)  <  (abf+δ)(abfδ)  =  abfabf=0  +  2δ  =  2δ.S(f, \Pi) - I(f, \Pi) \;\le\; S(f, \Pi'') - I(f, \Pi') \;<\; \Bigl(\overline{\int_a^b} f + \delta\Bigr) - \Bigl(\underline{\int_a^b} f - \delta\Bigr) \;=\; \underbrace{\overline{\int_a^b} f - \underline{\int_a^b} f}_{= 0} \;+\; 2\delta \;=\; 2\delta. The underbraced term is zero by integrability. With δ=ε/2\delta = \varepsilon / 2, this gives S(f,Π)I(f,Π)<εS(f, \Pi) - I(f, \Pi) < \varepsilon. \checkmark

(\Leftarrow) Existence of such partitions for every ε>0\varepsilon > 0 \Longrightarrow Riemann integrability.

Assume: ε>0\forall\,\varepsilon > 0, \exists a partition Π\Pi of [a,b][a,b] with S(f,Π)I(f,Π)<εS(f, \Pi) - I(f, \Pi) < \varepsilon. For every Π\Pi: abf    I(f,Π),abf    S(f,Π)\underline{\int_a^b} f \;\ge\; I(f, \Pi), \qquad \overline{\int_a^b} f \;\le\; S(f, \Pi) (by the sup / inf definitions). Therefore abf    abf    S(f,Π)I(f,Π)  <  ε.\overline{\int_a^b} f \;-\; \underline{\int_a^b} f \;\le\; S(f, \Pi) - I(f, \Pi) \;<\; \varepsilon. Since this holds for every ε>0\varepsilon > 0 and the difference abfabf0\overline{\int_a^b} f - \underline{\int_a^b} f \ge 0 by Theorem 1857, we conclude abf  =  abf,\overline{\int_a^b} f \;=\; \underline{\int_a^b} f, i.e., ff is Riemann-integrable. \blacksquare


3.3 Theorem 1875 — Every continuous function on [a,b][a,b] is Riemann-integrable

Statement. Every continuous function f:[a,b]Rf : [a, b] \to \mathbb{R} is Riemann-integrable on [a,b][a, b].

Source: Proofs - Integral Calculus.pdf p.3 (handwritten theorem 1875).

Proof.

Because ff is continuous on the compact interval [a,b][a, b]:

  • By the Heine–Cantor theorem, ff is uniformly continuous on [a,b][a, b].
  • By the Weierstrass theorem, ff attains a minimum and maximum on [a,b][a, b], hence ff is bounded.

Fix ε>0\varepsilon > 0. By uniform continuity there exists δ=δ(ε)>0\delta = \delta(\varepsilon) > 0 such that x,y[a,b],xy<δ    f(x)f(y)<ε.\forall\,x, y \in [a, b], \quad |x - y| < \delta \;\Longrightarrow\; |f(x) - f(y)| < \varepsilon.

Choose a subdivision Π={x0,,xn}\Pi = \{x_0, \ldots, x_n\} of [a,b][a, b] with mesh Π<δ|\Pi| < \delta. Then for every ii and every x,y[xi1,xi]x, y \in [x_{i-1}, x_i] we have xyΔxiΠ<δ|x - y| \le \Delta x_i \le |\Pi| < \delta, so f(x)f(y)<ε|f(x) - f(y)| < \varepsilon.

Applying Weierstrass on each sub-interval [xi1,xi][x_{i-1}, x_i] (a compact), ff attains its min and max there: Mimi  =  maxx[xi1,xi]f(x)    minx[xi1,xi]f(x)  <  ε.M_i - m_i \;=\; \max_{x \in [x_{i-1}, x_i]} f(x) \;-\; \min_{x \in [x_{i-1}, x_i]} f(x) \;<\; \varepsilon.

Therefore S(f,Π)I(f,Π)  =  i=1nMiΔxii=1nmiΔxi  =  i=1n(Mimi)Δxi  <  i=1nεΔxi  =  εi=1nΔxi  =  ε(ba).S(f, \Pi) - I(f, \Pi) \;=\; \sum_{i=1}^n M_i \Delta x_i - \sum_{i=1}^n m_i \Delta x_i \;=\; \sum_{i=1}^n (M_i - m_i)\,\Delta x_i \;<\; \sum_{i=1}^n \varepsilon \cdot \Delta x_i \;=\; \varepsilon \sum_{i=1}^n \Delta x_i \;=\; \varepsilon (b - a).

We have shown: for every ε>0\varepsilon > 0, there exists a partition Π\Pi with S(f,Π)I(f,Π)<ε(ba)S(f, \Pi) - I(f, \Pi) < \varepsilon(b - a). To match the hypothesis of Theorem 1869 exactly, rescale: given any target ε>0\varepsilon^\ast > 0, apply the above with ε=ε/(ba)\varepsilon' = \varepsilon^\ast / (b - a); we obtain a partition Π\Pi' with S(f,Π)I(f,Π)<ε(ba)=εS(f, \Pi') - I(f, \Pi') < \varepsilon'(b - a) = \varepsilon^\ast. By Theorem 1869, ff is Riemann-integrable on [a,b][a, b]. \blacksquare

Remark. Other useful integrability criteria in the course (not proved here, but good to know):

  • If ff is bounded on [a,b][a,b] and has a finite or countable number of discontinuities, then ff is integrable.
  • If ff is monotonic on [a,b][a,b], then ff is integrable (monotonic functions have at most countably many discontinuities).
  • ff unbounded on [a,b][a,b] \Rightarrow ff not Riemann-integrable (requires the improper framework).

3.4 Property 1883 — Absolute value property for definite integrals

Statement. Let f:[a,b]Rf : [a, b] \to \mathbb{R} be integrable (so f|f| is also integrable). Then abf(x)dx    abf(x)dx.\Bigl|\int_a^b f(x)\,dx\Bigr| \;\le\; \int_a^b |f(x)|\,dx.

Source: Proofs - Integral Calculus.pdf p.7 (handwritten theorem 1883).

Proof.

Since f(x)f(x)f(x) \le |f(x)| and f(x)f(x)-f(x) \le |f(x)| pointwise on [a,b][a,b], the monotonicity property (Prop. 1882) gives abf(x)dx    abf(x)dx,ab(f)(x)dx    abf(x)dx.\int_a^b f(x)\,dx \;\le\; \int_a^b |f(x)|\,dx, \qquad \int_a^b (-f)(x)\,dx \;\le\; \int_a^b |f(x)|\,dx. By linearity (homogeneity with α=1\alpha = -1), ab(f)=abf\int_a^b (-f) = -\int_a^b f, so the second inequality is abf(x)dx    abf(x)dx.-\int_a^b f(x)\,dx \;\le\; \int_a^b |f(x)|\,dx. Together: abfdx    abfdx    abfdxabfdx    abfdx.-\int_a^b |f|\,dx \;\le\; \int_a^b f\,dx \;\le\; \int_a^b |f|\,dx \qquad \Longleftrightarrow \qquad \Bigl|\int_a^b f\,dx\Bigr| \;\le\; \int_a^b |f|\,dx. \qquad \blacksquare


3.5 Property 1884 — Boundedness of the definite integral

Statement. Let f:[a,b]Rf : [a, b] \to \mathbb{R} be integrable. If m=inf[a,b]f(x)m = \inf_{[a,b]} f(x) and M=sup[a,b]f(x)M = \sup_{[a,b]} f(x), then m(ba)    abf(x)dx    M(ba).m(b - a) \;\le\; \int_a^b f(x)\,dx \;\le\; M(b - a).

Source: Proofs - Integral Calculus.pdf p.8 (handwritten theorem 1884).

Proof.

Since mf(x)Mm \le f(x) \le M for every x[a,b]x \in [a, b], by the monotonicity property abmdx    abf(x)dx    abMdx.\int_a^b m\,dx \;\le\; \int_a^b f(x)\,dx \;\le\; \int_a^b M\,dx. But abmdx=mab1dx=m[x]ab=m(ba)\int_a^b m\,dx = m \int_a^b 1\,dx = m \cdot [x]_a^b = m(b - a), and similarly abMdx=M(ba)\int_a^b M\,dx = M(b - a). Therefore m(ba)    abf(x)dx    M(ba).m(b - a) \;\le\; \int_a^b f(x)\,dx \;\le\; M(b - a). \qquad \blacksquare


3.6 Theorem 1885 — Integral Mean Value Theorem

Statement. Let f:[a,b]Rf : [a, b] \to \mathbb{R} be bounded and integrable, with m=inffm = \inf f and M=supfM = \sup f. Then: (1) there exists λ[m,M]\lambda \in [m, M] such that abf(x)dx=λ(ba)\int_a^b f(x)\,dx = \lambda(b - a); (2) if moreover ff is continuous on [a,b][a, b], then there exists c[a,b]c \in [a, b] with f(c)=λf(c) = \lambda, i.e., abf(x)dx  =  f(c)(ba)for some c[a,b].\int_a^b f(x)\,dx \;=\; f(c)(b - a) \qquad \text{for some } c \in [a, b].

Source: Proofs - Integral Calculus.pdf p.9 (handwritten theorem 1885).

Proof of (1). By the boundedness property 1884, m(ba)abfM(ba)m(b - a) \le \int_a^b f \le M(b - a). Divide by ba>0b - a > 0: m    abf(x)dxba    M.m \;\le\; \frac{\int_a^b f(x)\,dx}{b - a} \;\le\; M. Set λ:=abf(x)dxba\lambda := \dfrac{\int_a^b f(x)\,dx}{b - a}. Then λ[m,M]\lambda \in [m, M] and abf(x)dx=λ(ba)\int_a^b f(x)\,dx = \lambda(b - a) by construction.

Proof of (2). If ff is continuous on [a,b][a, b], by the Intermediate Value Theorem ff takes every value in [minf,maxf]=[m,M][\min f, \max f] = [m, M]. Since λ[m,M]\lambda \in [m, M], there is c[a,b]c \in [a, b] with f(c)=λf(c) = \lambda. Substituting into (1): abf(x)dx  =  f(c)(ba).\int_a^b f(x)\,dx \;=\; f(c)(b - a). \qquad \blacksquare

Why this matters. This is the engine of the proof of Theorem 1899 (Second FTC). The mean value λ\lambda is the "average height" of ff; f(c)(ba)f(c) \cdot (b-a) says there exists a horizontal line at height f(c)f(c) that encloses the same area under it as ff does.


3.7 Theorem 1894 — First Fundamental Theorem of Calculus (Newton–Leibniz) ⭐

Statement. Let f:[a,b]Rf : [a, b] \to \mathbb{R}. If (1) ff is integrable on [a,b][a, b], and (2) ff has primitives on [a,b][a, b] and P:[a,b]RP : [a, b] \to \mathbb{R} is one of them (so P(x)=f(x)P'(x) = f(x) on [a,b][a,b]),

then abf(x)dx  =  [P(x)]ab  =  P(b)P(a).\int_a^b f(x)\,dx \;=\; \bigl[P(x)\bigr]_a^b \;=\; P(b) - P(a).

Source: Proofs - Integral Calculus.pdf p.11 (handwritten theorem 1894).

⭐ This is the proof most likely to be requested on the exam (May 2024 Q9).

Proof.

Consider an arbitrary subdivision Π={x0,x1,,xn}\Pi = \{x_0, x_1, \ldots, x_n\} of [a,b][a, b] with a=x0<x1<<xn=ba = x_0 < x_1 < \cdots < x_n = b.

Step 1 — Telescoping sum. Write P(b)P(a)P(b) - P(a) as a telescoping sum by inserting and cancelling all intermediate P(xi)P(x_i): P(b)P(a)  =  P(xn)P(xn1)+P(xn1)P(x1)+P(x1)P(x0)  =  i=1n[P(xi)P(xi1)].P(b) - P(a) \;=\; P(x_n) - P(x_{n-1}) + P(x_{n-1}) - \cdots - P(x_1) + P(x_1) - P(x_0) \;=\; \sum_{i=1}^n \bigl[P(x_i) - P(x_{i-1})\bigr]. All intermediate terms cancel in pairs: +P(xn1)P(xn1)=0+P(x_{n-1}) - P(x_{n-1}) = 0, etc.

Step 2 — Apply Lagrange's Mean Value Theorem on each sub-interval. PP is a primitive of ff, so PP is differentiable on (xi1,xi)(x_{i-1}, x_i) and continuous on [xi1,xi][x_{i-1}, x_i] for every ii. By Lagrange's Mean Value Theorem, for each i{1,,n}i \in \{1, \ldots, n\} there exists ξi[xi1,xi]\xi_i \in [x_{i-1}, x_i] such that P(ξi)  =  P(xi)P(xi1)xixi1.P'(\xi_i) \;=\; \frac{P(x_i) - P(x_{i-1})}{x_i - x_{i-1}}. Since PP is a primitive of ff, we have P(ξi)=f(ξi)P'(\xi_i) = f(\xi_i). Rearranging: P(xi)P(xi1)  =  f(ξi)(xixi1)  =  f(ξi)Δxi.P(x_i) - P(x_{i-1}) \;=\; f(\xi_i)(x_i - x_{i-1}) \;=\; f(\xi_i) \Delta x_i.

Step 3 — Recognise the Riemann sum. Substituting into the telescoping sum: P(b)P(a)  =  i=1n[P(xi)P(xi1)]  =  i=1nf(ξi)Δxi.P(b) - P(a) \;=\; \sum_{i=1}^n \bigl[P(x_i) - P(x_{i-1})\bigr] \;=\; \sum_{i=1}^n f(\xi_i) \Delta x_i. This is a Riemann sum for ff: it is an approximation of the definite integral abf(x)dx\int_a^b f(x)\,dx, sandwiched between the lower and upper sums. Indeed, for each ii: mi    f(ξi)    MimiΔxi    f(ξi)Δxi    MiΔxi,m_i \;\le\; f(\xi_i) \;\le\; M_i \qquad \Longrightarrow \qquad m_i \Delta x_i \;\le\; f(\xi_i)\Delta x_i \;\le\; M_i \Delta x_i, and summing, I(f,Π)    i=1nf(ξi)Δxi    S(f,Π).I(f, \Pi) \;\le\; \sum_{i=1}^n f(\xi_i)\Delta x_i \;\le\; S(f, \Pi). Combined with Step 2: I(f, \Pi) \;\le\; P(b) - P(a) \;\le\; S(f, \Pi) \qquad \forall\, \Pi \in \pi. \tag{$\star$}

Step 4 — Pass to the sup / inf. The value P(b)P(a)P(b) - P(a) does not depend on Π\Pi. Taking supremum over Π\Pi in the left inequality and infimum in the right inequality of ()(\star): supΠπI(f,Π)    P(b)P(a)    infΠπS(f,Π),\sup_{\Pi \in \pi} I(f, \Pi) \;\le\; P(b) - P(a) \;\le\; \inf_{\Pi \in \pi} S(f, \Pi), i.e., abf(x)dx    P(b)P(a)    abf(x)dx.\underline{\int_a^b} f(x)\,dx \;\le\; P(b) - P(a) \;\le\; \overline{\int_a^b} f(x)\,dx.

Step 5 — Conclude using integrability. By hypothesis ff is integrable, so abf=abf=abf\underline{\int_a^b} f = \overline{\int_a^b} f = \int_a^b f. Squeezed between two equal quantities: abf(x)dx  =  P(b)P(a)  =  [P(x)]ab.\int_a^b f(x)\,dx \;=\; P(b) - P(a) \;=\; \bigl[P(x)\bigr]_a^b. \qquad \blacksquare

Exam tip. When reproducing this proof, make sure you explicitly flag the three ingredients: (i) integrability of ff so that upper = lower, (ii) primitivability so that PP exists and is differentiable, (iii) Lagrange's MVT on each sub-interval to turn PP-differences into ff-values.


3.8 Theorem 1899 — Second Fundamental Theorem of Calculus

Statement. Let f:[a,b]Rf : [a, b] \to \mathbb{R} be continuous. Then its integral function F(x)  =  axf(t)dtF(x) \;=\; \int_a^x f(t)\,dt is a primitive of ff on [a,b][a, b]: FF is differentiable on [a,b][a, b] with F(x)  =  f(x)x[a,b].F'(x) \;=\; f(x) \qquad \forall\, x \in [a, b].

Source: Proofs - Integral Calculus.pdf p.13 (handwritten theorem 1899). See also p.12 for the preliminary result that FF is Lipschitz-continuous for any integrable ff.

Proof.

Let x0[a,b]x_0 \in [a, b]. We show F(x0)=f(x0)F'(x_0) = f(x_0) by computing the right and left derivatives separately and showing they agree.

Right derivative (h>0h > 0). For x0,x0+h[a,b]x_0, x_0 + h \in [a, b] with h>0h > 0: F(x0+h)F(x0)  =  ax0+hf(t)dtax0f(t)dt  =  x0x0+hf(t)dt.F(x_0 + h) - F(x_0) \;=\; \int_a^{x_0 + h} f(t)\,dt - \int_a^{x_0} f(t)\,dt \;=\; \int_{x_0}^{x_0 + h} f(t)\,dt. The last equality uses additivity with respect to the interval.

Since ff is continuous on [x0,x0+h][x_0, x_0 + h] (a compact sub-interval of [a,b][a,b]), by the Integral Mean Value Theorem (Theorem 1885, part 2), there exists c[x0,x0+h]c \in [x_0, x_0 + h] with x0x0+hf(t)dt  =  f(c)h.\int_{x_0}^{x_0 + h} f(t)\,dt \;=\; f(c) \cdot h. Hence F(x0+h)F(x0)h  =  f(c)hh  =  f(c).\frac{F(x_0 + h) - F(x_0)}{h} \;=\; \frac{f(c) \cdot h}{h} \;=\; f(c).

Take h0+h \to 0^+: c[x0,x0+h]c \in [x_0, x_0 + h] forces cx0+c \to x_0^+, and since ff is continuous at x0x_0, f(c)f(x0)f(c) \to f(x_0). Therefore F+(x0)  =  limh0+F(x0+h)F(x0)h  =  limcx0+f(c)  =  f(x0).F'_+(x_0) \;=\; \lim_{h \to 0^+} \frac{F(x_0 + h) - F(x_0)}{h} \;=\; \lim_{c \to x_0^+} f(c) \;=\; f(x_0).

Left derivative (h<0h < 0). Repeat the procedure with h<0h < 0: using F(x0+h)F(x0)  =  [F(x0)F(x0+h)]  =  x0+hx0f(t)dt,F(x_0 + h) - F(x_0) \;=\; -\bigl[F(x_0) - F(x_0 + h)\bigr] \;=\; -\int_{x_0 + h}^{x_0} f(t)\,dt, and applying the Integral Mean Value Theorem on [x0+h,x0][x_0 + h, x_0], there exists c[x0+h,x0]c \in [x_0 + h, x_0] with x0+hx0f(t)dt  =  f(c)(h).\int_{x_0 + h}^{x_0} f(t)\,dt \;=\; f(c) \cdot (-h). Hence F(x0+h)F(x0)h  =  f(c)(h)h  =  f(c),\frac{F(x_0 + h) - F(x_0)}{h} \;=\; \frac{-f(c) \cdot (-h)}{h} \;=\; f(c), and cx0c \to x_0^- as h0h \to 0^-, so F(x0)=f(x0)F'_-(x_0) = f(x_0) by continuity.

Conclusion. F+(x0)=F(x0)=f(x0)F'_+(x_0) = F'_-(x_0) = f(x_0), so F(x0)=f(x0)F'(x_0) = f(x_0). Since x0[a,b]x_0 \in [a,b] was arbitrary, F(x)=f(x)F'(x) = f(x) on [a,b][a,b]. For the endpoints x0=ax_0 = a or x0=bx_0 = b, the one-sided limit is the relevant definition of the derivative. Therefore FF is a primitive of ff. \blacksquare

Corollary. If ff is continuous on [a,b][a,b], then ff has primitives on [a,b][a,b] — Theorem 1899 produces one explicitly.


3.9 Theorem 1903 — Linearity of primitives / indefinite integrals

Statement. Let IRI \subseteq \mathbb{R} be an interval and f,g:IRf, g : I \to \mathbb{R} be functions that have primitives on II. Then for any α,βR\alpha, \beta \in \mathbb{R}, the linear combination αf+βg\alpha f + \beta g also has primitives on II, and (αf+βg)(x)dx  =  αf(x)dx  +  βg(x)dx  +  Kfor some KR.\int (\alpha f + \beta g)(x)\,dx \;=\; \alpha \int f(x)\,dx \;+\; \beta \int g(x)\,dx \;+\; K \qquad \text{for some } K \in \mathbb{R}.

Source: Proofs - Integral Calculus.pdf p.15 (handwritten theorem 1903).

Proof.

Let Pf,PgP_f, P_g be primitives of f,gf, g respectively on II, so Pf=fP_f' = f and Pg=gP_g' = g. Compute the derivative of the linear combination αPf+βPg\alpha P_f + \beta P_g: [αPf(x)+βPg(x)]  =  α[Pf(x)]  +  β[Pg(x)]  =  αf(x)+βg(x)  =  (αf+βg)(x).\bigl[\alpha P_f(x) + \beta P_g(x)\bigr]' \;=\; \alpha\bigl[P_f(x)\bigr]' \;+\; \beta\bigl[P_g(x)\bigr]' \;=\; \alpha f(x) + \beta g(x) \;=\; (\alpha f + \beta g)(x). The first equality is the linearity of the derivative.

Therefore αPf+βPg\alpha P_f + \beta P_g is a primitive of αf+βg\alpha f + \beta g. Since any two primitives of the same function differ by a constant, we get (αf+βg)(x)dx  =  αPf(x)+βPg(x)+K  =  αf(x)dx+βg(x)dx+K.\int (\alpha f + \beta g)(x)\,dx \;=\; \alpha P_f(x) + \beta P_g(x) + K \;=\; \alpha \int f(x)\,dx + \beta \int g(x)\,dx + K. \qquad \blacksquare

Corollary (linearity of definite integrals). Combined with Theorem 1894, we obtain ab[αf(x)+βg(x)]dx  =  αabf(x)dx+βabg(x)dx.\int_a^b [\alpha f(x) + \beta g(x)]\,dx \;=\; \alpha \int_a^b f(x)\,dx + \beta \int_a^b g(x)\,dx.


3.10 Proposition 1905 — Integration by parts

Statement. Let f,g:IRf, g : I \to \mathbb{R} be differentiable functions on an interval II. Then f(x)g(x)dx+f(x)g(x)dx  =  f(x)g(x)+Kfor some KR,\int f'(x) g(x)\,dx + \int f(x) g'(x)\,dx \;=\; f(x) g(x) + K \qquad \text{for some } K \in \mathbb{R}, equivalently, f(x)g(x)dx  =  f(x)g(x)f(x)g(x)dx.\boxed{\int f'(x) g(x)\,dx \;=\; f(x) g(x) - \int f(x) g'(x)\,dx.}

Source: Proofs - Integral Calculus.pdf p.16 (handwritten).

Proof.

Start from the product rule (Leibniz) for the derivative: [f(x)g(x)]  =  f(x)g(x)+f(x)g(x).\bigl[f(x) \cdot g(x)\bigr]' \;=\; f'(x) g(x) + f(x) g'(x).

Integrate both sides on the interval II. The left-hand side integrates to a primitive of itself, so f(x)g(x)  =  [f(x)g(x)+f(x)g(x)]dx.f(x) \cdot g(x) \;=\; \int \bigl[f'(x) g(x) + f(x) g'(x)\bigr]\,dx.

By linearity (Theorem 1903): f(x)g(x)  =  f(x)g(x)dx+f(x)g(x)dx+hfor some hR.f(x) \cdot g(x) \;=\; \int f'(x) g(x)\,dx + \int f(x) g'(x)\,dx + h \qquad \text{for some } h \in \mathbb{R}.

Setting K:=hK := -h and rearranging: f(x)g(x)+K  =  f(x)g(x)dx+f(x)g(x)dx.f(x) \cdot g(x) + K \;=\; \int f'(x) g(x)\,dx + \int f(x) g'(x)\,dx. \qquad \blacksquare

Practical formula. The version used in practice is fgdx=fgfgdx\int f'g\,dx = fg - \int fg'\,dx. The strategy is to choose gg (the factor to be differentiated, so ggg \to g') to be the one that becomes simpler after differentiation, and ff' (the factor to be integrated, so fff' \to f) to be the one with a known antiderivative. Use the LIATE heuristic (see M-IC-1 in §5).


3.11 Proposition 1908 — Integration by substitution

Statement. Let I,JRI, J \subseteq \mathbb{R} be intervals. Assume (1) f:IRf : I \to \mathbb{R} is continuous; (2) :[c,d]JR\ell : [c, d] \subseteq J \to \mathbb{R} is C(1)C^{(1)}, strictly increasing, with (c)=a\ell(c) = a and (d)=b\ell(d) = b (so ([c,d])=[a,b]I\ell([c,d]) = [a,b] \subseteq I).

Then: (i) \ell is invertible on [c,d][c, d] with inverse 1\ell^{-1}, and c=1(a)c = \ell^{-1}(a), d=1(b)d = \ell^{-1}(b); (ii) (f):[c,d]R(f \circ \ell) \cdot \ell' : [c, d] \to \mathbb{R} is integrable; (iii) the substitution formula holds: abf(x)dx  =  cdf((t))(t)dt  =  1(a)1(b)f((t))(t)dt.\int_a^b f(x)\,dx \;=\; \int_c^d f(\ell(t)) \cdot \ell'(t)\,dt \;=\; \int_{\ell^{-1}(a)}^{\ell^{-1}(b)} f(\ell(t)) \cdot \ell'(t)\,dt.

Source: Proofs - Integral Calculus.pdf p.17 (handwritten).

Proof.

(i) \ell is strictly increasing, hence injective; on the domain [c,d][c, d] it is bijective onto its image [a,b][a, b], and so admits an inverse 1:[a,b][c,d]\ell^{-1} : [a, b] \to [c, d]. From (c)=a\ell(c) = a and (d)=b\ell(d) = b we read off c=1(a)c = \ell^{-1}(a) and d=1(b)d = \ell^{-1}(b).

(ii) Consider the integral function F(x)  =  axf(t)dt,x[a,b].F(x) \;=\; \int_a^x f(t)\,dt, \qquad x \in [a, b]. By the First FTC (Theorem 1894), abf(x)dx=F(b)F(a)=F(b)\int_a^b f(x)\,dx = F(b) - F(a) = F(b) (since F(a)=0F(a) = 0).

Applying the chain rule to FF \circ \ell: [F](t)  =  [F](t)(t)  =  F((t))(t).\bigl[F \circ \ell\bigr]'(t) \;=\; \bigl[F' \circ \ell\bigr](t) \cdot \ell'(t) \;=\; F'(\ell(t)) \cdot \ell'(t). By the Second FTC (Theorem 1899) — which applies because ff is continuous — F(x)=f(x)F'(x) = f(x) on [a,b][a, b]. Substituting: [F](t)  =  f((t))(t)  =  (f)(t)(t).\bigl[F \circ \ell\bigr]'(t) \;=\; f(\ell(t)) \cdot \ell'(t) \;=\; (f \circ \ell)(t) \cdot \ell'(t).

This expression is integrable on [c,d][c, d]: ff \circ \ell is continuous (composition of continuous functions), and C([c,d])\ell' \in C^{([c,d])}, so their product is continuous, hence integrable by Theorem 1875.

(iii) Apply the First FTC to the continuous integrand (f)(f \circ \ell) \cdot \ell' on [c,d][c, d], with primitive FF \circ \ell: cd(f)(t)(t)dt  =  [F]cd  =  F((d))F((c))  =  F(b)F(a)  =  F(b)  =  abf(x)dx.\int_c^d (f \circ \ell)(t) \cdot \ell'(t)\,dt \;=\; \bigl[F \circ \ell\bigr]_c^d \;=\; F(\ell(d)) - F(\ell(c)) \;=\; F(b) - F(a) \;=\; F(b) \;=\; \int_a^b f(x)\,dx. \qquad \blacksquare

Mnemonic. The substitution x=(t)x = \ell(t) with dx=(t)dtdx = \ell'(t)\,dt transforms the integral: "replace xx by (t)\ell(t), and the measure dxdx by (t)dt\ell'(t)\,dt; change the bounds via 1\ell^{-1}." The strict monotonicity hypothesis guarantees the bounds are transported correctly (no folding). For a general substitution (not necessarily increasing), one has the same formula but with absolute value bars on \ell' if the domains overlap.

Indefinite version. f(x)g[f(x)]dx=G[f(x)]+C\int f'(x) g[f(x)]\,dx = G[f(x)] + C, where GG is an antiderivative of gg — this is the most commonly used form on the exam, as a pattern-matching shortcut.


3.12 Theorem 1928 — Monotonicity of improper integrals

Statement. Let f,g:[a,+)Rf, g : [a, +\infty) \to \mathbb{R} be integrable on every [a,t][a,+)[a, t] \subseteq [a, +\infty), and assume f(x)g(x)f(x) \le g(x) on [a,+)[a, +\infty). Then a+f(x)dx    a+g(x)dx,\int_a^{+\infty} f(x)\,dx \;\le\; \int_a^{+\infty} g(x)\,dx, whenever both sides exist (possibly ±\pm\infty). In particular: (1) if a+g\int_a^{+\infty} g converges to a finite LL, then a+fL\int_a^{+\infty} f \le L; (2) if a+f=+\int_a^{+\infty} f = +\infty, then a+g=+\int_a^{+\infty} g = +\infty.

Source: Integral Calculus.pdf p.46 (Sicconi "Comparison Test") and Proofs - Integral Calculus.pdf p.19 (comparison criterion, Theorem 1932). Cited on May 2024 MCQ3 solution as "theorem 1928".

Proof.

For every tat \ge a, the (ordinary) definite-integral monotonicity (Prop. 1882) applied on [a,t][a,t] gives atf(x)dx    atg(x)dx.\int_a^t f(x)\,dx \;\le\; \int_a^t g(x)\,dx. Take t+t \to +\infty: if both limits exist (the hypothesis "integrable on every [a,t][a,t]" plus eventual positivity ensures monotone convergence gives a limit in [0,+][0, +\infty]), then passing to the limit in the above inequality preserves \le, yielding a+f(x)dx    a+g(x)dx.\int_a^{+\infty} f(x)\,dx \;\le\; \int_a^{+\infty} g(x)\,dx. \qquad \blacksquare

Application to May 2024 MCQ3 (Mode A). The integrand x+lnxx3\frac{x + \ln x}{x^3} is positive on [1,+)[1, +\infty). Asymptotically x+lnxx3xx3=1x2\frac{x + \ln x}{x^3} \sim \frac{x}{x^3} = \frac{1}{x^2} at ++\infty, so by asymptotic comparison the integral converges (since 1+1x2dx=1\int_1^{+\infty} \frac{1}{x^2}\,dx = 1 is finite). Moreover, on [1,+)[1, +\infty) we have lnx0\ln x \ge 0, so x+lnxx3xx3=1x2\frac{x + \ln x}{x^3} \ge \frac{x}{x^3} = \frac{1}{x^2}. By Theorem 1928, 1+x+lnxx3dx    1+1x2dx.\int_1^{+\infty} \frac{x + \ln x}{x^3}\,dx \;\ge\; \int_1^{+\infty} \frac{1}{x^2}\,dx. Answer: D — "finite, but greater or equal than 1+1x2dx\int_1^{+\infty} \frac{1}{x^2}\,dx".


3.13 Theorem 1932 — Comparison criterion for improper integrals

Statement. Let f,g:[a,+)Rf, g : [a, +\infty) \to \mathbb{R} be positive and integrable on every [a,b][a,+)[a, b] \subseteq [a, +\infty). Assume f(x)g(x)f(x) \le g(x) on [a,+)[a, +\infty). Then: (1) if a+g(x)dx=L0\int_a^{+\infty} g(x)\,dx = L \ge 0 is finite, then a+f(x)dx=KL\int_a^{+\infty} f(x)\,dx = K \le L is also finite; (2) if a+f(x)dx=+\int_a^{+\infty} f(x)\,dx = +\infty, then a+g(x)dx=+\int_a^{+\infty} g(x)\,dx = +\infty.

Source: Proofs - Integral Calculus.pdf p.19 (handwritten theorem).

Proof.

By the "existence of the improper integral" theorem for positive functions (integrability on every [a,t][a, t] plus positivity gives a monotone-increasing integral function that has a limit in [0,+][0, +\infty]), both improper integrals a+f\int_a^{+\infty} f and a+g\int_a^{+\infty} g exist and are 0\ge 0.

By the monotonicity theorem (Theorem 1928), since fgf \le g, a+f(x)dx    a+g(x)dx.\int_a^{+\infty} f(x)\,dx \;\le\; \int_a^{+\infty} g(x)\,dx.

Therefore: (1) If a+g\int_a^{+\infty} g converges (to a finite LL), then a+fL<+\int_a^{+\infty} f \le L < +\infty too, hence it converges. (2) If a+f=+\int_a^{+\infty} f = +\infty, then a+g+=+\int_a^{+\infty} g \ge +\infty = +\infty. \blacksquare


3.14 Asymptotic comparison criterion (Theorem 1933)

Statement. Let f,g:[a,+)Rf, g : [a, +\infty) \to \mathbb{R} be positive and integrable on every [a,b][a,+)[a, b] \subseteq [a, +\infty). Then: (1) if fgf \sim g as x+x \to +\infty (i.e., limx+f(x)/g(x)=1\lim_{x \to +\infty} f(x) / g(x) = 1), then a+f\int_a^{+\infty} f and a+g\int_a^{+\infty} g have the same convergence behaviour: they both converge to positive numbers, or both diverge to ++\infty; (2) if f=o(g)f = o(g) as x+x \to +\infty (i.e., limx+f/g=0\lim_{x \to +\infty} f/g = 0), then: (a) if a+g=L0\int_a^{+\infty} g = L \ge 0 finite, then a+f=KL\int_a^{+\infty} f = K \le L finite; (b) if a+f=+\int_a^{+\infty} f = +\infty, then a+g=+\int_a^{+\infty} g = +\infty.

Source: Proofs - Integral Calculus.pdf p.20 (handwritten theorem 1933).

Proof.

(1) If fgf \sim g, then limx+f(x)/g(x)=1\lim_{x \to +\infty} f(x)/g(x) = 1. By the definition of limit, for ε=1/2\varepsilon = 1/2 there exists B>0B > 0 such that for every xBx \ge B: 12    f(x)g(x)    32,\frac{1}{2} \;\le\; \frac{f(x)}{g(x)} \;\le\; \frac{3}{2}, hence (since g>0g > 0): 12g(x)    f(x)    32g(x)xB.\frac{1}{2} g(x) \;\le\; f(x) \;\le\; \frac{3}{2} g(x) \qquad \forall\, x \ge B.

By the comparison criterion (Theorem 1932) applied on [B,+)[B, +\infty) (and noting that the behaviour on the bounded [a,B][a, B] does not affect convergence at infinity):

  • If B+32g=32B+g\int_B^{+\infty} \tfrac{3}{2} g = \tfrac{3}{2} \int_B^{+\infty} g converges (so B+g\int_B^{+\infty} g converges), then B+f\int_B^{+\infty} f converges.
  • If B+12g=12B+g\int_B^{+\infty} \tfrac{1}{2} g = \tfrac{1}{2} \int_B^{+\infty} g diverges to ++\infty (so B+g\int_B^{+\infty} g diverges), then B+f\int_B^{+\infty} f also diverges.

So f\int f and g\int g converge or diverge together.

(2) If f=o(g)f = o(g), then limf/g=0\lim f/g = 0. For ε=1\varepsilon = 1 there exists B>0B > 0 such that 0f(x)/g(x)10 \le f(x)/g(x) \le 1 for xBx \ge B (using that f,gf, g are positive, so the ratio is 0\ge 0). Hence 0    f(x)    g(x)xB.0 \;\le\; f(x) \;\le\; g(x) \qquad \forall\, x \ge B. The conclusions (a), (b) follow directly from the comparison criterion. \blacksquare

Practical recipe. To determine if a+f(x)dx\int_a^{+\infty} f(x)\,dx converges for a positive ff:

  1. Find the leading asymptotic behaviour of ff at ++\infty: usually f(x)C/xpf(x) \sim C / x^p for some pp.
  2. Apply the harmonic rule: 1+1/xpdx\int_1^{+\infty} 1/x^p\,dx converges iff p>1p > 1 (diverges iff p1p \le 1).
  3. Conclude via asymptotic comparison.

For a singularity at a finite endpoint (second kind), the harmonic rule flips: 011/xpdx\int_0^1 1/x^p\,dx converges iff p<1p < 1.


3.15 Theorem 1937 — Absolute convergence for improper integrals

Statement. Let f:[a,+)Rf : [a, +\infty) \to \mathbb{R} be integrable on every [a,b][a,+)[a, b] \subseteq [a, +\infty). If a+f(x)dx\int_a^{+\infty} |f(x)|\,dx converges (we say ff is absolutely integrable), then a+f(x)dx\int_a^{+\infty} f(x)\,dx also converges, and a+f(x)dx    a+f(x)dx.\Bigl|\int_a^{+\infty} f(x)\,dx\Bigr| \;\le\; \int_a^{+\infty} |f(x)|\,dx.

Source: Proofs - Integral Calculus.pdf p.22 (handwritten theorem 1937).

Proof.

Starting from the pointwise bound f(x)f(x)f(x)-|f(x)| \le f(x) \le |f(x)|, we have 0    f(x)+f(x)    2f(x)x.0 \;\le\; f(x) + |f(x)| \;\le\; 2|f(x)| \qquad \forall\, x. Since a+f\int_a^{+\infty} |f| converges, so does a+2f=2a+f\int_a^{+\infty} 2|f| = 2 \int_a^{+\infty} |f|. By the comparison criterion (applied to the non-negative function f+ff + |f| bounded above by 2f2|f|), a+[f(x)+f(x)]dx\int_a^{+\infty} [f(x) + |f(x)|]\,dx also converges.

Writing f(x)=[f(x)+f(x)]f(x)f(x) = [f(x) + |f(x)|] - |f(x)| (the f|f|'s cancel): a+f(x)dx  =  a+[f(x)+f(x)]dx    a+f(x)dx,\int_a^{+\infty} f(x)\,dx \;=\; \int_a^{+\infty} [f(x) + |f(x)|]\,dx \;-\; \int_a^{+\infty} |f(x)|\,dx, which is a difference of two convergent integrals, hence converges.

For the inequality: f(x)f(x)f(x)-|f(x)| \le f(x) \le |f(x)| combined with monotonicity gives a+fa+fa+f-\int_a^{+\infty} |f| \le \int_a^{+\infty} f \le \int_a^{+\infty} |f|, i.e., a+f(x)dx    a+f(x)dx.\Bigl|\int_a^{+\infty} f(x)\,dx\Bigr| \;\le\; \int_a^{+\infty} |f(x)|\,dx. \qquad \blacksquare

Use case. Absolute convergence is the standard tool for oscillating integrands like 1+sinx/x2dx\int_1^{+\infty} \sin x / x^2\,dx: since sinx/x21/x2|\sin x / x^2| \le 1/x^2, absolute convergence holds by comparison, hence the integral converges. Note the theorem is one-way: there is no comparable "absolute divergence" criterion.


3.16 Theorem 2030 — Barrow–Torricelli theorem

Statement. Let g:[a,b]Rg : [a, b] \to \mathbb{R} with g(a)=0g(a) = 0. The following are equivalent: (1) gg is continuously differentiable on [a,b][a, b] (i.e., gC0(1)([a,b])g \in C^{(1)}_0([a,b]), where C0(1)C^{(1)}_0 means C(1)C^{(1)} with value 00 at aa); (2) there exists a unique function γ:[a,b]R\gamma : [a, b] \to \mathbb{R}, continuous on [a,b][a,b], such that g(x)  =  axγ(t)dtx[a,b].g(x) \;=\; \int_a^x \gamma(t)\,dt \qquad \forall\, x \in [a, b].

Consequently the map T:C0(1)([a,b])C([a,b])T : C^{(1)}_0([a, b]) \to C([a, b]) defined by T(g)=gT(g) = g' is a bijection, with inverse T1(γ)(x)=axγ(t)dtT^{-1}(\gamma)(x) = \int_a^x \gamma(t)\,dt.

Source: Proofs - Integral Calculus.pdf p.14 (handwritten theorem 2030).

Proof.

(\Leftarrow) Assume there exists γC([a,b])\gamma \in C([a, b]) with g(x)=axγ(t)dtg(x) = \int_a^x \gamma(t)\,dt for every x[a,b]x \in [a, b].

  • By the Second FTC (Theorem 1899, applied to the continuous γ\gamma), the integral function G(x):=axγ(t)dtG(x) := \int_a^x \gamma(t)\,dt is differentiable with G(x)=γ(x)G'(x) = \gamma(x). Since g=Gg = G, we have g=γg' = \gamma.
  • g=γg' = \gamma is continuous by hypothesis, so gC(1)([a,b])g \in C^{(1)}([a,b]).
  • g(a)=aaγ=0g(a) = \int_a^a \gamma = 0 \checkmark.

Hence gC0(1)([a,b])g \in C^{(1)}_0([a, b]).

(\Rightarrow) Assume gC0(1)([a,b])g \in C^{(1)}_0([a, b]), so gg is C(1)C^{(1)} and g(a)=0g(a) = 0. By the First FTC (Theorem 1894) applied to gg' on [a,x][a, x]: g(x)g(a)  =  axg(t)dtg(x)  =  axg(t)dt,g(x) - g(a) \;=\; \int_a^x g'(t)\,dt \qquad \Longrightarrow \qquad g(x) \;=\; \int_a^x g'(t)\,dt, since g(a)=0g(a) = 0. Set γ:=gC([a,b])\gamma := g' \in C([a,b]). Then g(x)=axγ(t)dtg(x) = \int_a^x \gamma(t)\,dt. \checkmark

Uniqueness of γ\gamma. Suppose γ1,γ2C([a,b])\gamma_1, \gamma_2 \in C([a,b]) both satisfy g(x)=axγi(t)dtg(x) = \int_a^x \gamma_i(t)\,dt. By the Second FTC, g=γ1g' = \gamma_1 and g=γ2g' = \gamma_2, so γ1=γ2\gamma_1 = \gamma_2.

Bijectivity of TT.

  • Injectivity. If T(g1)=T(g2)=γT(g_1) = T(g_2) = \gamma, then both g1(x)=axγg_1(x) = \int_a^x \gamma and g2(x)=axγg_2(x) = \int_a^x \gamma (using giC0(1)g_i \in C^{(1)}_0 and the \Rightarrow direction), so g1=g2g_1 = g_2.
  • Surjectivity. For any γC([a,b])\gamma \in C([a,b]), define g(x)=axγ(t)dtg(x) = \int_a^x \gamma(t)\,dt. Then gC0(1)g \in C^{(1)}_0 by the \Leftarrow direction, and T(g)=g=γT(g) = g' = \gamma.

So TT is a bijection with inverse T1(γ)=aγ(t)dtT^{-1}(\gamma) = \int_a^{\cdot} \gamma(t)\,dt. \blacksquare

Interpretation. Differentiation and integration (with a fixed base point) are inverse operations on the appropriate function spaces. This is the conceptual core of the FTC and of the Newton–Leibniz identity.


§4. Worked Examples

Example 4.1 — Standard antiderivatives table

The table below summarises the essential antiderivatives that every student should know by heart. Each entry can be verified by differentiating the right-hand side (by the uniqueness theorem, if P(x)=f(x)P'(x) = f(x) on an interval, then fdx=P(x)+C\int f\,dx = P(x) + C). Source: Integral Calculus.pdf p.15.

| f(x)f(x) | f(x)dx\int f(x)\,dx | Notes | |---|---|---| | kk (constant) | kx+Ckx + C | e.g., 5dx=5x+C\int 5\,dx = 5x + C | | xax^a (a1)(a \neq -1) | xa+1a+1+C\dfrac{x^{a+1}}{a+1} + C | e.g., x2dx=x3/3+C\int x^2\,dx = x^3/3 + C | | 1x\dfrac{1}{x} | lnx+C\ln|x| + C | on (0,+)(0, +\infty): lnx+C\ln x + C; on (,0)(-\infty, 0): ln(x)+C\ln(-x) + C | | exe^x | ex+Ce^x + C | | | axa^x | axlna+C\dfrac{a^x}{\ln a} + C | e.g., 2xdx=2x/ln2+C\int 2^x\,dx = 2^x / \ln 2 + C | | sinx\sin x | cosx+C-\cos x + C | | | cosx\cos x | sinx+C\sin x + C | | | 1cos2x\dfrac{1}{\cos^2 x} | tanx+C\tan x + C | | | 11x2\dfrac{1}{\sqrt{1 - x^2}} | arcsinx+C\arcsin x + C | | | 11+x2\dfrac{1}{1 + x^2} | arctanx+C\arctan x + C | |

Composition shortcuts (by the chain rule):

  • f(x)[f(x)]adx=[f(x)]a+1a+1+C\int f'(x) \cdot [f(x)]^a\,dx = \dfrac{[f(x)]^{a+1}}{a+1} + C, a1a \neq -1.
  • f(x)f(x)dx=lnf(x)+C\int \dfrac{f'(x)}{f(x)}\,dx = \ln|f(x)| + C.
  • f(x)ef(x)dx=ef(x)+C\int f'(x) e^{f(x)}\,dx = e^{f(x)} + C.
  • f(x)sin[f(x)]dx=cos[f(x)]+C\int f'(x) \sin[f(x)]\,dx = -\cos[f(x)] + C.
  • f(x)cos[f(x)]dx=sin[f(x)]+C\int f'(x) \cos[f(x)]\,dx = \sin[f(x)] + C.
  • f(x)1+[f(x)]2dx=arctan[f(x)]+C\int \dfrac{f'(x)}{1 + [f(x)]^2}\,dx = \arctan[f(x)] + C.

Linear exponent shortcut. eax+bdx=1aeax+b+C\int e^{ax + b}\,dx = \dfrac{1}{a} e^{ax+b} + C.


Example 4.2 — Integration by parts on x2lnxdx\int x^2 \ln x\,dx (May 2024 Q9)

Source: General_24524_ENG_SOL.pdf Q9. This is the flagship computation of integral calculus — the exam explicitly requires it.

Goal. Compute x2lnxdx\int x^2 \ln x\,dx and then the definite integral 1ex2lnxdx\int_1^e x^2 \ln x\,dx.

Step 1 — Apply integration by parts. By the LIATE priority (see M-IC-1 in §5), we pick the logarithm as the factor to differentiate (highest priority) and the algebraic factor x2x^2 as the factor to integrate:

  • Let g(x)=lnxg(x) = \ln x (differentiate): g(x)=1/xg'(x) = 1/x.
  • Let f(x)=x2f'(x) = x^2 (integrate): f(x)=x3/3f(x) = x^3 / 3.

Step 2 — Apply the formula fg=fgfg\int f' g = f g - \int f g'. x2lnxdx  =  x33lnxfg    x33f1xgdx  =  x33lnx    x23dx.\int x^2 \ln x\,dx \;=\; \underbrace{\frac{x^3}{3} \ln x}_{fg} \;-\; \int \underbrace{\frac{x^3}{3}}_{f} \cdot \underbrace{\frac{1}{x}}_{g'}\,dx \;=\; \frac{x^3}{3} \ln x \;-\; \int \frac{x^2}{3}\,dx.

Step 3 — Compute the remaining integral. x23dx  =  13x33+C  =  x39+C.\int \frac{x^2}{3}\,dx \;=\; \frac{1}{3} \cdot \frac{x^3}{3} + C \;=\; \frac{x^3}{9} + C.

Step 4 — Assemble. x2lnxdx  =  x33lnx    x39  +  C.\boxed{\int x^2 \ln x\,dx \;=\; \frac{x^3}{3} \ln x \;-\; \frac{x^3}{9} \;+\; C.}

Step 5 — Definite integral from 1 to ee (apply Theorem 1894, FTC I). 1ex2lnxdx  =  [x33lnxx39]1e.\int_1^e x^2 \ln x\,dx \;=\; \Bigl[\frac{x^3}{3} \ln x - \frac{x^3}{9}\Bigr]_1^e. Evaluate at x=ex = e: lne=1\ln e = 1, so e331e39  =  3e39e39  =  2e39.\frac{e^3}{3} \cdot 1 - \frac{e^3}{9} \;=\; \frac{3 e^3}{9} - \frac{e^3}{9} \;=\; \frac{2 e^3}{9}. Evaluate at x=1x = 1: ln1=0\ln 1 = 0, so 13019  =  19.\frac{1}{3} \cdot 0 - \frac{1}{9} \;=\; -\frac{1}{9}.

Subtract (upper minus lower): 1ex2lnxdx  =  2e39(19)  =  29e3  +  19.\int_1^e x^2 \ln x\,dx \;=\; \frac{2 e^3}{9} - \Bigl(-\frac{1}{9}\Bigr) \;=\; \boxed{\frac{2}{9} e^3 \;+\; \frac{1}{9}.}

Sanity check. 29e32920.094.46\tfrac{2}{9} e^3 \approx \tfrac{2}{9} \cdot 20.09 \approx 4.46 plus 190.11\tfrac{1}{9} \approx 0.11 gives 4.58\approx 4.58. The integrand x2lnxx^2 \ln x is positive on (1,e](1, e] and zero at x=1x = 1, with maximum value e217.39e^2 \cdot 1 \approx 7.39 at x=ex = e. On the interval of length e11.72e - 1 \approx 1.72, an average value around 2.67\approx 2.67 gives area 4.58\approx 4.58. \checkmark


Example 4.3 — Integration by substitution: xex2dx\int x e^{x^2}\,dx

Source: Integral Calculus.pdf p.20 (shortcut version) and p.24 (substitution version).

Using the shortcut. Since (x2)=2x(x^2)' = 2x, we have x=122xx = \frac{1}{2} \cdot 2x, so xex2=12(2x)ex2=12(x2)ex2x e^{x^2} = \frac{1}{2}(2x)e^{x^2} = \frac{1}{2}(x^2)' \cdot e^{x^2}. By the composition shortcut f(x)ef(x)dx=ef(x)+C\int f'(x) e^{f(x)}\,dx = e^{f(x)} + C: xex2dx  =  122xex2dx  =  12ex2+C.\int x e^{x^2}\,dx \;=\; \frac{1}{2} \int 2x \cdot e^{x^2}\,dx \;=\; \frac{1}{2} e^{x^2} + C.

Using substitution (mechanical). Let u=x2u = x^2, so du=2xdxdu = 2x\,dx, i.e., xdx=12dux\,dx = \frac{1}{2}\,du. Substituting: xex2dx  =  eu12du  =  12eu+C  =  12ex2+C.\int x e^{x^2}\,dx \;=\; \int e^u \cdot \frac{1}{2}\,du \;=\; \frac{1}{2} e^u + C \;=\; \frac{1}{2} e^{x^2} + C. \qquad \checkmark

Lesson. Always try the composition shortcut first; substitution is the safety net when the shortcut is not obvious.


Example 4.4 — Partial fractions: 1(x1)(x+2)dx\int \dfrac{1}{(x - 1)(x + 2)}\,dx

Adapted from Integral Calculus.pdf pp.21–22 (Sicconi's "Algebraic fractions").

Step 1 — Decompose. The denominator has two distinct linear factors. Write 1(x1)(x+2)  =  Ax1  +  Bx+2.\frac{1}{(x - 1)(x + 2)} \;=\; \frac{A}{x - 1} \;+\; \frac{B}{x + 2}.

Step 2 — Find AA and BB. Multiply by (x1)(x+2)(x - 1)(x + 2): 1  =  A(x+2)+B(x1).1 \;=\; A(x + 2) + B(x - 1).

  • Plug x=1x = 1: 1=A3+B0A=1/31 = A \cdot 3 + B \cdot 0 \Rightarrow A = 1/3.
  • Plug x=2x = -2: 1=A0+B(3)B=1/31 = A \cdot 0 + B \cdot (-3) \Rightarrow B = -1/3.

Step 3 — Integrate. 1(x1)(x+2)dx  =  [1/3x1+1/3x+2]dx  =  13lnx113lnx+2+C  =  13lnx1x+2+C.\int \frac{1}{(x-1)(x+2)}\,dx \;=\; \int \Bigl[\frac{1/3}{x - 1} + \frac{-1/3}{x + 2}\Bigr]\,dx \;=\; \frac{1}{3}\ln|x - 1| - \frac{1}{3}\ln|x + 2| + C \;=\; \frac{1}{3}\ln\Bigl|\frac{x - 1}{x + 2}\Bigr| + C.

Domain note. On an interval not containing x=1x = 1 or x=2x = -2, the argument of the log has constant sign and the absolute values can be dropped (with the sign chosen to make it positive).


Example 4.5 — Improper integral comparison: 1+x+lnxx3dx\int_1^{+\infty} \dfrac{x + \ln x}{x^3}\,dx (May 2024 MCQ3)

Source: General_24524_ENG_SOL.pdf MCQ3.

Step 1 — Asymptotic behaviour at ++\infty. Since lnx=o(x)\ln x = o(x), we have x+lnxxx + \ln x \sim x, hence x+lnxx3    xx3  =  1x2as x+.\frac{x + \ln x}{x^3} \;\sim\; \frac{x}{x^3} \;=\; \frac{1}{x^2} \qquad \text{as } x \to +\infty.

Step 2 — Harmonic rule. 1+1/x2dx\int_1^{+\infty} 1/x^2\,dx converges (exponent p=2>1p = 2 > 1), in fact =1= 1.

Step 3 — Asymptotic comparison (Theorem 1933). The integrand is positive on [1,+)[1, +\infty) and 1/x2\sim 1/x^2. So 1+x+lnxx3dx\int_1^{+\infty} \frac{x + \ln x}{x^3}\,dx converges (finite).

Step 4 — Direct comparison for the sharper bound. On [1,+)[1, +\infty) we have lnx0\ln x \ge 0, so x+lnxx3    xx3  =  1x2x1.\frac{x + \ln x}{x^3} \;\ge\; \frac{x}{x^3} \;=\; \frac{1}{x^2} \qquad \forall\, x \ge 1. By Theorem 1928 (monotonicity of improper integrals): 1+x+lnxx3dx    1+1x2dx.\int_1^{+\infty} \frac{x + \ln x}{x^3}\,dx \;\ge\; \int_1^{+\infty} \frac{1}{x^2}\,dx.

Conclusion. The integral is finite AND greater or equal to 1+1/x2dx\int_1^{+\infty} 1/x^2\,dx. Answer D (Mode A) / C (Mode B). \checkmark


Example 4.6 — Principal value: PV+(2x3)dx\operatorname{PV}\int_{-\infty}^{+\infty}(2x - 3)\,dx (Final exercises Q4)

Source: Final exercises solution.pdf Q4.

Claim (a). +(2x3)dx=\int_{-\infty}^{+\infty}(2x - 3)\,dx = -\infty? FALSE.

By definition, split at 00: +(2x3)dx  =  limss0(2x3)dx  +  limt+0t(2x3)dx.\int_{-\infty}^{+\infty}(2x - 3)\,dx \;=\; \lim_{s \to -\infty} \int_s^0 (2x - 3)\,dx \;+\; \lim_{t \to +\infty} \int_0^t (2x - 3)\,dx. A primitive of 2x32x - 3 is x23xx^2 - 3x. Compute each piece: lims[x23x]s0  =  lims[0(s23s)]  =  lims(s2+3s)  =    =  ,\lim_{s \to -\infty} \bigl[x^2 - 3x\bigr]_s^0 \;=\; \lim_{s \to -\infty} \bigl[0 - (s^2 - 3s)\bigr] \;=\; \lim_{s \to -\infty} \bigl(-s^2 + 3s\bigr) \;=\; -\infty - \infty \;=\; -\infty, limt+[x23x]0t  =  limt+(t23t)  =  +.\lim_{t \to +\infty} \bigl[x^2 - 3x\bigr]_0^t \;=\; \lim_{t \to +\infty} \bigl(t^2 - 3t\bigr) \;=\; +\infty. Sum: +(+)-\infty + (+\infty), an indeterminate form. The classical improper integral does not exist — not -\infty, not ++\infty, and not any finite number. Hence (a) is FALSE.

Claim (b). PV+(2x3)dx=0\operatorname{PV}\int_{-\infty}^{+\infty}(2x - 3)\,dx = 0? FALSE.

By definition, the PV uses a single symmetric limit: PV+(2x3)dx  =  limK+KK(2x3)dx  =  limK+[x23x]KK.\operatorname{PV}\int_{-\infty}^{+\infty}(2x - 3)\,dx \;=\; \lim_{K \to +\infty} \int_{-K}^{K} (2x - 3)\,dx \;=\; \lim_{K \to +\infty} \bigl[x^2 - 3x\bigr]_{-K}^K. Compute: [x23x]KK  =  (K23K)(K2+3K)  =  6K.\bigl[x^2 - 3x\bigr]_{-K}^K \;=\; (K^2 - 3K) - (K^2 + 3K) \;=\; -6K. Take K+K \to +\infty: 6K-6K \to -\infty. Hence PV+(2x3)dx  =  .\operatorname{PV}\int_{-\infty}^{+\infty}(2x - 3)\,dx \;=\; -\infty. So (b) "=0= 0" is FALSE.

Claim (c). PV+(2x3)dx=\operatorname{PV}\int_{-\infty}^{+\infty}(2x - 3)\,dx = -\infty? TRUE.

As computed in (b), the PV equals -\infty. \checkmark

Instructive remark. Note the contrast:

  • For a pure odd function like f(x)=2xf(x) = 2x, the PV is 00 (the symmetric cancellation), while the classical integral +2xdx\int_{-\infty}^{+\infty} 2x\,dx is indeterminate.
  • Here f(x)=2x3f(x) = 2x - 3 has an even part 3-3 that contributes KK(3)dx=6K\int_{-K}^K (-3)\,dx = -6K \to -\infty. The odd part 2x2x cancels but the even part blows up, hence the PV diverges to -\infty.
  • If a function is odd (so f(x)=f(x)f(-x) = -f(x)), its PV is always 00 by symmetry. If it is even and integrable, its PV equals twice 0+f\int_0^{+\infty} f.

Example 4.7 — Continuous compounding via integral: M(t)=1+0tf(s)dsM(t) = 1 + \int_0^t f'(s)\,ds (Final exercises Q5)

Source: Final exercises solution.pdf Q5.

Setup. A capital C=1C = 1 is available today (t=0t = 0). Let f(t)f(t) denote the future value at time t0t \ge 0, with f(0)=1f(0) = 1. The instantaneous rate of change of capital (interest) is f(t)f'(t). The total interest accumulated between 00 and tt is the area under f(s)f'(s): I(t)  =  0tf(s)ds.I(t) \;=\; \int_0^t f'(s)\,ds. By the First FTC (Theorem 1894), I(t)=f(t)f(0)=f(t)1I(t) = f(t) - f(0) = f(t) - 1. Hence the available amount of money at time tt is M(t)  =  C+I(t)  =  1+0tf(s)ds.M(t) \;=\; C + I(t) \;=\; 1 + \int_0^t f'(s)\,ds.

Compute with f(t)=(1.02)tln(1.02)f'(t) = (1.02)^t \ln(1.02), t=2t = 2 years, C=1C = 1.

Notice that f(t)=(1.02)tln(1.02)f'(t) = (1.02)^t \ln(1.02) is exactly the derivative of (1.02)t(1.02)^t (since ddt(1.02)t=(1.02)tln(1.02)\frac{d}{dt}(1.02)^t = (1.02)^t \ln(1.02)). Hence a primitive is P(t)=(1.02)tP(t) = (1.02)^t: M(2)  =  1+02(1.02)sln(1.02)ds  =  1+[(1.02)s]02  =  1+[(1.02)21]  =  (1.02)2  =  1.0404.M(2) \;=\; 1 + \int_0^2 (1.02)^s \ln(1.02)\,ds \;=\; 1 + \bigl[(1.02)^s\bigr]_0^2 \;=\; 1 + \bigl[(1.02)^2 - 1\bigr] \;=\; (1.02)^2 \;=\; 1.0404.

For C=100C = 100: scaling by 100100, M(2)=100(1.02)2=104.04M(2) = 100 \cdot (1.02)^2 = 104.04.

Remark. This is precisely the discrete compounding formula M=C(1+r)tM = C(1 + r)^t with r=0.02r = 0.02, t=2t = 2 — which should be! We have built it from the differential law f(t)=f(t)ln(1+r)f'(t) = f(t) \ln(1 + r) via the FTC.


Example 4.8 — 022t3et2dt\int_0^2 2t^3 e^{t^2}\,dt with substitution + by parts (TA41)

Source: TA41_clac_int1.pdf Q3.

Use the substitution φ(t)=t2\varphi(t) = t^2, so dφ=2tdtd\varphi = 2t\,dt and the bounds t=0,2t = 0, 2 become φ=0,4\varphi = 0, 4. Write 2t3=2tt2=(2t)φ2 t^3 = 2t \cdot t^2 = (2t)\cdot \varphi: 022t3et2dt  =  02[2tt2]et2dt  =  04φeφdφ.\int_0^2 2 t^3 e^{t^2}\,dt \;=\; \int_0^2 \bigl[2 t \cdot t^2\bigr] e^{t^2}\,dt \;=\; \int_0^4 \varphi \cdot e^{\varphi}\,d\varphi.

Now integrate by parts on φeφdφ\int \varphi e^{\varphi}\,d\varphi with g(φ)=φg(\varphi) = \varphi (differentiate), f(φ)=eφf'(\varphi) = e^{\varphi} (integrate): φeφdφ  =  φeφeφdφ  =  φeφeφ+C  =  eφ(φ1)+C.\int \varphi e^{\varphi}\,d\varphi \;=\; \varphi e^{\varphi} - \int e^{\varphi}\,d\varphi \;=\; \varphi e^{\varphi} - e^{\varphi} + C \;=\; e^{\varphi}(\varphi - 1) + C.

Evaluate bounds: 04φeφdφ  =  [eφ(φ1)]04  =  e4(41)e0(01)  =  3e4(1)  =  3e4+1.\int_0^4 \varphi e^{\varphi}\,d\varphi \;=\; \bigl[e^{\varphi}(\varphi - 1)\bigr]_0^4 \;=\; e^4(4 - 1) - e^0(0 - 1) \;=\; 3 e^4 - (-1) \;=\; 3 e^4 + 1.

Answer: 3e4+13 e^4 + 1 (MCQ option A in TA41 Q3).


§5. Solution Methods

Each method is a named algorithm with Input → Steps → Output → Pitfalls, with cross-references to May 2024 / Final-exercises problems.


M-IC-1 — Integration by parts (LIATE priority)

Used on: May 2024 Q9 (antiderivative of x2lnxx^2 \ln x), TA41 Q3, any product of "incompatible" factors.

Input. An integral u(x)v(x)dx\int u(x) \cdot v(x)\,dx where u,vu, v are differentiable, and no shortcut applies.

Steps.

  1. LIATE heuristic — choose g=g = the factor whose type comes earliest in this priority list (so that ggg \to g' simplifies it), and f=f' = the remaining factor (which must have a known antiderivative):
    • Logarithms: lnx\ln x, logax\log_a x
    • Inverse trig: arctanx,arcsinx\arctan x, \arcsin x
    • Algebraic: polynomials xnx^n
    • Trigonometric: sinx,cosx\sin x, \cos x
    • Exponentials: ex,axe^x, a^x
  2. Compute g(x)g'(x) (differentiate) and f(x)=f(x)dxf(x) = \int f'(x)\,dx (integrate, no +C+C needed here).
  3. Apply the formula: f(x)g(x)dx  =  f(x)g(x)    f(x)g(x)dx.\int f'(x) g(x)\,dx \;=\; f(x) g(x) \;-\; \int f(x) g'(x)\,dx.
  4. Compute the remaining integral fgdx\int f g'\,dx. It should be simpler than the original.
  5. Add +C+ C if indefinite, or evaluate bounds if definite (via FTC I).

Output. A closed-form antiderivative, or a definite-integral value.

Pitfalls.

  • Wrong sign in fgfgdxfg - \int fg'\,dx. Memorise the formula carefully: the minus is on fg\int fg', not on fgfg.
  • Infinite loop: if after applying IBP the new integral equals the original one (up to sign), add them both to one side and solve. E.g., exsinxdx\int e^x \sin x\,dx cycles back after two IBPs.
  • Special case lnxdx\int \ln x\,dx: write lnx=1lnx\ln x = 1 \cdot \ln x, take f=1f' = 1, g=lnxg = \ln x: lnxdx=xlnxx(1/x)dx=xlnxx+C=x(lnx1)+C\int \ln x\,dx = x \ln x - \int x \cdot (1/x)\,dx = x \ln x - x + C = x(\ln x - 1) + C.
  • Forgetting +C+C on indefinite — this is a grader pet peeve.

M-IC-2 — Integration by substitution

Used on: Many TA problems, compounding-style integrals, and whenever the integrand contains a composite function with a visible derivative factor.

Input. An integral f(x)dx\int f(x)\,dx where ff contains a composite pattern g[h(x)]h(x)g[h(x)] \cdot h'(x) or close variant.

Steps.

  1. Try the shortcut first (see the composition-shortcut table in §4, Example 4.1). If one of them matches, apply it directly:
    • f(f)adx=fa+1a+1+C\int f' \cdot (f)^a\,dx = \frac{f^{a+1}}{a+1} + C (a1a \neq -1), f/fdx=lnf+C\int f'/f\,dx = \ln|f| + C, fefdx=ef+C\int f' e^f\,dx = e^f + C, etc.
    • Multiplication trick (Integral Calculus.pdf p.19): if the derivative factor is off by a constant, factor it out: xex2dx=122xex2dx=12ex2+C\int x e^{x^2}\,dx = \frac{1}{2}\int 2x e^{x^2}\,dx = \frac{1}{2} e^{x^2} + C.
  2. If shortcuts fail, substitute. Pick u=g(x)u = g(x) (usually the "inside" of a composition). Compute du=g(x)dxdu = g'(x)\,dx, i.e., dx=du/g(x)dx = du / g'(x).
  3. Rewrite the integrand entirely in terms of uu. If some xx's remain, express them via x=g1(u)x = g^{-1}(u) and substitute.
  4. For definite integrals, change the bounds: new lower bound = g(old lower)g(\text{old lower}), new upper bound = g(old upper)g(\text{old upper}). Important: this only works if gg is monotonic on the interval (otherwise split the domain or use g|g'|).
  5. Integrate in the uu variable.
  6. Either back-substitute u=g(x)u = g(x) (indefinite case), or evaluate the new bounds directly (definite case — no back-substitution needed).

Output. Closed-form antiderivative in xx (indefinite) or numerical value (definite).

Pitfalls.

  • Forgetting to change the bounds when evaluating a definite integral. If you keep the old bounds, you must first back-substitute to xx.
  • Non-monotone substitution (e.g., u=x2u = x^2 on an interval containing 00). Split into monotonic pieces or introduce du|du|.
  • Leaving residual xx's in the integrand. Every xx must be expressed via uu before you integrate.

M-IC-3 — Integration by partial fractions for P(x)/Q(x)P(x)/Q(x)

Used on: Rational-function integrands whose denominator is quadratic (factorisable).

Input. An integral P(x)/Q(x)dx\int P(x)/Q(x)\,dx where P,QP, Q are polynomials, degP<degQ\deg P < \deg Q, and QQ factors over R\mathbb{R}.

Steps.

  1. Reduce first if degPdegQ\deg P \ge \deg Q: polynomial-divide PP by QQ to get P=quotientQ+remainderP = \text{quotient} \cdot Q + \text{remainder}, so P/Q=quotient+remainder/QP/Q = \text{quotient} + \text{remainder}/Q with deg(remainder)<degQ\deg(\text{remainder}) < \deg Q. Integrate the quotient separately (easy polynomial).
  2. Factor QQ. For a quadratic Q(x)=(xr1)(xr2)Q(x) = (x - r_1)(x - r_2) with distinct real roots, or Q(x)=(xr)2Q(x) = (x - r)^2 for a double root.
  3. Decompose:
    • Distinct linear factors. P(x)(xr1)(xr2)=Axr1+Bxr2\dfrac{P(x)}{(x - r_1)(x - r_2)} = \dfrac{A}{x - r_1} + \dfrac{B}{x - r_2}.
    • Repeated linear factor. P(x)(xr)2=A(xr)2+Bxr\dfrac{P(x)}{(x - r)^2} = \dfrac{A}{(x - r)^2} + \dfrac{B}{x - r}.
  4. Solve for A,BA, B by multiplying through by QQ and either plugging in the root values or matching coefficients.
  5. Integrate term-by-term: Axrdx=Alnxr+C\int \frac{A}{x - r}\,dx = A \ln|x - r| + C; A(xr)2dx=Axr+C\int \frac{A}{(x - r)^2}\,dx = -\frac{A}{x - r} + C.

Output. A sum of logarithms and/or simple rational terms, plus CC.

Pitfalls.

  • Wrong decomposition when a factor is repeated: must include both A(xr)2\frac{A}{(x-r)^2} and Bxr\frac{B}{x-r}.
  • Absolute value in the log: lnxr\ln|x - r|, not ln(xr)\ln(x - r) — crucial when rr is inside the integration interval of a definite integral (though in that case the integrand is unbounded and you are in the improper regime).
  • Forgetting the addition/algebraic trick for 2x3x+2dx\int \frac{2x - 3}{x + 2}\,dx-style problems: add and subtract the constant in the denominator at the numerator to simplify (see Integral Calculus.pdf pp.20–21).

M-IC-4 — Convergence of an improper integral by asymptotic comparison

Used on: May 2024 MCQ3, TA41 TA2 Qs 17–19, every "does this integral exist?" question.

Input. An improper integral a+f(x)dx\int_a^{+\infty} f(x)\,dx (first kind) or abf(x)dx\int_a^b f(x)\,dx with a singularity at bb^- (second kind), ff positive and eventually monotonic.

Steps.

  1. Identify where the problem is. For first kind, study x+x \to +\infty. For second kind, study xbx \to b^- (or wherever ff blows up).
  2. Find the asymptotic order. Compute limxproblemf(x)xp\lim_{x \to \text{problem}} f(x) \cdot x^p (first kind) or limxbf(x)(bx)p\lim_{x \to b^-} f(x) \cdot (b - x)^p (second kind); find the critical pp such that f(x)C/xpf(x) \sim C / x^p (resp. C/(bx)p\sim C/(b-x)^p).
  3. Apply the harmonic rule.
    • First kind, singularity at ++\infty: 1+1/xpdx\int_1^{+\infty} 1/x^p\,dx converges iff p>1p > 1.
    • Second kind, singularity at finite point: 011/xpdx\int_0^1 1/x^p\,dx converges iff p<1p < 1.
  4. Conclude via asymptotic comparison (Theorem 1933): if fC/xpf \sim C/x^p at ++\infty and C>0C > 0, then a+f\int_a^{+\infty} f converges iff 1/xp\int 1/x^p converges iff p>1p > 1.
  5. If ff is not positive (e.g., oscillating like sinx/x2\sin x / x^2): apply the absolute convergence test (Theorem 1937) — show f\int |f| converges, hence so does f\int f.

Output. "Converges" or "diverges".

Pitfalls.

  • Not checking positivity before applying comparison/asymptotic tests. Those theorems require f,gf, g positive (or eventually positive).
  • Forgetting the harmonic flip between first and second kind: at ++\infty, convergence wants p>1p > 1; at a finite singularity, p<1p < 1.
  • Mistaking lnx\ln x for a polynomial: lnx=o(xε)\ln x = o(x^\varepsilon) for any ε>0\varepsilon > 0, i.e., a log factor never changes the asymptotic order.
  • Using the absolute convergence test in the wrong direction: f\int f converging does not imply f\int |f| converging (counterexample sinx/xdx\int \sin x / x\,dx converges but sinx/x\int |\sin x / x| diverges). The theorem is one-way.

M-IC-5 — Cauchy principal value (PV) when \int diverges

Used on: Final exercises Q4, oscillating or odd-plus-even integrands on (,+)(-\infty, +\infty).

Input. An integrand f:RRf : \mathbb{R} \to \mathbb{R} where +fdx\int_{-\infty}^{+\infty} f\,dx does not converge (but possibly has a finite PV).

Steps.

  1. Check if ff is odd. If f(x)=f(x)f(-x) = -f(x), then for every K>0K > 0, KKf(x)dx=0\int_{-K}^K f(x)\,dx = 0. Hence PV+f=0\operatorname{PV}\int_{-\infty}^{+\infty} f = 0.
  2. If ff is even and integrable on [0,)[0, \infty), PV+f=20+f\operatorname{PV}\int_{-\infty}^{+\infty} f = 2 \int_0^{+\infty} f (if convergent).
  3. General case: find a primitive PP of ff, then PV+f(x)dx  =  limK+[P(K)P(K)].\operatorname{PV}\int_{-\infty}^{+\infty} f(x)\,dx \;=\; \lim_{K \to +\infty} \bigl[P(K) - P(-K)\bigr].
  4. For a PV at a finite singularity c(a,b)c \in (a, b): PVabf=limε0+[acεf+c+εbf]\operatorname{PV}\int_a^b f = \lim_{\varepsilon \to 0^+} \bigl[\int_a^{c - \varepsilon} f + \int_{c + \varepsilon}^b f\bigr] using the same ε\varepsilon on both sides.

Output. A finite number, or ±\pm\infty, or "does not exist" (if the symmetric limit itself oscillates).

Pitfalls.

  • Confusing PV with the classical improper integral. They agree when the latter converges; the PV may be finite even when the classical is indeterminate (odd-function example), but the classical divergence can "win" (Example 4.6: PV is -\infty, not 00).
  • Using two independent limits instead of one symmetric KK. The whole point of PV is the single-parameter limit.

M-IC-6 — Applying the FTC ("primitive first, then evaluate bounds")

Used on: May 2024 Q9 (b2), every definite-integral computation.

Input. A definite integral abf(x)dx\int_a^b f(x)\,dx with ff integrable and having a primitive on [a,b][a, b].

Steps.

  1. Find a primitive PP of ff using any of M-IC-1, M-IC-2, M-IC-3, or the antiderivatives table (Example 4.1). Drop the +C+C — any one primitive suffices.
  2. Verify that the hypotheses of Theorem 1894 hold: ff integrable on [a,b][a, b] (e.g., continuous), and PP a genuine primitive (check P(x)=f(x)P'(x) = f(x)).
  3. Evaluate [P(x)]ab=P(b)P(a)\bigl[P(x)\bigr]_a^b = P(b) - P(a) (Newton–Leibniz).

Output. The numerical value of the definite integral.

Pitfalls.

  • Evaluating before dropping +C+C. The +C+C cancels in P(b)P(a)P(b) - P(a), so you do not need it, but do not write it and then add it to the answer.
  • Wrong sign: always upper minus lower, P(b)P(a)P(b) - P(a).
  • Swapped bounds: if you end up with a>ba > b, flip and add a minus sign: ab=ba\int_a^b = -\int_b^a.

M-IC-7 — Verify FF is a primitive of ff (differentiate F, check = f)

Used on: Multiple-choice "which of these is an antiderivative of ff?" questions (TA41 Q7).

Input. A function f(x)f(x) and a candidate F(x)F(x).

Steps.

  1. Differentiate F(x)F(x), applying product/chain/quotient rules as needed.
  2. Simplify F(x)F'(x).
  3. Check whether F(x)=f(x)F'(x) = f(x) pointwise on the interval.
  4. If yes, FF is a primitive. If not, rule out.

Output. "Yes, FF is a primitive" or "no".

Pitfalls.

  • On MCQs, always try this method first before attempting the much harder forward computation. Differentiation is mechanical; integration can be hard.
  • Multiple correct answers. By Theorem 1903, any two primitives differ by a constant. On an MCQ, two candidate primitives that differ by a constant are both correct if the problem does not pin down the constant. In that case look for additional info (e.g., value at a specific point).

§6. Practice Problems with Solutions

Problem 6.1 — TA41 #13: 1+1(3x+2)2dx\int_1^{+\infty} \dfrac{1}{(3x + 2)^2}\,dx

Source: TA41_calc_int2.pdf Q13.

Behaviour. The integrand is positive and 19x2\sim \frac{1}{9 x^2} at ++\infty; by asymptotic comparison with 1/x2\int 1/x^2 (convergent), the integral converges.

Value. Rewrite using the shortcut f(x)f(x)2dx=1/f(x)+C\int f'(x) \cdot f(x)^{-2}\,dx = -1/f(x) + C with f(x)=3x+2f(x) = 3x + 2, f(x)=3f'(x) = 3: 1(3x+2)2dx  =  133(3x+2)2dx  =  1313x+2+C  =  13(3x+2)+C.\int \frac{1}{(3x + 2)^2}\,dx \;=\; \frac{1}{3} \int \frac{3}{(3x + 2)^2}\,dx \;=\; \frac{1}{3} \cdot \frac{-1}{3x + 2} + C \;=\; -\frac{1}{3(3x + 2)} + C.

Compute the improper integral: 1+1(3x+2)2dx  =  limK+[13(3x+2)]1K  =  limK+[13(3K+2)+135]  =  0+115  =  115.\int_1^{+\infty} \frac{1}{(3x+2)^2}\,dx \;=\; \lim_{K \to +\infty}\Bigl[-\frac{1}{3(3x+2)}\Bigr]_1^K \;=\; \lim_{K \to +\infty}\Bigl[-\frac{1}{3(3K+2)} + \frac{1}{3 \cdot 5}\Bigr] \;=\; 0 + \frac{1}{15} \;=\; \boxed{\frac{1}{15}}.

Answer: A (1/151/15).


Problem 6.2 — TA41 #17: 1+x5x+2x7x3+7dx\int_1^{+\infty} \dfrac{x^5 \sqrt{x} + 2}{x^7 \sqrt[3]{x} + 7}\,dx

Source: TA41_calc_int2.pdf Q17.

Asymptotically at ++\infty: x5x+2x7x3+7    x5+1/2x7+1/3  =  x11/2x22/3  =  1x22/311/2  =  1x44/633/6  =  1x11/6.\frac{x^5 \sqrt{x} + 2}{x^7 \sqrt[3]{x} + 7} \;\sim\; \frac{x^{5 + 1/2}}{x^{7 + 1/3}} \;=\; \frac{x^{11/2}}{x^{22/3}} \;=\; \frac{1}{x^{22/3 - 11/2}} \;=\; \frac{1}{x^{44/6 - 33/6}} \;=\; \frac{1}{x^{11/6}}.

Since 11/6>111/6 > 1, the integral 1/x11/6dx\int 1/x^{11/6}\,dx converges. By asymptotic comparison, the original integral converges (exists and is finite). Answer: B.


Problem 6.3 — TA41 #19: For which α>0\alpha > 0 does 2+(x22x)3(x23)2xα1dx\int_2^{+\infty} \dfrac{(x^2 - 2x)^3}{(x^2 - 3)^2 \sqrt{x^\alpha - 1}}\,dx converge?

Source: TA41_calc_int2.pdf Q19.

Asymptotically at ++\infty: (x22x)3(x23)2xα1    (x2)3(x2)2xα  =  x6x4xα/2  =  1xα/22.\frac{(x^2 - 2x)^3}{(x^2 - 3)^2 \sqrt{x^\alpha - 1}} \;\sim\; \frac{(x^2)^3}{(x^2)^2 \cdot \sqrt{x^\alpha}} \;=\; \frac{x^6}{x^4 \cdot x^{\alpha / 2}} \;=\; \frac{1}{x^{\alpha/2 - 2}}.

Convergence requires α/22>1\alpha/2 - 2 > 1, i.e., α>6\alpha > 6 (strict inequality!). Answer: D — "none of the preceding" (since "b α6\alpha \ge 6" allows α=6\alpha = 6 which gives p=1p = 1, the boundary case which diverges).


Problem 6.4 — May 2024 Q9 (full)

Source: General_24524_ENG_SOL.pdf Q9.

(a) State and prove the First Fundamental Theorem of Calculus. See §3.7 above — reproduce the statement and the 5-step proof verbatim.

(b1) Antiderivative of f(x)=x2lnxf(x) = x^2 \ln x on (0,+)(0, +\infty).

Integrate by parts with g=lnxg = \ln x (LIATE priority — log), f1=x2f'_1 = x^2: x2lnxdx  =  x33lnxx331xdx  =  x33lnxx39+C.\int x^2 \ln x\,dx \;=\; \frac{x^3}{3}\ln x - \int \frac{x^3}{3} \cdot \frac{1}{x}\,dx \;=\; \frac{x^3}{3}\ln x - \frac{x^3}{9} + C.

(b2) Definite integral 1ex2lnxdx\int_1^e x^2 \ln x\,dx.

Apply FTC I (Theorem 1894): 1ex2lnxdx  =  [x33lnxx39]1e  =  (e33e39)(019)  =  2e39+19.\int_1^e x^2 \ln x\,dx \;=\; \Bigl[\frac{x^3}{3}\ln x - \frac{x^3}{9}\Bigr]_1^e \;=\; \Bigl(\frac{e^3}{3} - \frac{e^3}{9}\Bigr) - \Bigl(0 - \frac{1}{9}\Bigr) \;=\; \frac{2 e^3}{9} + \frac{1}{9}.


Problem 6.5 — Final exercises Q4 (full true/false)

Source: Final exercises solution.pdf Q4. See Example 4.6 for the full solution. Answers: (a) False, (b) False, (c) True.


Problem 6.6 — Final exercises Q5 (continuous compounding)

Source: Final exercises solution.pdf Q5. See Example 4.7. Answer: M(2)=(1.02)2=1.0404M(2) = (1.02)^2 = 1.0404 for C=1C = 1; M(2)=100(1.02)2=104.04M(2) = 100 \cdot (1.02)^2 = 104.04 for C=100C = 100.


Problem 6.7 — TA41 Q2: 017xln(x2+1)dx\int_0^1 7 x \ln(x^2 + 1)\,dx via substitution + by-parts

Source: TA41_clac_int1.pdf Q2. Use the substitution t=x2+1t = x^2 + 1, dt=2xdxdt = 2x\,dx, so xdx=12dtx\,dx = \frac{1}{2}\,dt. Bounds: x=0t=1x = 0 \Rightarrow t = 1; x=1t=2x = 1 \Rightarrow t = 2. 017xln(x2+1)dx  =  12712lntdt  =  7212lntdt.\int_0^1 7 x \ln(x^2 + 1)\,dx \;=\; \int_1^2 7 \cdot \frac{1}{2} \ln t\,dt \;=\; \frac{7}{2} \int_1^2 \ln t\,dt.

Using lntdt=t(lnt1)+C\int \ln t\,dt = t(\ln t - 1) + C (from Example 4.2's special case of by-parts): 72[t(lnt1)]12  =  72[2(ln21)1(01)]  =  72[2ln22+1]  =  72(2ln21)  =  7ln272.\frac{7}{2} \bigl[t(\ln t - 1)\bigr]_1^2 \;=\; \frac{7}{2}\bigl[2(\ln 2 - 1) - 1 \cdot (0 - 1)\bigr] \;=\; \frac{7}{2}\bigl[2 \ln 2 - 2 + 1\bigr] \;=\; \frac{7}{2}(2 \ln 2 - 1) \;=\; 7 \ln 2 - \frac{7}{2}.

Answer: A (7ln27/27 \ln 2 - 7/2).


Problem 6.8 — TA41 Q7: Antiderivative of f(x)=5lnxx(lnx+2)f(x) = \dfrac{5 \ln x}{x(\ln x + 2)}

Source: TA41_calc_int2.pdf Q7. Use the substitution t=lnx+2t = \ln x + 2, dt=dx/xdt = dx/x, and lnx=t2\ln x = t - 2: 5lnxx(lnx+2)dx  =  5(t2)tdt  =  5(12t)dt  =  5t10lnt+C  =  5(lnx+2)10lnlnx+2+C.\int \frac{5 \ln x}{x(\ln x + 2)}\,dx \;=\; \int \frac{5(t - 2)}{t}\,dt \;=\; 5 \int \Bigl(1 - \frac{2}{t}\Bigr)\,dt \;=\; 5 t - 10 \ln|t| + C \;=\; 5(\ln x + 2) - 10 \ln|\ln x + 2| + C.

Absorb the constant 52=105 \cdot 2 = 10 into CC (the constant is arbitrary): =5lnx+1010lnlnx+2+C  =  5lnx10ln(lnx+2)+Con (1,+),= 5 \ln x + 10 - 10 \ln|\ln x + 2| + C \;=\; 5 \ln x - 10 \ln(\ln x + 2) + C' \qquad \text{on } (1, +\infty), where we dropped absolute values since on (1,+)(1, +\infty), lnx+2>2>0\ln x + 2 > 2 > 0. Answer: B (5lnx10ln(lnx+2)5 \ln x - 10 \ln(\ln x + 2)).


§7. Common Pitfalls

  1. Forgetting the +C+C on indefinite integrals. An indefinite integral is a family of primitives; without +C+C it is incomplete. Points are routinely deducted for this on partial-exam questions. (Definite integrals, however, are numbers — no +C+C.)

  2. Sign error in integration by parts. The formula is fgdx=fgfgdx\int f'g\,dx = fg - \int fg'\,dx, minus on fg\int fg'. A very common slip is writing fg+fgfg + \int fg'. Double-check by differentiating your answer: (fg)=fg+fg(fg)' = f'g + fg' should recover the integrand fgf'g.

  3. Wrong bounds after substitution. If you substitute u=g(x)u = g(x) in a definite integral ab\int_a^b, you must change the bounds to g(a),g(b)g(a), g(b) — or, alternatively, back-substitute to xx before evaluating. Leaving the original xx-bounds with the uu-antiderivative gives wrong answers.

  4. Divergent ≠ PV divergent. A classically divergent integral can have a finite PV (Cauchy odd-cancellation); a classically convergent integral always equals its PV. Never assume PV = 0 unless you verify the symmetric limit explicitly. (See Example 4.6: PV(2x3)dx=\operatorname{PV}\int (2x - 3)\,dx = -\infty, not 00.)

  5. Confusing definite integral (a number) vs. indefinite (a function family).

    • f(x)dx\int f(x)\,dx: a family of primitives parametrised by CRC \in \mathbb{R} — a set of functions of xx.
    • abf(x)dx\int_a^b f(x)\,dx: a single real number that depends on f,a,bf, a, b but not on any "xx". So the expression "x=2x = 2 in 13xdx\int_1^3 x\,dx" makes no sense — the integration variable is a dummy.
  6. Improper at both ends requires TWO independent limits, not one. For +f(x)dx\int_{-\infty}^{+\infty} f(x)\,dx, the classical improper integral is limsscf+limt+ctf\lim_{s \to -\infty} \int_s^c f + \lim_{t \to +\infty} \int_c^t f where s,ts, t are independent. Collapsing into a single symmetric KK-limit gives the PV, which is different and weaker.

  7. Using Theorem 1894 without verifying hypotheses. FTC I requires (i) ff integrable on [a,b][a,b] and (ii) ff admits a primitive PP. If ff has a jump discontinuity, ff does not have a primitive on any interval crossing the jump, so the FTC fails. E.g., sgn(x)\operatorname{sgn}(x) is integrable on [1,1][-1, 1] but has no primitive through x=0x = 0 — no function PP has P(0)=1P'(0^-) = -1, P(0+)=+1P'(0^+) = +1 and PP differentiable at 00.

  8. Asymptotic comparison without positivity. Theorems 1932, 1933 require f,g>0f, g > 0 (or at least eventually positive). For oscillating integrands like sinx/x\sin x / x, first apply the absolute convergence test (Theorem 1937): if f\int |f| converges, so does f\int f.

  9. Harmonic rule flipped. At ++\infty, 1/xpdx\int 1/x^p\,dx converges iff p>1p > 1 (large pp makes ff decay faster). At a finite singularity like x0+x \to 0^+, 011/xpdx\int_0^1 1/x^p\,dx converges iff p<1p < 1 (small pp makes ff blow up more slowly). Memorise both: the rule inverts.

  10. Assuming F(x)=axf(t)dtF(x) = \int_a^x f(t)\,dt is always differentiable. Theorem 1899 requires ff continuous. If ff has a jump, FF is still Lipschitz/continuous, but FF' may not exist at the jump — so FF is not a primitive of ff there. Example: ff piecewise constant with a jump at 00 has FF with a corner at 00F(0)F+(0)F'_-(0) \neq F'_+(0).

  11. Losing the modulus f|f| in f/fdx=lnf\int f'/f\,dx = \ln|f|. The log shortcut requires the absolute value when ff can be negative. On an interval where ff has constant sign, the absolute value can be dropped with the appropriate sign, but writing ln(negative)\ln(\text{negative}) is undefined.

  12. Not recognising a shortcut-applicable pattern. Before reaching for by-parts, always scan for:

    • ffaf' \cdot f^a pattern (fa+1/(a+1)\rightarrow f^{a+1}/(a+1)),
    • f/ff'/f pattern (lnf\rightarrow \ln|f|),
    • feff' \cdot e^f (ef\rightarrow e^f),
    • eax+be^{ax+b} (linear exponent, 1aeax+b\rightarrow \frac{1}{a}e^{ax+b}).

    These avoid unnecessary work. Example: xex2dx\int x e^{x^2}\,dx is a 3-second shortcut, not a 30-second by-parts problem.


End of 03 — Integral Calculus. Cross-links: §01 Linear Algebra (eigenvalue/Sylvester signing reused for Hessians); §02 Differential Calculus (Lagrange MVT used inside the proof of FTC I, §3.7); §04 Probability (continuous RV expectation E[X]=xfX(x)dxE[X] = \int x f_X(x)\,dx); §05 Mathematical Finance (continuous compounding, duration as integral).