GATE Electronics (EC): Calculus, Vector Calculus and Differential Equations (Engineering Mathematics), previous-year questions solved, part 2

Part 2 of 3 of the Calculus and Differential Equations hub: 6 more official GATE EC questions on vector calculus: gradient, line, surface and flux integrals, each solved step by step and checked against the official answer key. Part 1 covers series and convergence, maxima, minima and bounds, multiple integrals and areas and differential equations.

Questions from official GATE EC papers (IIT Kharagpur 2022, IIT Kanpur 2023, IISc Bengaluru 2024, IIT Roorkee 2025, IIT Guwahati 2026); solutions by Skill-Lync. · Updated 18 Nov 2026 · 6 of 21 questions on this page

GATE 2022 · EC · Q.11MCQ · 1 markVector calculus: gradient, line, surface and flux integrals

Closed path integral of F = x i + y j around the counter-clockwise contour C in the figure

Consider the two-dimensional vector field , where and denote the unit vectors along the -axis and the -axis, respectively. A contour in the - plane, as shown in the figure, is composed of two horizontal lines connected at the two ends by two semicircular arcs of unit radius. The contour is traversed in the counter-clockwise sense. The value of the closed path integral

is ______.
Contour C in the x-y plane: a bottom line from (0, 0) to (4, 0), a top line from (4, 2) to (0, 2), joined at the ends by two semicircular arcs of unit radius bulging inwards, centred at (0, 1) and (4, 1), traversed counter-clockwise; the region inside is shadedr = 1r = 1(0, 2)(0, 0)(4, 0)xyC (counter-clockwise)
  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (A) Official key: A

  1. The integrand is . This is an exact differential: . So with .
  2. Check with the curl: everywhere. The field is conservative, and the plane has no holes, so the integral between two points does not depend on the path.
  3. is a closed path: it ends where it starts. For a conservative field a closed path gives .
  4. Piece by piece, as a check: bottom line gives . Right arc gives . Top line gives . Left arc gives . Sum .
  5. The value is , option (A). The odd shape of the contour does not matter.

Trap: option (C), , is the perimeter of : two lines of length and two semicircles of length . That is the scalar integral , not the dot product . The enclosed area is , which is also not an option. The code parametrised the four pieces ( points each) and summed with the trapezoid rule: the total is , the four pieces match , and the perimeter comes out .

Where this shows up in industry

A static electric field has zero curl, so the voltage between two points does not depend on the path, and the line integral of E around any closed loop is zero. This is Kirchhoff's voltage law for a circuit with no changing magnetic flux through the loop.

GATE 2023 · EC · Q.12MCQ · 1 markVector calculus: gradient, line, surface and flux integrals

Rate of increase of f(x, y, z) = xyz in the direction v = (2, 1, 2) at the point (0, 2, 1)

The rate of increase, of a scalar field , in the direction at a point is
  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (B) Official key: B

  1. The gradient of is . At : .
  2. A rate of increase in a direction is the directional derivative along a unit vector. The length of is , so .
  3. , option (B).

Trap: using directly, without dividing by its length , gives , option (D). Option (C), , is the length of the gradient, : that is the largest rate of increase in any direction, reached only along . The code checked the gradient with central differences () and the derivative of at : both give , while and .

Where this shows up in industry

The same step is used to move downhill on a loss surface: the gradient gives the steepest direction, and the rate along any chosen step direction is the gradient dotted with that direction's unit vector. In field work, the electric field along a given line is the directional derivative of the potential, .

GATE 2023 · EC · Q.37MCQ · 2 marksVector calculus: gradient, line, surface and flux integrals

Line integral of (z^2 dx + 3y^2 dy + 2xz dz) along the straight line from P(1,1,2) to Q(2,3,1)

The value of the line integral along the straight line joining the points and is
  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (B) Official key: B

  1. Look for a potential with , , . Integrating gives . Then already matches, and gives . So .
  2. The field is conservative: , and the other two cross-derivatives are . The value depends only on the end points, not on the straight line.
  3. and .
  4. The integral is , option (B).
  5. Check along the line: , , for , so , , . The integrand becomes a polynomial in whose integral from to is .

Trap: stopping at one end point. alone is option (C), and is option (D): both forget that the value is the difference . The code integrated along the straight line ( points, trapezoid rule) and got , matched it with sympy, and also integrated along a broken path : .

Where this shows up in industry

When a force or electric field is conservative, the work or the voltage between two points is a difference of a potential, and you never have to follow the actual path. Engineers use this whenever they quote a voltage between two nodes in an electrostatic problem or the energy stored by moving a charge.

GATE 2024 · EC · Q.25MSQ · 1 markVector calculus: gradient, line, surface and flux integrals

