Surface integrals; flux

At a Glance

Why This Chapter Matters

This is the atom the syllabus hides. For fourteen years UPSC never once made the surface integral the subject of a question — it was always the machinery inside something bigger: verify Gauss, verify Stokes, evaluate a flux “hence”. Then in 2026 it appeared on its own, in Q5(e), in the compulsory question, where no amount of question choice could route around it.

That history is exactly why it is dangerous. A candidate who has only ever met ∬SF⃗⋅n^ dS\iint_S \vec F\cdot\hat n\,dS inside the divergence theorem has learned it as a step, not as an object — and when the step becomes the question, there is nothing to fall back on.

There is a second, larger reason. Gauss’s theorem and Stokes’ theorem are both machines for converting surface integrals into something else. Between them they account for 18 sub-parts across 2013–2025 — more than any other pair of atoms in Vector Analysis. You cannot verify a theorem whose two sides you cannot each compute. Every mark in P1-VA-15 and P1-VA-16 sits on top of this chapter. Study it first, and those two become bookkeeping; skip it, and they become guesswork.

Minimum Theory

The two integrals. For a scalar field ff and a vector field F⃗\vec F over a surface SS: ∬Sf dS(scalar surface integral),∬SF⃗⋅n^ dS(flux of F⃗ through S).\iint_S f\,dS \qquad\text{(scalar surface integral)},\qquad \iint_S \vec F\cdot\hat n\,dS \qquad\text{(flux of }\vec F\text{ through }S). Only the second appears in UPSC Paper I with any regularity. n^\hat n is a unit normal to SS; dSdS is the element of area.

Orientation is a choice you must state. A two-sided surface has two unit normals, ±n^\pm\hat n, and the flux changes sign with the choice. For a closed surface the convention is the outward normal. For an open surface the paper must tell you — and if it does not, say which one you are taking. That single sentence has been worth a mark.


Route 1 — Projection onto a coordinate plane (the workhorse)

If SS projects one-to-one onto a region RR in the xyxy-plane, then  dS=dx dy∣n^⋅k^∣ ⟹∬SF⃗⋅n^ dS=∬RF⃗⋅n^∣n^⋅k^∣ dx dy.\boxed{\,dS=\frac{dx\,dy}{|\hat n\cdot\hat k|}\,}\qquad\Longrightarrow\qquad \iint_S \vec F\cdot\hat n\,dS=\iint_R \frac{\vec F\cdot\hat n}{|\hat n\cdot\hat k|}\,dx\,dy .

The factor 1/∣n^⋅k^∣1/|\hat n\cdot\hat k| is the “un-squashing” factor: a tilted patch casts a smaller shadow than its own area, and the more tilted it is, the bigger the correction. When n^⊥k^\hat n\perp\hat k the surface is vertical, its shadow has zero area, and the formula breaks — which is precisely the case where the projection is not one-to-one and you must project onto yzyz or zxzx instead.

Two conditions to check before using it, both creditable:

  1. the projection is one-to-one (a sphere is not — split it into hemispheres);
  2. n^⋅k^≠0\hat n\cdot\hat k\neq0 on SS.

Route 2 — Surface given as a graph z=g(x,y)z=g(x,y) (the fastest form)

This is Route 1 with the algebra already done, and it is the form to memorise:  n^ dS=(−gx, −gy, 1) dx dy (upward normal),dS=1+gx2+gy2  dx dy.\boxed{\,\hat n\,dS=\bigl(-g_x,\,-g_y,\,1\bigr)\,dx\,dy\,}\qquad\text{(upward normal)},\qquad dS=\sqrt{1+g_x^2+g_y^2}\;dx\,dy .

It is worth seeing why, because it makes the 1/∣n^⋅k^∣1/|\hat n\cdot\hat k| factor obvious. Writing SS as z−g(x,y)=0z-g(x,y)=0, the gradient gives n^=(−gx,−gy,1)1+gx2+gy2\hat n=\dfrac{(-g_x,-g_y,1)}{\sqrt{1+g_x^2+g_y^2}}, so n^⋅k^=11+gx2+gy2\hat n\cdot\hat k=\dfrac{1}{\sqrt{1+g_x^2+g_y^2}} and the radical cancels when n^\hat n is multiplied by dSdS. The radical never has to be computed. Candidates who work with n^\hat n and dSdS separately spend two minutes on a square root that was always going to cancel.

For the downward normal, negate: n^ dS=(gx, gy, −1) dx dy\hat n\,dS=(g_x,\,g_y,\,-1)\,dx\,dy.

Route 3 — Parametric surface

