Menu Close

First order PDEs: UPSC Maths Optional PYQ Solutions (2008–2026)

All 22 questions UPSC has asked on first order partial differential equations in the Mathematics Optional (Paper II, Partial Differential Equations) from 2008 to 2026, 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):

2026 · 5a 2025 · 7a 2025 · 8a 2024 · 7a 2021 · 8a 2020 · 6a 2020 · 7a 2019 · 6a 2018 · 6a 2017 · 6a 2016 · 5a 2016 · 5e 2016 · 6a 2015 · 5a 2015 · 6a 2013 · 6b 2012 · 6a 2011 · 5b 2010 · 6a 2009 · 5b(ii) 2008 · 5a 2008 · 6b

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

Find the integral surface of the equations dxxz−y=dyyz−x=dz1−z2.

2026 · Paper II · Q5a · 10 marks

Solution

The subsidiary equations are dxxz−y=dyyz−x=dz1−z2.\frac{dx}{xz-y}=\frac{dy}{yz-x}=\frac{dz}{1-z^2}.

First integral. Add the first two numerators and denominators: d(x+y)(x+y)z−(x+y)=d(x+y)(x+y)(z−1)=dz(1−z)(1+z).\begin{aligned}\frac{d(x+y)}{(x+y)z-(x+y)}&=\frac{d(x+y)}{(x+y)(z-1)}\\ &=\frac{dz}{(1-z)(1+z)}.\end{aligned} So d(x+y)x+y=−dz1+z\dfrac{d(x+y)}{x+y}=-\dfrac{dz}{1+z}, which gives ln(x+y)+ln(1+z)=const\ln(x+y)+\ln(1+z)=\text{const}: (x+y)(1+z)=c1.(x+y)(1+z)=c_1 .

Second integral. Subtract instead: d(x−y)(x−y)z+(x−y)=d(x−y)(x−y)(z+1)=dz(1−z)(1+z).\begin{aligned}\frac{d(x-y)}{(x-y)z+(x-y)}&=\frac{d(x-y)}{(x-y)(z+1)}\\ &=\frac{dz}{(1-z)(1+z)}.\end{aligned} So d(x−y)x−y=dz1−z\dfrac{d(x-y)}{x-y}=\dfrac{dz}{1-z}, giving ln(x−y)+ln(1−z)=const\ln(x-y)+\ln(1-z)=\text{const}: (x−y)(1−z)=c2.(x-y)(1-z)=c_2 .

Integral surface. The general integral surface is ϕ((x+y)(1+z)(x−y)(1−z))=0,\begin{aligned}&\phi\big((x+y)(1+z)\\ &(x-y)(1-z)\big)=0,\end{aligned} with ϕ\phi an arbitrary function.

✓ Checked by computer We checked by computer: both (x+y)(1+z)(x+y)(1+z) and (x−y)(1−z)(x-y)(1-z) are constant along the characteristics, i.e. Pux+Quy+Ruz=0P\,u_x+Q\,u_y+R\,u_z=0 for each.

↑ Back to the question list

Find the complete integral of z(p2−q2)=x−y; p≡∂z∂x, q≡∂z∂y.

2025 · Paper II · Q7a · 15 marks

Solution

Remove zz from the equation. Put Z=23z3/2Z=\tfrac23z^{3/2}. Then Zx=z1/2pZ_x=z^{1/2}p and Zy=z1/2qZ_y=z^{1/2}q, so z(p2−q2)=Zx2−Zy2z(p^2-q^2)=Z_x^2-Z_y^2. The equation becomes Zx2−Zy2=x−yi.e.Zx2−x=Zy2−y.\begin{aligned}&Z_x^2-Z_y^2=x-y\\ &\text{i.e.}\\ &Z_x^2-x=Z_y^2-y.\end{aligned}

Separate the variables. Each side must be the same constant aa: Zx=x+a,Zy=y+a.Z_x=\sqrt{x+a},\qquad Z_y=\sqrt{y+a} . Integrating dZ=Zxdx+ZydydZ=Z_x\,dx+Z_y\,dy: Z=23(x+a)3/2+23(y+a)3/2+const.Z=\tfrac23(x+a)^{3/2}+\tfrac23(y+a)^{3/2}+\text{const}.

Complete integral. Returning to zz (and renaming the constant bb): z3/2=(x+a)3/2+(y+a)3/2+b,z^{3/2}=(x+a)^{3/2}+(y+a)^{3/2}+b, with a,ba,b arbitrary constants.

✓ Checked by computer We checked by computer: z3/2=(x+a)3/2+(y+a)3/2+bz^{3/2}=(x+a)^{3/2}+(y+a)^{3/2}+b satisfies z(p2−q2)=x−yz(p^2-q^2)=x-y identically.

↑ Back to the question list

Find the characteristics of the partial differential equation p2+q2=2;p≡∂z∂x,q≡∂z∂y and determine the integral surface which passes through x=0, z=y.

2025 · Paper II · Q8a · 15 marks

Solution

Characteristic equations. With F=p2+q2−2=0F=p^2+q^2-2=0: dxdt=Fp=2pdydt=Fq=2qdzdt=pFp+qFq=4dpdt=−(Fx+pFz)=0dqdt=0.\begin{aligned}&\frac{dx}{dt}=F_p=2p\\ &\frac{dy}{dt}=F_q=2q\\ &\frac{dz}{dt}=pF_p+qF_q=4\\ &\frac{dp}{dt}=-(F_x+pF_z)=0\\ &\frac{dq}{dt}=0.\end{aligned} So p=p0p=p_0 and q=q0q=q_0 stay constant, and the characteristics are straight lines: x=x0+2p0ty=y0+2q0tz=z0+4t,\begin{aligned}&x=x_0+2p_0t\\ &y=y_0+2q_0t\\ &z=z_0+4t,\end{aligned} with direction ratios p0:q0:2p_0:q_0:2 (and p02+q02=2p_0^2+q_0^2=2).

Initial data. The curve is x0=0,y0=s,z0=sx_0=0,\ y_0=s,\ z_0=s. The strip condition dz0ds=p0dx0ds+q0dy0ds\dfrac{dz_0}{ds}=p_0\dfrac{dx_0}{ds}+q_0\dfrac{dy_0}{ds} gives 1=q01=q_0. Then p02=2−1=1p_0^2=2-1=1, so p0=±1p_0=\pm1.

