Menu Close

Formulation of PDEs: UPSC Maths Optional PYQ Solutions (2009–2023)

All 9 questions UPSC has asked on formulation of partial differential equations in the Mathematics Optional (Paper II, Partial Differential Equations) from 2009 to 2023, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Partial 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):

2023 · 5a 2022 · 5a 2021 · 5a 2020 · 5a 2019 · 5a 2018 · 5a 2013 · 5a 2009 · 5a 2009 · 5b(i)

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

By eliminating the arbitrary functions f and g from z=f(x2−y)+g(x2+y), form partial differential equation.

2023 · Paper II · Q5a · 10 marks

Solution

Write u=x2−yu=x^2-y and v=x2+yv=x^2+y, so z=f(u)+g(v)z=f(u)+g(v). Differentiate: p=zx=2x(f′+g′)q=zy=−f′+g′,\begin{aligned}&p=z_x=2x\,(f'+g')\\ &q=z_y=-f'+g',\end{aligned} r=zxx=2(f′+g′)+4x2(f″+g″)t=zyy=f″+g″.\begin{aligned}&r=z_{xx}=2(f'+g')+4x^2(f''+g'')\\ &t=z_{yy}=f''+g''.\end{aligned}

From pp, f′+g′=p2xf'+g'=\dfrac{p}{2x}. Substitute this and f″+g″=tf''+g''=t into rr: r=px+4x2t.r=\frac{p}{x}+4x^2t . So the required PDE is x∂2z∂x2−∂z∂x−4x3∂2z∂y2=0.x\frac{\partial^2z}{\partial x^2}-\frac{\partial z}{\partial x}-4x^3\frac{\partial^2z}{\partial y^2}=0 .

✓ Checked by computer We checked by computer: for arbitrary f,gf,g, the function z=f(x2−y)+g(x2+y)z=f(x^2-y)+g(x^2+y) satisfies xzxx−zx−4x3zyy=0xz_{xx}-z_x-4x^3z_{yy}=0 identically.

↑ Back to the question list

It is given that the equation of any cone with vertex at (a,b,c) is f(x−az−c,y−bz−c)=0. Find the differential equation of the cone.

2022 · Paper II · Q5a · 10 marks

Solution

To keep the algebra short, write X=x−aX=x-a, Y=y−bY=y-b, Z=z−cZ=z-c. Then u=XZu=\dfrac XZ, v=YZv=\dfrac YZ, and the cone is f(u,v)=0f(u,v)=0.

Differentiate with respect to xx and yy, treating zz (so ZZ) as a function of x,yx,y, with Zx=pZ_x=p, Zy=qZ_y=q: fuZ−XpZ2+fv−YpZ2=0fu−XqZ2+fvZ−YqZ2=0.\begin{aligned}&f_u\,\frac{Z-Xp}{Z^2}+f_v\,\frac{-Yp}{Z^2}=0\\ &f_u\,\frac{-Xq}{Z^2}+f_v\,\frac{Z-Yq}{Z^2}=0.\end{aligned} For fu,fvf_u,f_v not both zero, the determinant of the coefficients must vanish: (Z−Xp)(Z−Yq)−XYpq=0.(Z-Xp)(Z-Yq)-XYpq=0 . Expanding, the pqpq terms cancel: Z2−Z(Xp+Yq)=0Z^2-Z(Xp+Yq)=0. Dividing by Z≠0Z\ne0, Xp+Yq=Z.Xp+Yq=Z . So the differential equation of the cone is (x−a)p+(y−b)q=z−c.(x-a)p+(y-b)q=z-c .

✓ Checked by computer We checked by computer: for a sample choice of ff, the surface f(x−az−c,y−bz−c)=0f\big(\tfrac{x-a}{z-c},\tfrac{y-b}{z-c}\big)=0 satisfies (x−a)p+(y−b)q=z−c(x-a)p+(y-b)q=z-c.

↑ Back to the question list

Obtain the partial differential equation by eliminating arbitrary function f from the equation f(x+y+z,x2+y2+z2)=0.

2021 · Paper II · Q5a · 10 marks

Solution