If r⃗=r⃗(u,v)\vec r=\vec r(u,v) over a parameter domain DD: dS=∣r⃗u×r⃗v∣du dv,n^ dS=±(r⃗u×r⃗v)du dv,dS=\left|\vec r_u\times\vec r_v\right|du\,dv,\qquad \hat n\,dS=\pm\left(\vec r_u\times\vec r_v\right)du\,dv, the sign fixed by the required orientation. Use this when the surface is naturally parametrised (sphere, cone, cylinder) and awkward as a graph.

The three standard surfaces — know these cold

SurfaceOutward n^\hat ndSdSUseful identity
Sphere x2+y2+z2=a2x^2+y^2+z^2=a^2r⃗a\dfrac{\vec r}{a}a2sin⁡θ dθ dϕa^2\sin\theta\,d\theta\,d\phiF⃗⋅n^=F⃗⋅r⃗a\vec F\cdot\hat n=\dfrac{\vec F\cdot\vec r}{a}
Cylinder x2+y2=a2x^2+y^2=a^2 (lateral)(x,y,0)a\dfrac{(x,y,0)}{a}a dϕ dza\,d\phi\,dzn^\hat n has no k^\hat k component
Plane ax+by+cz=dax+by+cz=d(a,b,c)a2+b2+c2\dfrac{(a,b,c)}{\sqrt{a^2+b^2+c^2}}—n^\hat n is constant: pull it out

The sphere identity is the biggest time-saver in the chapter. On x2+y2+z2=a2x^2+y^2+z^2=a^2 the outward normal is radial, so F⃗⋅n^=F⃗⋅r⃗/a\vec F\cdot\hat n=\vec F\cdot\vec r/a — and if F⃗=r⃗\vec F=\vec r this collapses to the constant aa, giving ∬Sr⃗⋅n^ dS=a⋅4πa2=4πa3\iint_S\vec r\cdot\hat n\,dS=a\cdot4\pi a^2=4\pi a^3 with no integration at all. (Sanity check via the divergence theorem: ∇⋅r⃗=3\nabla\cdot\vec r=3, so the flux is 3×43πa3=4πa33\times\tfrac43\pi a^3=4\pi a^3. ✓)

Surface element and its projection: \hat n at a point of S, the element dS, its shadow dx\,dy on the xy-plane, and the angle between \hat n and \hat k giving dS=dx\,dy/|\hat n\cdot\hat k|

Question Archetypes

Four patterns cover everything this atom has been asked, in fourteen years, as headline or support.

ArchetypeYou are seeing this when…
plane-patchSS is a piece of a plane cut by coordinate bounds — n^\hat n is constant
graph-projectionSS is z=g(x,y)z=g(x,y) over a region — use n^ dS=(−gx,−gy,1) dxdy\hat n\,dS=(-g_x,-g_y,1)\,dxdy
closed-surfaceSS is a whole box, sphere or cylinder — face-by-face, or reach for Gauss
open-surface-capSS is a hemisphere or cap with a boundary curve — Stokes usually beats direct

Where these are filed, and why it matters. Only plane-patch is catalogued as a P1-VA-14 archetype, because 2026 Q5(e) is the one question where the surface integral itself was the headline. The other three describe questions filed under P1-VA-15 (Gauss) or P1-VA-16 (Stokes) — there the theorem is the headline and the surface integral is the machinery inside it. That filing is precisely the problem this chapter exists to fix: the skill is identical in all four cases, and a candidate who only ever meets it under someone else’s heading never learns it as a technique in its own right. Work all four here; you will meet the last three again, in disguise, in the Gauss and Stokes chapters.


plane-patch (2026 Paper I Q5(e); the 2026 headline appearance)

Recognition Cues

Solution Template

  1. Compute n^\hat n from the plane’s coefficients. It is constant — say so.
  2. State the orientation you are taking if the paper does not.
  3. Compute the (constant) integrand.
  4. dS=dx dy∣n^⋅k^∣dS=\dfrac{dx\,dy}{|\hat n\cdot\hat k|}; the integral is (constant) ×\times (area of the projected region).
  5. Cross-check with Stokes if a curl is involved.

Worked Example

2026 Paper 1, 2026-P1-Q5e (10 marks)

F⃗=(2x+3y)i^−4zj^−5xk^\vec F=(2x+3y)\hat i-4z\hat j-5x\hat k; SS is 2x+4y+4z=52x+4y+4z=5 bounded by x=0x=0, x=2x=2, y=0y=0, y=3y=3. Evaluate ∬S(∇×F⃗)⋅n^ dS\iint_S(\nabla\times\vec F)\cdot\hat n\,dS.

∇×F⃗=(0−(−4),  0−(−5),  0−3)=4i^+5j^−3k^(constant).\nabla\times\vec F=\bigl(0-(-4),\;0-(-5),\;0-3\bigr)=4\hat i+5\hat j-3\hat k\quad\text{(constant)}.