Integral surface. With q0=1q_0=1, p0=±1p_0=\pm1: x=±2t,y=s+2t,z=s+4t.x=\pm2t,\qquad y=s+2t,\qquad z=s+4t . Eliminate: z−y=2t=±xz-y=2t=\pm x. Hence z=y+xorz=y−x.z=y+x\qquad\text{or}\qquad z=y-x . Both satisfy p2+q2=1+1=2p^2+q^2=1+1=2 and reduce to z=yz=y on x=0x=0. So there are two integral surfaces through the given line, one for each choice of sign.

✓ Checked by computer We checked by computer: z=y±xz=y\pm x satisfies p2+q2=2p^2+q^2=2 and equals yy on x=0x=0.

↑ Back to the question list

Find the integral surface of the following quasi-linear equation (y−ϕ)∂ϕ∂x+(ϕ−x)∂ϕ∂y=x−y, which passes through the curve ϕ=0, xy=1 and through the circle x+y+ϕ=0, x2+y2+ϕ2=a2.

2024 · Paper II · Q7a · 15 marks

Solution

The subsidiary equations are dxy−ϕ=dyϕ−x=dϕx−y.\frac{dx}{y-\phi}=\frac{dy}{\phi-x}=\frac{d\phi}{x-y}.

  • Multipliers 1,1,11,1,1: the denominators add to 00, so dx+dy+dϕ=0dx+dy+d\phi=0, i.e. x+y+ϕ=c1x+y+\phi=c_1.
  • Multipliers x,y,ϕx,y,\phi: x(y−ϕ)+y(ϕ−x)+ϕ(x−y)=0x(y-\phi)+y(\phi-x)+\phi(x-y)=0, so xdx+ydy+ϕdϕ=0x\,dx+y\,dy+\phi\,d\phi=0, i.e. x2+y2+ϕ2=c2x^2+y^2+\phi^2=c_2.

The general integral is F(x+y+ϕ,x2+y2+ϕ2)=0F(x+y+\phi,\ x^2+y^2+\phi^2)=0.

(i) Through the curve ϕ=0,xy=1\phi=0,\ xy=1. On it c1=x+yc_1=x+y and c2=x2+y2=(x+y)2−2xy=c12−2c_2=x^2+y^2=(x+y)^2-2xy=c_1^2-2. So the surface is x2+y2+ϕ2=(x+y+ϕ)2−2⇒xy+yϕ+ϕx=1.\begin{aligned}&x^2+y^2+\phi^2=(x+y+\phi)^2-2\\ &\Longrightarrow\ xy+y\phi+\phi x=1.\end{aligned}

(ii) Through the circle x+y+ϕ=0,x2+y2+ϕ2=a2x+y+\phi=0,\ x^2+y^2+\phi^2=a^2. This circle is exactly the curve c1=0,c2=a2c_1=0,\ c_2=a^2, i.e. it is itself a characteristic curve. So the Cauchy problem has infinitely many solutions: every surface F(x+y+ϕx2+y2+ϕ2)=0withF(0,a2)=0\begin{aligned}&F(x+y+\phi\\ &x^2+y^2+\phi^2)=0\\ &\text{with}\\ &F(0,a^2)=0\end{aligned} contains it. Examples are the sphere x2+y2+ϕ2=a2x^2+y^2+\phi^2=a^2, the plane x+y+ϕ=0x+y+\phi=0, and x2+y2+ϕ2−a2=λ(x+y+ϕ)x^2+y^2+\phi^2-a^2=\lambda(x+y+\phi) for any λ\lambda.

(The surface of part (i) does not contain the circle: on the circle xy+yϕ+ϕx=12[(x+y+ϕ)2−a2]=−a22≠1xy+y\phi+\phi x=\tfrac12[(x+y+\phi)^2-a^2]=-\tfrac{a^2}{2}\ne1.)

✓ Checked by computer We checked by computer: x+y+ϕx+y+\phi and x2+y2+ϕ2x^2+y^2+\phi^2 are first integrals, and xy+yϕ+ϕx=1xy+y\phi+\phi x=1 satisfies the PDE.

↑ Back to the question list

Find a complete integral of the partial differential equation p=(z+qy)2 by using Charpit’s method.

2021 · Paper II · Q8a · 15 marks

Solution

Write F=(z+qy)2−p=0F=(z+qy)^2-p=0. Then Fx=0Fy=2q(z+qy)Fz=2(z+qy)Fp=−1Fq=2y(z+qy).\begin{aligned}&F_x=0\\ &F_y=2q(z+qy)\\ &F_z=2(z+qy)\\ &F_p=-1\\ &F_q=2y(z+qy).\end{aligned}

Charpit’s equations: dpFx+pFz=dqFy+qFz=dz−pFp−qFq=dx−Fp=dy−Fq.\begin{aligned}\frac{dp}{F_x+pF_z}&=\frac{dq}{F_y+qF_z}\\ &=\frac{dz}{-pF_p-qF_q}\\ &=\frac{dx}{-F_p}\\ &=\frac{dy}{-F_q}.\end{aligned} Write W=z+qyW=z+qy. Use the dqdq and dydy ratios: dq4qW=dy−2yW⇒dqq=−2dyy⇒q=ay2.\frac{dq}{4qW}=\frac{dy}{-2yW}\ \Longrightarrow\ \frac{dq}{q}=-\frac{2\,dy}{y}\ \Longrightarrow\ q=\frac{a}{y^2}.

Find pp and zz. Then p=(z+ay)2p=\left(z+\dfrac ay\right)^2, and dz=pdx+qdy=(z+ay)2dx+ay2dy.dz=p\,dx+q\,dy=\left(z+\frac ay\right)^2dx+\frac{a}{y^2}\,dy . Put w=z+ayw=z+\dfrac ay. Then dw=dz−ay2dy=w2dxdw=dz-\dfrac{a}{y^2}dy=w^2dx, so −1w=x+b⇒w=−1x+b.-\frac1w=x+b\ \Longrightarrow\ w=-\frac{1}{x+b}.

Complete integral: z=−ay−1x+b.z=-\frac ay-\frac{1}{x+b}. (Check: p=1(x+b)2p=\dfrac{1}{(x+b)^2}, q=ay2q=\dfrac{a}{y^2}, z+qy=−1x+bz+qy=-\dfrac1{x+b}, whose square is pp.)

✓ Checked by computer We checked by computer: z=−ay−1x+bz=-\dfrac ay-\dfrac{1}{x+b} satisfies p=(z+qy)2p=(z+qy)^2 identically.

