This treatise is written for the student who has already mastered the mechanics of elementary integration and now wishes to acquire the deeper structural understanding demanded by JEE Advanced, the Indian and international Mathematical Olympiads, and the entrance examinations of the Indian Statistical Institute and Chennai Mathematical Institute. Such examinations rarely reward the candidate who merely knows how to integrate; they reward the candidate who recognises, within seconds, which of a dozen possible manoeuvres will collapse an intractable-looking expression into a line or two of algebra.
Accordingly, this guide is organised not as a catalogue of formulas to be memorised in isolation, but as a progression of ideas. Each Part develops a family of related techniques, proves the central results in full wherever the proof illuminates the technique itself, and closes with a Challenge Problem substantial enough to reward careful study. The reader is assumed to be comfortable with differential calculus, elementary trigonometric identities, and the language of limits; nothing beyond this is presupposed.
A word on the proofs included here. Some — the Fundamental Theorem of Calculus, the reflection property of definite integrals, the Beta–Gamma bridge, Green's Theorem, the Legendre Duplication Formula — are given in full, because the argument is short and the insight gained is worth far more than the few lines it costs. One result, Euler's Reflection Formula for the Gamma function, is stated and used freely, with only the method of proof (contour integration) indicated; a complete derivation requires complex analysis lying outside the scope of a calculus treatise. The reader should regard this as an honest signpost rather than an evasion.
Contents
Part I. The Foundations of Integration
Part II. Symmetry in Definite Integration
Part III. Tactical Substitutions
Part IV. Feynman's Trick — Differentiation Under the Integral Sign
Part V. The Weierstrass Substitution
Part VI. The Gamma and Beta Functions
Part VII. Multiple Integrals — Double, Triple, and Beyond
Part VIII. Vector Calculus — Green, Stokes, and Gauss
Appendix A. Master Formula Sheet
Closing Remarks — A Problem-Solver's Philosophy
Conventions
Throughout, C denotes an arbitrary constant of integration. All functions are assumed sufficiently well-behaved — continuous, differentiable, or integrable, as the manipulation demands — for the stated step to be legitimate; this is remarked upon explicitly only where the distinction is itself the point, as in Part IV. The symbol ■ closes a proof.
Part I. The Foundations of Integration
1.1 The Fundamental Theorem of Calculus
Before any technique of integration can be justified, one must know why integration and differentiation are inverse operations at all. This is the content of the Fundamental Theorem of Calculus, in two parts.
Theorem (FTC, Part 1). Let f be continuous on [a,b], and define F(x)=∫axf(t)dt. Then F is differentiable on (a,b) and F′(x)=f(x).
Proof. For h=0 small enough that x+h∈(a,b), hF(x+h)−F(x)=h1∫xx+hf(t)dt.
By the Mean Value Theorem for Integrals, there exists a point c between x and x+h such that ∫xx+hf(t)dt=f(c)⋅h, so the difference quotient equals f(c) exactly. As h→0, c→x, and since f is continuous, f(c)→f(x). Hence F′(x)=limh→0f(c)=f(x). ■
Theorem (FTC, Part 2 — Evaluation). If f is continuous on [a,b] and G is any antiderivative of f, then ∫abf(x)dx=G(b)−G(a).
Proof. Let F(x)=∫axf(t)dt as above; by Part 1, F′=f=G′, so F−G has zero derivative and is therefore constant on [a,b]: F(x)=G(x)+k. Since F(a)=0, k=−G(a). Setting x=b gives F(b)=∫abf(t)dt=G(b)−G(a). ■
This second statement is used in every evaluation of a definite integral; the first is what justifies calling an antiderivative an antiderivative at all. Nearly every result in this treatise — from the reflection property of Part II to the Divergence Theorem of Part VIII — is, at bottom, some avatar of a single idea: the behaviour of a function on the interior of a region is captured entirely by what happens on its boundary.
1.2 The Table of Elementary Primitives
f(x)
∫f(x)dx
xn(n=−1)
n+1xn+1+C
x−1
ln∣x∣+C
ex
ex+C
ax
lnaax+C
sinx
−cosx+C
cosx
sinx+C
sec2x
tanx+C
tanx
ln∣secx∣+C
secx
ln∣secx+tanx∣+C
a2−x21
arcsin(ax)+C
a2+x21
a1arctan(ax)+C
xx2−a21
a1arcsecax+C
x2±a21
lnx+x2±a2+C
These entries, together with the two rules below, generate essentially every "routine" indefinite integral a student meets before specialised technique becomes necessary.
1.3 Integration by Substitution
Rule. If u=g(x) is differentiable and f is continuous on the range of g, then ∫f(g(x))g′(x)dx=∫f(u)du.
Proof. Let F be an antiderivative of f. By the Chain Rule, dxd[F(g(x))]=F′(g(x))g′(x)=f(g(x))g′(x). Hence F(g(x)) is an antiderivative of f(g(x))g′(x), which is the assertion. ■
Substitution is nothing more than the Chain Rule read from right to left. Its entire difficulty in practice lies in seeing the pairing f(g(x))g′(x) inside a given integrand — exactly the skill Parts III and V are devoted to sharpening.
1.4 Integration by Parts
Rule.∫udv=uv−∫vdu.
Proof. By the Product Rule, (uv)′=u′v+uv′. Integrating both sides, uv=∫u′vdx+∫uv′dx, and rearranging gives the rule. ■
The traditional mnemonic ILATE (Inverse trigonometric, Logarithmic, Algebraic, Trigonometric, Exponential, in decreasing priority) remains a reliable first guess for which factor to differentiate.
Example.∫xlnxdx. Take u=lnx,dv=xdx, so du=x1dx,v=2x2: ∫xlnxdx=2x2lnx−∫2x2⋅x1dx=2x2lnx−4x2+C.
1.5 A Named Trick: The Exponential Derivative-Sum Rule
A pattern recurs often enough in JEE Advanced integrals to deserve its own statement.
Rule.∫ex[f(x)+f′(x)]dx=exf(x)+C.
Proof. Immediate from the Product Rule: dxd[exf(x)]=exf(x)+exf′(x). ■
The entire difficulty of applying this rule lies in massaging a given integrand into the form ex[f+f′] — precisely what makes the following problem a genuine test of algebraic fluency rather than of the rule itself.
Solution. Using the half-angle identities 1+cosx=2cos22x and sinx=2sin2xcos2x, 1+cosx1+sinx=1+cosx1+1+cosxsinx=2cos22x1+2cos22x2sin2xcos2x=21sec22x+tan2x.
Set f(x)=tan2x; then f′(x)=21sec22x, so the bracketed expression is exactly f(x)+f′(x). Therefore I=extan2x+C.
The entire difficulty of this problem — routinely rated among the harder single-variable integrals set at this level — was hidden in recognising the disguised form f+f′ underneath a quotient of trigonometric functions; once seen, the calculus is a single line.
Part II. Symmetry in Definite Integration
Where Part I concerned finding an antiderivative, this Part concerns evaluating a definite integral without ever finding one, by exploiting the symmetry of the interval of integration. Problem for problem, this is probably the single most heavily tested idea in the definite-integral portion of JEE Advanced.
2.1 King's Rule (The Reflection Property)
Theorem.∫abf(x)dx=∫abf(a+b−x)dx.
Proof. Substitute u=a+b−x, so du=−dx; when x=a, u=b, and when x=b, u=a. Then ∫abf(x)dx=∫baf(a+b−u)(−du)=∫abf(a+b−u)du,
and relabelling u→x completes the proof. ■
The power of this innocuous identity is that it lets one add an integral to itself in a transformed guise, often producing a quantity that collapses completely.
Example. Evaluate I=∫0π/2sinx+cosxsinxdx.
Apply King's Rule with x→2π−x: I=∫0π/2sin(2π−x)+cos(2π−x)sin(2π−x)dx=∫0π/2cosx+sinxcosxdx.
Adding this to the original expression for I: 2I=∫0π/2sinx+cosxsinx+cosxdx=∫0π/21dx=2π,so I=4π.
2.2 Odd and Even Functions; Periodicity
Odd integrand: if f(−x)=−f(x), then ∫−aaf(x)dx=0.
Even integrand: if f(−x)=f(x), then ∫−aaf(x)dx=2∫0af(x)dx.
Periodicity: if f(x+T)=f(x) for all x, then ∫aa+Tf(x)dx is independent of a, and ∫0nTf(x)dx=n∫0Tf(x)dx for every positive integer n.
These follow from the same substitution technique as King's Rule and are left as routine exercises; their value lies entirely in recognising the relevant symmetry, since a full computation is then never necessary.
Solution. Apply King's Rule with x→π−x. Since sin(π−x)=sinx and cos2(π−x)=cos2x, I=∫0π1+cos2x(π−x)sinxdx=π∫0π1+cos2xsinxdx−I,
so 2I=π∫0π1+cos2xsinxdx.
For the remaining integral, substitute u=cosx,du=−sinxdx; as x runs from 0 to π, u runs from 1 to −1: ∫0π1+cos2xsinxdx=∫−111+u2du=[arctanu]−11=4π−(−4π)=2π.
Therefore 2I=π⋅2π=2π2, and I=4π2.
This problem is a good illustration of stacking two techniques — King's Rule to fold the integral onto itself, followed by an elementary substitution — and is a very frequently recurring.
Part III. Tactical Substitutions
The techniques of this Part share a common spirit: each is a specific, engineered substitution designed to defeat a specific algebraic shape that resists the general methods of Part I. Recognising the shape is nine-tenths of the battle.
3.1 Extracting the Highest Power
Target form.∫xm(a+bxn)p/qdx.
Method. Factor the highest power of x out of the bracketed term, converting the awkward sum a+bxn into xn(ax−n+b); this manufactures a negative power of x whose derivative is available in the rest of the integrand.
Example. Evaluate I=∫x2(x4+1)3/4dx.
Write (x4+1)3/4=(x4(1+x−4))3/4=x3(1+x−4)3/4, so I=∫x5(1+x−4)3/4dx=∫x−5(1+x−4)−3/4dx.
Let t=1+x−4, so dt=−4x−5dx: I=−41∫t−3/4dt=−t1/4+C=−(1+x−4)1/4+C.
3.2 Algebraic Twins: the x±x1 Substitution
Target form.∫x4+kx2+1x2±1dx, a symmetric bi-quadratic denominator.
Method. Divide numerator and denominator by x2.
If the numerator becomes 1+x21, set t=x−x1 (so dt=(1+x21)dx, and t2=x2+x21−2).
If the numerator becomes 1−x21, set t=x+x1 (so dt=(1−x21)dx, and t2=x2+x21+2).
Example. Evaluate I=∫x4+1x2+1dx.
Dividing by x2: I=∫x2+1/x21+1/x2dx=∫(x−1/x)2+21+1/x2dx. With t=x−x1, I=∫t2+(2)2dt=21arctan(2t)+C=21arctan(2x−1/x)+C.
3.3 The Reciprocal Substitution x=1/t
Effective whenever the leading and trailing powers of x in an irrational integrand pair more naturally after inversion.
Example. Evaluate I=∫x2x2+1dx for x>0.
Put x=t1, so dx=−t2dt, and x2+1=t21+t2=t1+t2 (for t>0). Then I=∫(1/t2)⋅t1+t21(−t2dt)=−∫1+t2tdt=−1+t2+C=−xx2+1+C.
Observe how inversion converted an integral that "looked like" it needed a hyperbolic substitution into an elementary one.
3.4 Euler's Substitutions for ∫R(x,ax2+bx+c)dx
When the standard trigonometric substitution becomes unwieldy, Euler's three substitutions convert the entire integrand into a rational function of a new variable t, after which partial fractions finish the job.
Case 1 (a>0): put ax2+bx+c=±xa+t.
Case 2 (c>0): put ax2+bx+c=xt±c.
Case 3 (real roots r1,r2): put a(x−r1)(x−r2)=t(x−r1).
Challenge Problem. Evaluate I=∫x+x2+x+1dx.
Solution. Here a=1>0, so Case 1 applies. Set x2+x+1=t−x(i.e. t=x+x2+x+1).
Squaring, x2+x+1=t2−2tx+x2, so x+1=t2−2tx, giving x=2t+1t2−1.
Note immediately that the entire denominator of the original integrand is, by construction, just t itself — that is the point of the substitution. It remains only to express dx in terms of dt: dx=(2t+1)22t(2t+1)−2(t2−1)dt=(2t+1)22(t2+t+1)dt.
Hence I=∫t1⋅(2t+1)22(t2+t+1)dt=2∫t(2t+1)2t2+t+1dt.
Partial fractions give t(2t+1)2t2+t+1=t1−2t+13/2−(2t+1)23/2 (the reader may verify this by clearing denominators), so I=2ln∣t∣−23ln∣2t+1∣+2(2t+1)3+C,
where t=x+x2+x+1. This problem is representative of the genre: the substitution itself is a single line, but the partial-fraction reduction that follows is where marks are actually won or lost.
Part IV. Feynman's Trick — Differentiation Under the Integral Sign
4.1 The Leibniz Integral Rule
Rule (constant limits). If f(x,α) and ∂α∂f are continuous, then dαd∫abf(x,α)dx=∫ab∂α∂f(x,α)dx.
Rule (variable limits). More generally, dαd∫p(α)q(α)f(x,α)dx=f(q(α),α)q′(α)−f(p(α),α)p′(α)+∫p(α)q(α)∂α∂f(x,α)dx.
Remark on rigour. The interchange of dαd and ∫ is not free: it requires, at minimum, that ∂α∂f be continuous jointly in x and α, and — when the interval of integration is infinite or the integrand unbounded — some form of uniform convergence (in a rigorous course, typically supplied by the Dominated Convergence Theorem). At JEE Advanced and Olympiad, one may apply the rule freely; a careful writer will simply note in passing that the interchange is justified.
Named strategy: Feynman's Trick. Introduce a parameter α into a difficult integral I — often multiplicatively, as an exponent, or as a limit of integration — so that (i) I(α) is easy for some particular value of α, and (ii) I′(α), obtained by differentiating under the integral sign, is elementary. Integrate I′(α) back up and fix the constant using the easy value from (i).
Example. Evaluate I(α)=∫01lnxxα−1dx.
Differentiate under the integral sign: I′(α)=∫01∂α∂[lnxxα−1]dx=∫01lnxxαlnxdx=∫01xαdx=α+11.
Integrating, I(α)=ln(α+1)+C. Since I(0)=∫01lnxx0−1dx=∫010dx=0, we get C=0, so I(α)=ln(α+1).
4.2 A Useful Lemma
The Challenge Problem below requires the following standard result, worth recording separately.
Lemma. For p,q>0 with p=q, ∫0∞(u2+p2)(u2+q2)du=2pq(p+q)π.
Proof. Partial fractions in u2 give (u2+p2)(u2+q2)1=q2−p21[u2+p21−u2+q21], and since ∫0∞u2+p2du=2pπ, ∫0∞(u2+p2)(u2+q2)du=q2−p21[2pπ−2qπ]=2pq(q2−p2)π(q−p)=2pq(p+q)π.■
Challenge Problem. Evaluate I(a,b)=∫0π/2ln(a2cos2θ+b2sin2θ)dθ for a,b>0.
Solution. Differentiate with respect to a, holding b fixed: ∂a∂I=∫0π/2a2cos2θ+b2sin2θ2acos2θdθ.
Divide numerator and denominator by cos2θ and substitute u=tanθ (so dθ=1+u2du, and θ:0→2π corresponds to u:0→∞): ∂a∂I=∫0∞a2+b2u22a⋅1+u2du=b22a∫0∞(u2+(ba)2)(u2+1)du.
Applying the Lemma with p=a/b,q=1: ∂a∂I=b22a⋅2⋅ba⋅1⋅(ba+1)π=b22a⋅2a(a+b)πb2=a+bπ.
Integrating with respect to a: I(a,b)=πln(a+b)+C(b). To pin down C(b), evaluate the original integral at a=b, where it is trivial: I(b,b)=∫0π/2ln(b2)dθ=2π⋅2lnb=πlnb.
Comparing with I(b,b)=πln(2b)+C(b)=πln2+πlnb+C(b) forces C(b)=−πln2. Therefore I(a,b)=πln(a+b)−πln2=πln(2a+b).
This is a celebrated result: the integral of the logarithm of an ellipse-shaped weight, evaluated in closed form, is simply π times the log of the arithmetic mean of the semi-axes. Direct computation — expanding the logarithm, or attempting a trigonometric substitution — offers no visible way in; the parameter a exists only in our imagination, and yet introducing it is exactly what solves the problem.
Part V. The Weierstrass Substitution
5.1 Derivation
Substitution. Let t=tan2x.
Derivation of the conversion formulas. Since sinx=2sin2xcos2x, divide and multiply by cos22x: sinx=sin22x+cos22x2sin2xcos2x=1+tan22x2tan2x=1+t22t.
Similarly, cosx=cos22x−sin22x, and dividing through by sin22x+cos22x=1 in the same way, cosx=1+tan22x1−tan22x=1+t21−t2.
Finally, from x=2arctant, dx=1+t22dt.
This substitution converts any rational function of sinx and cosx into a rational function of t — after which the entire machinery of partial fractions becomes available.
Example. Evaluate I=∫1+sinxdx.
With the substitutions above, 1+sinx=1+1+t22t=1+t2(1+t)2,
so I=∫(1+t)21+t2⋅1+t22dt=∫(1+t)22dt=−1+t2+C=−1+tan2x2+C.
5.2 A Structural Remark: the Perfect-Square Phenomenon
Challenge Problem. Evaluate I=∫3sinx−4cosx+5dx.
Solution. Substituting, 3sinx−4cosx+5=1+t26t−4(1−t2)+5(1+t2)=1+t29t2+6t+1=1+t2(3t+1)2.
The quadratic in the numerator is a perfect square, so I=∫(3t+1)21+t2⋅1+t22dt=∫(3t+1)22dt=−3(3t+1)2+C=−3(3tan2x+1)2+C.
Remark. The perfect square was no accident. For a general integral ∫asinx+bcosx+cdx, the Weierstrass substitution produces a numerator quadratic in t equal to (c−b)t2+2at+(c+b), whose discriminant is 4a2−4(c−b)(c+b)=4(a2−c2+b2).
This vanishes — guaranteeing a perfect square, and hence an arctan-free antiderivative — precisely when a2+b2=c2: that is, whenever (a,b,c) is a Pythagorean triple. Here (3,4,5) is the most famous triple of all, which is no coincidence of the problem-setter's choosing; recognising this pattern instantly tells the solver, before any algebra, that the answer will involve no inverse trigonometric function at all.
Integration by parts gives Γ(n+1)=nΓ(n), so Γ(n)=(n−1)! for positive integers n, and Γ(1)=1.
6.2 Proof that Γ(1/2)=π
Theorem.Γ(21)=π.
Proof. By definition, Γ(21)=∫0∞x−1/2e−xdx. Substitute x=u2 (dx=2udu): Γ(21)=∫0∞u−1e−u2⋅2udu=2∫0∞e−u2du.
Let K=∫0∞e−u2du. Then K2=∫0∞∫0∞e−(u2+v2)dudv,
a double integral over the first quadrant. Converting to polar coordinates (u=rcosθ,v=rsinθ,dudv=rdrdθ; the first quadrant becomes r∈[0,∞),θ∈[0,π/2]): K2=∫0π/2∫0∞e−r2rdrdθ=∫0π/2[−21e−r2]0∞dθ=∫0π/221dθ=4π.
Since K>0, K=2π, so Γ(21)=2K=π. ■
(This is the same polar-coordinate device developed formally in Part VII; here it appears in embryo.)
6.3 Proof of the Beta–Gamma Bridge
Theorem.B(m,n)=Γ(m+n)Γ(m)Γ(n).
Proof. Write Γ(m)Γ(n) as a double integral over the first quadrant: Γ(m)Γ(n)=∫0∞∫0∞xm−1yn−1e−(x+y)dxdy.
Change variables to u=x+y∈(0,∞) and v=x+yx∈(0,1), i.e. x=uv,y=u(1−v). The Jacobian is ∂(u,v)∂(x,y)=det(v1−vu−u)=−uv−u(1−v)=−u,∂(u,v)∂(x,y)=u.
Since xm−1yn−1=um+n−2vm−1(1−v)n−1 and x+y=u, Γ(m)Γ(n)=∫0∞∫01um+n−2vm−1(1−v)n−1e−u⋅udvdu=(∫0∞um+n−1e−udu)(∫01vm−1(1−v)n−1dv),
which is exactly Γ(m+n)⋅B(m,n). Dividing through gives the theorem. ■
6.4 Three Disguises of the Beta Function
Tactic 1 (trigonometric form). ∫0π/2sinpxcosqxdx=21B(2p+1,2q+1)=2Γ(2p+q+2)Γ(2p+1)Γ(2q+1). (Obtained by substituting x=arcsinw into B(2p+1,2q+1)=∫01w(p−1)/2(1−w)(q−1)/2dw; the reader is encouraged to verify this independently.)
Tactic 2 (infinite rational form). ∫0∞(1+x)m+nxm−1dx=B(m,n). Proof. Substitute x=1−tt, t∈(0,1), so 1+x=1−t1 and dx=(1−t)2dt: ∫0∞(1+x)m+nxm−1dx=∫01tm−1(1−t)−(m−1)⋅(1−t)m+n⋅(1−t)2dt=∫01tm−1(1−t)n−1dt=B(m,n).■
A Common Pitfall. Students frequently misapply Tactic 2 to integrals such as ∫0∞1+x3dx by writing it directly as B(1/3,2/3) — but Tactic 2 requires the denominator to be a power of (1+x)alone; here the denominator is 1+x3. The correct route substitutes u=x3 first: with x=u1/3, dx=31u1/3−1du, ∫0∞1+x3dx=31∫0∞1+uu1/3−1du=31B(31,32)=31Γ(31)Γ(32).
More generally, the substitution u=xn shows that ∫0∞1+xndx=n1Γ(n1)Γ(1−n1)=nsin(π/n)π(n>1),
using the Reflection Formula of §6.5. For n=3 this gives 3sin(π/3)π=332π — note the crucial factor of 31, which is exactly the Jacobian of the substitution u=x3, and exactly what is lost if the Beta form is written down without performing that substitution first.
Tactic 3 (logarithmic–exponential bridge). ∫01xm(lnx1)ndx=(m+1)n+1Γ(n+1). Proof. Substitute t=ln(1/x), i.e. x=e−t, dx=−e−tdt; as x:0→1, t:∞→0: ∫01xm(lnx1)ndx=∫0∞e−mttne−tdt=∫0∞tne−(m+1)tdt.
Substituting s=(m+1)t, =(m+1)n+11∫0∞sne−sds=(m+1)n+1Γ(n+1).■
6.5 The Reflection and Duplication Formulas
Euler's Reflection Formula. For 0<z<1, Γ(z)Γ(1−z)=sin(πz)π.
By Tactic 2 (with m=z,n=1−z), this is equivalent to ∫0∞1+uuz−1du=sinπzπ, whose rigorous proof proceeds by contour integration around a keyhole contour avoiding the branch cut of uz−1 — a technique from complex analysis lying outside our present scope. We record and use the result, as is standard practice at this level.
Legendre's Duplication Formula. For z>0, Γ(z)Γ(z+21)=21−2zπΓ(2z). Proof. Consider B(z,z)=∫01[t(1−t)]z−1dt. Substitute t=21+s, so t(1−t)=41−s2 and dt=2ds, with s running over (−1,1): B(z,z)=2⋅4z−11∫−11(1−s2)z−1ds=4z−11∫01(1−s2)z−1ds
(the integrand being even). Substitute w=s2 (ds=2w1dw): ∫01(1−s2)z−1ds=21∫01w−1/2(1−w)z−1dw=21B(21,z).
So B(z,z)=2⋅4z−11B(21,z). Writing both Beta functions in terms of Gamma functions, Γ(2z)Γ(z)2=2⋅4z−11⋅Γ(z+21)Γ(21)Γ(z)=2⋅4z−1π⋅Γ(z+21)Γ(z).
Cancelling one factor of Γ(z) and rearranging, Γ(z)Γ(z+21)=4z−12πΓ(2z)=21−2zπΓ(2z).■
Unlike the Reflection Formula, this proof uses nothing beyond the Beta function's own definition — a satisfying instance of a "deep-looking" identity yielding to entirely elementary means.
Challenge Problem. Evaluate I=∫0π/2tanxdx.
Solution. Write tanx=sin1/2xcos−1/2x and apply Tactic 1 with p=21,q=−21: I=21B(221+1,2−21+1)=21B(43,41)=21⋅Γ(1)Γ(43)Γ(41)=21Γ(41)Γ(43).
By the Reflection Formula with z=41: Γ(41)Γ(43)=sin4ππ=22π=π2.
Therefore I=21⋅π2=2π.
This is among the most celebrated "impossible-looking" integrals at this level: no elementary antiderivative of tanx exists as a finite combination of familiar functions along the indefinite route, and yet the definite integral over a quarter-period falls out in two lines once its Beta-function disguise is recognised.
Part VII. Multiple Integrals — Double, Triple, and Beyond
7.1 Fubini's Theorem and the Order of Integration
Theorem (Fubini). If f is continuous on a region D, the double integral ∬DfdA may be computed as an iterated integral in either order, the bounds being adjusted to describe D correctly in each: ∬Df(x,y)dA=∫ab∫g1(x)g2(x)f(x,y)dydx=∫cd∫h1(y)h2(y)f(x,y)dxdy.
Tactic. When the inner integral has no elementary antiderivative (classic offenders: e−x2, xsinx, ex/x), never attempt to force it. Sketch the two-dimensional region D, re-describe it by slicing in the other direction, and swap the order — the previously impossible inner integral will typically resolve immediately once the order is reversed.
7.2 Change of Variables and the Jacobian
When D is not naturally rectangular, map it to a simpler region via x=x(u,v),y=y(u,v): ∬Df(x,y)dxdy=∬D′f(x(u,v),y(u,v))∣J∣dudv,J=det(∂x/∂u∂y/∂u∂x/∂v∂y/∂v).
Illustration (polar coordinates). For x=rcosθ,y=rsinθ: J=det(cosθsinθ−rsinθrcosθ)=rcos2θ+rsin2θ=r,
recovering the familiar dA=rdrdθ already used, in embryonic form, in the proof of Γ(1/2)=π in Part VI.
System
Substitution
Volume/Area Element
Typical Use
Polar (2D)
x=rcosθ,y=rsinθ
rdrdθ
circles, x2+y2
Cylindrical (3D)
x=rcosθ,y=rsinθ,z=z
rdrdθdz
axial symmetry
Spherical (3D)
x=ρsinϕcosθ,y=ρsinϕsinθ,z=ρcosϕ
ρ2sinϕdρdϕdθ
spheres, distance from origin
7.3 Dirichlet's Integral
Theorem. If V is the simplex x,y,z≥0,x+y+z≤1, then for p,q,r>0, ∭Vxp−1yq−1zr−1dxdydz=Γ(p+q+r+1)Γ(p)Γ(q)Γ(r).
Proof. Integrate first over z, from 0 to 1−x−y: ∫01−x−yzr−1dz=r(1−x−y)r,
reducing the triple integral to r1∬x,y≥0,x+y≤1xp−1yq−1(1−x−y)rdxdy. Fix x∈[0,1] and substitute y=(1−x)s,s∈[0,1], in the inner integral over y: ∫01−xyq−1(1−x−y)rdy=(1−x)q+r∫01sq−1(1−s)rds=(1−x)q+rB(q,r+1).
So the double integral becomes B(q,r+1)∫01xp−1(1−x)q+rdx=B(q,r+1)B(p,q+r+1). Assembling, ∭Vxp−1yq−1zr−1dV=r1B(q,r+1)B(p,q+r+1).
Writing these as Gamma functions and using Γ(r+1)=rΓ(r), B(q,r+1)=Γ(q+r+1)Γ(q)⋅rΓ(r),B(p,q+r+1)=Γ(p+q+r+1)Γ(p)Γ(q+r+1),
and the product r1⋅B(q,r+1)⋅B(p,q+r+1) collapses — the factor of r and the factor Γ(q+r+1) both cancel — to exactly Γ(p+q+r+1)Γ(p)Γ(q)Γ(r). ■
7.4 Liouville's Extension
For an ellipsoidal region (ax)α+(by)β+(cz)γ≤1 (with x,y,z≥0), substituting X=(x/a)α (and similarly for Y,Z) reduces the region to Dirichlet's simplex. Carrying the Jacobian of this substitution through gives the general formula ∭xp−1yq−1zr−1dV=αβγapbqcr⋅Γ(αp+βq+γr+1)Γ(αp)Γ(βq)Γ(γr).
7.5 Symmetry in Higher Dimensions
Exactly as in Part II: if the domain D is symmetric under x→−x and f(−x,y,z)=−f(x,y,z), the integral vanishes identically — worth checking before any computation is attempted, since it frequently disposes of most terms in a polynomial integrand over a sphere or ball.
Challenge Problem. Evaluate ∭VxyzdV, where V is the portion of the unit ball x2+y2+z2≤1 lying in the positive octant (x,y,z≥0).
Solution. The boundary is (1x)2+(1y)2+(1z)2≤1, so in the notation of §7.4, a=b=c=1 and α=β=γ=2. The integrand xyz=x2−1y2−1z2−1 gives p=q=r=2. Substituting into Liouville's formula: ∭VxyzdV=2⋅2⋅21⋅Γ(1+1+1+1)Γ(1)Γ(1)Γ(1)=81⋅Γ(4)1=81⋅61=481. (This may be checked independently in spherical coordinates: the integral factors as ∫01ρ5dρ⋅∫0π/2sin3ϕcosϕdϕ⋅∫0π/2sinθcosθdθ=61⋅41⋅21=481, in exact agreement.)
What would otherwise require setting up and evaluating an iterated triple integral in spherical coordinates was reduced, by recognising the Liouville pattern, to substituting three numbers into a formula.
Part VIII. Vector Calculus — Green, Stokes, and Gauss
8.1 A Unifying Theme
Every theorem in this final Part is a higher-dimensional descendant of the Fundamental Theorem of Calculus proved in §1.1. FTC relates the values of F at the boundary of an interval ({a,b}) to the interior behaviour of F′; Green's, Stokes', and the Divergence Theorem relate the values of a vector field on the boundary of a region (a curve or a surface) to the interior behaviour of its derivatives (curl or divergence). It is this family resemblance, more than any surface similarity of formula, that is worth carrying into an examination hall: whenever a problem asks for a boundary integral, ask whether the interior is easier — and vice versa.
8.2 Green's Theorem
Theorem. Let C be a positively oriented (counterclockwise), piecewise-smooth, simple closed curve bounding a region D. If P,Q have continuous partial derivatives on an open region containing D, ∮C(Pdx+Qdy)=∬D(∂x∂Q−∂y∂P)dA.
Proof (for a region that is simultaneously "type I" and "type II"). Suppose D={(x,y):a≤x≤b,g1(x)≤y≤g2(x)}. Then, by the Fundamental Theorem of Calculus applied to the inner integral, ∬D∂y∂PdA=∫ab[P(x,g2(x))−P(x,g1(x))]dx.
On the other hand, C consists of the lower boundary y=g1(x) traversed with increasing x, and the upper boundary y=g2(x) traversed with decreasingx (plus vertical segments, contributing nothing to ∮Pdx since dx=0 there): ∮CPdx=∫abP(x,g1(x))dx−∫abP(x,g2(x))dx=−∬D∂y∂PdA.
An identical argument, describing D as a type-II region, shows ∮CQdy=∬D∂x∂QdA. Adding the two establishes the theorem for such D; general regions are handled by cutting into finitely many pieces of this type, on which shared internal boundaries cancel in pairs. ■
Tactic: the Area Cheat Code. Setting P=−y,Q=x gives ∂x∂Q−∂y∂P=2, so Area(D)=21∮C(xdy−ydx).
Example. Find the area enclosed by the astroid x=acos3t,y=asin3t,t∈[0,2π].
Here dx=−3acos2tsintdt,dy=3asin2tcostdt, so xdy−ydx=3a2cos4tsin2tdt+3a2sin4tcos2tdt=3a2sin2tcos2tdt=43a2sin2(2t)dt.
Hence Area=21∫02π43a2sin2(2t)dt=83a2∫02πsin2(2t)dt=83a2⋅π=83πa2,
using ∫02πsin2(2t)dt=π (the mean value of sin2 over a whole number of periods is 21).
8.3 Stokes' Theorem
Theorem. For a piecewise-smooth oriented surface S with boundary curve C (oriented consistently via the right-hand rule), ∮CF⋅dr=∬S(∇×F)⋅dS.
This is the three-dimensional generalisation of Green's Theorem — indeed, when S is flat and lies in the xy-plane, Stokes' Theorem is Green's Theorem, since (∇×F)⋅k=∂x∂Q−∂y∂P. The proof for a general surface proceeds by parametrising S, pulling the surface integral of the curl back to a planar double integral over the parameter domain, and invoking Green's Theorem there; we omit the notationally heavy details.
Tactic: Surface-Swapping. Since the right-hand side depends on S only through its boundary C, any two surfaces sharing the same boundary curve give the same value. If S is awkward (a twisted, curved cap), replace it with the flattest possible surface sharing ∂S=C — typically a plane — and integrate the curl over that instead. (Compare the "closing the lid" tactic below, which is the same idea applied to closed surfaces instead of open ones.)
8.4 The Divergence Theorem
Theorem. For a solid region V with piecewise-smooth boundary surface S=∂V, oriented outward, ∬SF⋅dS=∭V(∇⋅F)dV.
Proof (for a "vertically simple" solid). Let V={(x,y,z):(x,y)∈D,z1(x,y)≤z≤z2(x,y)}, with vertical side walls (so the outward normal on the sides is horizontal). Consider just the z-component of the flux, taking F=(0,0,F3). By FTC, ∭V∂z∂F3dV=∬D[F3(x,y,z2(x,y))−F3(x,y,z1(x,y))]dA.
On the top surface z=z2(x,y) (outward normal pointing up), the standard formula for a graph gives k⋅dS=dA, so its contribution to ∬SF3k⋅dS is ∬DF3(x,y,z2)dA. On the bottom surface z=z1(x,y) (outward normal pointing down), the contribution is −∬DF3(x,y,z1)dA. The vertical sides contribute nothing, since their outward normal is horizontal (k⋅n=0 there). Summing exactly reproduces the volume integral above. The same argument, with x,y,z permuted, handles the F1 and F2 components for a solid simple in all three directions; summing all three establishes the full theorem. ■
Tactic: "Closing the Lid." If a problem gives an open surface (a hemisphere without its base, say) and asks for a flux, the Divergence Theorem cannot be applied directly. Instead, close the surface with a simple "lid," apply the Divergence Theorem to the resulting closed solid, and subtract the (usually much easier) flux through the lid.
8.5 Conservative Fields and Path Independence
Before attempting ∫ABF⋅dr along a complicated path, always check the curl. If ∇×F=0 (equivalently ∂x∂Q=∂y∂P in the plane) on a simply connected domain, F is conservative: the integral around any closed loop is zero, and for an open path, ∫ABF⋅dr=f(B)−f(A) for the scalar potential f with ∇f=F — utterly independent of the path taken.
Challenge Problem. Let S be the open upper hemisphere x2+y2+z2=a2,z≥0 (excluding the equatorial disk), oriented outward, and let F=(x+eyz)i+(y−exz)j+zk.
Evaluate ∬SF⋅dS.
Solution. A direct computation is hopeless: parametrising the hemisphere and substituting leaves integrals of eyz and exz over a curved surface, admitting no elementary closed form. This is the signal to close the lid.
First, the divergence: ∇⋅F=∂x∂(x+eyz)+∂y∂(y−exz)+∂z∂(z)=1+1+1=3
— the exponential terms vanish under differentiation because each depends only on the other two variables, never the one being differentiated. (This is not an accident of this particular problem; it is exactly how such "decoy" terms are engineered by problem-setters.)
Let V be the solid upper half-ball and close S with the equatorial disk D:x2+y2≤a2,z=0, whose outward normal (pointing out of V) is −k. On D, F⋅(−k)=−z=0,
so the flux through the lid is exactly zero, regardless of the exponential terms — because those terms never even enter a computation that dots only with −k.
By the Divergence Theorem applied to the closed surface S∪D=∂V: ∬SF⋅dS+=0∬DF⋅dS=∭V3dV=3⋅Vol(V)=3⋅32πa3=2πa3.
Therefore ∬SF⋅dS=2πa3.
Just as with Stokes' surface-swapping tactic above, the closed hemisphere's cap could equally well have been replaced by any surface sharing its boundary circle; the flat disk is simply the cheapest one available.
Appendix A. Master Formula Sheet
Part I — Foundations ∫abf(x)dx=G(b)−G(a);∫udv=uv−∫vdu;∫ex[f(x)+f′(x)]dx=exf(x)+C.
Part II — Symmetry ∫abf(x)dx=∫abf(a+b−x)dx;∫0nTf=n∫0Tf if f has period T.
Part III — Tactical Substitutions
Extract xn from (a+bxn)p/q; twins t=x±x1 for x4+kx2+1x2±1; invert with x=t1; Euler's three substitutions for ax2+bx+c.
Part IV — Feynman's Trick dαd∫abf(x,α)dx=∫ab∂α∂fdx;∫0∞(u2+p2)(u2+q2)du=2pq(p+q)π.
Part V — Weierstrass t=tan2x:sinx=1+t22t,cosx=1+t21−t2,dx=1+t22dt. asinx+bcosx+c Weierstrass-simplifies to a perfect square exactly when a2+b2=c2.
Part VI — Gamma and Beta Γ(n)=(n−1)!;Γ(21)=π;B(m,n)=Γ(m+n)Γ(m)Γ(n);∫0π/2sinpxcosqxdx=21B(2p+1,2q+1); ∫0∞(1+x)m+nxm−1dx=B(m,n);∫01xm(lnx1)ndx=(m+1)n+1Γ(n+1); Γ(z)Γ(1−z)=sinπzπ;Γ(z)Γ(z+21)=21−2zπΓ(2z);∫0∞1+xndx=nsin(π/n)π.
Part VII — Multiple Integrals dApolar=rdrdθ;dVcyl=rdrdθdz;dVsph=ρ2sinϕdρdϕdθ; ∭simplexxp−1yq−1zr−1dV=Γ(p+q+r+1)Γ(p)Γ(q)Γ(r)(Dirichlet); ∭xp−1yq−1zr−1dV=αβγapbqcr⋅Γ(p/α+q/β+r/γ+1)Γ(p/α)Γ(q/β)Γ(r/γ)(Liouville, ellipsoid).
Part VIII — Vector Calculus ∮C(Pdx+Qdy)=∬D(∂x∂Q−∂y∂P)dA;Area=21∮C(xdy−ydx); ∮CF⋅dr=∬S(∇×F)⋅dS(Stokes);∬SF⋅dS=∭V(∇⋅F)dV(Gauss); ∇×F=0 on a simply connected domain ⟺F conservative ⟺ path-independent, value =f(B)−f(A).
Closing Remarks — A Problem-Solver's Philosophy
Three habits separate the candidate who merely knows these results from the one who deploys them under time pressure.
First, look before you compute. Every technique in this treatise exists because someone recognised a pattern — a Pythagorean triple hiding in three coefficients, a factor of f+f′ disguised inside a quotient, a bi-quadratic denominator signalling x±x1 — before writing a single line of algebra. The recognition is the hard part; the calculus that follows is almost always mechanical.
Second, symmetry outranks brute force. An integral that surrenders in two lines to King's Rule, to a parity argument, or to the Dirichlet/Liouville formulas will resist an hour of direct computation along the "obvious" route. Whenever an interval, a domain, or an integrand looks even faintly symmetric, test the symmetry before doing anything else.
Third, the boundary is often easier than the interior, and vice versa. This single idea, present already in the Fundamental Theorem of Calculus of §1.1, is the entire content of Green's Theorem, Stokes' Theorem, and the Divergence Theorem. It is worth asking of every such problem — would the other side of this theorem be easier? — before committing to a method. The hemisphere-flux problem of Part VIII exists precisely to make the cost of ignoring this question vivid: computed directly, it is all but impossible; computed via its boundary's boundary, it is three lines.
The techniques collected here will not, by themselves, solve every hard integral a JEE Advanced paper or an Olympiad shortlist can produce — no finite list could. What they will do is furnish the first move for the overwhelming majority of problems these examinations actually set, which is very often the only move that matters.