Menu Close

First order higher degree equations: UPSC Maths Optional PYQ Solutions (2008–2025)

All 12 questions UPSC has asked on first order higher degree equations in the Mathematics Optional (Paper I, Ordinary Differential Equations) from 2008 to 2025, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Ordinary Differential Equations topic-wise PYQs page.

How we check these solutions

These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:

  • ✓ Checked by computer the answer was worked out again independently with computer algebra (SymPy).
  • ✓ Proof checked step by step for “prove that” questions, every step was checked against the definitions.

Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.

Jump to a question (year · question number):

2025 · 5a 2025 · 7c(i) 2023 · 7a(ii) 2022 · 8a(i) 2021 · 7b 2020 · 8a(ii) 2019 · 8a 2018 · 6a 2017 · 6b(i) 2015 · 7d 2011 · 6a 2008 · 6d

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Solve (1−y2+y4x2)(dydx)2−2yxdydx+y2x2=0.

2025 · Paper I · Q5a · 10 marks

Solution

Multiply by x2x^2 and collect the perfect square x2p2−2xyp+y2=(xp−y)2x^2p^2-2xyp+y^2=(xp-y)^2: (xp−y)2=y2(x2−y2)p2.(xp-y)^2=y^2(x^2-y^2)\,p^2 . Divide by p2p^2 and write q=dxdy=1pq=\dfrac{dx}{dy}=\dfrac1p: (x−yq)2=y2(x2−y2).(x-yq)^2=y^2(x^2-y^2). Treat xx as a function of yy and put x=ywx=yw. Then q=w+yw′q=w+yw' and x−yq=−y2w′x-yq=-y^2w', so y4w′2=y4(w2−1)⇒dww2−1=±dy⇒cosh−1w=±y+c.y^4w'^2=y^4(w^2-1)\quad\Rightarrow\quad\frac{dw}{\sqrt{w^2-1}}=\pm dy\quad\Rightarrow\quad\cosh^{-1}w=\pm y+c . General solution: x=ycosh(y−c).x=y\cosh(y-c). Singular solutions. The factor w2−1=0w^2-1=0 gives x=±yx=\pm y. Check y=xy=x: p=1p=1 and (1−x2+x2)−2+1=0\left(1-x^2+x^2\right)-2+1=0 ✓ (similarly y=−xy=-x). These lines are not members of the family, so y=±xy=\pm x are singular solutions.

✓ Checked by computer We checked by computer (SymPy): points of x=ycosh(y−c)x=y\cosh(y-c) and of y=±xy=\pm x satisfy the equation.

↑ Back to the question list

Find the general solution and singular solution of the differential equation (1+dydx)3=278a(x+y)(1−dydx)3.

2025 · Paper I · Q7c(i) · 10 marks

Solution

Put X=x+yX=x+y, Y=x−yY=x-y. Then P=dYdX=1−p1+p,P=\frac{dY}{dX}=\frac{1-p}{1+p}, so the equation is 1P3=27X8a\dfrac1{P^3}=\dfrac{27X}{8a}, i.e. P=23(aX)1/3⇒Y=a1/3X2/3+c.P=\frac23\left(\frac aX\right)^{1/3}\quad\Rightarrow\quad Y=a^{1/3}X^{2/3}+c . General solution: (x−y−c)3=a(x+y)2.(x-y-c)^3=a(x+y)^2 . Singular solution. The cc-discriminant: ∂∂c\dfrac{\partial}{\partial c} gives 3(Y−c)2=03(Y-c)^2=0, so Y=cY=c and then aX2=0aX^2=0: the line x+y=0x+y=0. It satisfies the equation: on it p=−1p=-1, so both sides are 00. Each curve X2=1a(Y−c)3X^2=\frac1a(Y-c)^3 is a semicubical parabola with its cusp on X=0X=0 and its cuspidal tangent along X=0X=0, so the line touches every member. It is not a member of the family, so x+y=0x+y=0 is the singular solution.

✓ Checked by computer We checked by computer (SymPy): points of the general solution and of x+y=0x+y=0 satisfy the equation.

↑ Back to the question list

Reduce the equation x2p2+y(2x+y)p+y2=0 to Clairaut’s form by the substitution y=u and xy=v. Hence solve the equation and show that y+4x=0 is a singular solution of the differential equation.

2023 · Paper I · Q7a(ii) · 10 marks

Solution