↑ Back to the question list

Find the integral surface of the partial differential equation : (x−y)y2∂z∂x+(y−x)x2∂z∂y=(x2+y2)z that contains the curve : xz=a3, y=0 on it.

2020 · Paper II · Q6a · 15 marks

Solution

The subsidiary equations are dx(x−y)y2=dy−(x−y)x2=dz(x2+y2)z.\begin{aligned}\frac{dx}{(x-y)y^2}&=\frac{dy}{-(x-y)x^2}\\ &=\frac{dz}{(x^2+y^2)z}.\end{aligned}

First integral. From the first two, x2dx=−y2dyx^2dx=-y^2dy, so x3+y3=c1x^3+y^3=c_1.

Second integral. Subtract the second ratio from the first: dx−dy(x−y)y2+(x−y)x2=d(x−y)(x−y)(x2+y2)=dz(x2+y2)z.\begin{aligned}\frac{dx-dy}{(x-y)y^2+(x-y)x^2}&=\frac{d(x-y)}{(x-y)(x^2+y^2)}\\ &=\frac{dz}{(x^2+y^2)z}.\end{aligned} So d(x−y)x−y=dzz\dfrac{d(x-y)}{x-y}=\dfrac{dz}{z}, giving zx−y=c2\dfrac{z}{x-y}=c_2.

Fit the curve y=0,xz=a3y=0,\ xz=a^3. On it c1=x3c_1=x^3 and c2=zx=a3x2=a3c12/3c_2=\dfrac zx=\dfrac{a^3}{x^2}=\dfrac{a^3}{c_1^{2/3}}. So zx−y=a3(x3+y3)2/3i.e.z(x3+y3)2/3=a3(x−y).\begin{aligned}&\frac{z}{x-y}=\frac{a^3}{(x^3+y^3)^{2/3}}\\ &\text{i.e.}\\ &z\,(x^3+y^3)^{2/3}=a^3(x-y).\end{aligned}

✓ Checked by computer We checked by computer: z(x3+y3)2/3=a3(x−y)z(x^3+y^3)^{2/3}=a^3(x-y) satisfies the PDE and gives xz=a3xz=a^3 when y=0y=0.

↑ Back to the question list

Find the solution of the partial differential equation : z=12(p2+q2)+(p−x)(q−y);p≡∂z∂x,q≡∂z∂y which passes through the x-axis.

2020 · Paper II · Q7a · 15 marks

Solution

Write F=12(p2+q2)+(p−x)(q−y)−z=0F=\tfrac12(p^2+q^2)+(p-x)(q-y)-z=0. Then Fx=−(q−y)Fy=−(p−x)Fz=−1Fp=p+q−yFq=p+q−x.\begin{aligned}&F_x=-(q-y)\\ &F_y=-(p-x)\\ &F_z=-1\\ &F_p=p+q-y\\ &F_q=p+q-x.\end{aligned}

Charpit’s equations. dpFx+pFz=dx−Fp:dp−(p+q−y)=dx−(p+q−y)⇒dp=dx,\begin{aligned}&\frac{dp}{F_x+pF_z}=\frac{dx}{-F_p}:\\ &\frac{dp}{-(p+q-y)}=\frac{dx}{-(p+q-y)}\ \Rightarrow\ dp=dx,\end{aligned} and similarly dq−(p+q−x)=dy−(p+q−x)\dfrac{dq}{-(p+q-x)}=\dfrac{dy}{-(p+q-x)} gives dq=dydq=dy. Hence along a characteristic p=x+a,q=y+b.p=x+a,\qquad q=y+b .

Complete integral. Substituting into the equation: z=12(x+a)2+12(y+b)2+ab.z=\tfrac12(x+a)^2+\tfrac12(y+b)^2+ab .

Through the xx-axis. On the initial line x=s,y=0,z=0x=s,\ y=0,\ z=0, the strip condition gives p0=dzdx=0p_0=\dfrac{dz}{dx}=0. The equation at (s,0,0)(s,0,0) gives 12q02−sq0=0\tfrac12q_0^2-sq_0=0, so q0=0q_0=0 or q0=2sq_0=2s. Then a=p0−x0=−sa=p_0-x_0=-s and b=q0−y0=q0b=q_0-y_0=q_0.

  • q0=2sq_0=2s: take the envelope of z=12(x−s)2+12(y+2s)2−2s2z=\tfrac12(x-s)^2+\tfrac12(y+2s)^2-2s^2 over ss. Differentiating in ss: −(x−s)+2(y+2s)−4s=0-(x-s)+2(y+2s)-4s=0, so s=x−2ys=x-2y. Substituting, z=2xy−32y2=12y(4x−3y).z=2xy-\tfrac32y^2=\tfrac12y(4x-3y).
  • q0=0q_0=0: the envelope of z=12(x−s)2+12y2z=\tfrac12(x-s)^2+\tfrac12y^2 over ss is at s=xs=x, giving z=12y2z=\tfrac12y^2.

Both surfaces satisfy the equation and contain the xx-axis. The required solution is usually quoted as z=12y(4x−3y),z=\tfrac12y(4x-3y), and z=12y2z=\tfrac12y^2 is a second integral surface through the same line.

✓ Checked by computer We checked by computer: the complete integral and both surfaces z=y22z=\tfrac{y^2}{2} and z=2xy−32y2z=2xy-\tfrac32y^2 satisfy the PDE and vanish on the xx-axis.

↑ Back to the question list

Solve the first order quasilinear partial differential equation by the method of characteristics : x∂u∂x+(u−x−y)∂u∂y=x+2y in x>0,−∞<y<∞ with u=1+y on x=1.

2019 · Paper II · Q6a · 15 marks

Solution

Characteristic equations (parameter tt, starting on x=1x=1 with y=y0y=y_0, u=1+y0u=1+y_0): dxdt=xdydt=u−x−ydudt=x+2y.\begin{aligned}&\frac{dx}{dt}=x\\ &\frac{dy}{dt}=u-x-y\\ &\frac{du}{dt}=x+2y.\end{aligned}

  • x=etx=e^t.
  • Adding the last two: d(u+y)dt=u+y\dfrac{d(u+y)}{dt}=u+y, so u+y=(1+2y0)et=(1+2y0)xu+y=(1+2y_0)e^t=(1+2y_0)x.
  • Then dydt=(u+y)−x−2y=2y0et−2y\dfrac{dy}{dt}=(u+y)-x-2y=2y_0e^t-2y. With y(0)=y0y(0)=y_0: y=y03(2et+e−2t)=y02x3+13x2.y=\frac{y_0}{3}\left(2e^t+e^{-2t}\right)=y_0\,\frac{2x^3+1}{3x^2}.

