Evaluating line integrals of scalar and vector fields by parametrisation, path independence for conservative fields, flux surface integrals over planes, graphs and spheres, and volume integrals in Cartesian, cylindrical and spherical coordinates.
A curve is described by a parametrisation , . Two kinds of line integral appear:
Scalar field (arc-length integral, e.g. mass of a wire):
With it gives the arc length. It does not depend on direction.
Vector field (work, circulation):
Reversing the direction of changes its sign. Over a closed curve it is written and called the circulation.
Method.
Choose a parametrisation for each piece of (a line segment from to : , ; a circle of radius : ).
Substitute and , etc.
Integrate in ; add the pieces.
For a curve given as , use itself as the parameter: .
Useful fact: for a closed curve enclosing area (counter-clockwise), .
2. Conservative fields and path independence
A field is conservative if for some scalar potential . Then
for every path from to and every closed curve.
Test. On a simply connected region, is conservative if and only if . In 2-D, is conservative when .
Finding . Integrate with respect to , then fix the unknown function of by matching and . Example: gives .
Field
Conservative?
yes,
yes,
yes,
no, curl
When a GATE question says "along any path" or gives a messy path for a field like , check the curl first: the answer is then just .
If the curl is not zero, the result depends on the path. For from to , the path gives but the line gives .
Left: two different paths from $A$ to $B$ give the same line integral when $\mathbf{F} = \nabla\phi$. Right: the positive (counter-clockwise) orientation of a closed curve, with the enclosed region on the left.
3. Surface integrals and flux
For a surface with unit normal :
Scalar surface integral: ; with it gives the surface area.
Flux of a vector field: , the amount of passing through . For a closed surface, points outward by convention.
Standard surfaces.
Surface
(outward or upward)
Plane
Graph
Sphere
Cylinder (side)
For a graph, the two square roots cancel: over the projection on the -plane.
Symmetry saves time. On a sphere of radius centred at the origin, , so the flux of is . A field parallel to a face contributes nothing through that face.
Shortcut for closed surfaces. The divergence theorem often replaces six face integrals of a cube by one volume integral; Stokes' theorem turns a circulation into a flux of the curl. These are covered with Gauss's, Green's and Stokes' theorems.
4. Volume integrals and coordinate systems
A volume integral gives volume (), mass ( = density) or total charge. Choose coordinates that match the shape of :
System
Coordinates
Volume element
Cartesian
Cylindrical
Spherical
In spherical coordinates is measured from the -axis ( to ) and around it ( to ).
Checks worth doing.
Volume of a sphere: .
Volume of a cylinder: .
Separable integrands over a box. If and the limits are constants, the triple integral is the product of three single integrals. Example: over is .
Odd symmetry. The integral of (or any function odd in ) over a region symmetric about is zero.
Formulas to remember
Scalar line integral
Vector line integral
Gradient fieldValid when on a simply connected region
Area from a line integral
Flux through a graph z = g(x, y)
Surface element of a graph
Cylindrical volume element
Spherical volume element
Common mistakes
Forgetting the Jacobian: ρ in cylindrical and r² sin θ in spherical coordinates.
Dropping |r′(t)| in a scalar line integral, or adding it to a vector line integral where it does not belong.
Ignoring direction: reversing the path changes the sign of ∫F·dr but not of ∫f ds.
Assuming every line integral is path independent; check that the curl is zero before using a potential.
Using an inward normal for a closed surface, which flips the sign of the flux.
Using the projected area dx dy as the surface area of a tilted surface instead of multiplying by √(1 + g_x² + g_y²).
Worked examples
Try each step yourself, then reveal the working.
Example 1: Work along a parabola
numerical
Evaluate for along the parabola from to .
Step 1: Is the field conservative?
Try it on paper first.
Example 2: Using a potential
numerical
Find for along any path from to .
Step 1: Check the curl.
Try it on paper first.
Example 3: Flux through a sphere
numerical
Find the outward flux of through the sphere .
Step 1: Write the outward unit normal.
Try it on paper first.
Example 4: Volume integral in cylindrical coordinates
numerical
Evaluate over the cylinder , .
Step 1: Choose coordinates.
Try it on paper first.
Previous year questions
2 official GATE EC questions on this topic, newest first.
10 questions: up to 2 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-28. Spotted a mistake? Use Report an issue on any question, or contact us.