GATE Civil: Differential Equations (ODEs, Laplace, heat and wave equations), previous-year questions solved

Every differential equations question from the ten official GATE Civil papers of 2022-2026: 20 questions (8 NAT, 9 MCQ, 3 MSQ) on order and degree, separable, linear, exact and homogeneous first-order ODEs, constant-coefficient and Euler-Cauchy equations, mixing problems, and the Laplace, heat and wave equations with their classification, each solved step by step and checked by a script against the official key. Engineering mathematics is Section 1 of the GATE CE syllabus and stays the same in GATE 2027.

Questions from the ten official GATE CE papers, sessions CE1 and CE2 of GATE 2022 (IIT Kharagpur), 2023 (IIT Kanpur), 2024 (IISc Bengaluru), 2025 (IIT Roorkee) and 2026 (IIT Guwahati); solutions by Skill-Lync. · Updated 17 Nov 2026 · 10 of 20 questions on this page

GATE 2022 · CE1 · Q.12MCQ · 1 markOrdinary differential equations

What are the order and degree of an ODE containing a (dy/dx) to the power 3/2 term?

For the equation

the correct description is

  1. (A)an ordinary differential equation of order 3 and degree 2.
  2. (B)an ordinary differential equation of order 3 and degree 3.
  3. (C)an ordinary differential equation of order 2 and degree 3.
  4. (D)an ordinary differential equation of order 3 and degree 3/2.

Answer: (A) an ordinary differential equation of order 3 and degree 2. Official key: A

  1. There is one independent variable, , so it is an ordinary differential equation. The highest derivative is , so the order is 3.
  2. The degree is the power of the highest derivative after the equation has been cleared of radicals and fractional powers of derivatives. Here is a fractional power, so isolate it: .
  3. Square both sides: . Now appears with power 2.
  4. Order 3 and degree 2: (A).

Trap: reading the degree as 3/2 (D) from the exponent printed on . The degree is always a positive integer and is read on the highest derivative, not on . (B) takes the power 3 that gets after squaring, and (C) gets the order wrong.

Where this shows up in industry

Order tells you how many boundary conditions a problem needs. The beam equation EI times the fourth derivative of deflection equals the load is fourth order and first degree, so a simply supported or fixed beam needs four conditions, two at each support, before it can be solved by hand or in software.

GATE 2023 · CE1 · Q.30NAT · 1 markOrdinary differential equations

For dy/dx + alpha x y = 0 with y = 1 at x = 0 and y = 0.8 at x = 1, what is alpha?

In the differential equation , is a positive constant. If at , and at , the value of is ________ (rounded off to three decimal places).

Answer: 0.446 Official key: 0.445 to 0.447

  1. Separate the variables: .
  2. Integrate: , so .
  3. at gives , so the curve is a bell shape that starts at 1 and falls as grows; the two conditions fix one unknown, .
  4. at gives , so .
  5. 0.446. A fourth-order Runge-Kutta march from to 1 with this lands on .

Trap: forgetting the half from gives , outside the key.

Where this shows up in industry

First-order equations of this kind describe decay processes in civil work: BOD exerted in a stream, consolidation settlement approaching its final value, and pollutant concentration in a well-mixed tank. Fitting the rate constant from two measurements is exactly the step done when calibrating a Streeter-Phelps model.

GATE 2023 · CE2 · Q.36MCQ · 2 marksOrdinary differential equations

Third-order linear ODE with one root 2.5: what are the other two exponents alpha and beta?

The solution of the differential equation

is expressed as , where , , , , and are constants, with and being distinct and not equal to 2.5. Which of the following options is correct for the values of and ?

  1. (A)1 and 2
  2. (B) and
  3. (C)2 and 3
  4. (D) and

Answer: (A) 1 and 2 Official key: A

  1. Try . The auxiliary equation is .
  2. is a root (given). Divide it out: .
  3. , so the other roots are 1 and 2.
  4. Checks: the roots sum to (the coefficient of with sign changed) and multiply to (the constant with sign changed).
  5. So are (A) 1 and 2; substituting and back into the equation gives zero.