Eliminate the parameters. From the last line, y0=3x2y2x3+1y_0=\dfrac{3x^2y}{2x^3+1}. Then u=(1+2y0)x−y=x+6x3y2x3+1−y.u=(1+2y_0)x-y=x+\frac{6x^3y}{2x^3+1}-y . So u(x,y)=x+y(4x3−1)2x3+1,x>0.u(x,y)=x+\frac{y\,(4x^3-1)}{2x^3+1},\qquad x>0 . (Check: at x=1x=1, u=1+y⋅33=1+yu=1+y\cdot\tfrac33=1+y.)

✓ Checked by computer We checked by computer: u=x+y(4x3−1)2x3+1u=x+\dfrac{y(4x^3-1)}{2x^3+1} satisfies xux+(u−x−y)uy=x+2yxu_x+(u-x-y)u_y=x+2y and equals 1+y1+y at x=1x=1.

↑ Back to the question list

Find the general solution of the partial differential equation : (y3x−2x4)p+(2y4−x3y)q=9z(x3−y3), where p=∂z∂x, q=∂z∂y, and find its integral surface that passes through the curve : x=t, y=t2, z=1.

2018 · Paper II · Q6a · 15 marks

Solution

The subsidiary equations are dxx(y3−2x3)=dyy(2y3−x3)=dz9z(x3−y3).\begin{aligned}\frac{dx}{x(y^3-2x^3)}&=\frac{dy}{y(2y^3-x^3)}\\ &=\frac{dz}{9z(x^3-y^3)}.\end{aligned}

First integral. Multipliers 1x,1y,13z\dfrac1x,\dfrac1y,\dfrac1{3z}: the combination of denominators is (y3−2x3)+(2y3−x3)+3(x3−y3)=0(y^3-2x^3)+(2y^3-x^3)+3(x^3-y^3)=0. So dxx+dyy+dz3z=0⇒x3y3z=c1.\frac{dx}{x}+\frac{dy}{y}+\frac{dz}{3z}=0\ \Longrightarrow\ x^3y^3z=c_1 .

Second integral. With X=x3X=x^3, Y=y3Y=y^3 (so dxx=dX3X\tfrac{dx}{x}=\tfrac{dX}{3X}), the first two ratios give dYdX=Y(2Y−X)X(Y−2X).\frac{dY}{dX}=\frac{Y(2Y-X)}{X(Y-2X)}. Put Y=vXY=vX: XdvdX=v(v+1)v−2\ X\dfrac{dv}{dX}=\dfrac{v(v+1)}{v-2}, so (−2v+3v+1)dv=dXX⇒(v+1)3v2=CX.\begin{aligned}&\left(-\frac2v+\frac{3}{v+1}\right)dv=\frac{dX}{X}\\ &\Longrightarrow\ \frac{(v+1)^3}{v^2}=CX.\end{aligned} Back in x,yx,y this is (X+Y)3X2Y2=C\dfrac{(X+Y)^3}{X^2Y^2}=C, i.e. x3+y3x2y2=c2.\frac{x^3+y^3}{x^2y^2}=c_2 .

General solution: ϕ(x3y3z,x3+y3x2y2)=0.\phi\!\left(x^3y^3z,\ \frac{x^3+y^3}{x^2y^2}\right)=0 .

Surface through x=t,y=t2,z=1x=t,\ y=t^2,\ z=1. On the curve, c1=t9c_1=t^9 and c2=t3+t6t6=1+t−3c_2=\dfrac{t^3+t^6}{t^6}=1+t^{-3}. So t−3=c2−1t^{-3}=c_2-1 and c1=(c2−1)−3c_1=(c_2-1)^{-3}, i.e. c1(c2−1)3=1c_1(c_2-1)^3=1: x3y3z(x3+y3−x2y2x2y2)3=1⇒z(x3+y3−x2y2)3=x3y3.\begin{aligned}&x^3y^3z\left(\frac{x^3+y^3-x^2y^2}{x^2y^2}\right)^3=1\\ &\Longrightarrow\ z\,(x^3+y^3-x^2y^2)^3=x^3y^3.\end{aligned}

✓ Checked by computer We checked by computer: both first integrals are constant along the characteristics, and the surface satisfies the PDE and equals 1 on the curve.

↑ Back to the question list

Find a complete integral of the partial differential equation 2(pq+yp+qx)+x2+y2=0.

2017 · Paper II · Q6a · 15 marks

Solution

Rewrite. Since 2(p+x)(q+y)=2pq+2py+2qx+2xy2(p+x)(q+y)=2pq+2py+2qx+2xy, the equation is 2(p+x)(q+y)+(x−y)2=0.2(p+x)(q+y)+(x-y)^2=0 .

Charpit. With F=2(pq+yp+qx)+x2+y2F=2(pq+yp+qx)+x^2+y^2: Fx=2(q+x)Fy=2(p+y)Fz=0Fp=2(q+y)Fq=2(p+x).\begin{aligned}&F_x=2(q+x)\\ &F_y=2(p+y)\\ &F_z=0\\ &F_p=2(q+y)\\ &F_q=2(p+x).\end{aligned} The equations dpFx=dqFy=dx−Fp=dy−Fq\dfrac{dp}{F_x}=\dfrac{dq}{F_y}=\dfrac{dx}{-F_p}=\dfrac{dy}{-F_q} give dp+dx2(x−y)=dq+dy2(y−x)⇒d(p+x)+d(q+y)=0,\begin{aligned}&\frac{dp+dx}{2(x-y)}=\frac{dq+dy}{2(y-x)}\\ &\Longrightarrow\ d(p+x)+d(q+y)=0,\end{aligned} so p+x+q+y=ap+x+q+y=a.

Solve for p,qp,q. Put P=p+xP=p+x, Q=q+yQ=q+y: P+Q=aP+Q=a and PQ=−12(x−y)2PQ=-\tfrac12(x-y)^2. Hence P=a+a2+2(x−y)22Q=a−a2+2(x−y)22.\begin{aligned}&P=\frac{a+\sqrt{a^2+2(x-y)^2}}{2}\\ &Q=\frac{a-\sqrt{a^2+2(x-y)^2}}{2}.\end{aligned}