The plane 2x+4y+4z=52x+4y+4z=5 has ∇ϕ=(2,4,4)\nabla\phi=(2,4,4), ∣∇ϕ∣=6|\nabla\phi|=6. The paper does not prescribe an orientation; take the upward normal (the other choice reverses the sign): n^=13i^+23j^+23k^,n^⋅k^=23.\hat n=\tfrac13\hat i+\tfrac23\hat j+\tfrac23\hat k,\qquad \hat n\cdot\hat k=\tfrac23 .

(∇×F⃗)⋅n^=8+20−126=83,dS=dx dy2/3=32 dx dy.(\nabla\times\vec F)\cdot\hat n=\frac{8+20-12}{6}=\frac{8}{3},\qquad dS=\frac{dx\,dy}{2/3}=\frac32\,dx\,dy .

The patch projects one-to-one onto the rectangle 0≤x≤20\le x\le2, 0≤y≤30\le y\le3, of area 66: ∬S(∇×F⃗)⋅n^ dS=83⋅32⋅6=  24  \iint_S(\nabla\times\vec F)\cdot\hat n\,dS=\frac83\cdot\frac32\cdot 6=\boxed{\;24\;}

Common Traps


graph-projection (2020-P1-Q7a; the archetype to drill)

Recognition Cues

Solution Template

  1. Write n^ dS=(−gx,−gy,1) dx dy\hat n\,dS=(-g_x,-g_y,1)\,dx\,dy for the upward normal. Do not compute 1+gx2+gy2\sqrt{1+g_x^2+g_y^2}.
  2. Substitute z=g(x,y)z=g(x,y) into the field.
  3. Dot, then integrate over the projected region.
  4. Exploit odd symmetry before integrating.

Worked Example

2020 Paper 1, 2020-P1-Q7a (20 marks)

Verify Stokes’ theorem for F⃗=xy i^+yz j^+xz k^\vec F=xy\,\hat i+yz\,\hat j+xz\,\hat k on SS: part of z=1−x2z=1-x^2, 0≤x≤10\le x\le1, −2≤y≤2-2\le y\le2, oriented upwards.

∇×F⃗=(−y, −z, −x).\nabla\times\vec F=(-y,\,-z,\,-x).

With g=1−x2g=1-x^2: gx=−2xg_x=-2x, gy=0g_y=0, so n^ dS=(2x, 0, 1) dx dy\hat n\,dS=(2x,\,0,\,1)\,dx\,dy and (∇×F⃗)⋅n^ dS=[−y(2x)+(−z)(0)+(−x)(1)]dx dy=(−2xy−x) dx dy.(\nabla\times\vec F)\cdot\hat n\,dS=\bigl[-y(2x)+(-z)(0)+(-x)(1)\bigr]dx\,dy=(-2xy-x)\,dx\,dy .

Note the zz-component of n^ dS\hat n\,dS multiplied −z-z, so zz never had to be substituted. Over −2≤y≤2-2\le y\le2 the term −2xy-2xy is odd in yy and integrates to zero: ∬R(−2xy−x) dA=∫01 ⁣ ⁣∫−22(−x) dy dx=∫01(−4x) dx=  −2  \iint_R(-2xy-x)\,dA=\int_0^1\!\!\int_{-2}^{2}(-x)\,dy\,dx=\int_0^1(-4x)\,dx=\boxed{\;-2\;}

and the boundary circulation gives −2-2 as well, verifying the theorem.

Common Traps


closed-surface (2022-P1-Q8c, 2021-P1-Q7a, 2023-P1-Q6c)

Recognition Cues

Solution Template

  1. Volume side: ∇⋅F⃗\nabla\cdot\vec F, then ∭V(∇⋅F⃗) dV\iiint_V(\nabla\cdot\vec F)\,dV in whatever coordinates suit the solid.
  2. Surface side: split into faces. On each face, n^\hat n is one of ±i^,±j^,±k^\pm\hat i,\pm\hat j,\pm\hat k (flat faces) or radial/lateral (curved). Always outward.
  3. Identify the faces that contribute zero before integrating — that is where the time is saved.
  4. Sum and state equality.

Worked Example

2022 Paper 1, 2022-P1-Q8c (15 marks)

Verify Gauss’s divergence theorem for F⃗=xi^−yj^+(z2−1)k^\vec F=x\hat i-y\hat j+(z^2-1)\hat k over the cylinder x2+y2=4x^2+y^2=4, 0≤z≤10\le z\le1.