Which integral equations are equivalent to the continuity equation d rho/dt + div(rho u) = 0

Let and represent density and velocity, respectively, at a point and time . Assume is continuous. Let be an arbitrary volume in space enclosed by the closed surface and be the outward unit normal of . Which of the following equations is/are equivalent to ?
  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (A) and (C) Official key: A;C

  1. Integrate the differential equation over an arbitrary volume : . Moving the second term across gives . That is option (C), with the minus sign.
  2. Divergence theorem: the volume integral of equals the outward flux of through the closed surface, . Substituting in (C) gives option (A).
  3. Meaning: the mass inside rises only if mass flows in. The outward flux is positive when mass leaves, so outward flux.
  4. The converse also holds. If (C) is true for every and is continuous, the integrand must vanish at every point, which gives the differential equation back. So (A) and (C) are equivalent to it. (B) and (D) have the wrong sign.

Trap: (B) and (D) look like the same statement with a plus sign. They would say that mass piles up inside exactly when it flows out. The code built a flow that obeys continuity exactly, and (sympy confirms ), and evaluated every option on the box at by Gauss-Legendre quadrature, with the six face fluxes. Left side , outward flux , volume integral of the divergence : (A) and (C) hold to , while (B) and (D) are off by twice the left side. Adding a source term to breaks (A) and (C), as it should.

Where this shows up in industry

The same statement for electric charge, , is the continuity equation of Maxwell's equations. Its integral form says the current leaving a closed surface equals the rate at which the enclosed charge falls, which is Kirchhoff's current law for a node.

GATE 2024 · EC · Q.54MSQ · 2 marksVector calculus: gradient, line, surface and flux integrals

Line integral of F1 dx + F2 dy + F3 dz is the same along every path from A to B: which statements are true

Let , , and be functions of . Suppose that for every given pair of points and in space, the line integral evaluates to the same value along any path that starts at and ends at . Then which of the following is/are true?
  1. (A)For every closed path , we have .
  2. (B)There exists a differentiable scalar function such that .
  3. (C).
  4. (D).

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

  1. Path independence is the same as saying the field is conservative. Everything follows from that.
  2. (A) True. Split a closed path at two points into path 1 from to and path 2 from back to . Going back along path 2 is the reverse of going forward along it, so , because both forward paths give the same value.
  3. (B) True. Define from a fixed point . Because the integral does not depend on the path, is well defined, and differentiating it gives , , .
  4. (D) True. If , the cross-derivatives of agree: , and the same for the other two pairs. These three equations are .
  5. (C) False. It says , which has nothing to do with path independence. Take : is conservative, yet .
  6. So the true statements are (A), (B) and (D).

Trap: ticking (C). Divergence-free and curl-free are two different conditions; path independence needs the curl to vanish, not the divergence. The code took random cubic potentials : for each, in sympy (option D), over random closed loops ( points) was to numerical error (option A), and the divergence was non-zero in of them (option C fails). Two different paths between the same two points gave and , equal to . In contrast, has curl and circulation around the unit circle: it is not conservative, so it is not a counter-example to anything above.

Where this shows up in industry

Path independence is what makes a voltage between two points meaningful in electrostatics: it exists because , so and any path gives the same potential difference. When a changing magnetic flux threads the loop, the curl is not zero and the voltage depends on the path, which is why layout loop area matters for induced noise.

GATE 2026 · EC · Q.12MCQ · 1 markVector calculus: gradient, line, surface and flux integrals

Which vector can be the unit normal n to the surface z^2 = 2x^2 - y^2 at the point P = i + sqrt(2) k

A surface is given by and and are unit normal vectors to the surface at the point .
Which of the following vectors can be , where and are the unit vectors along x, y and z axes, respectively?
  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (D) Official key: D

  1. Write the surface as . The gradient of is perpendicular to the surface at every point.
  2. Check that is on the surface: and . Yes.
  3. . At : .
  4. Its length is . Divide: .
  5. The other unit normal is . That is option (D), so (D) can be . (The question allows either sign.)

Trap: (C), , has the wrong ratio of components (the correct ratio is ) and length , so it is neither normal nor unit. (A), , is the position vector of with the sign of the part flipped: it has length and is not normal. (B) has length and is not normal. The code took two tangent vectors at from the surface by finite differences and tested each option: only (D) is perpendicular to both and has length (the lengths of (A), (B), (C) are , , ).

Where this shows up in industry

Boundary conditions in electromagnetics are written with the unit normal of a surface: the tangential electric field vanishes on a conductor and the normal flux density equals the surface charge. Field solvers and ray tracers get that normal from the gradient of the implicit surface equation, exactly as here.

From GATE prep to a electronics 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.