Integrate. With η=x−y\eta=x-y: dz=(P−x)dx+(Q−y)dy=a2(dx+dy)+12a2+2η2dη−xdx−ydy.\begin{aligned}dz={}&(P-x)\,dx+(Q-y)\,dy\\={}&\tfrac a2(dx+dy)+\tfrac12\sqrt{a^2+2\eta^2}\,d\eta\\&-x\,dx-y\,dy .\end{aligned} Using ∫a2+2η2dη=η22η2+a2+a222ln(2η+2η2+a2)\displaystyle\int\sqrt{a^2+2\eta^2}\,d\eta=\frac{\eta}{2}\sqrt{2\eta^2+a^2}+\frac{a^2}{2\sqrt2}\ln\!\left(\sqrt2\,\eta+\sqrt{2\eta^2+a^2}\right), the complete integral is z=a2(x+y)−12(x2+y2)+η42η2+a2+2a28ln(2η+2η2+a2)+b,\begin{aligned}z={}&\tfrac a2(x+y)-\tfrac12(x^2+y^2)\\&+\tfrac{\eta}{4}\sqrt{2\eta^2+a^2}\\&+\tfrac{\sqrt2\,a^2}{8}\ln\!\big(\sqrt2\,\eta+\sqrt{2\eta^2+a^2}\big)+b,\end{aligned} where η=x−y\eta=x-y.

✓ Checked by computer We checked by computer: the complete integral satisfies the PDE (symbolically, and numerically at a random point).

↑ Back to the question list

Find the general equation of surfaces orthogonal to the family of spheres given by x2+y2+z2=cz.

2016 · Paper II · Q5a · 10 marks

Solution

The family. Write the spheres as f(x,y,z)=x2+y2+z2z=cf(x,y,z)=\dfrac{x^2+y^2+z^2}{z}=c. A normal to them is ∇f∝(2xz,2yz,z2−x2−y2).\nabla f\propto\big(2xz,\ 2yz,\ z^2-x^2-y^2\big).

Orthogonality condition. A surface z=z(x,y)z=z(x,y) has normal (p,q,−1)(p,q,-1). It cuts every sphere at right angles when the two normals are perpendicular: 2xzp+2yzq=z2−x2−y2.2xz\,p+2yz\,q=z^2-x^2-y^2 .

Solve this Lagrange equation. dx2xz=dy2yz=dzz2−x2−y2.\frac{dx}{2xz}=\frac{dy}{2yz}=\frac{dz}{z^2-x^2-y^2}.

  • From the first two: yx=c1\dfrac yx=c_1.
  • Multipliers x,y,zx,y,z give the combined denominator z(x2+y2+z2)z(x^2+y^2+z^2). Compare with the first ratio: dx2xz=xdx+ydy+zdzz(x2+y2+z2)⇒dxx=d(x2+y2+z2)x2+y2+z2,\begin{aligned}&\frac{dx}{2xz}=\frac{x\,dx+y\,dy+z\,dz}{z(x^2+y^2+z^2)}\\ &\Longrightarrow\ \frac{dx}{x}=\frac{d(x^2+y^2+z^2)}{x^2+y^2+z^2},\end{aligned} so x2+y2+z2x=c2\dfrac{x^2+y^2+z^2}{x}=c_2.

Orthogonal surfaces: ϕ(yx,x2+y2+z2x)=0,\phi\!\left(\frac yx,\ \frac{x^2+y^2+z^2}{x}\right)=0, ϕ\phi arbitrary.

✓ Checked by computer We checked by computer: y/xy/x and (x2+y2+z2)/x(x^2+y^2+z^2)/x are both constant along the characteristics of 2xzp+2yzq=z2−x2−y22xzp+2yzq=z^2-x^2-y^2.

↑ 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

Find the general integral of the partial differential equation (y+zx)p−(x+yz)q=x2−y2.

2016 · Paper II · Q5e · 10 marks

Solution

The subsidiary equations are dxy+zx=dy−(x+yz)=dzx2−y2.\frac{dx}{y+zx}=\frac{dy}{-(x+yz)}=\frac{dz}{x^2-y^2}.

  • Multipliers y,x,1y,x,1: y(y+zx)−x(x+yz)+(x2−y2)=0y(y+zx)-x(x+yz)+(x^2-y^2)=0. So ydx+xdy+dz=0y\,dx+x\,dy+dz=0, i.e. xy+z=c1xy+z=c_1.
  • Multipliers x,y,−zx,y,-z: x(y+zx)−y(x+yz)−z(x2−y2)=0x(y+zx)-y(x+yz)-z(x^2-y^2)=0. So xdx+ydy−zdz=0x\,dx+y\,dy-z\,dz=0, i.e. x2+y2−z2=c2x^2+y^2-z^2=c_2.

General integral: ϕ(xy+z,x2+y2−z2)=0.\phi\big(xy+z,\ x^2+y^2-z^2\big)=0 .

✓ Checked by computer We checked by computer: xy+zxy+z and x2+y2−z2x^2+y^2-z^2 are both first integrals of the subsidiary system.

↑ Back to the question list

Determine the characteristics of the equation z=p2−q2, and find the integral surface which passes through the parabola 4z+x2=0,y=0.

2016 · Paper II · Q6a · 15 marks

Solution

Characteristics. With F=p2−q2−z=0F=p^2-q^2-z=0: dxdt=2pdydt=−2qdzdt=2p2−2q2=2zdpdt=pdqdt=q.\begin{aligned}&\frac{dx}{dt}=2p\\ &\frac{dy}{dt}=-2q\\ &\frac{dz}{dt}=2p^2-2q^2=2z\\ &\frac{dp}{dt}=p\\ &\frac{dq}{dt}=q.\end{aligned} So p=p0etq=q0etz=z0e2tx=x0+2p0(et−1)y=y0−2q0(et−1).\begin{aligned}&p=p_0e^t\\ &q=q_0e^t\\ &z=z_0e^{2t}\\ &x=x_0+2p_0(e^t-1)\\ &y=y_0-2q_0(e^t-1).\end{aligned} The projections on the xyxy-plane are straight lines.

Initial strip. Take x0=sx_0=s, y0=0y_0=0, z0=−s24z_0=-\tfrac{s^2}{4}.

  • Strip condition: dz0ds=p0\dfrac{dz_0}{ds}=p_0, so p0=−s2p_0=-\tfrac s2.
  • The equation: p02−q02=z0p_0^2-q_0^2=z_0 gives s24−q02=−s24\tfrac{s^2}{4}-q_0^2=-\tfrac{s^2}{4}, so q0=±s2q_0=\pm\tfrac{s}{\sqrt2}.