Trap: (B) flips the signs, as if the auxiliary roots were read off the factors as . The product check rules it out: passes, but the sum fails.

Where this shows up in industry

Higher-order linear ODEs with constant coefficients describe beam on elastic foundation problems, such as rail track or strip footings on a Winkler soil model, and multi-degree vibration of structures. The roots of the auxiliary equation decide whether the response decays, grows or oscillates.

GATE 2024 · CE1 · Q.48NAT · 2 marksOrdinary differential equations

How much salt is in a half-filled 2 m x 2 m x 3 m mixing tank when it reaches 75 per cent of capacity?

A 2 m × 2 m tank of 3 m height has inflow, outflow and stirring mechanisms. Initially, the tank was half-filled with fresh water. At , an inflow of a salt solution of concentration at the rate of 2 litre/s and an outflow of the well stirred mixture at the rate of 1 litre/s are initiated. This process can be modelled using the following differential equation:

where is the mass (grams) of the salt at time (seconds). The mass of the salt (in grams) in the tank at 75% of its capacity is ____________ (rounded off to 2 decimal places).

Answer: 25.00 g Official key: 24.50 to 25.50

  1. Capacity L; it starts with 6000 L and gains L/s, so the volume is litres.
  2. 75 per cent of capacity is 9000 L, reached at s.
  3. Integrating factor : .
  4. With : .
  5. At :
  6. 25.00 g.

Trap: ignoring the outflow and taking g, or using the full tank (12000 L at s), which gives 45 g. The outflow carries salt away, so the mass is less than the salt added.

Where this shows up in industry

The same mass-balance ODE describes a chlorine contact tank, an equalisation basin receiving industrial effluent or a lake receiving a pollutant load; environmental engineers in water and wastewater treatment use it to predict concentration with time before sizing the tank.

GATE 2024 · CE2 · Q.15MCQ · 1 markOrdinary differential equations

Is dy/dx = (x^4 + 3x^2y^2 + 2y^4)/(x^3 y) homogeneous, and is dy/dx = -y^2/x^2 an exact ODE?

Consider two Ordinary Differential Equations (ODEs):

P:

Q:

Which one of the following options is CORRECT?

  1. (A)P is a homogeneous ODE and Q is an exact ODE.
  2. (B)P is a homogeneous ODE and Q is not an exact ODE.
  3. (C)P is a nonhomogeneous ODE and Q is an exact ODE.
  4. (D)P is a nonhomogeneous ODE and Q is not an exact ODE.

Answer: (B) P is a homogeneous ODE and Q is not an exact ODE. Official key: B

  1. P: every term of the numerator and of the denominator has degree 4, so replacing by leaves the right side unchanged: . P is homogeneous (solve with ).
  2. Q: write it as with , .
  3. Exactness test: but . They differ, so Q is not exact.
  4. Answer: (B).

Trap: Q is separable, and after dividing by it becomes , which is exact. That division is an integrating factor; the equation in its given form is not exact. Also, “homogeneous” here means homogeneous in degree, not a linear ODE with zero right-hand side.

Where this shows up in industry

Recognising the type of a first-order ODE quickly is useful in hydraulics and hydrology, for example in gradually varied flow equations, reservoir routing and first-order decay models in environmental engineering, where the right substitution turns the equation into a closed form that checks a numerical solver.

GATE 2025 · CE1 · Q.47NAT · 2 marksOrdinary differential equations

Value of y(1) for y'' + 0.8y' + 0.16y = 0 with y(0) = 3 and y'(0) = 4.5

Let be the solution of the initial value problem , where and . Then, is equal to __________ (rounded off to 1 decimal place).

Answer: 5.8 Official key: 5.7 to 5.9

  1. Characteristic equation: , a repeated root .
  2. For a repeated root the general solution is .
  3. .
  4. , so and .
  5. , so 5.8.

Trap: taking (forgetting the derivative of ) gives , outside the key. Writing also fails: with a repeated root the second solution needs the factor .

Where this shows up in industry

