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
Closed path integral of F = x i + y j around the counter-clockwise contour C in the figure
is ______.
- (A)
- (B)
- (C)
- (D)
Answer: (A) Official key: A
- The integrand is . This is an exact differential: . So with .
- 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.
- is a closed path: it ends where it starts. For a conservative field a closed path gives .
- Piece by piece, as a check: bottom line gives . Right arc gives . Top line gives . Left arc gives . Sum .
- 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 .
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.
Rate of increase of f(x, y, z) = xyz in the direction v = (2, 1, 2) at the point (0, 2, 1)
- (A)
- (B)
- (C)
- (D)
Answer: (B) Official key: B
- The gradient of is . At : .
- A rate of increase in a direction is the directional derivative along a unit vector. The length of is , so .
- , 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 .
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, .
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)
- (A)
- (B)
- (C)
- (D)
Answer: (B) Official key: B
- Look for a potential with , , . Integrating gives . Then already matches, and gives . So .
- The field is conservative: , and the other two cross-derivatives are . The value depends only on the end points, not on the straight line.
- and .
- The integral is , option (B).
- 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 : .
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.
Which integral equations are equivalent to the continuity equation d rho/dt + div(rho u) = 0
- (A)
- (B)
- (C)
- (D)
Answer: (A) and (C) Official key: A;C
- Integrate the differential equation over an arbitrary volume : . Moving the second term across gives . That is option (C), with the minus sign.
- Divergence theorem: the volume integral of equals the outward flux of through the closed surface, . Substituting in (C) gives option (A).
- Meaning: the mass inside rises only if mass flows in. The outward flux is positive when mass leaves, so outward flux.
- 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.
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.
Line integral of F1 dx + F2 dy + F3 dz is the same along every path from A to B: which statements are true
- (A)For every closed path , we have .
- (B)There exists a differentiable scalar function such that .
- (C).
- (D).
Answer: (A) and (B) and (D) Official key: A;B;D
- Path independence is the same as saying the field is conservative. Everything follows from that.
- (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.
- (B) True. Define from a fixed point . Because the integral does not depend on the path, is well defined, and differentiating it gives , , .
- (D) True. If , the cross-derivatives of agree: , and the same for the other two pairs. These three equations are .
- (C) False. It says , which has nothing to do with path independence. Take : is conservative, yet .
- 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.
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.
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
Which of the following vectors can be , where and are the unit vectors along x, y and z axes, respectively?
- (A)
- (B)
- (C)
- (D)
Answer: (D) Official key: D
- Write the surface as . The gradient of is perpendicular to the surface at every point.
- Check that is on the surface: and . Yes.
- . At : .
- Its length is . Divide: .
- 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 , , ).
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.