Integral surface. Take q0=s2q_0=\tfrac{s}{\sqrt2} and write E=etE=e^t. Then x=s(2−E)x=s(2-E), y=−2s(E−1)y=-\sqrt2\,s(E-1), z=−s2E24z=-\tfrac{s^2E^2}{4}. From these, sE=x−2ysE=x-\sqrt2\,y, so z=−14(x−2y)2.z=-\tfrac14\left(x-\sqrt2\,y\right)^2 . The other sign gives z=−14(x+2y)2z=-\tfrac14(x+\sqrt2\,y)^2. So the integral surfaces through the parabola are 4z+(x±2y)2=0.4z+\left(x\pm\sqrt2\,y\right)^2=0 . (Check: if z=−14(x+ky)2z=-\tfrac14(x+ky)^2 with k2=2k^2=2, then p2−q2=14(x+ky)2(1−k2)=zp^2-q^2=\tfrac14(x+ky)^2(1-k^2)=z.)

✓ Checked by computer We checked by computer: z=−14(x±2y)2z=-\tfrac14(x\pm\sqrt2\,y)^2 satisfies z=p2−q2z=p^2-q^2 and gives 4z+x2=04z+x^2=0 on y=0y=0.

↑ Back to the question list

Solve the partial differential equation (y2+z2−x2)p−2xyq+2xz=0 where p=∂z∂x and q=∂z∂y.

2015 · Paper II · Q5a · 10 marks

Solution

Write the equation as (y2+z2−x2)p−2xyq=−2xz(y^2+z^2-x^2)p-2xy\,q=-2xz. The subsidiary equations are dxy2+z2−x2=dy−2xy=dz−2xz.\frac{dx}{y^2+z^2-x^2}=\frac{dy}{-2xy}=\frac{dz}{-2xz}.

  • From the last two: dyy=dzz\dfrac{dy}{y}=\dfrac{dz}{z}, so yz=c1\dfrac yz=c_1.
  • Multipliers x,y,zx,y,z: x(y2+z2−x2)−2xy2−2xz2=−x(x2+y2+z2)x(y^2+z^2-x^2)-2xy^2-2xz^2=-x(x^2+y^2+z^2). Comparing with the last ratio: xdx+ydy+zdz−x(x2+y2+z2)=dz−2xz⇒d(x2+y2+z2)x2+y2+z2=dzz,\begin{aligned}&\frac{x\,dx+y\,dy+z\,dz}{-x(x^2+y^2+z^2)}=\frac{dz}{-2xz}\\ &\Longrightarrow\ \frac{d(x^2+y^2+z^2)}{x^2+y^2+z^2}=\frac{dz}{z},\end{aligned} so x2+y2+z2z=c2\dfrac{x^2+y^2+z^2}{z}=c_2.

General solution: ϕ(yz,x2+y2+z2z)=0.\phi\!\left(\frac yz,\ \frac{x^2+y^2+z^2}{z}\right)=0 .

✓ Checked by computer We checked by computer: y/zy/z and (x2+y2+z2)/z(x^2+y^2+z^2)/z are both first integrals of the subsidiary system.

↑ Back to the question list

Solve for the general solution pcos(x+y)+qsin(x+y)=z, where p=∂z∂x and q=∂z∂y.

2015 · Paper II · Q6a · 15 marks

Solution

The subsidiary equations are dxcos(x+y)=dysin(x+y)=dzz.\frac{dx}{\cos(x+y)}=\frac{dy}{\sin(x+y)}=\frac{dz}{z}. Write u=x+yu=x+y.

First integral. Adding the first two ratios, ducosu+sinu=dzz.\frac{du}{\cos u+\sin u}=\frac{dz}{z}. Since cosu+sinu=2sin(u+π4)\cos u+\sin u=\sqrt2\sin\!\left(u+\tfrac\pi4\right), lnz=12lntan(u2+π8)+const,\ln z=\frac{1}{\sqrt2}\ln\tan\!\left(\frac u2+\frac\pi8\right)+\text{const}, so z[tan(x+y2+π8)]−1/2=c1.z\left[\tan\!\left(\frac{x+y}{2}+\frac\pi8\right)\right]^{-1/\sqrt2}=c_1 .

Second integral. Subtracting the second ratio from the first, d(x−y)cosu−sinu=ducosu+sinu⇒d(x−y)=cosu−sinucosu+sinudu.\begin{aligned}&\frac{d(x-y)}{\cos u-\sin u}=\frac{du}{\cos u+\sin u}\\ &\Longrightarrow\ d(x-y)=\frac{\cos u-\sin u}{\cos u+\sin u}\,du.\end{aligned} Integrating, x−y=ln(cosu+sinu)+constx-y=\ln(\cos u+\sin u)+\text{const}, i.e. [cos(x+y)+sin(x+y)]ey−x=c2.\big[\cos(x+y)+\sin(x+y)\big]e^{\,y-x}=c_2 .

General solution: ϕ(c1,c2)=0,\phi(c_1,c_2)=0, i.e. c2=f(c1)c_2=f(c_1): [cos(x+y)+sin(x+y)]ey−x=f(z[tan(x+y2+π8)]−1/2),\begin{aligned}&\big[\cos(x+y)+\sin(x+y)\big]e^{\,y-x}\\&\quad=f\!\left(z\left[\tan\!\left(\tfrac{x+y}{2}+\tfrac\pi8\right)\right]^{-1/\sqrt2}\right),\end{aligned} with ff arbitrary.

✓ Checked by computer We checked by computer: both first integrals below are constant along the characteristics dx:dy:dz=cos(x+y):sin(x+y):zdx:dy:dz=\cos(x+y):\sin(x+y):z.

↑ Back to the question list

Find the surface which intersects the surfaces of the system z(x+y)=C(3z+1),(C being a constant) orthogonally and which passes through the circle x2+y2=1, z=1.

2013 · Paper II · Q6b · 15 marks

Solution

The family. Write it as f=z(x+y)3z+1=Cf=\dfrac{z(x+y)}{3z+1}=C. Then fx=fy=z3z+1,fz=x+y(3z+1)2,f_x=f_y=\frac{z}{3z+1},\qquad f_z=\frac{x+y}{(3z+1)^2}, so a normal is (z(3z+1),z(3z+1),x+y)\big(z(3z+1),\ z(3z+1),\ x+y\big).

