GATE EC, AE, ME, CE, EE + 11 more · Vector Calculus
Gradient, Directional Derivatives, Divergence and Curl
The del operator, gradient and surface normals, unit-vector directional derivatives, divergence (solenoidal fields), curl (irrotational/conservative fields), Laplacian, and vector identities.
1. Directional derivative formula and unit-vector rule
The directional derivative of a differentiable scalar field at in the direction of a vector measures the rate of change per unit arc length along :
Critical rule: never dot directly with a non-unit vector , always divide by first. For coordinate unit axes , the directional derivative reduces back to .
The gradient ∇f points normal to level contours f = c; along any unit direction û at angle α, Dû f = |∇f| cos α.
2. Normals to surfaces, tangent planes and aerodynamic bodies
Because is orthogonal to every tangent curve lying inside the level surface :
Unit normal vector to at : .
Tangent plane equation: .
Angle between two intersecting surfaces and : equals the angle between their normal gradients:
3. Divergence
For a vector field the divergence is the scalar
It measures the net outward flux per unit volume at a point:
: a source (more flows out than in).
: a sink.
everywhere: the field is solenoidal (incompressible). Every solenoidal field is the curl of some vector field, .
In electromagnetics, (charges are sources) and (the magnetic field is solenoidal).
Useful results with the position vector and :
, so (inverse-square field) is solenoidal for .
Product rule: .
For a purely radial field in spherical coordinates, .
Left: a field spreading out from a point has positive divergence. Right: a field circulating around a point has non-zero curl.
4. Curl
The curl of is the vector
∇×F=i^∂x∂F1j^∂y∂F2k^∂z∂F3
Expanded: .
It measures rotation (circulation per unit area). Its direction is the axis of rotation by the right-hand rule. For the rigid rotation , the curl is ; for example has curl .
A field with everywhere (in a simply connected region) is irrotational, and then:
for some scalar potential (the field is conservative);
the line integral depends only on the end points, and is zero round any closed path.
To find , integrate with respect to , then add only the new terms from and .
Field type
Test
Consequence
Solenoidal
Irrotational
Both
both zero
(harmonic potential)
5. Identities and the Laplacian
For smooth fields and , two identities are always zero:
: curl of a gradient vanishes (gradient fields are irrotational).
: divergence of a curl vanishes (curl fields are solenoidal).
The Laplacian of a scalar is the divergence of its gradient:
is harmonic if (Laplace's equation, for example the potential in a charge-free region).
Other identities GATE uses:
(used to derive the wave equation).
.
.
With and :
Expression
Value
for
Remember which operations give scalars (div, Laplacian of a scalar) and which give vectors (grad, curl). An expression like for a scalar , or , is meaningless.
Formulas to remember
Gradient
Directional derivativeMaximum value is , along
Unit normal to f = c
Divergence
Curl
Laplacian
Null identities
Curl of curl
Radial power fields
Maximum rate of increaseIn the direction of +∇f
Direction of zero change
Common mistakes
Not dividing the direction vector by its length before taking the dot product with the gradient.
Getting the sign of the middle (j) component of the curl wrong: it is ∂F1/∂z − ∂F3/∂x.
Treating divergence as a vector or gradient as a scalar; grad and curl give vectors, div and the Laplacian of a scalar give scalars.
Concluding a field is conservative from zero divergence; conservative means zero curl.
Forgetting to substitute the point after differentiating, or substituting before differentiating.
Dotting with the raw direction vector instead of dividing by first.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Directional derivative along a non-unit vector
numerical
Find the directional derivative of at in the direction of .
Step 1: Compute ∇f at (1, 1, 1).
Try it on paper first.
Example 2: Divergence and curl of a given field
numerical
For , find and at .
Step 1: Differentiate each component by its own variable and add.
Try it on paper first.
Example 3: Making a field irrotational and finding its potential
numerical
Find , , so that is irrotational, and find a scalar potential with .
Step 1: Set the î component of the curl to zero.
Try it on paper first.
Example 4: Which radial field is solenoidal?
conceptual
For which is solenoidal (for )? Is it irrotational?
Step 1: Use the product rule for divergence.
Try it on paper first.
Previous year questions
3 official GATE Engineering Mathematics questions mapped to this topic across published papers, newest first.
10 questions: up to 3 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 Engineering Mathematics (EC, AE, ME, CE, EE + 11 more) syllabus; being checked by a reviewer. Updated 2026-12-01. Spotted a mistake? Use Report an issue on any question, or contact us.