Green's theorem in the plane, Stokes' theorem and Gauss's divergence theorem: what each converts, the orientation rules, and how GATE uses them to turn a hard line or surface integral into an easy one.
Let be a simple closed curve in the -plane enclosing a region , and let , have continuous first partial derivatives on and inside . Green's theorem:
Orientation: is traversed counter-clockwise (positive sense), so the region stays on the left. Going clockwise flips the sign.
Area as a line integral. Choosing , gives :
When to use: a line integral around a closed path made of several pieces (a square, a triangle) is often one double integral by Green's theorem. If is a constant , the answer is simply .
If throughout a simply connected region, the integral around every closed path in it is zero: is an exact differential.
Green's theorem: the line integral around C (counter-clockwise) equals a double integral over the enclosed region R
2. Stokes' theorem
Let be an open, two-sided surface bounded by a closed curve , and a vector field with continuous first partial derivatives. Stokes' theorem:
The circulation of around equals the flux of through any surface spanning .
Orientation (right-hand rule): curl the fingers of the right hand along the direction of ; the thumb gives . A curve counter-clockwise when seen from above pairs with an upward normal.
Consequences:
Any two surfaces with the same boundary and orientation give the same flux of . Replace a hemisphere by the flat disk it sits on; it is usually easier.
If in a simply connected region, for every closed curve there. Then (conservative), and a line integral depends only on its end points: .
Green's theorem is Stokes' theorem for a flat surface in the -plane with and , since .
In electromagnetics this turns Faraday's and Ampere's laws between integral and differential (point) form.
Stokes' theorem: circulation around the boundary C equals the flux of curl F through any surface S spanning C
3. Gauss's divergence theorem
Let be a volume bounded by a closed surface with outward unit normal . Gauss's divergence theorem:
The net outward flux through a closed surface equals the total divergence (source strength) inside.
When to use: flux through a closed surface made of several faces (a cube, a cylinder with its two ends, a sphere). One triple integral replaces six or three surface integrals. If is a constant , the flux is .
Useful results:
For , , so for any closed surface.
, so the flux of a curl through any closed surface is zero.
If the surface is not closed (say a hemisphere without its base), add the missing face, apply the theorem, then subtract the flux through the face you added.
In electromagnetics this gives Gauss's law: becomes .
Divergence theorem: the outward flux through the closed surface S equals the volume integral of div F over V
4. Choosing the right theorem
Given
Closed?
Theorem
Converts to
in a plane
closed curve
Green
in space
closed curve
Stokes
closed surface
Gauss
Quick checks before integrating:
Is ? Then every closed line integral is zero.
Is constant? Then the closed-surface flux is that constant times the volume.
Is the curl constant? Then a Stokes flux is (curl ) times the area of a flat surface spanning .
Is the field the curl of something, integrated over a closed surface? The answer is zero.
Conditions: the fields need continuous first partial derivatives in the region, and the region must not contain a singular point. For example, has zero curl away from the origin, yet its circulation around the unit circle is , because the origin inside is a singular point.
Sign conventions to state in every answer: counter-clockwise for Green, right-hand rule for Stokes, outward normal for Gauss.
Formulas to remember
Green's theoremC counter-clockwise
Area by a line integral
Stokes' theoremRight-hand rule links C and n
Gauss's divergence theoremClosed S, outward normal
Position vector
Identities behind the zero results
Conservative field
Common mistakes
Forgetting the orientation: Green's theorem needs the counter-clockwise sense, and going clockwise flips the sign.
Applying the divergence theorem to an open surface such as a hemisphere without its base; close it first and subtract the added face.
Writing the Green's integrand as dM/dy minus dN/dx; it is the partial of N with respect to x minus the partial of M with respect to y.
Taking the Stokes normal in the wrong direction; use the right-hand rule with the direction of the boundary curve.
Concluding a closed line integral is zero from zero curl when a singular point lies inside the curve.
Computing a hard surface integral over a curved surface when a flat surface with the same boundary gives the same Stokes flux.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Green's theorem on a unit square
numerical
Evaluate , where is the boundary of the square , , traversed counter-clockwise.
Step 1: Identify $M$ and $N$ and form the integrand.
Try it on paper first.
Example 2: Area of an ellipse by a line integral
numerical
Use to find the area enclosed by .
Step 1: Parametrise the ellipse counter-clockwise.
Try it on paper first.
Example 3: Stokes' theorem: swap a hemisphere for a disk
numerical
For , evaluate over the upper hemisphere , , with upward normal.
Step 1: Compute the curl.
Try it on paper first.
Example 4: Divergence theorem on a unit cube
numerical
Find the outward flux of through the surface of the cube .
Step 1: Find the divergence.
Try it on paper first.
Previous year questions
1 official GATE EC question on this topic, newest first.
9 questions: up to 1 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-29. Spotted a mistake? Use Report an issue on any question, or contact us.