Orthogonal surfaces satisfy (normal (p,q,−1)(p,q,-1) perpendicular to this) z(3z+1)p+z(3z+1)q=x+y.z(3z+1)\,p+z(3z+1)\,q=x+y . The subsidiary equations are dxz(3z+1)=dyz(3z+1)=dzx+y.\frac{dx}{z(3z+1)}=\frac{dy}{z(3z+1)}=\frac{dz}{x+y}.

  • dx=dydx=dy gives x−y=c1x-y=c_1.
  • d(x+y)2z(3z+1)=dzx+y\dfrac{d(x+y)}{2z(3z+1)}=\dfrac{dz}{x+y} gives (x+y)d(x+y)=(6z2+2z)dz(x+y)\,d(x+y)=(6z^2+2z)\,dz, so (x+y)2−4z3−2z2=c2(x+y)^2-4z^3-2z^2=c_2.

Through the circle x2+y2=1,z=1x^2+y^2=1,\ z=1. There (x+y)2+(x−y)2=2(x2+y2)=2(x+y)^2+(x-y)^2=2(x^2+y^2)=2 and c2=(x+y)2−6c_2=(x+y)^2-6. So c2+6+c12=2c_2+6+c_1^2=2, i.e. c2+c12+4=0c_2+c_1^2+4=0: (x+y)2−4z3−2z2+(x−y)2+4=0.\begin{aligned}&(x+y)^2-4z^3\\ &\quad-2z^2+(x-y)^2+4=0.\end{aligned} Simplifying, the required surface is x2+y2=2z3+z2−2.x^2+y^2=2z^3+z^2-2 . (At z=1z=1 this gives x2+y2=1x^2+y^2=1.)

✓ Checked by computer We checked by computer: x2+y2=2z3+z2−2x^2+y^2=2z^3+z^2-2 satisfies the orthogonality PDE and contains the circle.

↑ Back to the question list

Solve the partial differential equation px+qy=3z.

2012 · Paper II · Q6a · 20 marks

Solution

This is Lagrange’s linear equation with subsidiary equations dxx=dyy=dz3z.\frac{dx}{x}=\frac{dy}{y}=\frac{dz}{3z}.

  • dxx=dyy\dfrac{dx}{x}=\dfrac{dy}{y} gives lny=lnx+const\ln y=\ln x+\text{const}, so yx=c1\dfrac yx=c_1.
  • dxx=dz3z\dfrac{dx}{x}=\dfrac{dz}{3z} gives lnz=3lnx+const\ln z=3\ln x+\text{const}, so zx3=c2\dfrac{z}{x^3}=c_2.

General solution: ϕ(yx,zx3)=0or equivalentlyz=x3f(yx),\begin{aligned}&\phi\!\left(\frac yx,\ \frac{z}{x^3}\right)=0\\ &\text{or equivalently}\\ &z=x^3f\!\left(\frac yx\right),\end{aligned} with ϕ\phi (or ff) arbitrary.

(This is Euler’s theorem in reverse: px+qy=3zpx+qy=3z says zz is homogeneous of degree 3 in x,yx,y. Check: if z=x3f(v)z=x^3f(v) with v=y/xv=y/x, then xp+yq=3x3f−x2yf′+x2yf′=3zxp+yq=3x^3f-x^2yf'+x^2yf'=3z.)

✓ Checked by computer We checked by computer: y/xy/x and z/x3z/x^3 are first integrals, so z=x3f(y/x)z=x^3f(y/x) satisfies px+qy=3zpx+qy=3z for any ff.

↑ Back to the question list

Solve the PDE (x+2z)∂z∂x+(4zx−y)∂z∂y=2x2+y

2011 · Paper II · Q5b · 12 marks

Solution

The subsidiary equations are dxx+2z=dy4zx−y=dz2x2+y.\frac{dx}{x+2z}=\frac{dy}{4zx-y}=\frac{dz}{2x^2+y}.

  • Multipliers y,x,−2zy,x,-2z: y(x+2z)+x(4zx−y)−2z(2x2+y)=0y(x+2z)+x(4zx-y)-2z(2x^2+y)=0. So ydx+xdy−2zdz=0y\,dx+x\,dy-2z\,dz=0, i.e. xy−z2=c1xy-z^2=c_1.
  • Multipliers 2x,−1,−12x,-1,-1: 2x(x+2z)−(4zx−y)−(2x2+y)=02x(x+2z)-(4zx-y)-(2x^2+y)=0. So 2xdx−dy−dz=02x\,dx-dy-dz=0, i.e. x2−y−z=c2x^2-y-z=c_2.

General solution: ϕ(xy−z2,x2−y−z)=0.\phi\big(xy-z^2,\ x^2-y-z\big)=0 .

✓ Checked by computer We checked by computer: xy−z2xy-z^2 and x2−y−zx^2-y-z are both first integrals of the subsidiary system.

↑ Back to the question list

Solve the following partial differential equation zp+yq=x x0(s)=s,y0(s)=1,z0(s)=2s by the method of characteristics.

2010 · Paper II · Q6a · 20 marks

Solution

Characteristic equations: dxdt=z,dydt=y,dzdt=x,\frac{dx}{dt}=z,\qquad \frac{dy}{dt}=y,\qquad \frac{dz}{dt}=x, with x(0)=s,y(0)=1,z(0)=2sx(0)=s,\ y(0)=1,\ z(0)=2s.

  • y=ety=e^t.
  • x″=z′=xx''=z'=x, so x=Acosht+Bsinhtx=A\cosh t+B\sinh t with x(0)=sx(0)=s and x′(0)=z(0)=2sx'(0)=z(0)=2s: x=s(cosht+2sinht)z=x′=s(sinht+2cosht).\begin{aligned}&x=s(\cosh t+2\sinh t)\\ &z=x'=s(\sinh t+2\cosh t).\end{aligned}

Eliminate s,ts,t. With et=ye^t=y: cosht=12(y+y−1)\cosh t=\tfrac12(y+y^{-1}) and sinht=12(y−y−1)\sinh t=\tfrac12(y-y^{-1}). So x=s(3y2−1)2y,z=s(3y2+1)2y.x=\frac{s(3y^2-1)}{2y},\qquad z=\frac{s(3y^2+1)}{2y}. Dividing, z=x3y2+13y2−1(3y2≠1).z=x\,\frac{3y^2+1}{3y^2-1}\qquad(3y^2\ne1). (Check: on y=1y=1, z=x⋅42=2xz=x\cdot\tfrac42=2x, matching x0=sx_0=s, z0=2sz_0=2s.)