Reduction. With u=yu=y and v=xyv=xy, let P=dvdu=xdy+ydxdy=x+ypP=\dfrac{dv}{du}=\dfrac{x\,dy+y\,dx}{dy}=x+\dfrac yp. So p=yP−xp=\dfrac{y}{P-x}. Substituting and multiplying through by (P−x)2y2\dfrac{(P-x)^2}{y^2}: x2+(2x+y)(P−x)+(P−x)2=0⇒P2+yP−xy=0.x^2+(2x+y)(P-x)+(P-x)^2=0\quad\Rightarrow\quad P^2+yP-xy=0 . In the new variables, xy=vxy=v and y=uy=u: v=uP+P2,v=uP+P^2 , which is Clairaut’s form.

General solution. Replace PP by cc: v=cu+c2v=cu+c^2, i.e. xy=cy+c2.xy=cy+c^2 . Singular solution. The discriminant of c2+uc−v=0c^2+uc-v=0 is u2+4v=0u^2+4v=0, i.e. y2+4xy=0y^2+4xy=0, so y(y+4x)=0y(y+4x)=0. The line y+4x=0y+4x=0: here p=−4p=-4 and 16x2+(−4x)(2x−4x)(−4)+16x2=16x2−32x2+16x2=0✓16x^2+(-4x)(2x-4x)(-4)+16x^2=16x^2-32x^2+16x^2=0\ \checkmark So y+4x=0y+4x=0 is a singular solution (the envelope of the lines xy=cy+c2xy=cy+c^2 in the (u,v)(u,v) plane).

✓ Checked by computer We checked by computer (SymPy): both the general and the singular solution satisfy the equation.

↑ Back to the question list

Find the general and singular solutions of the differential equation : (x2−a2)p2−2xyp+y2+a2=0, where p=dydx. Also give the geometric relation between the general and singular solutions.

2022 · Paper I · Q8a(i) · 10 marks

Solution

Rearrange: (x2p2−2xyp+y2)−a2p2+a2=0(x^2p^2-2xyp+y^2)-a^2p^2+a^2=0, i.e. (y−px)2=a2(p2−1)⇒y=px±ap2−1,(y-px)^2=a^2(p^2-1)\quad\Rightarrow\quad y=px\pm a\sqrt{p^2-1}, Clairaut’s equation.

General solution: y=cx±ac2−1y=cx\pm a\sqrt{c^2-1}, i.e. (y−cx)2=a2(c2−1)(y-cx)^2=a^2(c^2-1).

Singular solution. Differentiate (y−cx)2−a2(c2−1)=0(y-cx)^2-a^2(c^2-1)=0 with respect to cc: −2x(y−cx)−2a2c=0-2x(y-cx)-2a^2c=0, so y−cx=−a2cxy-cx=-\dfrac{a^2c}{x}. Substituting, a4c2x2=a2(c2−1)⇒c2=x2x2−a2,\frac{a^4c^2}{x^2}=a^2(c^2-1)\quad\Rightarrow\quad c^2=\frac{x^2}{x^2-a^2}, and then y=cx2−a2xy=c\,\dfrac{x^2-a^2}{x}, so y2=x2−a2y^2=x^2-a^2: x2−y2=a2.x^2-y^2=a^2 . Geometric relation. The general solution is a family of straight lines, and the singular solution, the rectangular hyperbola x2−y2=a2x^2-y^2=a^2, is their envelope: every line of the family is a tangent to the hyperbola.

✓ Checked by computer We checked by computer (SymPy): the lines and the hyperbola both satisfy the equation.

↑ Back to the question list

Find all possible solutions of the differential equation : y2logy=xydydx+(dydx)2.

2021 · Paper I · Q7b · 15 marks

Solution

Put y=evy=e^v, so p=evv′p=e^vv'. The equation becomes e2vv=xe2vv′+e2vv′2⇒v=xv′+v′2,e^{2v}v=xe^{2v}v'+e^{2v}v'^2\quad\Rightarrow\quad v=xv'+v'^2, Clairaut’s equation in vv.

General solution: v=cx+c2v=cx+c^2, i.e. logy=cx+c2.\log y=cx+c^2 . Singular solution. Eliminate cc between v=cx+c2v=cx+c^2 and 0=x+2c0=x+2c: c=−x2c=-\dfrac x2, v=−x24v=-\dfrac{x^2}{4}, so y=e−x2/4.y=e^{-x^2/4}. These are all the solutions: the family logy=cx+c2\log y=cx+c^2 and its envelope y=e−x2/4y=e^{-x^2/4}.