Volume side. ∇⋅F⃗=1−1+2z=2z\nabla\cdot\vec F=1-1+2z=2z, so ∭V2z dV=(∫012z dz)×(cross-section area 4π)=1⋅4π=4π.\iiint_V 2z\,dV=\left(\int_0^1 2z\,dz\right)\times(\text{cross-section area }4\pi)=1\cdot4\pi=4\pi .

Surface side, three pieces:

Total =  4π  =\boxed{\;4\pi\;}, agreeing with the volume side. ✓

Common Traps


open-surface-cap (2020-P1-Q8b, 2016-P1-Q8b)

Recognition Cues

Solution Template

  1. Recognise the integrand as a curl. Identify the boundary curve CC.
  2. Apply Stokes: ∬S(∇×F⃗)⋅n^ dS=∮CF⃗⋅dr⃗\iint_S(\nabla\times\vec F)\cdot\hat n\,dS=\oint_C\vec F\cdot d\vec r.
  3. Orient CC by the right-hand rule against the chosen n^\hat n.
  4. Evaluate the (usually much easier) line integral. Watch for an exact differential.

Worked Example

2020 Paper 1, 2020-P1-Q8b (15 marks)

Evaluate ∬S(∇×F⃗)⋅n^ dS\iint_S(\nabla\times\vec F)\cdot\hat n\,dS for F⃗=yi^+(x−2xz)j^−xyk^\vec F=y\hat i+(x-2xz)\hat j-xy\hat k, SS the part of x2+y2+z2=a2x^2+y^2+z^2=a^2 above the xyxy-plane.

Direct evaluation over the hemisphere is possible but slow. By Stokes the flux equals the circulation round the rim CC: the circle x2+y2=a2x^2+y^2=a^2, z=0z=0.

On z=0z=0 the field reduces to F⃗=yi^+xj^−xyk^\vec F=y\hat i+x\hat j-xy\hat k, and with dr⃗=(dx,dy,0)d\vec r=(dx,dy,0), F⃗⋅dr⃗=y dx+x dy=d(xy),\vec F\cdot d\vec r=y\,dx+x\,dy=d(xy), an exact differential. Its integral round any closed curve vanishes: ∬S(∇×F⃗)⋅n^ dS=∮Cd(xy)=  0  \iint_S(\nabla\times\vec F)\cdot\hat n\,dS=\oint_C d(xy)=\boxed{\;0\;}

(For the record, ∇×F⃗=(x, y, −2z)\nabla\times\vec F=(x,\,y,\,-2z), and direct integration over the hemisphere confirms 00.)

Common Traps

Common Traps (whole chapter)

  1. Not stating the orientation. The single most reliable mark in this atom. If the paper is silent, write one sentence naming your normal — 2026 Q5(e) was silent.
  2. Computing 1+gx2+gy2\sqrt{1+g_x^2+g_y^2}. On a graph surface it always cancels against n^\hat n. Use n^ dS=(−gx,−gy,1) dx dy\hat n\,dS=(-g_x,-g_y,1)\,dx\,dy as a single object.
  3. Projecting a surface that does not project one-to-one. A full sphere must be split; a vertical face has n^⋅k^=0\hat n\cdot\hat k=0 and must be projected onto a different plane.
  4. Inward normals on a closed surface. Outward, always — and on the bottom face that is −k^-\hat k.
  5. Missing the free zeros. Faces where F⃗⋅n^\vec F\cdot\hat n vanishes identically, and ϕ\phi-integrals of cos⁡2ϕ\cos2\phi or sin⁡ϕ\sin\phi over a full turn. Identify them before integrating and say why they vanish; it reads as fluency.
  6. Treating a hemisphere as closed. It has a rim. Either close it with the disk (for Gauss) or use the rim (for Stokes).

What to Practise

In order:

  1. 2026-P1-Q5e — the plane patch, and the only headline instance. Do it twice, once with each orientation, to see the sign flip.
  2. 2020-P1-Q7a — the graph formula n^ dS=(−gx,−gy,1) dxdy\hat n\,dS=(-g_x,-g_y,1)\,dxdy, which is the highest-yield single line in this chapter.
  3. 2022-P1-Q8c — closed surface, face-by-face, with two faces contributing nothing.
  4. 2020-P1-Q8b — when to abandon the surface and take the rim instead.
  5. 2023-P1-Q6c — the hemisphere-plus-disk manoeuvre; the hardest of the six.

Then, and only then, work P1-VA-15 (Gauss) and P1-VA-16 (Stokes). Those two chapters assume everything above, and between them they are worth more marks than any other pair in Vector Analysis.

Ready to drill what you just read?

Daily Practice turns these patterns into one adaptive set a day — practised daily until they're automatic, free for everyone.

See Daily Practice →

This chapter is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.