✓ Checked by computer We checked by computer: z=x3y2+13y2−1z=x\dfrac{3y^2+1}{3y^2-1} satisfies zp+yq=xzp+yq=x and gives z=2xz=2x on y=1y=1.

↑ Back to the question list

Find the integral surface of : x2p+y2q+z2=0 which passes through the curve : xy=x+y, z=1.

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

Solution

Write the equation as x2p+y2q=−z2x^2p+y^2q=-z^2. The subsidiary equations are dxx2=dyy2=dz−z2.\frac{dx}{x^2}=\frac{dy}{y^2}=\frac{dz}{-z^2}.

  • dxx2=dyy2\dfrac{dx}{x^2}=\dfrac{dy}{y^2} gives 1x−1y=c1\dfrac1x-\dfrac1y=c_1.
  • dxx2=−dzz2\dfrac{dx}{x^2}=-\dfrac{dz}{z^2} gives 1x+1z=c2\dfrac1x+\dfrac1z=c_2.

Fit the curve xy=x+y,z=1xy=x+y,\ z=1. Dividing xy=x+yxy=x+y by xyxy gives 1x+1y=1\dfrac1x+\dfrac1y=1. Then c1=2x−1c_1=\dfrac2x-1 and c2=1x+1=c1+12+1c_2=\dfrac1x+1=\dfrac{c_1+1}{2}+1. So 2c2=c1+32c_2=c_1+3: 2x+2z=1x−1y+3⇒1x+1y+2z=3.\frac2x+\frac2z=\frac1x-\frac1y+3\ \Longrightarrow\ \frac1x+\frac1y+\frac2z=3 .

Integral surface (multiplying by xyzxyz): yz+zx+2xy=3xyz.yz+zx+2xy=3xyz .

✓ Checked by computer We checked by computer: on yz+zx+2xy=3xyzyz+zx+2xy=3xyz the PDE x2p+y2q+z2=0x^2p+y^2q+z^2=0 holds identically.

↑ Back to the question list

Find the general solution of the partial differentia. equation (2xy−1)p+(z−2x2)q=2(x−yz) and also find the particular solution which passes through the lines x=1, y=0.

2008 · Paper II · Q5a · 12 marks

Solution

The subsidiary equations are dx2xy−1=dyz−2x2=dz2(x−yz).\frac{dx}{2xy-1}=\frac{dy}{z-2x^2}=\frac{dz}{2(x-yz)}.

  • Multipliers 2x,2y,12x,2y,1: 2x(2xy−1)+2y(z−2x2)+2(x−yz)=02x(2xy-1)+2y(z-2x^2)+2(x-yz)=0. So 2xdx+2ydy+dz=02x\,dx+2y\,dy+dz=0, i.e. x2+y2+z=c1x^2+y^2+z=c_1.
  • Multipliers z,1,xz,1,x: z(2xy−1)+(z−2x2)+2x(x−yz)=0z(2xy-1)+(z-2x^2)+2x(x-yz)=0. So zdx+dy+xdz=0z\,dx+dy+x\,dz=0, i.e. y+zx=c2y+zx=c_2.

General solution: ϕ(x2+y2+z,y+zx)=0.\phi\big(x^2+y^2+z,\ y+zx\big)=0 .

Particular solution through the line x=1,y=0x=1,\ y=0 (the line parallel to the zz-axis). On it, with z=tz=t: c1=1+tc_1=1+t and c2=tc_2=t, so c1=c2+1c_1=c_2+1. The surface is x2+y2+z=y+zx+1i.e.x2+y2−xz−y+z−1=0.\begin{aligned}&x^2+y^2+z=y+zx+1\\ &\text{i.e.}\\ &x^2+y^2-xz-y+z-1=0.\end{aligned}

✓ Checked by computer We checked by computer: x2+y2+zx^2+y^2+z and y+zxy+zx are first integrals, and x2+y2+z−zx−y=1x^2+y^2+z-zx-y=1 satisfies the PDE.

↑ Back to the question list

Find complete and singular integrals of 2xz−px2−2qxy+pq=0 using Charpit’s method.

2008 · Paper II · Q6b · 15 marks

Solution

Write F=2xz−px2−2qxy+pq=0F=2xz-px^2-2qxy+pq=0. Then Fx=2z−2px−2qyFy=−2qxFz=2xFp=q−x2Fq=p−2xy.\begin{aligned}&F_x=2z-2px-2qy\\ &F_y=-2qx\\ &F_z=2x\\ &F_p=q-x^2\\ &F_q=p-2xy.\end{aligned}

Charpit. The dqdq ratio has denominator Fy+qFz=−2qx+2qx=0F_y+qF_z=-2qx+2qx=0, so dq=0dq=0 and q=aq=a.

Find pp. Then 2xz−px2−2axy+ap=02xz-px^2-2axy+ap=0, so p=2x(z−ay)x2−a.p=\frac{2x(z-ay)}{x^2-a}.

Integrate. dz=pdx+adydz=p\,dx+a\,dy. With w=z−ayw=z-ay, dw=dz−ady=2xwx2−adxdw=dz-a\,dy=\dfrac{2xw}{x^2-a}\,dx. So dww=2xdxx2−a\dfrac{dw}{w}=\dfrac{2x\,dx}{x^2-a}, and w=−b(x2−a)w=-b(x^2-a) for a constant bb.

Complete integral: z=ay+b(a−x2).z=ay+b\,(a-x^2).

Singular integral. Eliminate a,ba,b from z=ay+b(a−x2)z=ay+b(a-x^2) together with ∂∂a:y+b=0,∂∂b:a−x2=0.\frac{\partial}{\partial a}:\ y+b=0,\qquad \frac{\partial}{\partial b}:\ a-x^2=0 . So a=x2a=x^2 and b=−yb=-y, which gives z=x2y.z=x^2y . (Check: p=2xyp=2xy, q=x2q=x^2: 2x3y−2x3y−2x3y+2x3y=02x^3y-2x^3y-2x^3y+2x^3y=0.)

✓ Checked by computer We checked by computer: z=ay+b(a−x2)z=ay+b(a-x^2) and z=x2yz=x^2y both satisfy 2xz−px2−2qxy+pq=02xz-px^2-2qxy+pq=0.

↑ Back to the question list

More on Partial Differential Equations

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