✓ Checked by computer We checked by computer (SymPy): both solutions satisfy the equation.

↑ Back to the question list

Find the general and singular solutions of the differential equation 9p2(2−y)2=4(3−y), where p=dydx.

2020 · Paper I · Q8a(ii) · 10 marks

Solution

p=±23−y3(2−y)⇒dx=±322−y3−ydy.p=\pm\frac{2\sqrt{3-y}}{3(2-y)}\quad\Rightarrow\quad dx=\pm\frac32\,\frac{2-y}{\sqrt{3-y}}\,dy . With w=3−yw=3-y, ∫2−y3−ydy=−∫w−1wdw=−23w3/2+2w1/2\displaystyle\int\frac{2-y}{\sqrt{3-y}}dy=-\int\frac{w-1}{\sqrt w}dw=-\frac23w^{3/2}+2w^{1/2}. So x−c=±(−w3/2+3w1/2)=±3−y(3−w)=±y3−y.x-c=\pm\left(-w^{3/2}+3w^{1/2}\right)=\pm\sqrt{3-y}\,(3-w)=\pm y\sqrt{3-y}. General solution: (x−c)2=y2(3−y).(x-c)^2=y^2(3-y). Singular solution.

  • pp-discriminant (coefficient of p2p^2 times constant term): (2−y)2(3−y)=0(2-y)^2(3-y)=0.
  • cc-discriminant: ∂∂c\dfrac{\partial}{\partial c} gives x=cx=c, so y2(3−y)=0y^2(3-y)=0.

y=3y=3 appears once in both, so it is the envelope. It satisfies the equation (p=0p=0, 3−y=03-y=0), so y=3y=3 is the singular solution. The factor (2−y)2(2-y)^2 in the pp-discriminant is a tac-locus (y=2y=2 gives 0=40=4, not a solution) and y2y^2 in the cc-discriminant is a node-locus.

✓ Checked by computer We checked by computer (SymPy): the general solution and y=3y=3 satisfy the equation; y=2y=2 and y=0y=0 do not.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Obtain the singular solution of the differential equation (dydx)2(yx)2cot2α−2(dydx)(yx)+(yx)2cosec2α=1 Also find the complete primitive of the given differential equation. Give the geometrical interpretations of the complete primitive and singular solution.

2019 · Paper I · Q8a · 15 marks

Solution

Reduction. Multiply by x2x^2: p2y2cot2α−2pxy+y2csc2α=x2p^2y^2\cot^2\alpha-2pxy+y^2\csc^2\alpha=x^2. Put X=x2X=x^2, Y=y2Y=y^2, so P=dYdX=ypxP=\dfrac{dY}{dX}=\dfrac{yp}{x}. Dividing by x2x^2: P2cot2α−2P+YXcsc2α=1⇒Y=Xf(P),f(P)=sin2α(1+2P)−P2cos2α.P^2\cot^2\alpha-2P+\frac YX\csc^2\alpha=1\quad\Rightarrow\quad Y=X\,f(P),\quad f(P)=\sin^2\alpha\,(1+2P)-P^2\cos^2\alpha . Differentiate with respect to XX: P=f(P)+Xf′(P)dPdXP=f(P)+Xf'(P)\dfrac{dP}{dX}. Here P−f(P)=(Pcos2α−sin2α)(P+1),f′(P)=−2(Pcos2α−sin2α).P-f(P)=(P\cos^2\alpha-\sin^2\alpha)(P+1),\qquad f'(P)=-2(P\cos^2\alpha-\sin^2\alpha). Complete primitive. Cancelling the common factor, dXX=−2dPP+1\dfrac{dX}{X}=-\dfrac{2\,dP}{P+1}, so P+1=cX=cxP+1=\dfrac{c}{\sqrt X}=\dfrac cx. Then XP=cx−x2XP=cx-x^2 and XP2=(c−x)2XP^2=(c-x)^2, so y2=sin2α(2cx−x2)−cos2α(c−x)2=2cx−x2−c2cos2α.y^2=\sin^2\alpha\,(2cx-x^2)-\cos^2\alpha\,(c-x)^2=2cx-x^2-c^2\cos^2\alpha . (x−c)2+y2=c2sin2α.(x-c)^2+y^2=c^2\sin^2\alpha . Singular solution. The cancelled factor Pcos2α−sin2α=0P\cos^2\alpha-\sin^2\alpha=0 gives P=tan2αP=\tan^2\alpha and f(P)=tan2αf(P)=\tan^2\alpha, so y2=x2tan2αy^2=x^2\tan^2\alpha: y=±xtanα.y=\pm x\tan\alpha . Geometry. The complete primitive is a family of circles with centres (c,0)(c,0) on the xx-axis and radii csinαc\sin\alpha. Each touches the two lines through the origin inclined at ±α\pm\alpha to the xx-axis (distance from centre to the line =csinα= c\sin\alpha). The singular solution is this pair of lines, the envelope of the circles.

