by, Subhajit Gorai & Claude
Date: 20/07/2026

A Treatise on Integral and Vector Calculus

Preface

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, CC 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 ■\blacksquare 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 ff be continuous on [a,b][a,b], and define F(x)=∫axf(t) dtF(x)=\int_a^xf(t)\,dt. Then FF is differentiable on (a,b)(a,b) and F′(x)=f(x)F'(x)=f(x).

Proof. For h≠0h\neq0 small enough that x+h∈(a,b)x+h\in(a,b),
F(x+h)−F(x)h=1h∫xx+hf(t) dt.\frac{F(x+h)-F(x)}{h}=\frac1h\int_x^{x+h}f(t)\,dt.
By the Mean Value Theorem for Integrals, there exists a point cc between xx and x+hx+h such that ∫xx+hf(t) dt=f(c)⋅h\int_x^{x+h}f(t)\,dt=f(c)\cdot h, so the difference quotient equals f(c)f(c) exactly. As h→0h\to0, c→xc\to x, and since ff is continuous, f(c)→f(x)f(c)\to f(x). Hence F′(x)=lim⁡h→0f(c)=f(x)F'(x)=\lim_{h\to0}f(c)=f(x). ■\blacksquare

Theorem (FTC, Part 2 — Evaluation). If ff is continuous on [a,b][a,b] and GG is any antiderivative of ff, then
∫abf(x) dx=G(b)−G(a).\int_a^bf(x)\,dx=G(b)-G(a).

Proof. Let F(x)=∫axf(t) dtF(x)=\int_a^xf(t)\,dt as above; by Part 1, F′=f=G′F'=f=G', so F−GF-G has zero derivative and is therefore constant on [a,b][a,b]: F(x)=G(x)+kF(x)=G(x)+k. Since F(a)=0F(a)=0, k=−G(a)k=-G(a). Setting x=bx=b gives F(b)=∫abf(t) dt=G(b)−G(a)F(b)=\int_a^bf(t)\,dt=G(b)-G(a). ■\blacksquare

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)∫f(x) dx\displaystyle\int f(x)\,dx
xn (n≠−1)x^n\ (n\neq-1)xn+1n+1+C\dfrac{x^{n+1}}{n+1}+C
x−1x^{-1}ln⁡∣x∣+C\ln\lvert x\rvert+C
exe^xex+Ce^x+C
axa^xaxln⁡a+C\dfrac{a^x}{\ln a}+C
sin⁡x\sin x−cos⁡x+C-\cos x+C
cos⁡x\cos xsin⁡x+C\sin x+C
sec⁡2x\sec^2xtan⁡x+C\tan x+C
tan⁡x\tan xln⁡∣sec⁡x∣+C\ln\lvert\sec x\rvert+C
sec⁡x\sec xln⁡∣sec⁡x+tan⁡x∣+C\ln\lvert\sec x+\tan x\rvert+C
1a2−x2\dfrac1{\sqrt{a^2-x^2}}arcsin⁡ ⁣(xa)+C\arcsin\!\left(\dfrac xa\right)+C
1a2+x2\dfrac1{a^2+x^2}1aarctan⁡ ⁣(xa)+C\dfrac1a\arctan\!\left(\dfrac xa\right)+C
1xx2−a2\dfrac1{x\sqrt{x^2-a^2}}1a arcsec⁡∣xa∣+C\dfrac1a\,\operatorname{arcsec}\left\lvert\dfrac xa\right\rvert+C
1x2±a2\dfrac1{\sqrt{x^2\pm a^2}}ln⁡∣x+x2±a2∣+C\ln\left\lvert x+\sqrt{x^2\pm a^2}\right\rvert+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)u=g(x) is differentiable and ff is continuous on the range of gg, then
∫f(g(x)) g′(x) dx=∫f(u) du.\int f(g(x))\,g'(x)\,dx=\int f(u)\,du.

Proof. Let FF be an antiderivative of ff. By the Chain Rule, ddx[F(g(x))]=F′(g(x)) g′(x)=f(g(x)) g′(x)\dfrac{d}{dx}\big[F(g(x))\big]=F'(g(x))\,g'(x)=f(g(x))\,g'(x). Hence F(g(x))F(g(x)) is an antiderivative of f(g(x))g′(x)f(g(x))g'(x), which is the assertion. ■\blacksquare

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)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. ∫u dv=uv−∫v du.\displaystyle\int u\,dv=uv-\int v\,du.

Proof. By the Product Rule, (uv)′=u′v+uv′(uv)'=u'v+uv'. Integrating both sides, uv=∫u′v dx+∫uv′ dxuv=\int u'v\,dx+\int uv'\,dx, and rearranging gives the rule. ■\blacksquare

The traditional mnemonic ILATE (Inverse trigonometric, Logarithmic, Algebraic, Trigonometric, Exponential, in decreasing priority) remains a reliable first guess for which factor to differentiate.

