NDA Differential Equations previous year questions with solutions
Differential Equations gives three or four of the 120 questions in every paper, a share steady for a decade. Order and degree, the equation of a family of curves and separation of variables carry nearly all of it. Every question UPSC has set on it since 2017, solved. Grouped by the method each needs, newest first; open a question for its answer and worked solution.
26.1 Order and degree of a differential equation; solutions and their verification
(d2ydx2)3/2 = (dydx)5/2?
Answer and solution
Answer: (a) 3
Method. rationalise: clear the fractional powers
Square both sides: (d2ydx2)3 = (dydx)5.
The highest derivative is d2ydx2, now with power 3, so the degree is 3.
I. y = xe2x is the solution of dydx = y(2 + 1x).
II. y = x ln|x| + cx is the solution of dydx = x + yx.
Which of the statements given above is/are correct?
Answer and solution
Answer: (c) Both I and II
Method. substitute each function into its equation
I. y = xe2x: dydx = e2x + 2xe2x = e2x(1 + 2x).
Right side: y(2 + 1x) = xe2x·2x + 1x = e2x(2x + 1). Equal, so I is correct.
II. y = x ln|x| + cx: dydx = ln|x| + 1 + c.
Right side: x + yx = 1 + ln|x| + c. Equal, so II is correct.
Both are correct.
Let y dx + (x − y3) dy = 0 be a differential equation.
Answer and solution
Answer: (a) 1 and 1
Method. read off order and degree
Write it as dxdy + xy = y2 (dividing by y dy), or y + (x − y3)dydx = 0 (dividing by dx).
Only first derivatives occur, to the first power: order 1, degree 1.
Answer and solution
Answer: (d) 4xy − y4 = c
Method. exact differential
y dx + x dy = y3dy, i.e. d(xy) = y3dy.
Integrate: xy = y44 + C, so 4xy − y4 = c.
Shortcut. y dx + x dy is d(xy): integrate at once.
{2 − (dydx)2}0.6 = d2ydx2?
Answer and solution
Answer: (d) 2, 5
Method. rationalise the fractional power, then read off order and degree
0.6 = 35. Raise both sides to the 5th power: (2 − (dydx)2)3 = (d2ydx2)5.
Highest derivative is d2ydx2, so the order is 2; its power is 5, so the degree is 5.
Order, degree = 2, 5.
Answer and solution
Answer: (d) 3, 2
Method. read off order and degree
The highest derivative is d3ydx3, so the order is 3.
It occurs with power 2, and the equation is a polynomial in the derivatives (x2 and sin x are only coefficients), so the degree is 2.
1. The degree of the differential equation dydx + cos(dydx) = 0 is 1.
2. The order of the differential equation (d2ydx2)3 + cos(dydx) = 0 is 2.
Which of the statements given above is/are correct?
Answer and solution
Answer: (b) 2 only
Method. order is the highest derivative; degree needs a polynomial in the derivatives
Statement 1: cos(dydx) is not a polynomial in dydx, so the degree of the equation is not defined. The claim 'degree is 1' is false.
Statement 2: the highest derivative present is d2ydx2, so the order is 2. The cosine does not affect the order. The statement is true.
Only 2 is correct.
Answer and solution
Answer: (d) 4
Method. degree = power of the highest derivative after clearing fractional powers
The highest derivative is d2ydx2, raised to 43. Cube both sides to remove the fraction: (1 + (dydx)2)3 = (d2ydx2)4.
Now the equation is a polynomial in the derivatives and the highest derivative has power 4, so the degree is 4 (not 43).
x = √(1 + d2ydx2)
Answer and solution
Answer: (a) 1
Method. degree after removing the radical
x = √(1 + d2ydx2). Squaring: x2 = 1 + d2ydx2, i.e. d2ydx2 = x2 - 1.
This is a polynomial in the derivatives; the highest derivative d2ydx2 has power 1. Degree 1.
Answer and solution
Answer: (b) d2ydx2 − y = 0
Method. eliminate a and b by differentiating twice
y = aex + be-x gives y' = aex - be-x and y'' = aex + be-x = y.
Hence d2ydx2 − y = 0.
Answer and solution
Answer: (b) 2 and 3
Method. differentiate to remove the integral, then clear the fractional power
Differentiating kdydx = ∫[1 + (dydx)2]2/3 dx gives kd2ydx2 = [1 + (dydx)2]2/3.
Cube both sides: k3(d2ydx2)3 = [1 + (dydx)2]2.
Highest derivative d2ydx2, power 3: order 2, degree 3.
Answer and solution
Answer: (a) 1
Method. degree = power of the highest-order derivative
The highest-order derivative is d4ydx4, and it occurs to the first power (the factor x2 is a coefficient, and dydx squared is a lower-order derivative).
Degree 1.
d2ydx2 + 2(dydx)2 + 9y = x
1. The degree of the differential equation is 1.
2. The order of the differential equation is 2.
Which of the above statements is/are correct?
Answer and solution
Answer: (c) Both 1 and 2
Method. read off order and degree
Highest derivative is d2ydx2, appearing to the first power (the squared term is dydx, a lower-order derivative): degree 1, so statement 1 is correct.
The order is 2, so statement 2 is correct. Both are correct.
where μ > 0.
Answer and solution
Answer: (a) d2xdt2 + μx = 0
Method. a periodic solution needs a sine/cosine solution
(a) x'' + μx = 0 with μ > 0 has x = A cos(√μ t) + B sin(√μ t), periodic.
(b) x'' - μx = 0 gives exponentials e±√μ t, not periodic.
(c) x dx = -μt dt gives x2 = c − μt2, which is not periodic (and exists only on a bounded interval).
(d) dxx = -μt dt gives x = ce-μt2/2, not periodic.
Only (a).
(d3ydx3)2 = y4 + (dydx)5?
Answer and solution
Answer: (c) 3, 2
Method. order = highest derivative; degree = its power
(d3ydx3)2 = y4 + (dydx)5 is polynomial in the derivatives.
Highest derivative d3ydx3: order 3, power 2: degree 2.
Order 3, degree 2, which the option lists as '3, 2'.
[1 + (dydx)2]3 = ρ2 [d2ydx2]2
are respectively
Answer and solution
Answer: (b) 2 and 2
Method. order = highest derivative; degree = its power once the equation is a polynomial in the derivatives
The equation [1 + (dydx)2]3 = ρ2(d2ydx2)2 is already a polynomial in the derivatives (ρ is a constant).
Highest derivative: d2ydx2, so order 2; its power is 2, so degree 2.
y = x(dydx)2 + (dxdy)2?
Answer and solution
Answer: (d) 4, 1
Method. degree = power of the highest-order derivative after the equation is made a polynomial in the derivatives
Put p = dydx, so dxdy = 1p. The equation is y = xp2 + 1p2.
Multiply by p2: yp2 = xp4 + 1, a polynomial in p.
Highest derivative is dydx (order 1) and its highest power is 4 (degree 4).
Degree and order respectively: 4, 1.
26.2 Forming the differential equation of a family of curves
Answer and solution
Answer: (c) x dydx − y = 0
Method. y = mx, eliminate m
Lines through the origin: y = mx, m arbitrary.
dydx = m = yx, so xdydx − y = 0.
Answer and solution
Answer: (a) 1
Method. eliminate c; one derivative to the first power
y2 = √c x. Differentiate: 2yy1 = √c.
Substitute: y2 = 2yy1x, so y = 2xdydx (y ≠ 0).
It is first order and first power in dydx, so the degree is 1.
Answer and solution
Answer: (c) d2ydx2 − 2dydx + 2y = 0
Method. differentiate twice and eliminate a and b
y = ex(a cos x + b sin x).
y1 = y + ex(-a sin x + b cos x).
y2 = y1 + (y1 - y) + ex(-a cos x − b sin x) = 2y1 - y − y = 2y1 - 2y.
So d2ydx2 − 2dydx + 2y = 0.
Answer and solution
Answer: (d) y d2ydx2 + (dydx)2 = 0
Method. differentiate twice and eliminate a
y2 = 4a(x − b), a and b arbitrary.
Differentiate: 2yy1 = 4a.
Differentiate again: 2y12 + 2yy2 = 0, so yd2ydx2 + (dydx)2 = 0.
Suppose E is the differential equation representing family of curves y2 = 2cx + 2c√c where c is a positive parameter.
Answer and solution
Answer: (a) 1
Method. count independent constants
Only c is arbitrary in y2 = 2cx + 2c√c (the family has one parameter), so the differential equation has order 1.
Answer and solution
Answer: (b) 3
Method. eliminate c, rationalise, read off the degree
Differentiate: 2ydydx = 2c, so c = yy1.
Substitute: y2 = 2xyy1 + 2(yy1)3/2, so y2 - 2xyy1 = 2(yy1)3/2.
Square to remove the fractional power: (y2 - 2xyy1)2 = 4y3y13.
The highest power of y1 is 3 (the left side has degree 2 only), so the degree is 3.
Answer and solution
Answer: (b) xdydx − 2y = 0
Method. form the family, differentiate, eliminate the constant
Vertex at the origin, axis along positive y: x2 = 4ay.
Differentiate: 2x = 4adydx, so 4a = 2xy1.
Put back: x2 = 2xy1· y, so xdydx = 2y, i.e. xdydx − 2y = 0.
(Option (d) reduces to 2xdydx = y, which is a different equation.)
Answer and solution
Answer: (b) 2
Method. count independent arbitrary constants
All such ellipses are x2a2 + y2b2 = 1 with two independent constants a and b.
The differential equation of a family with n independent constants has order n, so the order is 2.
Shortcut. Two constants, so order 2.
Answer and solution
Answer: (b) 2
Method. form the equation of the family, eliminate the parameter, rationalise, read off the degree
A circle in the first quadrant touching both axes has centre (a, a) and radius a: (x − a)2 + (y − a)2 = a2, one constant.
Differentiate: (x − a) + (y − a)y1 = 0, so a = x + yy11 + y1.
Then x − a = y1(x − y)1 + y1 and y − a = y − x1 + y1.
Put in the circle equation: (x − y)2(1 + y12) = (x + yy1)2.
Expand: (x2 - 2xy)y12 - 2xy y1 + (y2 - 2xy) = 0, a polynomial of degree 2 in y1, order 1.
Degree = 2.
Answer and solution
Answer: (b) xy2 + 2y1 = 0
Method. differentiate twice and eliminate the constants
y = A − Bx: y1 = Bx2, y2 = -2Bx3.
So y2 = -2xy1, i.e. xy2 + 2y1 = 0.
Answer and solution
Answer: (a) 1
Method. order = number of arbitrary constants
The solution y2 + 2cy − cx + c2 = 0 contains one arbitrary constant c.
Eliminating it needs one differentiation, so the order is 1.
Answer and solution
Answer: (d) dydx = -4xy2
Method. differentiate and express in terms of y
y = (2x2 - c)-1 gives dydx = -(2x2 - c)-2 · 4x = -4x y2.
Hence dydx = -4xy2.
Answer and solution
Answer: (b) ex tan y dx + (1 − ex)sec2y dy = 0
Method. differentiate once and eliminate c
tan y = c(1 − ex) gives sec2y dydx = -cex.
From the given relation c = tan y1 − ex, so (1 − ex) sec2y dydx = -ex tan y.
Hence ex tan y dx + (1 − ex) sec2y dy = 0.
Answer and solution
Answer: (c) x2 - y2 + 2xy dydx = 0
Method. write the family, differentiate once, eliminate the parameter
A circle touching the y-axis at the origin has its centre on the x-axis: x2 + y2 - 2ax = 0.
Differentiate: 2x + 2yy' - 2a = 0, so a = x + yy'.
Substitute: x2 + y2 - 2x(x + yy') = 0, i.e. y2 - x2 - 2xyy' = 0.
Hence x2 - y2 + 2xydydx = 0.
Answer and solution
Answer: (d) d2ydx2 + a2y = 0
Method. differentiate twice
y = p cos(ax) + q sin(ax); y' = -ap sin(ax) + aq cos(ax); y'' = -a2p cos(ax) − a2q sin(ax) = -a2y.
Hence d2ydx2 + a2y = 0.
Answer and solution
Answer: (d) 4
Method. order = number of independent arbitrary constants
cos x, sin x, e-x and 1 are linearly independent, so a, b, c, d are four genuinely independent constants.
The equation is (D2 + 1)(D + 1)D y = 0, i.e. y'''' + y''' + y'' + y' = 0, of order 4.
Answer and solution
Answer: (a) 1, 2
Method. eliminate a, then read order and degree
Differentiating y2 = 4a(x − a): 2yy' = 4a, so a = yy'2.
Substituting: y2 = 2yy'(x − yy'2) = 2xyy' - y2y'2.
So y2(y')2 - 2xyy' + y2 = 0: highest derivative y' (order 1), power 2 (degree 2).
Order 1, degree 2.
Answer and solution
Answer: (d) y'' + y = 0
Method. reduce to a single sinusoid, which has only two essential constants
sin(x + C) + cos(x + C) = √2 sin(x + C + π4), so y = A√2 sin(x + C + π4) = B sin(x + D): only two independent constants, hence order 2.
y' = B cos(x + D), y'' = -B sin(x + D) = -y.
Hence y'' + y = 0.
where p = dydx.
Answer and solution
Answer: (a) (x2 - 2y2)p2 - 4pxy − x2 = 0
Method. differentiate once and eliminate a
Differentiating y2 - 2ay + x2 = a2: 2yp − 2ap + 2x = 0, so a = yp + xp.
The given relation is y2 + x2 = a(a + 2y), and a + 2y = 3yp + xp.
So (x2 + y2)p2 = (yp + x)(3yp + x) = 3y2p2 + 4xyp + x2.
Hence (x2 - 2y2)p2 - 4xyp − x2 = 0.
26.3 Variables separable equations
Answer and solution
Answer: (a) sec(y − x) = cex2/2
Method. substitute v = y − x
Let v = y − x, so dvdx = dydx − 1 = x cot v.
Separate: tan v dv = x dx. Integrate: -ln|cos v| = x22 + C.
So ln|sec v| = x22 + C, i.e. sec(y − x) = cex2/2.
Answer and solution
Answer: (a) cos(y − qx) = p
Method. dydx is a constant
cos(dydx) = p with p, q constants means dydx = m, a constant with cos m = p.
Then y = mx + C and y(0) = q gives C = q, so m = y − qx.
Hence cos(y − qx) = p.
Consider the differential equation
ex+y dydx = ex-y :
Answer and solution
Answer: (a) -2
Method. differentiate dydx = e-2y once
ex+ydydx = ex-y gives dydx = e-2y.
Differentiate: d2ydx2 = -2e-2ydydx = -2(dydx)2.
So d2ydx2(dxdy)2 = -2(dydx)2·1(dy/dx)2 = -2.
Answer and solution
Answer: (c) 2y = ln (2x + 1)
Method. separate variables and use y(0) = 0
dydx = e-2y gives e2ydy = dx.
Integrate: 12e2y = x + C. At x = 0, y = 0: C = 12.
e2y = 2x + 1, so 2y = ln(2x + 1).
Answer and solution
Answer: (b) x + y = k tan(y − ck)
Method. substitute v = x + y, separate variables
Let v = x + y, so dvdx = 1 + dydx = 1 + k2v2 = v2 + k2v2.
Separate: v2v2 + k2dv = dx, i.e. (1 − k2v2 + k2)dv = dx.
Integrate: v − k tan-1(vk) = x + C. With v = x + y: y − C = k tan-1(x + yk).
So x + y = k tan(y − ck).
Answer and solution
Answer: (a) 1
Method. separate variables and apply y(0) = 12
dyy3 = 2exdx, so -12y2 = 2ex + C.
At x = 0, y = 12: -2 = 2 + C, so C = -4.
-12y2 = 2ex - 4, so 1y2 = 8 − 4ex = 4(2 − ex).
Hence 4y2(2 − ex) = 1.
Answer and solution
Answer: (d) y = (x2 - 2)2
Method. factor, then test each option
(dydx)2 - xdydx = 0 gives dydx(dydx − x) = 0, so dydx = 0 or dydx = x.
The slopes of the options are 2, 2, 2x and x respectively.
Only y = x2 - 22 has dydx = x for all x. (y = 2x and y = 2x + 4 have the constant slope 2, which equals neither 0 nor x.)
Answer and solution
Answer: (c) y = 2tan(x2) − x + c
Method. separate variables with half-angle identity
(dy − dx) + cos x(dy + dx) = 0 gives dy(1 + cos x) = dx(1 − cos x).
dydx = 1 − cos x1 + cos x = tan2(x2) = sec2(x2) − 1.
Integrate: y = 2tan(x2) − x + c.
Answer and solution
Answer: (d) 5 ln 5
Method. separate variables, use the initial value
dyy = ln 5 dx, so ln y = x ln 5 + C and y = A· 5x.
y(0) = A = ln 5.
y(1) = 5 ln 5.
ln(dydx) + y = x
Answer and solution
Answer: (c) ex - ey = c
Method. exponentiate, then separate variables
ln(dydx) = x − y, so dydx = ex-y = exe-y.
Separate: ey dy = ex dx.
Integrate: ey = ex + k, i.e. ex - ey = c (c = -k).
Checking: y = ln(ex - c) gives ln(dydx) + y = x.
Answer and solution
Answer: (b) y = tan (x + c)
Method. separate variables
dy1 + y2 = dx gives tan-1y = x + c.
Hence y = tan(x + c).
x (dx − dy) + y (dy − dx) = 0, is
Answer and solution
Answer: (b) x2 + y2 = 2xy + c
Method. factorise
x(dx − dy) + y(dy − dx) = (x − y)(dx − dy) = (x − y) d(x − y) = 0.
Integrating: (x − y)22 = const, i.e. x2 - 2xy + y2 = c.
Hence x2 + y2 = 2xy + c.
Answer and solution
Answer: (a) y = ex + c
Method. remove the logarithm and integrate
ln(dydx) = x gives dydx = ex.
Hence y = ex + c.
Answer and solution
Answer: (a) ex[sec (y − x) − tan (y − x)] = c
Method. substitute v = y − x
Let v = y − x. Then dvdx = dydx − 1 = cos v.
So sec v dv = dx and ln|sec v + tan v| = x + C, i.e. sec v + tan v = Kex.
Since (sec v + tan v)(sec v − tan v) = 1, sec v − tan v = e-xK.
Hence ex[sec(y − x) − tan(y − x)] = c.
Answer and solution
Answer: (a) x2 + y2 = c
Method. separate variables
dydx = -xy gives y dy = -x dx.
Integrating: y22 = -x22 + C, so x2 + y2 = c.
where c is an arbitrary constant.
Answer and solution
Answer: (d) 1a eax + 1b e-by = c
Method. separate variables
ln(dydx) = ax + by gives dydx = eaxeby.
So e-by dy = eax dx. Integrating: -1be-by = 1aeax + C.
Hence 1aeax + 1be-by = c.
where c is an arbitrary constant.
Answer and solution
Answer: (c) y − x + ln(x + y) = c
Method. substitute v = x + y
Let v = x + y. Then dvdy = 1 + dxdy = 1 + v + 1v − 1 = 2vv − 1.
Separate: v − 12v dv = dy, i.e. 12(1 − 1v) dv = dy.
Integrate: 12(v − ln v) = y + C, so x + y − ln(x + y) = 2y + 2C.
Hence y − x + ln(x + y) = c, option (c).
Options (b) and (d) are printed identically (both wrong); (c) is the only correct option, so the answer stands.
Answer and solution
Answer: (b) y = cx
Method. separate variables
x dy = y dx gives dyy = dxx.
ln y = ln x + ln c, so y = cx.
Answer and solution
Answer: (a) x − y − 2xy = c
Method. separate variables
(1 + 2x) dy = (1 − 2y) dx gives dy1 − 2y = dx1 + 2x.
Integrating: -12ln|1 − 2y| = 12ln|1 + 2x| + C, so (1 − 2y)(1 + 2x) = K.
Expanding: 1 + 2x − 2y − 4xy = K, i.e. 2(x − y − 2xy) = K − 1.
Hence x − y − 2xy = c.
ln(dydx) − a = 0?
Answer and solution
Answer: (a) y = xea + c
Method. separate variables after removing the logarithm
ln(dydx) = a gives dydx = ea, a constant.
Integrating: y = xea + c.
26.4 Linear, exact-differential and homogeneous equations
y dx − x dy − y2 cos x dx = 0?
Answer and solution
Answer: (a) y = xc + sin x
Method. recognise d(xy)
y dx − x dy = y2cos x dx. Divide by y2: y dx − x dyy2 = cos x dx.
The left side is d(xy). Integrate: xy = sin x + c.
So y = xc + sin x.
dydx = yφ'(x) − y2φ(x) is
Answer and solution
Answer: (d) y = φ(x)x + c
Method. substitute u = φ(x)y
Let u = φy. Then u' = φ'y − φy'y2.
Using φy' = yφ' - y2: φ'y − φy' = y2, so u' = 1.
Thus u = x + c, i.e. y = φ(x)x + c.
Answer and solution
Answer: (a) 3
Method. linear equation in x as a function of y
x dy = y dx + y2 dy gives (x − y2) dy = y dx, i.e. dxdy − xy = -y.
Integrating factor = 1y, so d(xy) = -dy and xy = -y + c, i.e. x = -y2 + cy.
y(1) = 1 gives 1 = -1 + c, so c = 2 and y2 - 2y + x = 0.
Hence y = 1 ± √(1 − x). With y(x) > 0 at x = -3 take y = 1 + √4 = 3 (the other root, -1, is negative).
ydx − (x + 2y2)dy = 0?
Answer and solution
Answer: (c) x = 2y2 + cy
Method. linear equation in x as a function of y
y dx = (x + 2y2) dy gives dxdy − xy = 2y.
Integrating factor = 1y: d(xy) = 2 dy, so xy = 2y + c.
Hence x = 2y2 + cy.
26.5 Applications: curves from a slope condition; growth, decay and motion
The slope of the tangent to the curve y = f(x) at (x, f(x)) is 4 for every real number x and the curve passes through the origin.
Answer and solution
Answer: (a) A straight line passing through (1, 4)
Method. integrate dydx = 4 and use the origin
dydx = 4 gives y = 4x + C; the curve passes through (0, 0), so C = 0 and y = 4x.
This is a straight line, and (1, 4) lies on it (4.1 = 4), while (-1, 4) does not (4·(-1) = -4).
Answer and solution
Answer: (c) 32 square units
Method. area of a triangle
The line y = 4x with the x-axis and x = 4 bounds a right triangle with vertices (0, 0), (4, 0), (4, 16).
Area = 12·4.16 = 32 square units. (Or ∫04 4x dx = 2.16 = 32.)
Answer and solution
Answer: (a) No point
Method. integrate and compare the two solutions
dydx = x gives y = x22 + C.
y1(0) = 0 gives y1 = x22; y2(0) = 4 gives y2 = x22 + 4.
They differ by 4 for every x, so they never meet. No point of intersection.
Answer and solution
Answer: (a) ln 2100
Method. rate law dNdt = -kN
dNdt = -kN gives N = N0e-kt.
Half is left at t = 100: 12 = e-100k, so 100k = ln 2.
k = ln 2100.
Answer and solution
Answer: (c) A family of parabolas
Method. separate variables and identify the curves
xdydx = 2y gives dyy = 2dxx, so ln|y| = 2 ln|x| + C and y = cx2.
This is a family of parabolas (axis the y-axis, vertex at the origin).
Answer and solution
Answer: (c) 2 ln 5
Method. separate variables with x(0) = 0
dxx + 1 = dt gives ln(x + 1) = t + C; x = 0 at t = 0 gives C = 0, so x = et - 1.
x = 24: et = 25, so t = ln 25 = 2 ln 5.
Answer and solution
Answer: (b) 6x2y + 17x2 + 2x5 - 3 = 0
Method. integrate and fit the point
y = ∫(-x2 - x-3) dx = -x33 + 12x2 + C.
At (-1, -2): -2 = 13 + 12 + C, so C = -176.
Multiply by 6x2: 6x2y = -2x5 + 3 − 17x2.
Hence 6x2y + 17x2 + 2x5 - 3 = 0.
dydx = ax + hby + k
represents a circle only when
Answer and solution
Answer: (b) a = -b ≠ 0
Method. separate variables and compare with the general second-degree equation of a circle
(by + k) dy = (ax + h) dx gives b2y2 + ky = a2x2 + hx + C.
That is ax2 - by2 + 2hx − 2ky = constant.
A circle needs equal coefficients of x2 and y2, both non-zero: a = -b ≠ 0.