✓ Checked by computer We checked by computer (SymPy): points of the circles and of the lines y=±xtanαy=\pm x\tan\alpha satisfy the equation.

↑ Back to the question list

Solve : (dydx)2y+2dydxx−y=0

2018 · Paper I · Q6a · 13 marks

Solution

Solve for xx: x=y2(1p−p)x=\dfrac y2\left(\dfrac1p-p\right). Differentiate with respect to yy, writing dxdy=1p\dfrac{dx}{dy}=\dfrac1p: 1p=12(1p−p)−y2(1p2+1)dpdy⇒(1p+p)(1+ypdpdy)=0.\frac1p=\frac12\left(\frac1p-p\right)-\frac y2\left(\frac1{p^2}+1\right)\frac{dp}{dy}\quad\Rightarrow\quad\left(\frac1p+p\right)\left(1+\frac yp\frac{dp}{dy}\right)=0 . The first factor never vanishes (for real pp), so dpp=−dyy\dfrac{dp}{p}=-\dfrac{dy}{y}, i.e. p=cyp=\dfrac cy. Substituting into the equation: c2y+2cxy−y=0⇒y2=2cx+c2.\frac{c^2}{y}+\frac{2cx}{y}-y=0\quad\Rightarrow\quad y^2=2cx+c^2 . This is the general solution, a family of confocal parabolas with focus at the origin. Its cc-discriminant x2+y2=0x^2+y^2=0 has no real points, so there is no real singular solution.

✓ Checked by computer We checked by computer (SymPy): points of y2=2cx+c2y^2=2cx+c^2 satisfy the equation.

↑ Back to the question list

Consider the differential equation xyp2−(x2+y2−1)p+xy=0 where p=dydx. Substituting u=x2 and v=y2 reduce the equation to Clairaut’s form in terms of u, v and p′=dvdu. Hence, or otherwise solve the equation.

2017 · Paper I · Q6b(i) · 10 marks

Solution