Let u=x+y+zu=x+y+z, v=x2+y2+z2v=x^2+y^2+z^2; the surface is f(u,v)=0f(u,v)=0. Differentiate with respect to xx and to yy: fu(1+p)+fv(2x+2zp)=0fu(1+q)+fv(2y+2zq)=0.\begin{aligned}&f_u(1+p)+f_v(2x+2zp)=0\\ &f_u(1+q)+f_v(2y+2zq)=0.\end{aligned} Eliminate fu:fvf_u:f_v: (1+p)(y+zq)−(1+q)(x+zp)=0.\begin{aligned}&(1+p)(y+zq)\\ &\quad-(1+q)(x+zp)=0.\end{aligned} Expand: y+zq+py+pqz−x−zp−qx−pqz=0.y+zq+py+pqz-x-zp-qx-pqz=0 . The pqzpqz terms cancel, and collecting the rest gives (y−z)p+(z−x)q=x−y.(y-z)p+(z-x)q=x-y . This is the required PDE.

✓ Checked by computer We checked by computer: for a sample choice of ff, the surface satisfies (y−z)p+(z−x)q=x−y(y-z)p+(z-x)q=x-y.

↑ Back to the question list

Form a partial differential equation by eliminating the arbitrary functions f(x) and g(y) from z=yf(x)+xg(y) and specify its nature (elliptic, hyperbolic or parabolic) in the region x>0, y>0.

2020 · Paper II · Q5a · 10 marks

Solution

z=yf(x)+xg(y).z=yf(x)+xg(y). Differentiate: p=yf′(x)+g(y)q=f(x)+xg′(y)s=∂2z∂x∂y=f′(x)+g′(y).\begin{aligned}&p=yf'(x)+g(y)\\ &q=f(x)+xg'(y)\\ &s=\frac{\partial^2z}{\partial x\,\partial y}=f'(x)+g'(y).\end{aligned}

Then xp+yq=xyf′+xg+yf+xyg′=xy(f′+g′)+(yf+xg)=xys+z.\begin{aligned}xp+yq&=xyf'+xg+yf+xyg'\\ &=xy\,(f'+g')+(yf+xg)\\ &=xys+z.\end{aligned} So the PDE is xy∂2z∂x∂y−x∂z∂x−y∂z∂y+z=0.xy\frac{\partial^2z}{\partial x\,\partial y}-x\frac{\partial z}{\partial x}-y\frac{\partial z}{\partial y}+z=0 .

Nature. Compare with Ar+Bs+Ct+…=0Ar+Bs+Ct+\dots=0: here A=0A=0, B=xyB=xy, C=0C=0. Then B2−4AC=x2y2>0for x>0,y>0,B^2-4AC=x^2y^2>0\quad\text{for }x>0,\ y>0, so the equation is hyperbolic in that region.

✓ Checked by computer We checked by computer: for arbitrary f,gf,g, z=yf(x)+xg(y)z=yf(x)+xg(y) satisfies xys−xp−yq+z=0xys-xp-yq+z=0.

↑ 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

Form a partial differential equation of the family of surfaces given by the following expression : ψ(x2+y2+2z2,y2−2zx)=0.

2019 · Paper II · Q5a · 10 marks

Solution

Let u=x2+y2+2z2u=x^2+y^2+2z^2, v=y2−2zxv=y^2-2zx; the family is ψ(u,v)=0\psi(u,v)=0. Differentiating with respect to xx and yy: ψu(2x+4zp)+ψv(−2z−2xp)=0ψu(2y+4zq)+ψv(2y−2xq)=0.\begin{aligned}&\psi_u(2x+4zp)+\psi_v(-2z-2xp)=0\\ &\psi_u(2y+4zq)+\psi_v(2y-2xq)=0.\end{aligned} Eliminate ψu:ψv\psi_u:\psi_v (divide each bracket by 2 first): (x+2zp)(y−xq)+(z+xp)(y+2zq)=0.\begin{aligned}&(x+2zp)(y-xq)\\ &\quad+(z+xp)(y+2zq)=0.\end{aligned} Expand: xy−x2q+2yzp−2xzpq+yz+2z2q+xyp+2xzpq=0.\begin{aligned}&xy-x^2q+2yzp-2xzpq\\ &\quad+yz+2z^2q+xyp+2xzpq=0.\end{aligned} The pqpq terms cancel, leaving y(x+2z)p+(2z2−x2)q+y(x+z)=0,\begin{aligned}&y(x+2z)\,p+(2z^2\\ &\quad-x^2)\,q+y(x+z)=0,\end{aligned} i.e. y(x+2z)p−(x2−2z2)q=−y(x+z)\ y(x+2z)p-(x^2-2z^2)q=-y(x+z).

✓ Checked by computer We checked by computer: for a sample choice of ψ\psi, the surface satisfies y(x+2z)p+(2z2−x2)q+y(x+z)=0y(x+2z)p+(2z^2-x^2)q+y(x+z)=0.

↑ Back to the question list

Find the partial differential equation of the family of all tangent planes to the ellipsoid : x2+4y2+4z2=4, which are not perpendicular to the xy plane.

2018 · Paper II · Q5a · 10 marks

Solution

Write the ellipsoid as x24+y21+z21=1\dfrac{x^2}{4}+\dfrac{y^2}{1}+\dfrac{z^2}{1}=1.

Tangency condition. The plane lx+my+nz=dlx+my+nz=d touches x2a2+y2b2+z2c2=1\dfrac{x^2}{a^2}+\dfrac{y^2}{b^2}+\dfrac{z^2}{c^2}=1 exactly when d2=a2l2+b2m2+c2n2.d^2=a^2l^2+b^2m^2+c^2n^2 .

The family. A plane not perpendicular to the xyxy-plane can be written z=Ax+By+Cz=Ax+By+C, i.e. Ax+By−z=−CAx+By-z=-C. The tangency condition (with a2=4a^2=4, b2=c2=1b^2=c^2=1) gives C2=4A2+B2+1.C^2=4A^2+B^2+1 . So the family of tangent planes is z=Ax+By±4A2+B2+1z=Ax+By\pm\sqrt{4A^2+B^2+1}, with two parameters A,BA,B.

Eliminate A,BA,B. Differentiating, p=Ap=A and q=Bq=B. Hence the required PDE is z=px+qy±4p2+q2+1i.e.(z−px−qy)2=4p2+q2+1.\begin{aligned}&z=px+qy\pm\sqrt{4p^2+q^2+1}\\ &\text{i.e.}\\ &(z-px-qy)^2=4p^2+q^2+1.\end{aligned} (This is a Clairaut-type equation; its complete integral is exactly the family of tangent planes.)

✓ Checked by computer We checked: the plane z=Ax+By±4A2+B2+1z=Ax+By\pm\sqrt{4A^2+B^2+1} touches the ellipsoid at (4Ad,Bd,−1d)\big(\tfrac{4A}{d},\tfrac{B}{d},-\tfrac1d\big), d=∓4A2+B2+1d=\mp\sqrt{4A^2+B^2+1}, which lies on it.

↑ Back to the question list

Form a partial differential equation by eliminating the arbitrary functions f and g from z=yf(x)+xg(y).

2013 · Paper II · Q5a · 10 marks

Solution

z=yf(x)+xg(y).z=yf(x)+xg(y). Then p=yf′(x)+g(y)q=f(x)+xg′(y)s=∂2z∂x∂y=f′(x)+g′(y).\begin{aligned}&p=yf'(x)+g(y)\\ &q=f(x)+xg'(y)\\ &s=\frac{\partial^2z}{\partial x\,\partial y}=f'(x)+g'(y).\end{aligned} Now xp+yq=xy(f′+g′)+(yf+xg)=xys+z.\begin{aligned}xp+yq&=xy\,(f'+g')+(yf+xg)\\ &=xys+z.\end{aligned} Eliminating f,gf,g, the PDE is xy∂2z∂x∂y−x∂z∂x−y∂z∂y+z=0.xy\,\frac{\partial^2z}{\partial x\,\partial y}-x\,\frac{\partial z}{\partial x}-y\,\frac{\partial z}{\partial y}+z=0 .

✓ Checked by computer We checked by computer: for arbitrary f,gf,g, z=yf(x)+xg(y)z=yf(x)+xg(y) satisfies xys−xp−yq+z=0xys-xp-yq+z=0.

↑ Back to the question list

Show that the differential equation of all cones which have their vertex at the origin is px+qy=z. Verify that this equation is satisfied by the surface yz+zx+xy=0.

2009 · Paper II · Q5a · 12 marks

Solution

The equation. A cone with vertex at the origin is generated by lines through OO: if (x,y,z)(x,y,z) lies on it, so does (λx,λy,λz)(\lambda x,\lambda y,\lambda z). Such a surface can be written f(xz,yz)=0.f\!\left(\frac xz,\frac yz\right)=0 . With u=x/zu=x/z, v=y/zv=y/z, differentiating with respect to xx and yy: fuz−xpz2+fv(−ypz2)=0fu(−xqz2)+fvz−yqz2=0.\begin{aligned}&f_u\,\frac{z-xp}{z^2}+f_v\left(-\frac{yp}{z^2}\right)=0\\ &f_u\left(-\frac{xq}{z^2}\right)+f_v\,\frac{z-yq}{z^2}=0.\end{aligned} Eliminating fu:fvf_u:f_v: (z−xp)(z−yq)−xypq=0⇒z2−z(xp+yq)=0.\begin{aligned}&(z-xp)(z-yq)-xy\,pq=0\\ &\Longrightarrow\ z^2-z(xp+yq)=0.\end{aligned} Since z≠0z\ne0 on the surface away from the vertex, px+qy=z.px+qy=z .

Verification for yz+zx+xy=0yz+zx+xy=0. Here z(x+y)=−xyz(x+y)=-xy, so z=−xyx+yz=-\dfrac{xy}{x+y}. Then p=−y(x+y)−xy(x+y)2=−y2(x+y)2q=−x2(x+y)2.\begin{aligned}&p=-\frac{y(x+y)-xy}{(x+y)^2}=-\frac{y^2}{(x+y)^2}\\ &q=-\frac{x^2}{(x+y)^2}.\end{aligned} Hence px+qy=−xy2+x2y(x+y)2=−xy(x+y)(x+y)2=−xyx+y=z.\begin{aligned}px+qy&=-\frac{xy^2+x^2y}{(x+y)^2}\\ &=-\frac{xy(x+y)}{(x+y)^2}\\ &=-\frac{xy}{x+y}\\ &=z.\end{aligned} So the surface satisfies px+qy=zpx+qy=z. (It is a cone with vertex at the origin: the equation is homogeneous of degree 2.) ◼\blacksquare

✓ Checked by computer We checked by computer: for z=−xyx+yz=-\tfrac{xy}{x+y}, px+qy−zpx+qy-z simplifies to 00.

↑ Back to the question list

Form the partial differential equation by eliminating the arbitrary function f given by : f(x2+y2,z−xy)=0.

2009 · Paper II · Q5b(i) · 6 marks

Solution

Let u=x2+y2u=x^2+y^2, v=z−xyv=z-xy; the surface is f(u,v)=0f(u,v)=0. Differentiate with respect to xx and to yy: fu⋅2x+fv(p−y)=0fu⋅2y+fv(q−x)=0.\begin{aligned}&f_u\cdot2x+f_v\,(p-y)=0\\ &f_u\cdot2y+f_v\,(q-x)=0.\end{aligned} Eliminating fu:fvf_u:f_v: 2x(q−x)−2y(p−y)=0⇒yp−xq=y2−x2.\begin{aligned}&2x(q-x)-2y(p-y)=0\\ &\Longrightarrow\ yp-xq=y^2-x^2.\end{aligned}

✓ Checked by computer We checked by computer: for a sample choice of ff, the surface satisfies yp−xq=y2−x2yp-xq=y^2-x^2.

↑ Back to the question list

More on Partial Differential Equations

Questions: UPSC Civil Services (Main) Examination, Mathematics Paper II, 2009–2023. 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