GATE Electrical: Vector Calculus (gradient, directional derivative, divergence, Green's and divergence theorems), previous-year questions solved

Every vector-calculus question from the last five GATE Electrical papers: steepest-ascent directions, directional derivatives and maximum rates of change, divergence in Cartesian and spherical coordinates, Green's theorem for areas and the divergence theorem for flux. Each of the 9 solutions matches the official key, was checked numerically (finite-difference gradients, parametrised line integrals, surface sums), names the trap and shows where the idea is used in electrical engineering.

Questions from official GATE EE papers (IIT Kharagpur 2022, IIT Kanpur 2023, IISc Bengaluru 2024, IIT Roorkee 2025, IIT Guwahati 2026); solutions by Skill-Lync. · Updated 16 Nov 2026 · 9 questions

GATE 2022 · EE · Q.50MCQ · 2 marksGradient, divergence and vector integral theorems

f = 4x² + 7xy + 3xz²: direction of fastest increase at (1, 0, 2)

Let, . The direction in which the function increases most rapidly at point is
  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (B) Official key: B

  1. A function increases fastest along its gradient.
  2. at .
  3. , and .
  4. : option (B).

Traps: at tempts you to drop the term, but does not contain (option C). Dropping the terms gives option (A). A finite-difference gradient of at gives the same (20, 7, 12).

Where this shows up in industry

The electric field is minus the gradient of potential, , so it points the way the voltage falls fastest. Insulation designers look for the regions where is largest (sharp edges, conductor surfaces, triple points), because that is where corona and breakdown start; FEM field solvers for bushings and cable terminations output this gradient map.

GATE 2022 · EE · Q.51MCQ · 2 marksGradient, divergence and vector integral theorems

Region R enclosed by a counter-clockwise curve C: which expression is NOT its area?

Let be a region in the first quadrant of the plane enclosed by a closed curve considered in counter-clockwise direction. Which of the following expressions does not represent the area of the region ?
A closed curve C, drawn as an oval, lies entirely in the first quadrant of the x-y plane and encloses the region R; an arrow on C shows the counter-clockwise directionyxCR
  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (C) Official key: C

  1. Green's theorem: for a counter-clockwise .
  2. : , , integrand , so it equals the area. : , the area again. (A) is the definition of area.
  3. : , , integrand : it equals minus the area. Option (C).

Check on an ellipse in the first quadrant (centre (3, 2), semi-axes 1.5 and 1, area 4.7124): the line integrals come out as , and the half-sum 4.7124. Trap: (C) does have the right size; it is only the sign that is wrong, and going round clockwise would make (C) right and the others wrong.

Where this shows up in industry

Area by line integral is how a planimeter works, and power electronics uses it every day: the area of a B-H loop, , is the core loss per cycle per unit volume, and the area of a P-V or V-I trajectory gives energy per cycle. Oscilloscope XY modes and loss calculators integrate around the loop, and the sign tells you whether the device absorbed or returned energy.

GATE 2022 · EE · Q.52MCQ · 2 marksGradient, divergence and vector integral theorems

E = 2x² î + 5y ĵ + 3z k̂: volume integral of ∇·E over the unit cube

Let . The value of , where is the volume enclosed by the unit cube defined by , and , is
  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (C) Official key: C

  1. .
  2. Over the unit cube, . Option (C).
  3. Divergence theorem check: the flux out of the cube is through the faces, through the faces and through the faces, total 10.

A midpoint sum over 8000 small cubes gives 10.0000. Trap: evaluating the divergence at the origin () and multiplying by the unit volume gives 8, option (B); the term averages to 2 over the cube and must be kept.

Where this shows up in industry

Gauss's law, , is the divergence theorem with . Field-solver software for cables, bushings and capacitors checks its results this way: the flux out of a closed box around a conductor must equal the charge inside, and the same identity gives the capacitance from a computed field.

GATE 2023 · EE · Q.62NAT · 2 marksGradient, divergence and vector integral theorems

Line integral of F = −y î + x ĵ around the cardioid r = 1 + cos θ

The closed curve shown in the figure is described by The magnitude of the line integral of the vector field around the closed curve is ____________ (Round off to 2 decimal places).
Plot of the closed curve r = 1 + cos(theta): a heart-shaped cardioid with its cusp at the origin, reaching x = 2 on the right, about x = -0.25 on the left and y = plus or minus 1.3 at the top and bottom-0.500.511.52-1.5-1-0.500.511.5xy

Answer: 9.42 Official key: 9 to 10

  1. The line integral is . By Green's theorem it equals .
  2. Area of the cardioid: .
  3. Line integral 9.42.

Direct check: parametrise the curve by and sum over 20000 steps: 9.4248. Trap: using without the for the area and then doubling again gives ; and forgetting that (not 0) gives .

Where this shows up in industry

is twice the area swept, and the same integral is how reactive power and loop areas are computed from sampled waveforms. A cardioid also turns up as a real antenna and microphone pattern: two elements fed with the right phase difference give a gain , used in direction-finding and in uni-directional microphones.

GATE 2023 · EE · Q.65NAT · 2 marksGradient, divergence and vector integral theorems

f = x₁² + 2x₂² + 3x₁ + 3x₂ + x₁x₂ + 1: maximum rate of change at (1, 1)

A quadratic function of two variables is given as The magnitude of the maximum rate of change of the function at the point (1,1) is _________ (Round off to the nearest integer).

Answer: 10 Official key: 10 to 10

  1. The maximum rate of change at a point is the magnitude of the gradient there.
  2. at .
  3. .
  4. 10.

Trap: forgetting the cross term gives and , which rounds to 9. A finite-difference gradient at (1, 1) gives (6.000, 8.000).

Where this shows up in industry

Gradient magnitude is how fast a quantity changes per unit step, and power-system tools use it as a sensitivity: how many MW of line flow, or how many rupees of operating cost, per MW shifted between generators. Optimal power flow solvers follow the gradient of a quadratic cost exactly like this one, and the cross term is the coupling between two generators' outputs.

GATE 2024 · EE · Q.36MCQ · 2 marksGradient, divergence and vector integral theorems

Directional derivative of 2 ln(xy) + ln(yz) + 3 ln(xz) at (1, 1, 1) along 2x̂ + ŷ + 2ẑ

Consider a vector , where represent unit vectors along the coordinate axes respectively. The directional derivative of the function at the point in the direction of is
  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (C) Official key: C

  1. Split the logs: (since , and so on).
  2. at .
  3. Unit vector along : , so .
  4. . Option (C).

Traps: forgetting to normalise gives 21, option (D). Dividing also by gives , option (B), which is the cosine of the angle between and , not a rate of change. A finite-difference step along gives 7.0000.

Where this shows up in industry

Logarithms of products are how decibels add: a gain chain becomes , and the sensitivity of the total gain in dB to each stage is the gradient of exactly this kind of function. The directional derivative answers 'if all three stage gains drift together in this ratio, how fast does the total move?', which is how tolerance budgets for signal chains are worked out.

GATE 2025 · EE · Q.51MSQ · 2 marksGradient, divergence and vector integral theorems

Radial field a_R / Rⁿ: for which n is the divergence independent of R?

Let be the unit radial vector in the spherical co-ordinate system. For which of the following value(s) of , the divergence of the radial vector field is independent of ?
  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (B) and (D) Official key: B;D

  1. For a purely radial field in spherical coordinates, .
  2. With : .
  3. This is independent of when the power is zero, (divergence ), or when the coefficient is zero, (divergence ). (B) and (D).

A finite-difference divergence at gives 3 every time for and 0 for , and changes with for and . Trap: using the Cartesian-style alone forgets the from the spreading area and gives no -independent case except .

Where this shows up in industry

is the inverse-square field of a point charge, : zero divergence everywhere except the charge itself, because the same flux crosses every sphere. is the field inside a uniformly charged ball, , whose divergence is constant because the charge density is. Both cases are what a GATE EMF question and a cable or bushing field calculation start from.

GATE 2025 · EE · Q.53NAT · 2 marksGradient, divergence and vector integral theorems

V = x² + x + y² + 1: rate of change at the origin towards the point (1, 2)

Let . The rate of change of the real valued function, at the origin in the direction of the point is ___________ (round off to the nearest integer).

Answer: 0 Official key: 0 to 1

  1. at the origin.
  2. Unit vector towards : .
  3. Rate of change , which rounds to 0.

The official key accepts anything from 0 to 1. That is because forgetting to normalise the direction gives , and the question's 'nearest integer' rounding makes the two readings land on different integers. The correct rate of change is .

Where this shows up in industry

here is a typical Lyapunov-style energy function: a bowl with its minimum near the origin. Control engineers check the rate of change of such a function along the system's motion; if it is negative in every direction the system can move, the energy keeps falling and the system is stable. It is the standard way to prove stability of nonlinear power converters and grid-forming inverter controllers.

GATE 2026 · EE · Q.32NAT · 1 markGradient, divergence and vector integral theorems

Flux of F = sin y x̂ + cos x ŷ + 5 ẑ out of the unit sphere

Given that , the integral over the unit sphere S centered at the origin evaluates to ________ (Round off to one decimal place)

Answer: 0.0 Official key: 0 to 0

  1. Divergence theorem: the flux out of a closed surface equals .
  2. .
  3. So the flux is 0.0, whatever the closed surface.

Direct check: integrating over the sphere on an 80000-cell grid gives 7.3e-15. Trap: the constant looks as if it should push flux out, but whatever enters through the bottom half of the sphere leaves through the top.

Where this shows up in industry

Divergence-free is the defining property of a magnetic field, : the net flux out of any closed surface is zero, so flux lines close on themselves. Transformer and motor designers rely on it when they say the flux in the core equals the flux in the yoke, and FEM magnetics solvers use a vector potential precisely so that every computed is divergence-free by construction.

From GATE prep to a electrical modelling and simulation career

Talk to a counsellor.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.