Reduction. With u=x2u=x^2, v=y2v=y^2: p′=dvdu=ypxp'=\dfrac{dv}{du}=\dfrac{yp}{x}, so p=xp′yp=\dfrac{xp'}{y}. Substituting and multiplying by yx\dfrac yx: x2p′2−(x2+y2−1)p′+y2=0⇒up′2−(u+v−1)p′+v=0.x^2p'^2-(x^2+y^2-1)p'+y^2=0\quad\Rightarrow\quad up'^2-(u+v-1)p'+v=0 . Group: up′(p′−1)−v(p′−1)+p′=0up'(p'-1)-v(p'-1)+p'=0, so v=up′+p′p′−1,v=up'+\frac{p'}{p'-1}, which is Clairaut’s form.

General solution. Replace p′p' by cc: y2=cx2+cc−1.y^2=cx^2+\frac{c}{c-1}. Singular solution. Differentiating with respect to cc: 0=u−1(c−1)20=u-\dfrac{1}{(c-1)^2}, so c−1=±1uc-1=\pm\dfrac1{\sqrt u}. Then v=u+1±2u=(u±1)2v=u+1\pm2\sqrt u=(\sqrt u\pm1)^2, i.e. y=±(x±1)y=\pm(x\pm1): x+y=±1,x−y=±1.x+y=\pm1,\qquad x-y=\pm1 .

✓ Checked by computer We checked by computer (SymPy): points of the general solution and of the lines x±y=±1x\pm y=\pm1 satisfy the equation.

↑ Back to the question list

Solve the differential equation x=py−p2wherep=dydx.

2015 · Paper I · Q7d · 13 marks

Solution

Solve for yy: y=xp+py=\dfrac xp+p. Differentiate with respect to xx: p=1p−xp2dpdx+dpdx⇒p2−1p=p2−xp2dpdx.p=\frac1p-\frac{x}{p^2}\frac{dp}{dx}+\frac{dp}{dx}\quad\Rightarrow\quad\frac{p^2-1}{p}=\frac{p^2-x}{p^2}\frac{dp}{dx}. Treat xx as a function of pp: dxdp+xp(p2−1)=pp2−1,\frac{dx}{dp}+\frac{x}{p(p^2-1)}=\frac{p}{p^2-1}, a linear equation. Since 1p(p2−1)=−1p+pp2−1\dfrac{1}{p(p^2-1)}=-\dfrac1p+\dfrac{p}{p^2-1}, the integrating factor is p2−1p\dfrac{\sqrt{p^2-1}}{p}: xp2−1p=∫dpp2−1=log(p+p2−1)+c.\frac{x\sqrt{p^2-1}}{p}=\int\frac{dp}{\sqrt{p^2-1}}=\log\left(p+\sqrt{p^2-1}\right)+c . The solution in parametric form is x=pp2−1[c+log(p+p2−1)],y=xp+p.x=\frac{p}{\sqrt{p^2-1}}\left[c+\log\left(p+\sqrt{p^2-1}\right)\right],\qquad y=\frac xp+p .

✓ Checked by computer We checked by computer (SymPy): along the parametric curves dy/dx=pdy/dx=p and x=py−p2x=py-p^2 hold identically.

↑ Back to the question list

Obtain Clairaut’s form of the differential equation (xdydx−y)(ydydx+x)=a2dydx. Also find its general solution.

2011 · Paper I · Q6a · 15 marks

Solution

Put u=x2u=x^2, v=y2v=y^2, so P=dvdu=ypxP=\dfrac{dv}{du}=\dfrac{yp}{x} and p=xPyp=\dfrac{xP}{y}. Then xp−y=uP−vy,yp+x=x(P+1).xp-y=\frac{uP-v}{y},\qquad yp+x=x(P+1). The equation becomes (uP−v)x(P+1)y=a2xPy⇒v=uP−a2PP+1.\frac{(uP-v)\,x(P+1)}{y}=\frac{a^2xP}{y}\quad\Rightarrow\quad v=uP-\frac{a^2P}{P+1}. This is Clairaut’s form. Replacing PP by cc, the general solution is y2=cx2−a2cc+1.y^2=cx^2-\frac{a^2c}{c+1}.

✓ Checked by computer We checked by computer (SymPy): points of the general solution satisfy the original equation.

↑ Back to the question list

Solve the equation y−2xp+yp2=0,wherep=dydx.

2008 · Paper I · Q6d · 15 marks

Solution

Solve for xx: x=y2(1p+p)x=\dfrac{y}{2}\left(\dfrac1p+p\right). Differentiate with respect to yy, with dxdy=1p\dfrac{dx}{dy}=\dfrac1p: 1p=12(1p+p)+y2(1−1p2)dpdy⇒(p−1p)(1+ypdpdy)=0.\frac1p=\frac12\left(\frac1p+p\right)+\frac y2\left(1-\frac1{p^2}\right)\frac{dp}{dy}\quad\Rightarrow\quad\left(p-\frac1p\right)\left(1+\frac yp\frac{dp}{dy}\right)=0 . From the second factor, dpp=−dyy\dfrac{dp}{p}=-\dfrac{dy}{y}, so p=cyp=\dfrac cy. Substituting: y−2cxy+c2y=0⇒y2=2cx−c2.y-\frac{2cx}{y}+\frac{c^2}{y}=0\quad\Rightarrow\quad y^2=2cx-c^2 . This is the general solution. The first factor, p2=1p^2=1, gives the singular solutions y=±xy=\pm x (check: p=1p=1, y=xy=x gives x−2x+x=0x-2x+x=0). They are also the cc-discriminant of c2−2cx+y2=0c^2-2cx+y^2=0, namely x2=y2x^2=y^2: the envelope of the parabolas.

✓ Checked by computer We checked by computer (SymPy): points of y2=2cx−c2y^2=2cx-c^2 and of y=±xy=\pm x satisfy the equation.

↑ Back to the question list

More on Ordinary Differential Equations

Questions: UPSC Civil Services (Main) Examination, Mathematics Paper I, 2008–2025. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted