∑GATE DA Atlas

Integration Essentials (for Probability and ML)

A supporting topic not listed separately in the syllabus but needed everywhere in it — antiderivatives and the fundamental theorem of calculus, substitution and integration by parts, definite integrals as areas and expectations, improper integrals and convergence, the Gamma function and the Gaussian integral, and numerical integration.

Section 39 practice questions

The GATE DA syllabus lists only limits, continuity, differentiability, Taylor series and optimisation under calculus. But every continuous probability question — normalising a PDF, computing a CDF, an expectation or a variance — is an integration problem. This page collects exactly what you need.

Antiderivatives and the fundamental theorem

FF is an antiderivative of ff if F′=fF' = f. The fundamental theorem of calculus:

  1. If F(x)=∫axf(t) dtF(x) = \int_a^x f(t)\,dt and ff is continuous, then F′(x)=f(x)F'(x) = f(x). More generally ddx∫ag(x)f(t) dt=f(g(x))g′(x)\frac{d}{dx}\int_{a}^{g(x)}f(t)\,dt = f(g(x))g'(x).
  2. ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a).

Part 1 is the PDF–CDF relationship: FX(x)=∫−∞xfX(t) dtF_X(x) = \int_{-\infty}^x f_X(t)\,dt and FX′=fXF_X' = f_X.

f(x)f(x)∫f(x) dx\int f(x)\,dx
xnx^n (n≠−1n \ne -1)xn+1n+1\frac{x^{n+1}}{n+1}
1x\frac1xln⁡∣x∣\ln\lvert x\rvert
eaxe^{ax}1aeax\frac{1}{a}e^{ax}
sin⁡x\sin x, cos⁡x\cos x−cos⁡x-\cos x, sin⁡x\sin x
11+x2\frac{1}{1 + x^2}tan⁡−1x\tan^{-1}x
ln⁡x\ln xxln⁡x−xx\ln x - x

(all up to a constant CC)

Techniques

Substitution (reverse chain rule): ∫f(g(x))g′(x) dx=∫f(u) du\int f(g(x))g'(x)\,dx = \int f(u)\,du with u=g(x)u = g(x); change the limits too.

Integration by parts (reverse product rule): ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du. Choose uu to simplify when differentiated (LIATE order: logs, inverse trig, algebraic, trig, exponential).

Symmetry: for odd ff, ∫−aaf=0\int_{-a}^a f = 0; for even ff, ∫−aaf=2∫0af\int_{-a}^af = 2\int_0^af. So E[Z]=∫zϕ(z) dz=0E[Z] = \int z\phi(z)\,dz = 0 for the standard normal without any calculation.

Definite integrals as areas and averages

∫abf(x) dx\int_a^b f(x)\,dx is the signed area under the curve. The average value of ff on [a,b][a, b] is 1b−a∫abf\frac{1}{b - a}\int_a^bf — an expectation under the uniform distribution.

In probability: P(a≤X≤b)=∫abfP(a \le X \le b) = \int_a^b f, E[g(X)]=∫g(x)f(x) dxE[g(X)] = \int g(x)f(x)\,dx, and normalising constants make ∫f=1\int f = 1.

Improper integrals

Integrals over infinite ranges or through singularities are limits:

∫a∞f(x) dx=lim⁡b→∞∫abf(x) dx.\int_a^\infty f(x)\,dx = \lim_{b\to\infty}\int_a^bf(x)\,dx.
IntegralConverges iff
∫1∞x−p dx\int_1^\infty x^{-p}\,dxp>1p > 1 (value 1p−1\frac{1}{p - 1})
∫01x−p dx\int_0^1 x^{-p}\,dxp<1p < 1 (value 11−p\frac{1}{1 - p})
∫0∞e−ax dx\int_0^\infty e^{-ax}\,dxa>0a > 0 (value 1a\frac1a)

Comparison test: if 0≤f≤g0 \le f \le g and ∫g\int g converges, so does ∫f\int f. Heavy-tailed distributions are exactly those where moment integrals like ∫x2f(x) dx\int x^2f(x)\,dx diverge (the Cauchy distribution has no mean).

Two integrals worth memorising

Gamma function: Γ(α)=∫0∞xα−1e−x dx\Gamma(\alpha) = \int_0^\infty x^{\alpha - 1}e^{-x}\,dx, with Γ(n)=(n−1)!\Gamma(n) = (n - 1)!, Γ(α+1)=αΓ(α)\Gamma(\alpha + 1) = \alpha\Gamma(\alpha) and Γ(12)=π\Gamma(\tfrac12) = \sqrt\pi. Consequently

∫0∞xne−λx dx=n!λn+1,\int_0^\infty x^ne^{-\lambda x}\,dx = \frac{n!}{\lambda^{n+1}},

which gives all moments of the exponential distribution: E[Xn]=n!/λnE[X^n] = n!/\lambda^n.

Gaussian integral: ∫−∞∞e−x2dx=π\int_{-\infty}^\infty e^{-x^2}dx = \sqrt\pi, hence ∫−∞∞e−(x−μ)2/(2σ2)dx=σ2π\int_{-\infty}^{\infty}e^{-(x - \mu)^2/(2\sigma^2)}dx = \sigma\sqrt{2\pi} — the normal density's normalising constant.

Double integrals (for joint densities)

For a joint density over a region, integrate one variable at a time (Fubini), with limits read off the region:

P(X<Y)=∫01∫x1f(x,y) dy dxfor (X,Y) on the unit square.P(X < Y) = \int_0^1\int_x^1 f(x, y)\,dy\,dx \quad\text{for } (X, Y)\text{ on the unit square}.

Numerical integration

RuleFormula on [a,b][a, b] with nn strips of width hhError
Trapezoidalh2[f0+2f1+⋯+2fn−1+fn]\frac h2\left[f_0 + 2f_1 + \dots + 2f_{n-1} + f_n\right]O(h2)O(h^2), exact for linear ff
Simpson's 1/3 (nn even)h3[f0+4f1+2f2+4f3+⋯+fn]\frac h3\left[f_0 + 4f_1 + 2f_2 + 4f_3 + \dots + f_n\right]O(h4)O(h^4), exact for cubics

Monte Carlo integration estimates ∫g(x)f(x) dx=E[g(X)]\int g(x)f(x)\,dx = E[g(X)] by averaging gg over samples from ff — the basis of sampling-based inference.

Quick revision

Practice questions

GATE-style questions: 2 one-mark and 7 two-mark. Wrong MCQs cost ⅓ of their marks in the real exam; MSQ and NAT have no negative marking. Attempt each before opening the solution.

Q1NAT1 mark

∫01x2 dx=\displaystyle\int_0^1 x^2\,dx = ______ (round to three decimals).

Q2NAT2 marks

∫0∞xe−x dx=\displaystyle\int_0^\infty x e^{-x}\,dx = ______.

Q3NAT2 marks

∫0π/2sin⁡2x dx=\displaystyle\int_0^{\pi/2}\sin^2x\,dx = ______ (round to two decimals).

Q4MCQ1 mark

ddx∫0xet2 dt\dfrac{d}{dx}\displaystyle\int_0^{x} e^{t^2}\,dt equals

Q5NAT2 marks

The value of the Gamma function Γ(5)\Gamma(5) is ______.

Q6NAT2 marks

∫1eln⁡x dx=\displaystyle\int_1^e\ln x\,dx = ______.

Q7NAT2 marks

∫−∞∞e−x2/2 dx=\displaystyle\int_{-\infty}^{\infty}e^{-x^2/2}\,dx = ______ (round to two decimals).

Q8MSQ2 marks

Which of the following statements are true?

One or more options are correct.

Q9NAT2 marks

A random variable has density f(x)=3x2f(x) = 3x^2 on [0,1][0, 1]. Its mean E[X]E[X] is ______.