Vector Calculus: Gradient, Divergence, Curl & Integral Theorems — revision notes (GATE ME)
Vector calculus is a compact, high-yield slice of GATE ME maths — typically 1–2 marks, and the operators reappear inside fluid mechanics (continuity, vorticity) and heat transfer (flux). Learn the operator meanings, not just the formulas.
The three operators
For scalar field φ and vector field F = P i + Q j + R k:
- Gradient ∇φ = (∂φ/∂x, ∂φ/∂y, ∂φ/∂z): a vector pointing in the direction of steepest increase; its magnitude is the maximum rate of change. Directional derivative = ∇φ · û.
- Divergence ∇·F = ∂P/∂x + ∂Q/∂y + ∂R/∂z: a scalar measuring net outflow per unit volume (source/sink strength). ∇·F = 0 ⇒ solenoidal (incompressible).
- Curl ∇×F: a vector measuring local rotation. ∇×F = 0 ⇒ irrotational/conservative (then F = ∇φ for some potential φ).
Key identities: ∇×(∇φ) = 0 (curl of gradient is zero); ∇·(∇×F) = 0 (divergence of curl is zero); ∇·(∇φ) = ∇²φ (Laplacian).
Integral theorems
- Green's (2D): ∮(P dx + Q dy) = ∬(∂Q/∂x − ∂P/∂y) dA.
- Gauss divergence: ∯ F·dS = ∭ (∇·F) dV — converts a closed-surface flux to a volume integral.
- Stokes': ∮ F·dr = ∬ (∇×F)·dS — converts a closed-line integral to a surface integral.
Exam Tricks & Tips
- 🎯 Curl of gradient and divergence of curl are ALWAYS zero — spot these to answer property MSQs in seconds.
- 🎯 Irrotational ⇔ ∇×F = 0 ⇔ conservative ⇔ path-independent line integral — one idea, four phrasings the setter rotates through.
- 🎯 Use Gauss/Stokes to swap a hard integral for an easy one — a messy surface flux often becomes a trivial volume integral of a constant divergence.
- 🎯 Directional derivative is maximum along ∇φ and equals |∇φ|; it is zero along a level surface.
- 🎯 Solenoidal = ∇·F = 0 links straight to the incompressible continuity equation in fluids.
- ❌ Common mistake: treating gradient as a scalar or divergence as a vector — gradient(scalar)→vector, divergence(vector)→scalar, curl(vector)→vector.
Expected exam pattern
A 1-mark evaluation of ∇φ, ∇·F or ∇×F at a point, or a 2-mark line/surface integral where applying Green/Gauss/Stokes is far quicker than direct integration. Property statements (conservative, solenoidal, irrotational) show up as MSQs.
Quick recap
Gradient→direction of steepest ascent (vector); divergence→net outflow (scalar); curl→rotation (vector). ∇×∇φ = 0, ∇·(∇×F) = 0. Green/Gauss/Stokes convert between line, surface and volume integrals — pick the easiest side.
Vector Calculus & Integral Theorems — Flashcards
Cover the answer, recall, then check. 11 cards on vector calculus for GATE ME.
Q1. What does the gradient ∇φ represent, and is it scalar or vector?
A1. A vector pointing in the direction of steepest increase of φ; its magnitude is the maximum rate of change.
Q2. What does divergence ∇·F measure?
A2. A scalar: net outflow of the field per unit volume (source/sink strength). ∇·F = 0 means solenoidal/incompressible.
Q3. What does curl ∇×F indicate?
A3. A vector measuring local rotation/circulation. ∇×F = 0 means the field is irrotational (and conservative).
Q4. Value of ∇×(∇φ) and ∇·(∇×F)?
A4. Both are identically zero — curl of a gradient is 0, divergence of a curl is 0.
Q5. What is ∇·(∇φ)?
A5. The Laplacian ∇²φ = ∂²φ/∂x² + ∂²φ/∂y² + ∂²φ/∂z².
Q6. How do you compute a directional derivative of φ along unit vector û?
A6. ∇φ · û. It is maximum (= |∇φ|) along ∇φ and zero along a level surface.
Q7. State the Gauss divergence theorem.
A7. ∯ F·dS = ∭ (∇·F) dV — closed-surface flux equals the volume integral of divergence.
Q8. State Stokes' theorem.
A8. ∮ F·dr = ∬ (∇×F)·dS — a closed line integral equals the surface integral of curl.
Q9. State Green's theorem in the plane.
A9. ∮(P dx + Q dy) = ∬(∂Q/∂x − ∂P/∂y) dA over the enclosed region.
Q10. What four properties are equivalent for a conservative field?
A10. ∇×F = 0, F = ∇φ (has a potential), path-independent line integral, and zero circulation around any closed loop.
Q11. A field is solenoidal. What does that tell you physically in fluids?
A11. ∇·F = 0 → no net source/sink → corresponds to an incompressible flow satisfying continuity.
Vector Calculus: Gradient, Divergence, Curl & Integral Theorems
Vector calculus is how ME describes fields — temperature, velocity, stress. The gradient points "uphill," divergence measures net outflow (mass conservation in fluids), and curl measures local rotation (vorticity). The integral theorems then convert hard surface/volume integrals into easier ones, which is exactly what GATE asks.
Core concept: the operator ∇ ("del") = (∂/∂x, ∂/∂y, ∂/∂z) acts three ways — on a scalar it gives a vector (gradient), dotted with a vector it gives a scalar (divergence), crossed with a vector it gives a vector (curl).
Deep explanation
Beginner — the three operations
- Gradient of scalar φ: ∇φ = (∂φ/∂x)î + (∂φ/∂y)ĵ + (∂φ/∂z)k̂. Points in the direction of steepest increase; its magnitude is the maximum rate of change. Heat flows opposite to ∇T (Fourier's law).
- Directional derivative of φ along unit vector û: ∇φ · û.
- Divergence of vector F: ∇·F = ∂Fx/∂x + ∂Fy/∂y + ∂Fz/∂z (a scalar). ∇·V = 0 is the incompressible continuity equation.
- Curl of F: ∇×F (a vector). ∇×V = 0 means irrotational flow (a velocity potential exists).
Intermediate — key identities
- curl(grad φ) = ∇×(∇φ) = 0 (gradient fields are irrotational).
- div(curl F) = ∇·(∇×F) = 0.
- A field with ∇×F = 0 is conservative: F = ∇φ, and line integrals are path-independent.
Advanced — the integral theorems
- Green's theorem (2D): ∮(P dx + Q dy) = ∬(∂Q/∂x − ∂P/∂y) dA.
- Gauss divergence theorem: ∯ F·n̂ dS = ∭ (∇·F) dV — converts a closed-surface flux into a volume integral (used for continuity, heat flux balances).
- Stokes' theorem: ∮ F·dr = ∬ (∇×F)·n̂ dS — converts a closed line integral into a surface integral of curl.
The exam value: swap whichever integral is easier to evaluate.
Worked example
For F = (x², y², z²), find the flux out of the unit cube 0≤x,y,z≤1.
By Gauss: flux = ∭ ∇·F dV. ∇·F = 2x + 2y + 2z.
∭₀¹∭₀¹∭₀¹ (2x+2y+2z) dV = 3 × [2 · ∫₀¹ x dx] = 3 × (2 · ½) = 3. (By symmetry each term integrates to ½ over the cube, times 2, times 3 terms.) A direct six-face surface integral would take far longer.
GATE relevance
Tested directly (gradient/divergence/curl evaluation, a divergence-theorem flux) in the Maths block, and conceptually essential in Fluid Mechanics (continuity ∇·V=0, irrotational flow, stream/potential functions) and Heat Transfer (Fourier's law q = −k∇T).
Exam tricks & shortcuts
- If ∇×F = 0, the field is conservative — line integral depends only on endpoints; often the answer is a clean scalar difference.
- Prefer the divergence theorem whenever a closed surface flux is asked; volume integrals of a polynomial are trivial.
- Mnemonic: "Grad makes a vector, Div makes a scalar, Curl makes a vector."
Confusing divergence (a scalar, dot product) with curl (a vector, cross product), or applying Gauss/Stokes to a non-closed surface. Gauss needs a closed surface; Stokes needs the surface's boundary curve.
- ✓- ∇φ points uphill; heat/flux flows down the gradient.
- ✓- ∇·F = 0 → incompressible; ∇×F = 0 → irrotational/conservative.
- ✓- curl(grad)=0 and div(curl)=0 are automatic.
- ✓- Gauss: closed-surface flux = volume integral of divergence.
- ✓- Stokes: closed line integral = surface integral of curl.
- ✓Read the operator type first — scalar-in/vector-out is gradient, dot is divergence, cross is curl — then reach for the integral theorem that turns your hard integral into an easy one.
Vector Calculus: Gradient, Divergence, Curl & Integral Theorems — Formula Sheet
Key formulas
- Gradient: ∇f; divergence ∇·F; curl ∇×F.
- Green's theorem: ∮(P dx + Q dy) = ∬(∂Q/∂x − ∂P/∂y)dA.
- Stokes: ∮F·dl = ∬(∇×F)·dS.
- Gauss divergence: ∯F·dS = ∭(∇·F)dV.
- Conservative field: ∇×F = 0 ⇒ F = ∇φ.
- ✓- Divergence theorem: net flux = ∭(∇·F)dV.
- ✓- Stokes: circulation = flux of curl.
- ✓- ∇×F = 0 ⇒ conservative field.
The integral theorems convert between line, surface and volume integrals of vector fields.
Vector Calculus: Gradient, Divergence, Curl & Integral Theorems — Worked Example
Worked Example
Problem: For the vector field F = (x²y, yz, xz), compute the divergence and the curl, and evaluate both at the point (1, 1, 1).
Solution:
Write F = (P, Q, R) with P = x²y, Q = yz, R = xz.
Divergence ∇·F = ∂P/∂x + ∂Q/∂y + ∂R/∂z:
∂P/∂x = 2xy, ∂Q/∂y = z, ∂R/∂z = x.
∇·F = 2xy + z + x.
At (1, 1, 1): ∇·F = 2(1)(1) + 1 + 1 = 4.
Curl ∇×F, component by component:
i-component: ∂R/∂y − ∂Q/∂z = 0 − y = −y.
j-component: ∂P/∂z − ∂R/∂x = 0 − z = −z.
k-component: ∂Q/∂x − ∂P/∂y = 0 − x² = −x².
So ∇×F = (−y, −z, −x²).
At (1, 1, 1): ∇×F = (−1, −1, −1).
Answer: ∇·F = 4 and ∇×F = (−1, −1, −1) at the point (1, 1, 1).
- ✓- Divergence (a scalar) measures net outflow; curl (a vector) measures local rotation of the field.
- ✓- Curl's i, j, k components follow the cyclic pattern (∂R/∂y − ∂Q/∂z, ∂P/∂z − ∂R/∂x, ∂Q/∂x − ∂P/∂y).
- ✓- Integral theorems connect them to boundaries: divergence theorem (∮F·dA = ∫∇·F dV) and Stokes' theorem (∮F·dr = ∫(∇×F)·dA).