This is a critically damped mass-spring-damper (damping ratio exactly 1). Buildings sit far below that, IS 1893 takes 5 percent damping for RC frames, and viscous or tuned mass dampers on tall buildings and footbridges are sized by how far they push that ratio toward critical.

GATE 2025 · CE2 · Q.29NAT · 1 markOrdinary differential equations

Order of the ODE with a third derivative plus the sixth power of the second derivative and the fourth power of dy/dx

The “order” of the following ordinary differential equation is ______.

Answer: 3 Official key: 3 to 3

  1. The order of a differential equation is the order of the highest derivative that appears in it.
  2. The derivatives present are (third order), (second order, raised to the 6th power) and (first order, raised to the 4th power).
  3. The highest is , so the order is 3.
  4. The degree is a different property: the power of the highest derivative once the equation is polynomial in its derivatives. Here appears to the first power, so the degree is 1. The equation is nonlinear because of the powers 6 and 4.

Trap: answering 6, the largest exponent. Exponents decide degree and linearity; only the highest derivative decides the order.

Where this shows up in industry

The order fixes how many boundary conditions a problem needs. The beam bending equation, with the fourth derivative of deflection, is fourth order, so every span needs four conditions, deflection, slope, moment or shear at its ends, which is exactly what the support types in a STAAD or ETABS model supply.

GATE 2025 · CE2 · Q.36MCQ · 2 marksOrdinary differential equations

General solution of the differential equation dy/dx = e^(x - y)

Pick the CORRECT solution for the following differential equation

  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (A) Official key: A

  1. Split the exponential: , so the variables separate: .
  2. Integrate both sides: .
  3. Take logs: , option (A).
  4. Check: and , equal for every .
  5. (B) and (C) are the same family, , which solves , not this equation. (D) gives but , equal only when .

Trap: (D). does satisfy the equation (it is (A) with ), so substituting a single test point can mislead; a general solution must work for every value of the constant.

Where this shows up in industry

Separable first-order equations are routine in Indian design offices: first-order BOD decay in a river below an outfall, the time for a tank or reservoir to drain through an outlet, and Terzaghi-type settlement rates are all solved by separating variables and integrating, as here.

GATE 2026 · CE1 · Q.37MCQ · 2 marksOrdinary differential equations

What is the general solution of the ordinary differential equation x^2 y'' = 6y?

An ordinary differential equation is given below.

Considering and as arbitrary constants, the general solution of the equation is

  1. (A)
  2. (B)
  3. (C)
  4. (D)

Answer: (A) Official key: A

  1. is an Euler-Cauchy (equidimensional) equation. Try : , so .
  2. gives and , two distinct real roots.
  3. General solution: , option (A).
  4. Check (B): gives . Check (C) and (D): gives .

Trap: (B) swaps the exponents; 2 and are the roots of , a sign slip in . A term appears only when the indicial equation has a repeated root, which is not the case here.

Where this shows up in industry

Euler-Cauchy equations govern the radial displacement in thick-walled cylinders (Lame's solution) and the bending of circular plates, so they appear when checking circular water tanks, pressure pipes, silo bottoms and circular raft or tank foundations.

GATE 2026 · CE2 · Q.46NAT · 2 marksOrdinary differential equations

For dy/dx + xy = x with y(0) = 0, what is the value of y at x = 1?

Consider differential equation with the condition as at . The value of at is ______ (rounded off to two decimal places).

Answer: 0.39 Official key: 0.37 to 0.42

  1. The equation is linear first order with . Integrating factor: .
  2. , so .
  3. gives , hence . (It is also separable: .)
  4. , so the answer is 0.39.

Trap: dropping the term gives , outside the key, and a single Euler step of from the origin gives 0. Note that approaches 1 as grows, so any answer above 1 is impossible.

Where this shows up in industry

Linear first-order equations solved by an integrating factor describe BOD exertion in a stream, chlorine decay along a distribution main and storage routing through a detention pond; when a coefficient varies along the reach, as here, the same method still gives a closed form.

From GATE prep to a water resources and flood engineering 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.