Example. ∫xln⁡x dx\displaystyle\int x\ln x\,dx. Take u=ln⁡x, dv=x dxu=\ln x,\ dv=x\,dx, so du=1x dx, v=x22du=\frac1x\,dx,\ v=\frac{x^2}2:
∫xln⁡x dx=x22ln⁡x−∫x22⋅1x dx=x22ln⁡x−x24+C.\int x\ln x\,dx=\frac{x^2}2\ln x-\int\frac{x^2}2\cdot\frac1x\,dx=\frac{x^2}2\ln x-\frac{x^2}4+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.\displaystyle\int e^x\big[f(x)+f'(x)\big]\,dx=e^xf(x)+C.

Proof. Immediate from the Product Rule: ddx[exf(x)]=exf(x)+exf′(x)\dfrac{d}{dx}\big[e^xf(x)\big]=e^xf(x)+e^xf'(x). ■\blacksquare

The entire difficulty of applying this rule lies in massaging a given integrand into the form ex[f+f′]e^x[f+f'] — precisely what makes the following problem a genuine test of algebraic fluency rather than of the rule itself.

Challenge Problem. Evaluate I=∫ex(1+sin⁡x1+cos⁡x)dx.\displaystyle I=\int e^x\left(\frac{1+\sin x}{1+\cos x}\right)dx.

Solution. Using the half-angle identities 1+cos⁡x=2cos⁡2x21+\cos x=2\cos^2\frac x2 and sin⁡x=2sin⁡x2cos⁡x2\sin x=2\sin\frac x2\cos\frac x2,
1+sin⁡x1+cos⁡x=11+cos⁡x+sin⁡x1+cos⁡x=12cos⁡2x2+2sin⁡x2cos⁡x22cos⁡2x2=12sec⁡2x2+tan⁡x2.\frac{1+\sin x}{1+\cos x}=\frac1{1+\cos x}+\frac{\sin x}{1+\cos x}=\frac1{2\cos^2\frac x2}+\frac{2\sin\frac x2\cos\frac x2}{2\cos^2\frac x2}=\frac12\sec^2\frac x2+\tan\frac x2.
Set f(x)=tan⁡x2f(x)=\tan\frac x2; then f′(x)=12sec⁡2x2f'(x)=\frac12\sec^2\frac x2, so the bracketed expression is exactly f(x)+f′(x)f(x)+f'(x). Therefore
I=extan⁡x2+C.I=e^x\tan\frac x2+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′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.\displaystyle\int_a^bf(x)\,dx=\int_a^bf(a+b-x)\,dx.

Proof. Substitute u=a+b−xu=a+b-x, so du=−dxdu=-dx; when x=ax=a, u=bu=b, and when x=bx=b, u=au=a. Then
∫abf(x) dx=∫baf(a+b−u)(−du)=∫abf(a+b−u) du,\int_a^bf(x)\,dx=\int_b^af(a+b-u)(-du)=\int_a^bf(a+b-u)\,du,
and relabelling u→xu\to x completes the proof. ■\blacksquare

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π/2sin⁡xsin⁡x+cos⁡x dx\displaystyle I=\int_0^{\pi/2}\frac{\sin x}{\sin x+\cos x}\,dx.

Apply King's Rule with x→π2−xx\to\frac\pi2-x:
I=∫0π/2sin⁡(π2−x)sin⁡(π2−x)+cos⁡(π2−x) dx=∫0π/2cos⁡xcos⁡x+sin⁡x dx.I=\int_0^{\pi/2}\frac{\sin\left(\frac\pi2-x\right)}{\sin\left(\frac\pi2-x\right)+\cos\left(\frac\pi2-x\right)}\,dx=\int_0^{\pi/2}\frac{\cos x}{\cos x+\sin x}\,dx.
Adding this to the original expression for II:
2I=∫0π/2sin⁡x+cos⁡xsin⁡x+cos⁡x dx=∫0π/21 dx=π2,so I=π4.2I=\int_0^{\pi/2}\frac{\sin x+\cos x}{\sin x+\cos x}\,dx=\int_0^{\pi/2}1\,dx=\frac\pi2,\qquad\text{so }I=\frac\pi4.

2.2 Odd and Even Functions; Periodicity

  • Odd integrand: if f(−x)=−f(x)f(-x)=-f(x), then ∫−aaf(x) dx=0\displaystyle\int_{-a}^af(x)\,dx=0.
  • Even integrand: if f(−x)=f(x)f(-x)=f(x), then ∫−aaf(x) dx=2∫0af(x) dx\displaystyle\int_{-a}^af(x)\,dx=2\int_0^af(x)\,dx.
  • Periodicity: if f(x+T)=f(x)f(x+T)=f(x) for all xx, then ∫aa+Tf(x) dx\displaystyle\int_a^{a+T}f(x)\,dx is independent of aa, and ∫0nTf(x) dx=n∫0Tf(x) dx\displaystyle\int_0^{nT}f(x)\,dx=n\int_0^Tf(x)\,dx for every positive integer nn.

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.

Challenge Problem. Evaluate I=∫0πxsin⁡x1+cos⁡2x dx\displaystyle I=\int_0^\pi\frac{x\sin x}{1+\cos^2x}\,dx.

Solution. Apply King's Rule with x→π−xx\to\pi-x. Since sin⁡(π−x)=sin⁡x\sin(\pi-x)=\sin x and cos⁡2(π−x)=cos⁡2x\cos^2(\pi-x)=\cos^2x,
I=∫0π(π−x)sin⁡x1+cos⁡2x dx=π∫0πsin⁡x1+cos⁡2x dx − I,I=\int_0^\pi\frac{(\pi-x)\sin x}{1+\cos^2x}\,dx=\pi\int_0^\pi\frac{\sin x}{1+\cos^2x}\,dx\ -\ I,
so
2I=π∫0πsin⁡x1+cos⁡2x dx.2I=\pi\int_0^\pi\frac{\sin x}{1+\cos^2x}\,dx.
For the remaining integral, substitute u=cos⁡x, du=−sin⁡x dxu=\cos x,\ du=-\sin x\,dx; as xx runs from 00 to π\pi, uu runs from 11 to −1-1:
∫0πsin⁡x1+cos⁡2x dx=∫−11du1+u2=[arctan⁡u]−11=π4−(−π4)=π2.\int_0^\pi\frac{\sin x}{1+\cos^2x}\,dx=\int_{-1}^1\frac{du}{1+u^2}=\big[\arctan u\big]_{-1}^1=\frac\pi4-\left(-\frac\pi4\right)=\frac\pi2.
Therefore 2I=π⋅π2=π222I=\pi\cdot\frac\pi2=\frac{\pi^2}2, and
I=π24.I=\frac{\pi^2}4.
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. ∫dxxm(a+bxn)p/q.\displaystyle\int\frac{dx}{x^m(a+bx^n)^{p/q}}.

Method. Factor the highest power of xx out of the bracketed term, converting the awkward sum a+bxna+bx^n into xn(ax−n+b)x^n(ax^{-n}+b); this manufactures a negative power of xx whose derivative is available in the rest of the integrand.

Example. Evaluate I=∫dxx2(x4+1)3/4\displaystyle I=\int\frac{dx}{x^2(x^4+1)^{3/4}}.

Write (x4+1)3/4=(x4(1+x−4))3/4=x3(1+x−4)3/4(x^4+1)^{3/4}=\big(x^4(1+x^{-4})\big)^{3/4}=x^3(1+x^{-4})^{3/4}, so
I=∫dxx5(1+x−4)3/4=∫x−5(1+x−4)−3/4 dx.I=\int\frac{dx}{x^5(1+x^{-4})^{3/4}}=\int x^{-5}(1+x^{-4})^{-3/4}\,dx.
Let t=1+x−4t=1+x^{-4}, so dt=−4x−5 dxdt=-4x^{-5}\,dx:
I=−14∫t−3/4 dt=−t1/4+C=−(1+x−4)1/4+C.I=-\frac14\int t^{-3/4}\,dt=-t^{1/4}+C=-\big(1+x^{-4}\big)^{1/4}+C.

3.2 Algebraic Twins: the x±1xx\pm\dfrac1x Substitution

Target form. ∫x2±1x4+kx2+1 dx\displaystyle\int\frac{x^2\pm1}{x^4+kx^2+1}\,dx, a symmetric bi-quadratic denominator.

Method. Divide numerator and denominator by x2x^2.

  • If the numerator becomes 1+1x21+\frac1{x^2}, set t=x−1xt=x-\frac1x (so dt=(1+1x2)dxdt=\left(1+\frac1{x^2}\right)dx, and t2=x2+1x2−2t^2=x^2+\frac1{x^2}-2).
  • If the numerator becomes 1−1x21-\frac1{x^2}, set t=x+1xt=x+\frac1x (so dt=(1−1x2)dxdt=\left(1-\frac1{x^2}\right)dx, and t2=x2+1x2+2t^2=x^2+\frac1{x^2}+2).

Example. Evaluate I=∫x2+1x4+1 dx\displaystyle I=\int\frac{x^2+1}{x^4+1}\,dx.

Dividing by x2x^2: I=∫1+1/x2x2+1/x2 dx=∫1+1/x2(x−1/x)2+2 dxI=\displaystyle\int\frac{1+1/x^2}{x^2+1/x^2}\,dx=\int\frac{1+1/x^2}{(x-1/x)^2+2}\,dx. With t=x−1xt=x-\frac1x,
I=∫dtt2+(2)2=12arctan⁡ ⁣(t2)+C=12arctan⁡ ⁣(x−1/x2)+C.I=\int\frac{dt}{t^2+(\sqrt2)^2}=\frac1{\sqrt2}\arctan\!\left(\frac t{\sqrt2}\right)+C=\frac1{\sqrt2}\arctan\!\left(\frac{x-1/x}{\sqrt2}\right)+C.

3.3 The Reciprocal Substitution x=1/tx=1/t

Effective whenever the leading and trailing powers of xx in an irrational integrand pair more naturally after inversion.

Example. Evaluate I=∫dxx2x2+1\displaystyle I=\int\frac{dx}{x^2\sqrt{x^2+1}} for x>0x>0.

Put x=1tx=\dfrac1t, so dx=−dtt2dx=-\dfrac{dt}{t^2}, and x2+1=1+t2t2=1+t2t\sqrt{x^2+1}=\sqrt{\dfrac{1+t^2}{t^2}}=\dfrac{\sqrt{1+t^2}}t (for t>0t>0). Then
I=∫1(1/t2)⋅1+t2t(−dtt2)=−∫t dt1+t2=−1+t2+C=−x2+1x+C.I=\int\frac1{(1/t^2)\cdot\frac{\sqrt{1+t^2}}t}\left(-\frac{dt}{t^2}\right)=-\int\frac{t\,dt}{\sqrt{1+t^2}}=-\sqrt{1+t^2}+C=-\frac{\sqrt{x^2+1}}x+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\int R\big(x,\sqrt{ax^2+bx+c}\big)\,dx

When the standard trigonometric substitution becomes unwieldy, Euler's three substitutions convert the entire integrand into a rational function of a new variable tt, after which partial fractions finish the job.

  • Case 1 (a>0a>0): put ax2+bx+c=±xa+t\sqrt{ax^2+bx+c}=\pm x\sqrt a+t.
  • Case 2 (c>0c>0): put ax2+bx+c=xt±c\sqrt{ax^2+bx+c}=xt\pm\sqrt c.
  • Case 3 (real roots r1,r2r_1,r_2): put a(x−r1)(x−r2)=t(x−r1)\sqrt{a(x-r_1)(x-r_2)}=t(x-r_1).

Challenge Problem. Evaluate I=∫dxx+x2+x+1\displaystyle I=\int\frac{dx}{x+\sqrt{x^2+x+1}}.

Solution. Here a=1>0a=1>0, so Case 1 applies. Set
x2+x+1=t−x(i.e. t=x+x2+x+1).\sqrt{x^2+x+1}=t-x\qquad\big(\text{i.e. } t=x+\sqrt{x^2+x+1}\big).
Squaring, x2+x+1=t2−2tx+x2x^2+x+1=t^2-2tx+x^2, so x+1=t2−2txx+1=t^2-2tx, giving
x=t2−12t+1.x=\frac{t^2-1}{2t+1}.
Note immediately that the entire denominator of the original integrand is, by construction, just tt itself — that is the point of the substitution. It remains only to express dxdx in terms of dtdt:
dx=2t(2t+1)−2(t2−1)(2t+1)2 dt=2(t2+t+1)(2t+1)2 dt.dx=\frac{2t(2t+1)-2(t^2-1)}{(2t+1)^2}\,dt=\frac{2(t^2+t+1)}{(2t+1)^2}\,dt.
Hence
I=∫1t⋅2(t2+t+1)(2t+1)2 dt=2∫t2+t+1t(2t+1)2 dt.I=\int\frac1t\cdot\frac{2(t^2+t+1)}{(2t+1)^2}\,dt=2\int\frac{t^2+t+1}{t(2t+1)^2}\,dt.
Partial fractions give t2+t+1t(2t+1)2=1t−3/22t+1−3/2(2t+1)2\dfrac{t^2+t+1}{t(2t+1)^2}=\dfrac1t-\dfrac{3/2}{2t+1}-\dfrac{3/2}{(2t+1)^2} (the reader may verify this by clearing denominators), so
I=2ln⁡∣t∣−32ln⁡∣2t+1∣+32(2t+1)+C,I=2\ln|t|-\frac32\ln|2t+1|+\frac3{2(2t+1)}+C,
where t=x+x2+x+1t=x+\sqrt{x^2+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,α)f(x,\alpha) and ∂f∂α\dfrac{\partial f}{\partial\alpha} are continuous, then
ddα∫abf(x,α) dx=∫ab∂f∂α(x,α) dx.\frac{d}{d\alpha}\int_a^bf(x,\alpha)\,dx=\int_a^b\frac{\partial f}{\partial\alpha}(x,\alpha)\,dx.

Rule (variable limits). More generally,
ddα∫p(α)q(α)f(x,α) dx=f(q(α),α)q′(α)−f(p(α),α)p′(α)+∫p(α)q(α)∂f∂α(x,α) dx.\frac{d}{d\alpha}\int_{p(\alpha)}^{q(\alpha)}f(x,\alpha)\,dx=f\big(q(\alpha),\alpha\big)q'(\alpha)-f\big(p(\alpha),\alpha\big)p'(\alpha)+\int_{p(\alpha)}^{q(\alpha)}\frac{\partial f}{\partial\alpha}(x,\alpha)\,dx.

Remark on rigour. The interchange of ddα\dfrac d{d\alpha} and ∫\displaystyle\int is not free: it requires, at minimum, that ∂f∂α\dfrac{\partial f}{\partial\alpha} be continuous jointly in xx and α\alpha, 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 α\alpha into a difficult integral II — often multiplicatively, as an exponent, or as a limit of integration — so that (i) I(α)I(\alpha) is easy for some particular value of α\alpha, and (ii) I′(α)I'(\alpha), obtained by differentiating under the integral sign, is elementary. Integrate I′(α)I'(\alpha) back up and fix the constant using the easy value from (i).

Example. Evaluate I(α)=∫01xα−1ln⁡x dx\displaystyle I(\alpha)=\int_0^1\frac{x^\alpha-1}{\ln x}\,dx.

Differentiate under the integral sign:
I′(α)=∫01∂∂α[xα−1ln⁡x]dx=∫01xαln⁡xln⁡x dx=∫01xα dx=1α+1.I'(\alpha)=\int_0^1\frac{\partial}{\partial\alpha}\left[\frac{x^\alpha-1}{\ln x}\right]dx=\int_0^1\frac{x^\alpha\ln x}{\ln x}\,dx=\int_0^1x^\alpha\,dx=\frac1{\alpha+1}.
Integrating, I(α)=ln⁡(α+1)+CI(\alpha)=\ln(\alpha+1)+C. Since I(0)=∫01x0−1ln⁡x dx=∫010 dx=0I(0)=\int_0^1\frac{x^0-1}{\ln x}\,dx=\int_0^10\,dx=0, we get C=0C=0, so
I(α)=ln⁡(α+1).I(\alpha)=\ln(\alpha+1).

4.2 A Useful Lemma

The Challenge Problem below requires the following standard result, worth recording separately.

Lemma. For p,q>0p,q>0 with p≠qp\neq q,
∫0∞du(u2+p2)(u2+q2)=π2pq(p+q).\int_0^\infty\frac{du}{(u^2+p^2)(u^2+q^2)}=\frac\pi{2pq(p+q)}.

Proof. Partial fractions in u2u^2 give 1(u2+p2)(u2+q2)=1q2−p2[1u2+p2−1u2+q2]\dfrac1{(u^2+p^2)(u^2+q^2)}=\dfrac1{q^2-p^2}\left[\dfrac1{u^2+p^2}-\dfrac1{u^2+q^2}\right], and since ∫0∞duu2+p2=π2p\displaystyle\int_0^\infty\frac{du}{u^2+p^2}=\frac\pi{2p},
∫0∞du(u2+p2)(u2+q2)=1q2−p2[π2p−π2q]=π(q−p)2pq(q2−p2)=π2pq(p+q). ■\int_0^\infty\frac{du}{(u^2+p^2)(u^2+q^2)}=\frac1{q^2-p^2}\left[\frac\pi{2p}-\frac\pi{2q}\right]=\frac{\pi(q-p)}{2pq(q^2-p^2)}=\frac\pi{2pq(p+q)}.\ \blacksquare

Challenge Problem. Evaluate I(a,b)=∫0π/2ln⁡ ⁣(a2cos⁡2θ+b2sin⁡2θ) dθ\displaystyle I(a,b)=\int_0^{\pi/2}\ln\!\big(a^2\cos^2\theta+b^2\sin^2\theta\big)\,d\theta for a,b>0a,b>0.

Solution. Differentiate with respect to aa, holding bb fixed:
∂I∂a=∫0π/22acos⁡2θa2cos⁡2θ+b2sin⁡2θ dθ.\frac{\partial I}{\partial a}=\int_0^{\pi/2}\frac{2a\cos^2\theta}{a^2\cos^2\theta+b^2\sin^2\theta}\,d\theta.
Divide numerator and denominator by cos⁡2θ\cos^2\theta and substitute u=tan⁡θu=\tan\theta (so dθ=du1+u2d\theta=\frac{du}{1+u^2}, and θ:0→π2\theta:0\to\frac\pi2 corresponds to u:0→∞u:0\to\infty):
∂I∂a=∫0∞2aa2+b2u2⋅du1+u2=2ab2∫0∞du(u2+(ab)2)(u2+1).\frac{\partial I}{\partial a}=\int_0^\infty\frac{2a}{a^2+b^2u^2}\cdot\frac{du}{1+u^2}=\frac{2a}{b^2}\int_0^\infty\frac{du}{\left(u^2+\left(\frac ab\right)^2\right)(u^2+1)}.
Applying the Lemma with p=a/b, q=1p=a/b,\ q=1:
∂I∂a=2ab2⋅π2⋅ab⋅1⋅(ab+1)=2ab2⋅πb22a(a+b)=πa+b.\frac{\partial I}{\partial a}=\frac{2a}{b^2}\cdot\frac\pi{2\cdot\frac ab\cdot1\cdot\left(\frac ab+1\right)}=\frac{2a}{b^2}\cdot\frac{\pi b^2}{2a(a+b)}=\frac\pi{a+b}.
Integrating with respect to aa: I(a,b)=πln⁡(a+b)+C(b)I(a,b)=\pi\ln(a+b)+C(b). To pin down C(b)C(b), evaluate the original integral at a=ba=b, where it is trivial:
I(b,b)=∫0π/2ln⁡(b2) dθ=π2⋅2ln⁡b=πln⁡b.I(b,b)=\int_0^{\pi/2}\ln(b^2)\,d\theta=\frac\pi2\cdot2\ln b=\pi\ln b.
Comparing with I(b,b)=πln⁡(2b)+C(b)=πln⁡2+πln⁡b+C(b)I(b,b)=\pi\ln(2b)+C(b)=\pi\ln2+\pi\ln b+C(b) forces C(b)=−πln⁡2C(b)=-\pi\ln2. Therefore
I(a,b)=πln⁡(a+b)−πln⁡2=πln⁡ ⁣(a+b2).I(a,b)=\pi\ln(a+b)-\pi\ln2=\pi\ln\!\left(\frac{a+b}2\right).
This is a celebrated result: the integral of the logarithm of an ellipse-shaped weight, evaluated in closed form, is simply π\pi 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 aa 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=tan⁡x2t=\tan\dfrac x2.

Derivation of the conversion formulas. Since sin⁡x=2sin⁡x2cos⁡x2\sin x=2\sin\frac x2\cos\frac x2, divide and multiply by cos⁡2x2\cos^2\frac x2:
sin⁡x=2sin⁡x2cos⁡x2sin⁡2x2+cos⁡2x2=2tan⁡x21+tan⁡2x2=2t1+t2.\sin x=\frac{2\sin\frac x2\cos\frac x2}{\sin^2\frac x2+\cos^2\frac x2}=\frac{2\tan\frac x2}{1+\tan^2\frac x2}=\frac{2t}{1+t^2}.
Similarly, cos⁡x=cos⁡2x2−sin⁡2x2\cos x=\cos^2\frac x2-\sin^2\frac x2, and dividing through by sin⁡2x2+cos⁡2x2=1\sin^2\frac x2+\cos^2\frac x2=1 in the same way,
cos⁡x=1−tan⁡2x21+tan⁡2x2=1−t21+t2.\cos x=\frac{1-\tan^2\frac x2}{1+\tan^2\frac x2}=\frac{1-t^2}{1+t^2}.
Finally, from x=2arctan⁡tx=2\arctan t, dx=21+t2 dtdx=\dfrac2{1+t^2}\,dt.

This substitution converts any rational function of sin⁡x\sin x and cos⁡x\cos x into a rational function of tt — after which the entire machinery of partial fractions becomes available.

Example. Evaluate I=∫dx1+sin⁡x\displaystyle I=\int\frac{dx}{1+\sin x}.

With the substitutions above,
1+sin⁡x=1+2t1+t2=(1+t)21+t2,1+\sin x=1+\frac{2t}{1+t^2}=\frac{(1+t)^2}{1+t^2},
so
I=∫1+t2(1+t)2⋅2 dt1+t2=∫2 dt(1+t)2=−21+t+C=−21+tan⁡x2+C.I=\int\frac{1+t^2}{(1+t)^2}\cdot\frac{2\,dt}{1+t^2}=\int\frac{2\,dt}{(1+t)^2}=-\frac2{1+t}+C=-\frac2{1+\tan\frac x2}+C.

5.2 A Structural Remark: the Perfect-Square Phenomenon

Challenge Problem. Evaluate I=∫dx3sin⁡x−4cos⁡x+5\displaystyle I=\int\frac{dx}{3\sin x-4\cos x+5}.

Solution. Substituting,
3sin⁡x−4cos⁡x+5=6t−4(1−t2)+5(1+t2)1+t2=9t2+6t+11+t2=(3t+1)21+t2.3\sin x-4\cos x+5=\frac{6t-4(1-t^2)+5(1+t^2)}{1+t^2}=\frac{9t^2+6t+1}{1+t^2}=\frac{(3t+1)^2}{1+t^2}.
The quadratic in the numerator is a perfect square, so
I=∫1+t2(3t+1)2⋅2 dt1+t2=∫2 dt(3t+1)2=−23(3t+1)+C=−23 ⁣(3tan⁡x2+1)+C.I=\int\frac{1+t^2}{(3t+1)^2}\cdot\frac{2\,dt}{1+t^2}=\int\frac{2\,dt}{(3t+1)^2}=-\frac2{3(3t+1)}+C=-\frac2{3\!\left(3\tan\frac x2+1\right)}+C.

Remark. The perfect square was no accident. For a general integral ∫dxasin⁡x+bcos⁡x+c\displaystyle\int\frac{dx}{a\sin x+b\cos x+c}, the Weierstrass substitution produces a numerator quadratic in tt equal to (c−b)t2+2at+(c+b)(c-b)t^2+2at+(c+b), whose discriminant is
4a2−4(c−b)(c+b)=4(a2−c2+b2).4a^2-4(c-b)(c+b)=4\big(a^2-c^2+b^2\big).
This vanishes — guaranteeing a perfect square, and hence an arctan-free antiderivative — precisely when a2+b2=c2a^2+b^2=c^2: that is, whenever (a,b,c)(a,b,c) is a Pythagorean triple. Here (3,4,5)(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.


Part VI. The Gamma and Beta Functions

6.1 Definitions and the Bridge

Γ(n)=∫0∞xn−1e−x dx  (n>0),B(m,n)=∫01xm−1(1−x)n−1 dx  (m,n>0).\Gamma(n)=\int_0^\infty x^{n-1}e^{-x}\,dx\ \ (n>0),\qquad B(m,n)=\int_0^1x^{m-1}(1-x)^{n-1}\,dx\ \ (m,n>0).

Integration by parts gives Γ(n+1)=nΓ(n)\Gamma(n+1)=n\Gamma(n), so Γ(n)=(n−1)!\Gamma(n)=(n-1)! for positive integers nn, and Γ(1)=1\Gamma(1)=1.

6.2 Proof that Γ(1/2)=π\Gamma(1/2)=\sqrt\pi

Theorem. Γ ⁣(12)=π\Gamma\!\left(\frac12\right)=\sqrt\pi.

Proof. By definition, Γ ⁣(12)=∫0∞x−1/2e−x dx\Gamma\!\left(\frac12\right)=\int_0^\infty x^{-1/2}e^{-x}\,dx. Substitute x=u2x=u^2 (dx=2u dudx=2u\,du):
Γ ⁣(12)=∫0∞u−1e−u2⋅2u du=2∫0∞e−u2 du.\Gamma\!\left(\frac12\right)=\int_0^\infty u^{-1}e^{-u^2}\cdot2u\,du=2\int_0^\infty e^{-u^2}\,du.
Let K=∫0∞e−u2 duK=\int_0^\infty e^{-u^2}\,du. Then
K2=∫0∞ ⁣ ⁣∫0∞e−(u2+v2) du dv,K^2=\int_0^\infty\!\!\int_0^\infty e^{-(u^2+v^2)}\,du\,dv,
a double integral over the first quadrant. Converting to polar coordinates (u=rcos⁡θ, v=rsin⁡θ, du dv=r dr dθu=r\cos\theta,\ v=r\sin\theta,\ du\,dv=r\,dr\,d\theta; the first quadrant becomes r∈[0,∞), θ∈[0,π/2]r\in[0,\infty),\ \theta\in[0,\pi/2]):
K2=∫0π/2 ⁣ ⁣∫0∞e−r2r dr dθ=∫0π/2[−12e−r2]0∞dθ=∫0π/212 dθ=π4.K^2=\int_0^{\pi/2}\!\!\int_0^\infty e^{-r^2}r\,dr\,d\theta=\int_0^{\pi/2}\left[-\frac12e^{-r^2}\right]_0^\infty d\theta=\int_0^{\pi/2}\frac12\,d\theta=\frac\pi4.
Since K>0K>0, K=π2K=\dfrac{\sqrt\pi}2, so Γ ⁣(12)=2K=π\Gamma\!\left(\frac12\right)=2K=\sqrt\pi. ■\blacksquare

(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)\displaystyle B(m,n)=\frac{\Gamma(m)\Gamma(n)}{\Gamma(m+n)}.

Proof. Write Γ(m)Γ(n)\Gamma(m)\Gamma(n) as a double integral over the first quadrant:
Γ(m)Γ(n)=∫0∞ ⁣ ⁣∫0∞xm−1yn−1e−(x+y) dx dy.\Gamma(m)\Gamma(n)=\int_0^\infty\!\!\int_0^\infty x^{m-1}y^{n-1}e^{-(x+y)}\,dx\,dy.
Change variables to u=x+y∈(0,∞)u=x+y\in(0,\infty) and v=xx+y∈(0,1)v=\dfrac x{x+y}\in(0,1), i.e. x=uv, y=u(1−v)x=uv,\ y=u(1-v). The Jacobian is
∂(x,y)∂(u,v)=det⁡(vu1−v−u)=−uv−u(1−v)=−u,∣∂(x,y)∂(u,v)∣=u.\frac{\partial(x,y)}{\partial(u,v)}=\det\begin{pmatrix}v&u\\1-v&-u\end{pmatrix}=-uv-u(1-v)=-u,\qquad\left\lvert\frac{\partial(x,y)}{\partial(u,v)}\right\rvert=u.
Since xm−1yn−1=um+n−2vm−1(1−v)n−1x^{m-1}y^{n-1}=u^{m+n-2}v^{m-1}(1-v)^{n-1} and x+y=ux+y=u,
Γ(m)Γ(n)=∫0∞ ⁣ ⁣∫01um+n−2vm−1(1−v)n−1e−u⋅u dv du=(∫0∞um+n−1e−u du) ⁣(∫01vm−1(1−v)n−1 dv),\Gamma(m)\Gamma(n)=\int_0^\infty\!\!\int_0^1u^{m+n-2}v^{m-1}(1-v)^{n-1}e^{-u}\cdot u\,dv\,du=\left(\int_0^\infty u^{m+n-1}e^{-u}\,du\right)\!\left(\int_0^1v^{m-1}(1-v)^{n-1}\,dv\right),
which is exactly Γ(m+n)⋅B(m,n)\Gamma(m+n)\cdot B(m,n). Dividing through gives the theorem. ■\blacksquare

6.4 Three Disguises of the Beta Function

Tactic 1 (trigonometric form).
∫0π/2sin⁡pxcos⁡qx dx=12B ⁣(p+12,q+12)=Γ ⁣(p+12)Γ ⁣(q+12)2 Γ ⁣(p+q+22).\int_0^{\pi/2}\sin^px\cos^qx\,dx=\frac12B\!\left(\frac{p+1}2,\frac{q+1}2\right)=\frac{\Gamma\!\left(\frac{p+1}2\right)\Gamma\!\left(\frac{q+1}2\right)}{2\,\Gamma\!\left(\frac{p+q+2}2\right)}.
(Obtained by substituting x=arcsin⁡wx=\arcsin\sqrt w into B ⁣(p+12,q+12)=∫01w(p−1)/2(1−w)(q−1)/2 dwB\!\left(\frac{p+1}2,\frac{q+1}2\right)=\int_0^1w^{(p-1)/2}(1-w)^{(q-1)/2}\,dw; the reader is encouraged to verify this independently.)

Tactic 2 (infinite rational form).
∫0∞xm−1(1+x)m+n dx=B(m,n).\int_0^\infty\frac{x^{m-1}}{(1+x)^{m+n}}\,dx=B(m,n).
Proof. Substitute x=t1−tx=\dfrac t{1-t}, t∈(0,1)t\in(0,1), so 1+x=11−t1+x=\dfrac1{1-t} and dx=dt(1−t)2dx=\dfrac{dt}{(1-t)^2}:
∫0∞xm−1(1+x)m+n dx=∫01tm−1(1−t)−(m−1)⋅(1−t)m+n⋅dt(1−t)2=∫01tm−1(1−t)n−1 dt=B(m,n). ■\int_0^\infty\frac{x^{m-1}}{(1+x)^{m+n}}\,dx=\int_0^1t^{m-1}(1-t)^{-(m-1)}\cdot(1-t)^{m+n}\cdot\frac{dt}{(1-t)^2}=\int_0^1t^{m-1}(1-t)^{n-1}\,dt=B(m,n).\ \blacksquare

A Common Pitfall. Students frequently misapply Tactic 2 to integrals such as ∫0∞dx1+x3\displaystyle\int_0^\infty\frac{dx}{1+x^3} by writing it directly as B(1/3,2/3)B(1/3,2/3) — but Tactic 2 requires the denominator to be a power of (1+x)(1+x) alone; here the denominator is 1+x31+x^3. The correct route substitutes u=x3u=x^3 first: with x=u1/3x=u^{1/3}, dx=13u1/3−1 dudx=\frac13u^{1/3-1}\,du,
∫0∞dx1+x3=13∫0∞u1/3−11+u du=13B ⁣(13,23)=13Γ ⁣(13)Γ ⁣(23).\int_0^\infty\frac{dx}{1+x^3}=\frac13\int_0^\infty\frac{u^{1/3-1}}{1+u}\,du=\frac13B\!\left(\frac13,\frac23\right)=\frac13\Gamma\!\left(\frac13\right)\Gamma\!\left(\frac23\right).
More generally, the substitution u=xnu=x^n shows that
∫0∞dx1+xn=1n Γ ⁣(1n)Γ ⁣(1−1n)=πnsin⁡(π/n)(n>1),\int_0^\infty\frac{dx}{1+x^n}=\frac1n\,\Gamma\!\left(\frac1n\right)\Gamma\!\left(1-\frac1n\right)=\frac\pi{n\sin(\pi/n)}\qquad(n>1),
using the Reflection Formula of §6.5. For n=3n=3 this gives π3sin⁡(π/3)=2π33\dfrac\pi{3\sin(\pi/3)}=\dfrac{2\pi}{3\sqrt3} — note the crucial factor of 13\frac13, which is exactly the Jacobian of the substitution u=x3u=x^3, and exactly what is lost if the Beta form is written down without performing that substitution first.

Tactic 3 (logarithmic–exponential bridge).
∫01xm(ln⁡1x)ndx=Γ(n+1)(m+1)n+1.\int_0^1x^m\left(\ln\frac1x\right)^ndx=\frac{\Gamma(n+1)}{(m+1)^{n+1}}.
Proof. Substitute t=ln⁡(1/x)t=\ln(1/x), i.e. x=e−tx=e^{-t}, dx=−e−t dtdx=-e^{-t}\,dt; as x:0→1x:0\to1, t:∞→0t:\infty\to0:
∫01xm(ln⁡1x)ndx=∫0∞e−mt tn e−t dt=∫0∞tne−(m+1)t dt.\int_0^1x^m\left(\ln\frac1x\right)^ndx=\int_0^\infty e^{-mt}\,t^n\,e^{-t}\,dt=\int_0^\infty t^ne^{-(m+1)t}\,dt.
Substituting s=(m+1)ts=(m+1)t,
=1(m+1)n+1∫0∞sne−s ds=Γ(n+1)(m+1)n+1. ■=\frac1{(m+1)^{n+1}}\int_0^\infty s^ne^{-s}\,ds=\frac{\Gamma(n+1)}{(m+1)^{n+1}}.\ \blacksquare

6.5 The Reflection and Duplication Formulas

Euler's Reflection Formula. For 0<z<10<z<1,
Γ(z)Γ(1−z)=πsin⁡(πz).\Gamma(z)\Gamma(1-z)=\frac\pi{\sin(\pi z)}.
By Tactic 2 (with m=z, n=1−zm=z,\ n=1-z), this is equivalent to ∫0∞uz−11+u du=πsin⁡πz\displaystyle\int_0^\infty\frac{u^{z-1}}{1+u}\,du=\frac\pi{\sin\pi z}, whose rigorous proof proceeds by contour integration around a keyhole contour avoiding the branch cut of uz−1u^{z-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>0z>0,
Γ(z) Γ ⁣(z+12)=21−2zπ Γ(2z).\Gamma(z)\,\Gamma\!\left(z+\frac12\right)=2^{1-2z}\sqrt\pi\,\Gamma(2z).
Proof. Consider B(z,z)=∫01[t(1−t)]z−1 dtB(z,z)=\int_0^1[t(1-t)]^{z-1}\,dt. Substitute t=1+s2t=\dfrac{1+s}2, so t(1−t)=1−s24t(1-t)=\dfrac{1-s^2}4 and dt=ds2dt=\dfrac{ds}2, with ss running over (−1,1)(-1,1):
B(z,z)=12⋅4z−1∫−11(1−s2)z−1 ds=14z−1∫01(1−s2)z−1 dsB(z,z)=\frac1{2\cdot4^{z-1}}\int_{-1}^1(1-s^2)^{z-1}\,ds=\frac1{4^{z-1}}\int_0^1(1-s^2)^{z-1}\,ds
(the integrand being even). Substitute w=s2w=s^2 (ds=12wdwds=\frac1{2\sqrt w}dw):
∫01(1−s2)z−1 ds=12∫01w−1/2(1−w)z−1 dw=12B ⁣(12,z).\int_0^1(1-s^2)^{z-1}\,ds=\frac12\int_0^1w^{-1/2}(1-w)^{z-1}\,dw=\frac12B\!\left(\frac12,z\right).
So B(z,z)=12⋅4z−1B ⁣(12,z)B(z,z)=\dfrac1{2\cdot4^{z-1}}B\!\left(\frac12,z\right). Writing both Beta functions in terms of Gamma functions,
Γ(z)2Γ(2z)=12⋅4z−1⋅Γ ⁣(12)Γ(z)Γ ⁣(z+12)=π2⋅4z−1⋅Γ(z)Γ ⁣(z+12).\frac{\Gamma(z)^2}{\Gamma(2z)}=\frac1{2\cdot4^{z-1}}\cdot\frac{\Gamma\!\left(\frac12\right)\Gamma(z)}{\Gamma\!\left(z+\frac12\right)}=\frac{\sqrt\pi}{2\cdot4^{z-1}}\cdot\frac{\Gamma(z)}{\Gamma\!\left(z+\frac12\right)}.
Cancelling one factor of Γ(z)\Gamma(z) and rearranging,
Γ(z) Γ ⁣(z+12)=2π4z−1 Γ(2z)=21−2zπ Γ(2z). ■\Gamma(z)\,\Gamma\!\left(z+\frac12\right)=\frac{2\sqrt\pi}{4^{z-1}}\,\Gamma(2z)=2^{1-2z}\sqrt\pi\,\Gamma(2z).\ \blacksquare

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π/2tan⁡x dx\displaystyle I=\int_0^{\pi/2}\sqrt{\tan x}\,dx.

Solution. Write tan⁡x=sin⁡1/2xcos⁡−1/2x\sqrt{\tan x}=\sin^{1/2}x\cos^{-1/2}x and apply Tactic 1 with p=12, q=−12p=\frac12,\ q=-\frac12:
I=12B ⁣(12+12,−12+12)=12B ⁣(34,14)=12⋅Γ ⁣(34)Γ ⁣(14)Γ(1)=12 Γ ⁣(14)Γ ⁣(34).I=\frac12B\!\left(\frac{\frac12+1}2,\frac{-\frac12+1}2\right)=\frac12B\!\left(\frac34,\frac14\right)=\frac12\cdot\frac{\Gamma\!\left(\frac34\right)\Gamma\!\left(\frac14\right)}{\Gamma(1)}=\frac12\,\Gamma\!\left(\frac14\right)\Gamma\!\left(\frac34\right).
By the Reflection Formula with z=14z=\frac14:
Γ ⁣(14)Γ ⁣(34)=πsin⁡π4=π22=π2.\Gamma\!\left(\frac14\right)\Gamma\!\left(\frac34\right)=\frac\pi{\sin\frac\pi4}=\frac\pi{\frac{\sqrt2}2}=\pi\sqrt2.
Therefore
I=12⋅π2=π2.I=\frac12\cdot\pi\sqrt2=\frac\pi{\sqrt2}.
This is among the most celebrated "impossible-looking" integrals at this level: no elementary antiderivative of tan⁡x\sqrt{\tan x} 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 ff is continuous on a region DD, the double integral ∬Df dA\iint_Df\,dA may be computed as an iterated integral in either order, the bounds being adjusted to describe DD correctly in each:
∬Df(x,y) dA=∫ab∫g1(x)g2(x)f(x,y) dy dx=∫cd∫h1(y)h2(y)f(x,y) dx dy.\iint_Df(x,y)\,dA=\int_a^b\int_{g_1(x)}^{g_2(x)}f(x,y)\,dy\,dx=\int_c^d\int_{h_1(y)}^{h_2(y)}f(x,y)\,dx\,dy.

Tactic. When the inner integral has no elementary antiderivative (classic offenders: e−x2e^{-x^2}, sin⁡xx\frac{\sin x}x, ex/xe^x/x), never attempt to force it. Sketch the two-dimensional region DD, 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 DD is not naturally rectangular, map it to a simpler region via x=x(u,v), y=y(u,v)x=x(u,v),\ y=y(u,v):
∬Df(x,y) dx dy=∬D′f(x(u,v),y(u,v)) ∣J∣ du dv,J=det⁡(∂x/∂u∂x/∂v∂y/∂u∂y/∂v).\iint_Df(x,y)\,dx\,dy=\iint_{D'}f\big(x(u,v),y(u,v)\big)\,|J|\,du\,dv,\qquad J=\det\begin{pmatrix}\partial x/\partial u&\partial x/\partial v\\\partial y/\partial u&\partial y/\partial v\end{pmatrix}.

Illustration (polar coordinates). For x=rcos⁡θ, y=rsin⁡θx=r\cos\theta,\ y=r\sin\theta:
J=det⁡(cos⁡θ−rsin⁡θsin⁡θrcos⁡θ)=rcos⁡2θ+rsin⁡2θ=r,J=\det\begin{pmatrix}\cos\theta&-r\sin\theta\\\sin\theta&r\cos\theta\end{pmatrix}=r\cos^2\theta+r\sin^2\theta=r,
recovering the familiar dA=r dr dθdA=r\,dr\,d\theta already used, in embryonic form, in the proof of Γ(1/2)=π\Gamma(1/2)=\sqrt\pi in Part VI.

SystemSubstitutionVolume/Area ElementTypical Use
Polar (2D)x=rcos⁡θ, y=rsin⁡θx=r\cos\theta,\ y=r\sin\thetar dr dθr\,dr\,d\thetacircles, x2+y2x^2+y^2
Cylindrical (3D)x=rcos⁡θ, y=rsin⁡θ, z=zx=r\cos\theta,\ y=r\sin\theta,\ z=zr dr dθ dzr\,dr\,d\theta\,dzaxial symmetry
Spherical (3D)x=ρsin⁡ϕcos⁡θ, y=ρsin⁡ϕsin⁡θ, z=ρcos⁡ϕx=\rho\sin\phi\cos\theta,\ y=\rho\sin\phi\sin\theta,\ z=\rho\cos\phiρ2sin⁡ϕ dρ dϕ dθ\rho^2\sin\phi\,d\rho\,d\phi\,d\thetaspheres, distance from origin

7.3 Dirichlet's Integral

Theorem. If VV is the simplex x,y,z≥0, x+y+z≤1x,y,z\geq0,\ x+y+z\leq1, then for p,q,r>0p,q,r>0,
∭Vxp−1yq−1zr−1 dx dy dz=Γ(p)Γ(q)Γ(r)Γ(p+q+r+1).\iiint_Vx^{p-1}y^{q-1}z^{r-1}\,dx\,dy\,dz=\frac{\Gamma(p)\Gamma(q)\Gamma(r)}{\Gamma(p+q+r+1)}.

Proof. Integrate first over zz, from 00 to 1−x−y1-x-y:
∫01−x−yzr−1 dz=(1−x−y)rr,\int_0^{1-x-y}z^{r-1}\,dz=\frac{(1-x-y)^r}r,
reducing the triple integral to 1r∬x,y≥0, x+y≤1xp−1yq−1(1−x−y)r dx dy\dfrac1r\displaystyle\iint_{x,y\geq0,\,x+y\leq1}x^{p-1}y^{q-1}(1-x-y)^r\,dx\,dy. Fix x∈[0,1]x\in[0,1] and substitute y=(1−x)s, s∈[0,1]y=(1-x)s,\ s\in[0,1], in the inner integral over yy:
∫01−xyq−1(1−x−y)r dy=(1−x)q+r∫01sq−1(1−s)r ds=(1−x)q+rB(q,r+1).\int_0^{1-x}y^{q-1}(1-x-y)^r\,dy=(1-x)^{q+r}\int_0^1s^{q-1}(1-s)^r\,ds=(1-x)^{q+r}B(q,r+1).
So the double integral becomes B(q,r+1)∫01xp−1(1−x)q+r dx=B(q,r+1) B(p,q+r+1)B(q,r+1)\displaystyle\int_0^1x^{p-1}(1-x)^{q+r}\,dx=B(q,r+1)\,B(p,q+r+1). Assembling,
∭Vxp−1yq−1zr−1 dV=1r B(q,r+1) B(p,q+r+1).\iiint_Vx^{p-1}y^{q-1}z^{r-1}\,dV=\frac1r\,B(q,r+1)\,B(p,q+r+1).
Writing these as Gamma functions and using Γ(r+1)=rΓ(r)\Gamma(r+1)=r\Gamma(r),
B(q,r+1)=Γ(q)⋅rΓ(r)Γ(q+r+1),B(p,q+r+1)=Γ(p)Γ(q+r+1)Γ(p+q+r+1),B(q,r+1)=\frac{\Gamma(q)\cdot r\Gamma(r)}{\Gamma(q+r+1)},\qquad B(p,q+r+1)=\frac{\Gamma(p)\Gamma(q+r+1)}{\Gamma(p+q+r+1)},
and the product 1r⋅B(q,r+1)⋅B(p,q+r+1)\dfrac1r\cdot B(q,r+1)\cdot B(p,q+r+1) collapses — the factor of rr and the factor Γ(q+r+1)\Gamma(q+r+1) both cancel — to exactly Γ(p)Γ(q)Γ(r)Γ(p+q+r+1)\dfrac{\Gamma(p)\Gamma(q)\Gamma(r)}{\Gamma(p+q+r+1)}. ■\blacksquare

7.4 Liouville's Extension

For an ellipsoidal region (xa)α+(yb)β+(zc)γ≤1\left(\dfrac xa\right)^\alpha+\left(\dfrac yb\right)^\beta+\left(\dfrac zc\right)^\gamma\leq1 (with x,y,z≥0x,y,z\geq0), substituting X=(x/a)αX=(x/a)^\alpha (and similarly for Y,ZY,Z) reduces the region to Dirichlet's simplex. Carrying the Jacobian of this substitution through gives the general formula
∭xp−1yq−1zr−1 dV=apbqcrαβγ⋅Γ ⁣(pα)Γ ⁣(qβ)Γ ⁣(rγ)Γ ⁣(pα+qβ+rγ+1).\iiint x^{p-1}y^{q-1}z^{r-1}\,dV=\frac{a^pb^qc^r}{\alpha\beta\gamma}\cdot\frac{\Gamma\!\left(\frac p\alpha\right)\Gamma\!\left(\frac q\beta\right)\Gamma\!\left(\frac r\gamma\right)}{\Gamma\!\left(\frac p\alpha+\frac q\beta+\frac r\gamma+1\right)}.

7.5 Symmetry in Higher Dimensions

Exactly as in Part II: if the domain DD is symmetric under x→−xx\to-x and f(−x,y,z)=−f(x,y,z)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 ∭Vxyz dV\displaystyle\iiint_Vxyz\,dV, where VV is the portion of the unit ball x2+y2+z2≤1x^2+y^2+z^2\leq1 lying in the positive octant (x,y,z≥0x,y,z\geq0).

Solution. The boundary is (x1)2+(y1)2+(z1)2≤1\left(\frac x1\right)^2+\left(\frac y1\right)^2+\left(\frac z1\right)^2\leq1, so in the notation of §7.4, a=b=c=1a=b=c=1 and α=β=γ=2\alpha=\beta=\gamma=2. The integrand xyz=x2−1y2−1z2−1xyz=x^{2-1}y^{2-1}z^{2-1} gives p=q=r=2p=q=r=2. Substituting into Liouville's formula:
∭Vxyz dV=12⋅2⋅2⋅Γ(1) Γ(1) Γ(1)Γ(1+1+1+1)=18⋅1Γ(4)=18⋅16=148.\iiint_Vxyz\,dV=\frac1{2\cdot2\cdot2}\cdot\frac{\Gamma(1)\,\Gamma(1)\,\Gamma(1)}{\Gamma(1+1+1+1)}=\frac18\cdot\frac1{\Gamma(4)}=\frac18\cdot\frac16=\frac1{48}.
(This may be checked independently in spherical coordinates: the integral factors as ∫01ρ5 dρ⋅∫0π/2sin⁡3ϕcos⁡ϕ dϕ⋅∫0π/2sin⁡θcos⁡θ dθ=16⋅14⋅12=148\int_0^1\rho^5\,d\rho\cdot\int_0^{\pi/2}\sin^3\phi\cos\phi\,d\phi\cdot\int_0^{\pi/2}\sin\theta\cos\theta\,d\theta=\frac16\cdot\frac14\cdot\frac12=\frac1{48}, 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 FF at the boundary of an interval ({a,b}\{a,b\}) to the interior behaviour of F′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 CC be a positively oriented (counterclockwise), piecewise-smooth, simple closed curve bounding a region DD. If P,QP,Q have continuous partial derivatives on an open region containing DD,
∮C(P dx+Q dy)=∬D(∂Q∂x−∂P∂y)dA.\oint_C(P\,dx+Q\,dy)=\iint_D\left(\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}\right)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)}D=\{(x,y):a\leq x\leq b,\ g_1(x)\leq y\leq g_2(x)\}. Then, by the Fundamental Theorem of Calculus applied to the inner integral,
∬D∂P∂y dA=∫ab[P(x,g2(x))−P(x,g1(x))] dx.\iint_D\frac{\partial P}{\partial y}\,dA=\int_a^b\Big[P(x,g_2(x))-P(x,g_1(x))\Big]\,dx.
On the other hand, CC consists of the lower boundary y=g1(x)y=g_1(x) traversed with increasing xx, and the upper boundary y=g2(x)y=g_2(x) traversed with decreasing xx (plus vertical segments, contributing nothing to ∮P dx\oint P\,dx since dx=0dx=0 there):
∮CP dx=∫abP(x,g1(x)) dx−∫abP(x,g2(x)) dx=−∬D∂P∂y dA.\oint_CP\,dx=\int_a^bP(x,g_1(x))\,dx-\int_a^bP(x,g_2(x))\,dx=-\iint_D\frac{\partial P}{\partial y}\,dA.
An identical argument, describing DD as a type-II region, shows ∮CQ dy=∬D∂Q∂x dA\displaystyle\oint_CQ\,dy=\iint_D\frac{\partial Q}{\partial x}\,dA. Adding the two establishes the theorem for such DD; general regions are handled by cutting into finitely many pieces of this type, on which shared internal boundaries cancel in pairs. ■\blacksquare

Tactic: the Area Cheat Code. Setting P=−y, Q=xP=-y,\ Q=x gives ∂Q∂x−∂P∂y=2\dfrac{\partial Q}{\partial x}-\dfrac{\partial P}{\partial y}=2, so
Area(D)=12∮C(x dy−y dx).\text{Area}(D)=\frac12\oint_C(x\,dy-y\,dx).

Example. Find the area enclosed by the astroid x=acos⁡3t, y=asin⁡3t, t∈[0,2π]x=a\cos^3t,\ y=a\sin^3t,\ t\in[0,2\pi].

Here dx=−3acos⁡2tsin⁡t dt, dy=3asin⁡2tcos⁡t dtdx=-3a\cos^2t\sin t\,dt,\ dy=3a\sin^2t\cos t\,dt, so
x dy−y dx=3a2cos⁡4tsin⁡2t dt+3a2sin⁡4tcos⁡2t dt=3a2sin⁡2tcos⁡2t dt=3a24sin⁡2(2t) dt.x\,dy-y\,dx=3a^2\cos^4t\sin^2t\,dt+3a^2\sin^4t\cos^2t\,dt=3a^2\sin^2t\cos^2t\,dt=\frac{3a^2}4\sin^2(2t)\,dt.
Hence
Area=12∫02π3a24sin⁡2(2t) dt=3a28∫02πsin⁡2(2t) dt=3a28⋅π=3πa28,\text{Area}=\frac12\int_0^{2\pi}\frac{3a^2}4\sin^2(2t)\,dt=\frac{3a^2}8\int_0^{2\pi}\sin^2(2t)\,dt=\frac{3a^2}8\cdot\pi=\frac{3\pi a^2}8,
using ∫02πsin⁡2(2t) dt=π\int_0^{2\pi}\sin^2(2t)\,dt=\pi (the mean value of sin⁡2\sin^2 over a whole number of periods is 12\frac12).

8.3 Stokes' Theorem

Theorem. For a piecewise-smooth oriented surface SS with boundary curve CC (oriented consistently via the right-hand rule),
∮CF⋅dr=∬S(∇×F)⋅dS.\oint_C\mathbf F\cdot d\mathbf r=\iint_S(\nabla\times\mathbf F)\cdot d\mathbf S.

This is the three-dimensional generalisation of Green's Theorem — indeed, when SS is flat and lies in the xyxy-plane, Stokes' Theorem is Green's Theorem, since (∇×F)⋅k=∂Q∂x−∂P∂y(\nabla\times\mathbf F)\cdot\mathbf k=\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}. The proof for a general surface proceeds by parametrising SS, 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 SS only through its boundary CC, any two surfaces sharing the same boundary curve give the same value. If SS is awkward (a twisted, curved cap), replace it with the flattest possible surface sharing ∂S=C\partial 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 VV with piecewise-smooth boundary surface S=∂VS=\partial V, oriented outward,
∬SF⋅dS=∭V(∇⋅F) dV.\iint_S\mathbf F\cdot d\mathbf S=\iiint_V(\nabla\cdot\mathbf F)\,dV.

Proof (for a "vertically simple" solid). Let V={(x,y,z):(x,y)∈D, z1(x,y)≤z≤z2(x,y)}V=\{(x,y,z):(x,y)\in D,\ z_1(x,y)\leq z\leq z_2(x,y)\}, with vertical side walls (so the outward normal on the sides is horizontal). Consider just the zz-component of the flux, taking F=(0,0,F3)\mathbf F=(0,0,F_3). By FTC,
∭V∂F3∂z dV=∬D[F3(x,y,z2(x,y))−F3(x,y,z1(x,y))] dA.\iiint_V\frac{\partial F_3}{\partial z}\,dV=\iint_D\Big[F_3(x,y,z_2(x,y))-F_3(x,y,z_1(x,y))\Big]\,dA.
On the top surface z=z2(x,y)z=z_2(x,y) (outward normal pointing up), the standard formula for a graph gives k⋅dS=dA\mathbf k\cdot d\mathbf S=dA, so its contribution to ∬SF3 k⋅dS\iint_SF_3\,\mathbf k\cdot d\mathbf S is ∬DF3(x,y,z2) dA\iint_DF_3(x,y,z_2)\,dA. On the bottom surface z=z1(x,y)z=z_1(x,y) (outward normal pointing down), the contribution is −∬DF3(x,y,z1) dA-\iint_DF_3(x,y,z_1)\,dA. The vertical sides contribute nothing, since their outward normal is horizontal (k⋅n=0\mathbf k\cdot\mathbf n=0 there). Summing exactly reproduces the volume integral above. The same argument, with x,y,zx,y,z permuted, handles the F1F_1 and F2F_2 components for a solid simple in all three directions; summing all three establishes the full theorem. ■\blacksquare

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\int_A^B\mathbf F\cdot d\mathbf r along a complicated path, always check the curl. If ∇×F=0\nabla\times\mathbf F=\mathbf0 (equivalently ∂Q∂x=∂P∂y\frac{\partial Q}{\partial x}=\frac{\partial P}{\partial y} in the plane) on a simply connected domain, F\mathbf F is conservative: the integral around any closed loop is zero, and for an open path, ∫ABF⋅dr=f(B)−f(A)\int_A^B\mathbf F\cdot d\mathbf r=f(B)-f(A) for the scalar potential ff with ∇f=F\nabla f=\mathbf F — utterly independent of the path taken.

Challenge Problem. Let SS be the open upper hemisphere x2+y2+z2=a2, z≥0x^2+y^2+z^2=a^2,\ z\geq0 (excluding the equatorial disk), oriented outward, and let
F=(x+eyz) i+(y−exz) j+z k.\mathbf F=\big(x+e^{yz}\big)\,\mathbf i+\big(y-e^{xz}\big)\,\mathbf j+z\,\mathbf k.
Evaluate ∬SF⋅dS\displaystyle\iint_S\mathbf F\cdot d\mathbf S.

Solution. A direct computation is hopeless: parametrising the hemisphere and substituting leaves integrals of eyze^{yz} and exze^{xz} 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\nabla\cdot\mathbf F=\frac{\partial}{\partial x}\big(x+e^{yz}\big)+\frac{\partial}{\partial y}\big(y-e^{xz}\big)+\frac{\partial}{\partial 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 VV be the solid upper half-ball and close SS with the equatorial disk D: x2+y2≤a2, z=0D:\ x^2+y^2\leq a^2,\ z=0, whose outward normal (pointing out of VV) is −k-\mathbf k. On DD,
F⋅(−k)=−z=0,\mathbf F\cdot(-\mathbf 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-\mathbf k.

By the Divergence Theorem applied to the closed surface S∪D=∂VS\cup D=\partial V:
∬SF⋅dS+∬DF⋅dS⏟=0=∭V3 dV=3⋅Vol(V)=3⋅23πa3=2πa3.\iint_S\mathbf F\cdot d\mathbf S+\underbrace{\iint_D\mathbf F\cdot d\mathbf S}_{=0}=\iiint_V3\,dV=3\cdot\text{Vol}(V)=3\cdot\frac23\pi a^3=2\pi a^3.
Therefore
∬SF⋅dS=2πa3.\iint_S\mathbf F\cdot d\mathbf S=2\pi a^3.
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);∫u dv=uv−∫v du;∫ex[f(x)+f′(x)] dx=exf(x)+C.\int_a^bf(x)\,dx=G(b)-G(a);\qquad\int u\,dv=uv-\int v\,du;\qquad\int e^x[f(x)+f'(x)]\,dx=e^xf(x)+C.

Part II — Symmetry
∫abf(x) dx=∫abf(a+b−x) dx;∫0nTf=n∫0Tf  if f has period T.\int_a^bf(x)\,dx=\int_a^bf(a+b-x)\,dx;\qquad\int_0^{nT}f=n\int_0^Tf\ \text{ if } f \text{ has period } T.

Part III — Tactical Substitutions
Extract xnx^n from (a+bxn)p/q(a+bx^n)^{p/q}; twins t=x±1xt=x\pm\frac1x for x2±1x4+kx2+1\frac{x^2\pm1}{x^4+kx^2+1}; invert with x=1tx=\frac1t; Euler's three substitutions for ax2+bx+c\sqrt{ax^2+bx+c}.

Part IV — Feynman's Trick
ddα∫abf(x,α) dx=∫ab∂f∂α dx;∫0∞du(u2+p2)(u2+q2)=π2pq(p+q).\frac{d}{d\alpha}\int_a^bf(x,\alpha)\,dx=\int_a^b\frac{\partial f}{\partial\alpha}\,dx;\qquad\int_0^\infty\frac{du}{(u^2+p^2)(u^2+q^2)}=\frac\pi{2pq(p+q)}.

Part V — Weierstrass
t=tan⁡x2:sin⁡x=2t1+t2,  cos⁡x=1−t21+t2,  dx=2 dt1+t2.t=\tan\frac x2:\quad\sin x=\frac{2t}{1+t^2},\ \ \cos x=\frac{1-t^2}{1+t^2},\ \ dx=\frac{2\,dt}{1+t^2}.
asin⁡x+bcos⁡x+ca\sin x+b\cos x+c Weierstrass-simplifies to a perfect square exactly when a2+b2=c2a^2+b^2=c^2.

Part VI — Gamma and Beta
Γ(n)=(n−1)!;Γ ⁣(12)=π;B(m,n)=Γ(m)Γ(n)Γ(m+n);∫0π/2sin⁡p ⁣xcos⁡q ⁣x dx=12B ⁣(p+12,q+12);\Gamma(n)=(n-1)!;\quad\Gamma\!\left(\tfrac12\right)=\sqrt\pi;\quad B(m,n)=\frac{\Gamma(m)\Gamma(n)}{\Gamma(m+n)};\quad\int_0^{\pi/2}\sin^p\!x\cos^q\!x\,dx=\frac12B\!\left(\tfrac{p+1}2,\tfrac{q+1}2\right);
∫0∞xm−1(1+x)m+n dx=B(m,n);∫01xm ⁣(ln⁡1x)ndx=Γ(n+1)(m+1)n+1;\int_0^\infty\frac{x^{m-1}}{(1+x)^{m+n}}\,dx=B(m,n);\quad\int_0^1x^m\!\left(\ln\tfrac1x\right)^ndx=\frac{\Gamma(n+1)}{(m+1)^{n+1}};
Γ(z)Γ(1−z)=πsin⁡πz;Γ(z)Γ ⁣(z+12)=21−2zπ Γ(2z);∫0∞dx1+xn=πnsin⁡(π/n).\Gamma(z)\Gamma(1-z)=\frac\pi{\sin\pi z};\qquad\Gamma(z)\Gamma\!\left(z+\tfrac12\right)=2^{1-2z}\sqrt\pi\,\Gamma(2z);\qquad\int_0^\infty\frac{dx}{1+x^n}=\frac\pi{n\sin(\pi/n)}.

Part VII — Multiple Integrals
dApolar=r dr dθ;dVcyl=r dr dθ dz;dVsph=ρ2sin⁡ϕ dρ dϕ dθ;dA_{\text{polar}}=r\,dr\,d\theta;\quad dV_{\text{cyl}}=r\,dr\,d\theta\,dz;\quad dV_{\text{sph}}=\rho^2\sin\phi\,d\rho\,d\phi\,d\theta;
∭simplexxp−1yq−1zr−1 dV=Γ(p)Γ(q)Γ(r)Γ(p+q+r+1)(Dirichlet);\iiint_{\text{simplex}}x^{p-1}y^{q-1}z^{r-1}\,dV=\frac{\Gamma(p)\Gamma(q)\Gamma(r)}{\Gamma(p+q+r+1)}\quad\text{(Dirichlet)};
∭xp−1yq−1zr−1 dV=apbqcrαβγ⋅Γ(p/α)Γ(q/β)Γ(r/γ)Γ(p/α+q/β+r/γ+1)(Liouville, ellipsoid).\iiint x^{p-1}y^{q-1}z^{r-1}\,dV=\frac{a^pb^qc^r}{\alpha\beta\gamma}\cdot\frac{\Gamma(p/\alpha)\Gamma(q/\beta)\Gamma(r/\gamma)}{\Gamma(p/\alpha+q/\beta+r/\gamma+1)}\quad\text{(Liouville, ellipsoid).}

Part VIII — Vector Calculus
∮C(P dx+Q dy)=∬D(∂Q∂x−∂P∂y)dA;Area=12∮C(x dy−y dx);\oint_C(P\,dx+Q\,dy)=\iint_D\left(\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}\right)dA;\qquad\text{Area}=\frac12\oint_C(x\,dy-y\,dx);
∮CF⋅dr=∬S(∇×F)⋅dS(Stokes);∬SF⋅dS=∭V(∇⋅F) dV(Gauss);\oint_C\mathbf F\cdot d\mathbf r=\iint_S(\nabla\times\mathbf F)\cdot d\mathbf S\quad\text{(Stokes)};\qquad\iint_S\mathbf F\cdot d\mathbf S=\iiint_V(\nabla\cdot\mathbf F)\,dV\quad\text{(Gauss)};
∇×F=0\nabla\times\mathbf F=\mathbf 0 on a simply connected domain   ⟺  \iff F\mathbf F conservative   ⟺  \iff path-independent, value =f(B)−f(A)=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′f+f' disguised inside a quotient, a bi-quadratic denominator signalling x±1xx\pm\frac1x — 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.

+
+
+
+