Menu Close

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

All 33 questions UPSC has asked on second order linear 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 · 6a 2026 · 7a 2025 · 5a 2024 · 5a 2024 · 8a 2023 · 6a 2023 · 8a 2022 · 7a 2022 · 8a 2021 · 7a 2020 · 5a 2020 · 5d 2019 · 7c 2018 · 7a 2017 · 5a 2017 · 7a 2016 · 7a 2015 · 5b 2015 · 8a 2014 · 5a 2014 · 6a 2013 · 5b 2013 · 6a 2012 · 5a 2011 · 5a 2011 · 6a 2010 · 5a 2010 · 5b 2010 · 6b 2009 · 6a 2009 · 6b 2008 · 5b 2008 · 6c

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

Reduce the partial differential equation y∂2z∂x2+(x+y)∂2z∂x∂y+x∂2z∂y2=0 to canonical form and hence solve it.

2026 · Paper II · Q6a · 20 marks

Solution

Type. Here A=yA=y, B=x+yB=x+y, C=xC=x, so B2−4AC=(x+y)2−4xy=(x−y)2>0(x≠y):\begin{aligned}&B^2-4AC=(x+y)^2\\ &\quad -4xy=(x-y)^2>0\\ &(x\ne y):\end{aligned} the equation is hyperbolic.

Characteristics. Ady2−Bdxdy+Cdx2=0A\,dy^2-B\,dx\,dy+C\,dx^2=0 gives yλ2−(x+y)λ+x=0y\lambda^2-(x+y)\lambda+x=0 with λ=dydx\lambda=\dfrac{dy}{dx}, i.e. (λ−1)(yλ−x)=0.(\lambda-1)(y\lambda-x)=0 .

  • λ=1\lambda=1: y−x=consty-x=\text{const}.
  • λ=x/y\lambda=x/y: ydy=xdxy\,dy=x\,dx, so y2−x2=consty^2-x^2=\text{const}.

New variables. ξ=y−x\xi=y-x, η=y2−x2\eta=y^2-x^2. Then zx=−zξ−2xzη,zy=zξ+2yzη.z_x=-z_\xi-2xz_\eta,\qquad z_y=z_\xi+2yz_\eta . Working out the second derivatives and substituting, the zξξz_{\xi\xi} and zηηz_{\eta\eta} terms cancel, and the equation becomes −2(x−y)2zξη+2(x−y)zη=0.-2(x-y)^2z_{\xi\eta}+2(x-y)z_\eta=0 . Since x−y=−ξx-y=-\xi, this is −2ξ2zξη−2ξzη=0-2\xi^2z_{\xi\eta}-2\xi z_\eta=0. So the canonical form is ∂2z∂ξ∂η+1ξ∂z∂η=0.\frac{\partial^2z}{\partial\xi\,\partial\eta}+\frac1\xi\frac{\partial z}{\partial\eta}=0 .

Solution. Write it as ∂∂ξ(ξzη)=0\dfrac{\partial}{\partial\xi}\big(\xi z_\eta\big)=0. Then ξzη=f(η)\xi z_\eta=f(\eta), so zη=f(η)ξz_\eta=\dfrac{f(\eta)}{\xi} and z=F(η)ξ+G(ξ).z=\frac{F(\eta)}{\xi}+G(\xi). In the original variables: z=F(y2−x2)y−x+G(y−x),z=\frac{F(y^2-x^2)}{y-x}+G(y-x), with F,GF,G arbitrary.

✓ Checked by computer We checked by computer: the change of variables gives zξη+1ξzη=0z_{\xi\eta}+\tfrac1\xi z_\eta=0, and z=F(y2−x2)y−x+G(y−x)z=\dfrac{F(y^2-x^2)}{y-x}+G(y-x) satisfies the original equation for arbitrary F,GF,G.

↑ Back to the question list

Solve the partial differential equation (2D2−5DD′+2D′2)z=24(y−x)+sin(y−x) where D≡∂∂x, D′≡∂∂y, z=z(x,y).

2026 · Paper II · Q7a · 15 marks

Solution

Complementary function. The auxiliary equation 2m2−5m+2=02m^2-5m+2=0 gives (2m−1)(m−2)=0(2m-1)(m-2)=0, so m=2,12m=2,\ \tfrac12: C.F.=f1(y+2x)+f2(2y+x).\text{C.F.}=f_1(y+2x)+f_2(2y+x).

P.I. for 24(y−x)24(y-x). This is a function of ax+byax+by with a=−1,b=1a=-1,\ b=1. Since F(a,b)=2(1)−5(−1)+2(1)=9≠0F(a,b)=2(1)-5(-1)+2(1)=9\ne0, 1F(D,D′)ϕ(ax+by)=1F(a,b)∬ϕ(u)duduu=y−x.\begin{aligned}&\frac{1}{F(D,D')}\phi(ax+by)\\ &\quad =\frac{1}{F(a,b)}\iint\phi(u)\,du\,du\\ &u=y-x.\end{aligned} So the P.I. is 19⋅24⋅u36=49(y−x)3\dfrac{1}{9}\cdot24\cdot\dfrac{u^3}{6}=\dfrac49(y-x)^3.

P.I. for sin(y−x)\sin(y-x). Replace D2→−a2=−1D^2\to-a^2=-1, DD′→−ab=1DD'\to-ab=1, D′2→−b2=−1D'^2\to-b^2=-1. Then F=2(−1)−5(1)+2(−1)=−9F=2(-1)-5(1)+2(-1)=-9, so the P.I. is −19sin(y−x)-\tfrac19\sin(y-x).

General solution: z=f1(y+2x)+f2(2y+x)+49(y−x)3−19sin(y−x).\begin{aligned}&z=f_1(y+2x)+f_2(2y+x)\\ &\quad+\frac49(y-x)^3-\frac19\sin(y-x).\end{aligned}

✓ Checked by computer We checked by computer: the complete solution satisfies the equation identically.

↑ Back to the question list

Find the solution of the equation (D2+DD′−2D2)z=ysinx, where D≡∂∂x and D′≡∂∂y.

2025 · Paper II · Q5a · 10 marks

Solution

Reading the question. As printed, the operator is D2+DD′−2D2D^2+DD'-2D^2; the last term is clearly meant to be 2D′22D'^2. We solve (D2+DD′−2D′2)z=ysinx.(D^2+DD'-2D'^2)z=y\sin x .

C.F. m2+m−2=0m^2+m-2=0 gives m=1,−2m=1,\,-2: C.F.=f1(y+x)+f2(y−2x).\text{C.F.}=f_1(y+x)+f_2(y-2x).

P.I. Expand the inverse operator in powers of D′/DD'/D (only D′D' and D′2D'^2 can act on yy): 1D2(1+D′D−2D′2D2)ysinx=1D2(1−D′D)ysinx=1D2(ysinx−1Dsinx).\begin{aligned}&\frac{1}{D^2\big(1+\frac{D'}{D}-\frac{2D'^2}{D^2}\big)}\,y\sin x\\ &\quad=\frac1{D^2}\Big(1-\frac{D'}{D}\Big)y\sin x\\ &\quad=\frac{1}{D^2}\Big(y\sin x-\frac1D\sin x\Big).\end{aligned} Now 1Dsinx=−cosx\dfrac1D\sin x=-\cos x, so this is 1D2(ysinx+cosx)=−ysinx−cosx\dfrac1{D^2}(y\sin x+\cos x)=-y\sin x-\cos x.

Solution: z=f1(y+x)+f2(y−2x)−ysinx−cosx.\begin{aligned}&z=f_1(y+x)+f_2(y-2x)\\ &\quad-y\sin x-\cos x.\end{aligned} (Check: zxx+zxy−2zyy=(ysinx+cosx)−cosx−0=ysinxz_{xx}+z_{xy}-2z_{yy}=(y\sin x+\cos x)-\cos x-0=y\sin x.)

(If the operator is taken literally as DD′−D2DD'-D^2, the same method gives z=f1(y)+f2(y+x)+ysinx−cosxz=f_1(y)+f_2(y+x)+y\sin x-\cos x.)

✓ Checked by computer We checked by computer: both the intended and the as-printed solutions satisfy their equations.

↑ Back to the question list

Show that if f and g are arbitrary functions of their respective arguments, then u=f(x−kt+iαy)+g(x−kt−iαy), is a solution of ∂2u∂x2+∂2u∂y2=1C2∂2u∂t2, where α2=1−k2C2.

2024 · Paper II · Q5a · 10 marks

Solution

Write ξ=x−kt+iαy\xi=x-kt+i\alpha y and ζ=x−kt−iαy\zeta=x-kt-i\alpha y, so u=f(ξ)+g(ζ)u=f(\xi)+g(\zeta).

Derivatives. uxx=f″+g″uyy=(iα)2f″+(−iα)2g″=−α2(f″+g″)utt=k2(f″+g″).\begin{aligned}&u_{xx}=f''+g''\\ &u_{yy}=(i\alpha)^2f''\\ &\quad +(-i\alpha)^2g''=-\alpha^2(f''+g'')\\ &u_{tt}=k^2(f''+g'').\end{aligned}

Substitute. uxx+uyy=(1−α2)(f″+g″)=k2C2(f″+g″)=1C2utt,\begin{aligned}u_{xx}+u_{yy}&=(1-\alpha^2)(f''+g'')\\ &=\frac{k^2}{C^2}(f''+g'')\\ &=\frac{1}{C^2}u_{tt},\end{aligned} using 1−α2=k2C21-\alpha^2=\dfrac{k^2}{C^2}. So uu satisfies ∇2u=1C2utt\nabla^2u=\dfrac{1}{C^2}u_{tt} for arbitrary twice-differentiable f,gf,g. ◼\blacksquare

✓ Checked by computer We checked by computer: substituting uu and using α2=1−k2/C2\alpha^2=1-k^2/C^2 makes both sides equal.

↑ Back to the question list

Solve the partial differential equation ∂∂y(∂ϕ∂x+ϕ)+2x2y(∂ϕ∂x+ϕ)=0 by transforming it to the canonical form.

2024 · Paper II · Q8a · 15 marks

Solution

Canonical form. Expanding, ϕxy+ϕy+2x2yϕx+2x2yϕ=0.\phi_{xy}+\phi_y+2x^2y\,\phi_x+2x^2y\,\phi=0 . The second-order part is ϕxy\phi_{xy} alone: A=C=0A=C=0, B=1B=1, so B2−4AC=1>0B^2-4AC=1>0 and the equation is hyperbolic. Its characteristics are x=constx=\text{const} and y=consty=\text{const}, so ξ=x,η=y\xi=x,\ \eta=y already are characteristic variables, and the equation above is in canonical form: ϕξη=−ϕη−2ξ2η(ϕξ+ϕ).\phi_{\xi\eta}=-\phi_\eta-2\xi^2\eta\,(\phi_\xi+\phi).

Solution. Put w=ϕx+ϕw=\phi_x+\phi. The equation reads ∂w∂y+2x2yw=0⇒w=A(x)e−x2y2.\frac{\partial w}{\partial y}+2x^2y\,w=0\ \Longrightarrow\ w=A(x)\,e^{-x^2y^2}. Then ϕx+ϕ=A(x)e−x2y2\phi_x+\phi=A(x)e^{-x^2y^2}, i.e. ∂∂x(exϕ)=A(x)ex−x2y2\dfrac{\partial}{\partial x}\big(e^x\phi\big)=A(x)\,e^{x-x^2y^2}. Hence ϕ(x,y)=e−x[∫A(x)ex−x2y2dx+B(y)],\begin{aligned}\phi(x,y)={}&e^{-x}\Big[\int A(x)\,e^{\,x-x^2y^2}\,dx\\&\quad+B(y)\Big],\end{aligned} with A,BA,B arbitrary functions.

✓ Checked by computer We checked by computer: ϕ=e−x[∫A(x)ex−x2y2dx+B(y)]\phi=e^{-x}\!\left[\int A(x)e^{x-x^2y^2}dx+B(y)\right] satisfies the equation for arbitrary A,BA,B.

↑ Back to the question list

Find the surface passing through the two lines z=x=0 and z−1=x−y=0, and satisfying the partial differential equation ∂2z∂x2−4∂2z∂x∂y+4∂2z∂y2=0.

2023 · Paper II · Q6a · 15 marks

Solution

General solution. The equation is (D−2D′)2z=0(D-2D')^2z=0; the auxiliary equation (m−2)2=0(m-2)^2=0 has the double root m=2m=2. So z=f(y+2x)+xg(y+2x).z=f(y+2x)+x\,g(y+2x).

First line, z=0z=0 on x=0x=0: f(y)=0f(y)=0 for all yy, so f≡0f\equiv0 and z=xg(y+2x)z=x\,g(y+2x).

Second line, z=1z=1 on x=yx=y: 1=xg(3x)1=x\,g(3x), so g(3x)=1xg(3x)=\dfrac1x, i.e. g(u)=3ug(u)=\dfrac3u.

Required surface: z=3xy+2x,i.e.z(2x+y)=3x.z=\frac{3x}{y+2x},\qquad\text{i.e.}\qquad z(2x+y)=3x .

✓ Checked by computer We checked by computer: z=3xy+2xz=\dfrac{3x}{y+2x} satisfies the PDE, vanishes on x=0x=0 and equals 1 on x=yx=y.

↑ Back to the question list

Reduce the partial differential equation ∂2z∂y2−∂2z∂x∂y+∂z∂x−∂z∂y(1+1x)+zx=0 to canonical form.

2023 · Paper II · Q8a · 15 marks

Solution

Type. The second-order part is zyy−zxyz_{yy}-z_{xy}: A=0A=0, B=−1B=-1, C=1C=1, so B2−4AC=1>0B^2-4AC=1>0 — hyperbolic.

Characteristics. Ady2−Bdxdy+Cdx2=0A\,dy^2-B\,dx\,dy+C\,dx^2=0 gives dxdy+dx2=0dx\,dy+dx^2=0, i.e. dx(dx+dy)=0dx\,(dx+dy)=0. So x=constx=\text{const} and x+y=constx+y=\text{const}.

New variables. ξ=x\xi=x, η=x+y\eta=x+y. Then zx=zξ+zηzy=zηzyy=zηηzxy=zξη+zηη.\begin{aligned}&z_x=z_\xi+z_\eta\\ &z_y=z_\eta\\ &z_{yy}=z_{\eta\eta}\\ &z_{xy}=z_{\xi\eta}+z_{\eta\eta}.\end{aligned} Substituting: zηη−zξη−zηη+zξ+zη−zη(1+1ξ)+zξ=0.\begin{aligned}&z_{\eta\eta}-z_{\xi\eta}-z_{\eta\eta}+z_\xi\\ &\quad+z_\eta-z_\eta\Big(1+\frac1\xi\Big)+\frac z\xi=0.\end{aligned}

Canonical form: ∂2z∂ξ∂η=∂z∂ξ−1ξ(∂z∂η−z).\frac{\partial^2z}{\partial\xi\,\partial\eta}=\frac{\partial z}{\partial\xi}-\frac1\xi\Big(\frac{\partial z}{\partial\eta}-z\Big).

(It can be solved: with w=zη−zw=z_\eta-z it reads wξ=−w/ξw_\xi=-w/\xi, so w=f(η)/ξw=f(\eta)/\xi, and then z=F(x+y)x+ex+yG(x)z=\dfrac{F(x+y)}{x}+e^{x+y}G(x).)

✓ Checked by computer We checked by computer: in ξ=x,η=x+y\xi=x,\ \eta=x+y the equation becomes the canonical form below, and z=F(x+y)x+ex+yG(x)z=\dfrac{F(x+y)}{x}+e^{x+y}G(x) satisfies the original equation.

↑ Back to the question list

Find the general solution of the partial differential equation (D2+DD′−6D′2)z=x2sin(x+y) where D≡∂∂x and D′≡∂∂y.

2022 · Paper II · Q7a · 15 marks

Solution

C.F. m2+m−6=0m^2+m-6=0 gives m=2,−3m=2,\,-3: C.F.=f1(y+2x)+f2(y−3x).\text{C.F.}=f_1(y+2x)+f_2(y-3x).

P.I. Write x2sin(x+y)=Im[x2ei(x+y)]x^2\sin(x+y)=\operatorname{Im}\big[x^2e^{i(x+y)}\big] and shift the operator past the exponential: D→D+iD\to D+i, D′→D′+iD'\to D'+i. Since D′D' annihilates x2x^2, (D+i)2+(D+i)i−6i2=D2+3iD+4.\begin{aligned}&(D+i)^2+(D+i)\,i\\ &\quad-6\,i^2=D^2+3iD+4.\end{aligned} So P.I.=Im[ei(x+y)14(1+3iD+D24)−1x2].\begin{aligned}&\text{P.I.}\\ &\quad =\operatorname{Im}\left[e^{i(x+y)}\,\frac{1}{4}\Big(1+\frac{3iD+D^2}{4}\Big)^{-1}x^2\right].\end{aligned} Expand to second order: (1−3iD+D24+(3iD)216)x2=x2−6ix+24−1816=x2−3i2x−138\Big(1-\dfrac{3iD+D^2}{4}+\dfrac{(3iD)^2}{16}\Big)x^2=x^2-\dfrac{6ix+2}{4}-\dfrac{18}{16}=x^2-\dfrac{3i}{2}x-\dfrac{13}{8}.

Multiply by 14ei(x+y)=14(cos(x+y)+isin(x+y))\tfrac14e^{i(x+y)}=\tfrac14\big(\cos(x+y)+i\sin(x+y)\big) and take the imaginary part: P.I.=(x24−1332)sin(x+y)−3x8cos(x+y).\begin{aligned}&\text{P.I.}=\Big(\frac{x^2}{4}-\frac{13}{32}\Big)\sin(x+y)\\ &\quad-\frac{3x}{8}\cos(x+y).\end{aligned}

General solution: z=f1(y+2x)+f2(y−3x)+x24sin(x+y)−3x8cos(x+y)−1332sin(x+y).\begin{aligned}&z=f_1(y+2x)+f_2(y-3x)\\ &\quad +\frac{x^2}{4}\sin(x+y)\\ &\quad -\frac{3x}{8}\cos(x+y)\\ &\quad -\frac{13}{32}\sin(x+y).\end{aligned}

✓ Checked by computer We checked by computer: the P.I. satisfies (D2+DD′−6D′2)z=x2sin(x+y)(D^2+DD'-6D'^2)z=x^2\sin(x+y) exactly.

↑ Back to the question list

Reduce the following partial differential equation to a canonical form and hence solve it : yuxx+(x+y)uxy+xuyy=0

2022 · Paper II · Q8a · 15 marks

Solution

This is the same equation as 2026 (Q6a), in uu.

Type and characteristics. A=y,B=x+y,C=xA=y,\ B=x+y,\ C=x: B2−4AC=(x−y)2>0B^2-4AC=(x-y)^2>0 for x≠yx\ne y (hyperbolic). The characteristic equation yλ2−(x+y)λ+x=0y\lambda^2-(x+y)\lambda+x=0 factors as (λ−1)(yλ−x)=0(\lambda-1)(y\lambda-x)=0, giving y−x=const,y2−x2=const.y-x=\text{const},\qquad y^2-x^2=\text{const}.

Canonical form. With ξ=y−x\xi=y-x, η=y2−x2\eta=y^2-x^2, the uξξu_{\xi\xi} and uηηu_{\eta\eta} terms cancel and we get −2ξ2uξη−2ξuη=0-2\xi^2u_{\xi\eta}-2\xi u_\eta=0, i.e. uξη+1ξuη=0.u_{\xi\eta}+\frac1\xi\,u_\eta=0 .

Solution. ∂∂ξ(ξuη)=0\dfrac{\partial}{\partial\xi}(\xi u_\eta)=0, so uη=f(η)ξu_\eta=\dfrac{f(\eta)}\xi and u=F(η)ξ+G(ξ)u=\dfrac{F(\eta)}{\xi}+G(\xi): u=F(y2−x2)y−x+G(y−x).u=\frac{F(y^2-x^2)}{y-x}+G(y-x).

✓ Checked by computer We checked by computer: the transformation gives uξη+1ξuη=0u_{\xi\eta}+\tfrac1\xi u_\eta=0, and u=F(y2−x2)y−x+G(y−x)u=\dfrac{F(y^2-x^2)}{y-x}+G(y-x) satisfies the original equation.

↑ Back to the question list

Find the general solution of the partial differential equation (D2−D′2−3D+3D′)z=xy+ex+2y where D≡∂∂x and D′≡∂∂y.

2021 · Paper II · Q7a · 15 marks

Solution

Factorise. D2−D′2−3D+3D′=(D−D′)(D+D′)−3(D−D′)=(D−D′)(D+D′−3).\begin{aligned}&D^2-D'^2-3D+3D'\\ &\ =(D-D')(D+D')\\ &\qquad-3(D-D')\\ &\ =(D-D')(D+D'-3).\end{aligned} So C.F.=f1(y+x)+e3xf2(y−x).\text{C.F.}=f_1(y+x)+e^{3x}f_2(y-x).

P.I. for xyxy. 1(D−D′)(D+D′−3)xy=−13⋅1D−D′(1−D+D′3)−1xy.\begin{aligned}&\frac{1}{(D-D')(D+D'-3)}xy=\\ &\quad-\frac13\cdot\frac{1}{D-D'}\Big(1-\frac{D+D'}{3}\Big)^{-1}xy.\end{aligned} First, (1+D+D′3+(D+D′)29)xy=xy+x+y3+29\Big(1+\dfrac{D+D'}{3}+\dfrac{(D+D')^2}{9}\Big)xy=xy+\dfrac{x+y}{3}+\dfrac29. Then 1D−D′=1D(1+D′D+⋯)\dfrac{1}{D-D'}=\dfrac1D\Big(1+\dfrac{D'}{D}+\cdots\Big); applied to this it gives (x2y2+x26+xy3+2x9)+1D2(x+13)=x36+x2y2+x23+xy3+2x9.\begin{aligned}&\Big(\frac{x^2y}{2}+\frac{x^2}{6}+\frac{xy}{3}+\frac{2x}{9}\Big)\\ &\quad+\frac1{D^2}\Big(x+\frac13\Big)=\frac{x^3}{6}+\frac{x^2y}{2}+\frac{x^2}{3}+\frac{xy}{3}+\frac{2x}{9}.\end{aligned} Multiplying by −13-\tfrac13: P.I.1=−x318−x2y6−x29−xy9−2x27.\text{P.I.}_1=-\frac{x^3}{18}-\frac{x^2y}{6}-\frac{x^2}{9}-\frac{xy}{9}-\frac{2x}{27}.

P.I. for ex+2ye^{x+2y}. Here D+D′−3→1+2−3=0D+D'-3\to1+2-3=0, so this is a failing case. ex+2y=e3xe2(y−x)e^{x+2y}=e^{3x}e^{2(y-x)} already has the form of the second C.F. term. Using 1D+D′−3ex+2y=xex+2y\dfrac{1}{D+D'-3}e^{x+2y}=x\,e^{x+2y} and then 1D−D′\dfrac{1}{D-D'} (with D−D′→1−2=−1D-D'\to1-2=-1 on the exponential and dropping a C.F. term) gives P.I.2=−xex+2y.\text{P.I.}_2=-x\,e^{x+2y}. (Check: (D−D′)(D+D′−3)(−xex+2y)=ex+2y(D-D')(D+D'-3)\big(-xe^{x+2y}\big)=e^{x+2y}.)

General solution: z=f1(y+x)+e3xf2(y−x)−x318−x2y6−x29−xy9−2x27−xex+2y.\begin{aligned}&z=f_1(y+x)+e^{3x}f_2(y-x)\\ &\quad -\frac{x^3}{18}-\frac{x^2y}{6}\\ &\quad -\frac{x^2}{9}-\frac{xy}{9}\\ &\quad -\frac{2x}{27}-x\,e^{x+2y}.\end{aligned}

✓ Checked by computer We checked by computer: both particular integrals satisfy their parts of the equation exactly.

↑ 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

Solve the partial differential equation : (D3−2D2D′−DD′2+2D′3)z=e2x+y+sin(x−2y); D≡∂∂x,D′≡∂∂y

2020 · Paper II · Q5d · 10 marks

Solution

C.F. The auxiliary equation m3−2m2−m+2=(m−2)(m2−1)=0m^3-2m^2-m+2=(m-2)(m^2-1)=0 gives m=1,−1,2m=1,-1,2: C.F.=f1(y+x)+f2(y−x)+f3(y+2x).\begin{aligned}&\text{C.F.}=f_1(y+x)\\ &\quad+f_2(y-x)+f_3(y+2x).\end{aligned} The operator factors as (D−D′)(D+D′)(D−2D′)(D-D')(D+D')(D-2D').

P.I. for e2x+ye^{2x+y}. The factor D−2D′→2−2=0D-2D'\to2-2=0 vanishes. For the other factors, (D−D′)(D+D′)→(1)(3)=3(D-D')(D+D')\to(1)(3)=3, and 1D−2D′e2x+y=xe2x+y\dfrac{1}{D-2D'}e^{2x+y}=x\,e^{2x+y}. So P.I.1=x3e2x+y.\text{P.I.}_1=\frac x3\,e^{2x+y}.

P.I. for sin(x−2y)\sin(x-2y). Use D2→−1D^2\to-1, D′2→−4D'^2\to-4 (with a=1,b=−2a=1,\ b=-2): D3−2D2D′−DD′2+2D′3→−D+2D′+4D−8D′=3(D−2D′).\begin{aligned}&D^3-2D^2D'-DD'^2+2D'^3\to\\ &\quad -D+2D'\\ &\quad +4D-8D'=3(D-2D').\end{aligned} Then 13(D−2D′)sin(x−2y)=(D+2D′)sin(x−2y)3(D2−4D′2)=(D+2D′)sin(x−2y)45=cos(x−2y)−4cos(x−2y)45.\begin{aligned}&\frac{1}{3(D-2D')}\sin(x-2y)\\ &\quad=\frac{(D+2D')\sin(x-2y)}{3(D^2-4D'^2)}\\ &\quad=\frac{(D+2D')\sin(x-2y)}{45}\\ &\quad=\frac{\cos(x-2y)-4\cos(x-2y)}{45}.\end{aligned} So P.I.2=−115cos(x−2y)\text{P.I.}_2=-\tfrac1{15}\cos(x-2y).

General solution: z=f1(y+x)+f2(y−x)+f3(y+2x)+x3e2x+y−115cos(x−2y).\begin{aligned}&z=f_1(y+x)\\ &\quad +f_2(y-x)+f_3(y+2x)\\ &\quad +\frac x3e^{2x+y}\\ &\quad -\frac1{15}\cos(x-2y).\end{aligned}

✓ Checked by computer We checked by computer: the particular integrals satisfy the equation exactly.

↑ Back to the question list

Reduce the following second order partial differential equation to canonical form and find the general solution : ∂2u∂x2−2x∂2u∂x∂y+x2∂2u∂y2=∂u∂y+12x.

2019 · Paper II · Q7c · 20 marks

Solution

Type. A=1A=1, B=−2xB=-2x, C=x2C=x^2: B2−4AC=4x2−4x2=0B^2-4AC=4x^2-4x^2=0 — parabolic.

Characteristic. dy2+2xdxdy+x2dx2=(dy+xdx)2=0dy^2+2x\,dx\,dy+x^2dx^2=(dy+x\,dx)^2=0 gives y+x22=consty+\tfrac{x^2}{2}=\text{const}.

New variables. ξ=y+x22\xi=y+\tfrac{x^2}{2} and η=x\eta=x (any independent choice). Then ux=xuξ+uηuy=uξuxx=x2uξξ+2xuξη+uηη+uξuxy=xuξξ+uξηuyy=uξξ.\begin{aligned}&u_x=xu_\xi+u_\eta\\ &u_y=u_\xi\\ &u_{xx}=x^2u_{\xi\xi}+2xu_{\xi\eta}+u_{\eta\eta}+u_\xi\\ &u_{xy}=xu_{\xi\xi}+u_{\xi\eta}\\ &u_{yy}=u_{\xi\xi}.\end{aligned} Hence uxx−2xuxy+x2uyy=uηη+uξ.u_{xx}-2xu_{xy}+x^2u_{yy}=u_{\eta\eta}+u_\xi . The equation uηη+uξ=uξ+12xu_{\eta\eta}+u_\xi=u_\xi+12x becomes the canonical form ∂2u∂η2=12η.\frac{\partial^2u}{\partial\eta^2}=12\eta .

General solution. Integrating twice in η\eta: u=2η3+ηF(ξ)+G(ξ)u=2\eta^3+\eta F(\xi)+G(\xi), i.e. u=2x3+xF(y+x22)+G(y+x22).u=2x^3+x\,F\!\left(y+\frac{x^2}{2}\right)+G\!\left(y+\frac{x^2}{2}\right).

✓ Checked by computer We checked by computer: u=2x3+xF(y+x22)+G(y+x22)u=2x^3+xF(y+\tfrac{x^2}{2})+G(y+\tfrac{x^2}{2}) satisfies the original equation for arbitrary F,GF,G.

↑ Back to the question list

Solve the partial differential equation : (2D2−5DD′+2D′2)z=5sin(2x+y)+24(y−x)+e3x+4y where D≡∂∂x, D′≡∂∂y.

2018 · Paper II · Q7a · 15 marks

Solution

C.F. 2m2−5m+2=02m^2-5m+2=0 gives m=2,12m=2,\tfrac12: C.F.=f1(y+2x)+f2(2y+x),\text{C.F.}=f_1(y+2x)+f_2(2y+x), and 2D2−5DD′+2D′2=(2D−D′)(D−2D′)2D^2-5DD'+2D'^2=(2D-D')(D-2D').

P.I. for 5sin(2x+y)5\sin(2x+y). Here D−2D′→2−2=0D-2D'\to2-2=0, a failing case. First 12D−D′sin(2x+y)=13∫sinudu=−13cos(2x+y)(2a−b=3).\begin{aligned}&\frac{1}{2D-D'}\sin(2x+y)\\ &\quad =\frac{1}{3}\int\sin u\,du=-\frac13\cos(2x+y)\\ &(2a-b=3).\end{aligned} Then 1D−2D′ϕ(y+2x)=xϕ(y+2x)\dfrac{1}{D-2D'}\phi(y+2x)=x\,\phi(y+2x). So P.I.1=5⋅(−x3cos(2x+y))=−5x3cos(2x+y).\begin{aligned}\text{P.I.}_1&=5\cdot\Big(-\frac x3\cos(2x+y)\Big)\\ &=-\frac{5x}{3}\cos(2x+y).\end{aligned}

P.I. for 24(y−x)24(y-x). F(−1,1)=9F(-1,1)=9, so P.I.2=249⋅(y−x)36=49(y−x)3\text{P.I.}_2=\dfrac{24}{9}\cdot\dfrac{(y-x)^3}{6}=\dfrac49(y-x)^3.

P.I. for e3x+4ye^{3x+4y}. F(3,4)=18−60+32=−10F(3,4)=18-60+32=-10, so P.I.3=−110e3x+4y\text{P.I.}_3=-\dfrac{1}{10}e^{3x+4y}.

General solution: z=f1(y+2x)+f2(2y+x)−5x3cos(2x+y)+49(y−x)3−110e3x+4y.\begin{aligned}&z=f_1(y+2x)+f_2(2y+x)\\ &\quad -\frac{5x}{3}\cos(2x+y)\\ &\quad +\frac49(y-x)^3\\ &\quad -\frac{1}{10}e^{3x+4y}.\end{aligned}

✓ Checked by computer We checked by computer: the complete solution satisfies the equation identically.

↑ Back to the question list

Solve (D2−2DD′+D′2)z=ex+2y+x3+sin2x, where D≡∂∂x,D′≡∂∂y,D2≡∂2∂x2,D′2≡∂2∂y2.

2017 · Paper II · Q5a · 10 marks

Solution

C.F. (m−1)2=0(m-1)^2=0 gives the double root m=1m=1: C.F.=f1(y+x)+xf2(y+x).\text{C.F.}=f_1(y+x)+x\,f_2(y+x).

P.I.

  • ex+2ye^{x+2y}: F(1,2)=(1−2)2=1F(1,2)=(1-2)^2=1, so the P.I. is ex+2ye^{x+2y}.
  • x3x^3: D′D' annihilates it, so 1(D−D′)2x3=1D2x3=x520\dfrac{1}{(D-D')^2}x^3=\dfrac1{D^2}x^3=\dfrac{x^5}{20}.
  • sin2x\sin2x: again only DD acts, so 1D2sin2x=−14sin2x\dfrac1{D^2}\sin2x=-\dfrac14\sin2x.

General solution: z=f1(y+x)+xf2(y+x)+ex+2y+x520−14sin2x.\begin{aligned}&z=f_1(y+x)+x\,f_2(y+x)+e^{x+2y}\\ &\quad+\frac{x^5}{20}-\frac14\sin2x.\end{aligned}

✓ Checked by computer We checked by computer: the complete solution satisfies the equation identically.

↑ Back to the question list

Reduce the equation y2∂2z∂x2−2xy∂2z∂x∂y+x2∂2z∂y2=y2x∂z∂x+x2y∂z∂y to canonical form and hence solve it.

2017 · Paper II · Q7a · 15 marks

Solution

Type. A=y2A=y^2, B=−2xyB=-2xy, C=x2C=x^2: B2−4AC=0B^2-4AC=0 — parabolic.

Characteristic. y2dy2+2xydxdy+x2dx2=(ydy+xdx)2=0y^2dy^2+2xy\,dx\,dy+x^2dx^2=(y\,dy+x\,dx)^2=0, so x2+y2=constx^2+y^2=\text{const}.

New variables. ξ=x2+y2\xi=x^2+y^2 and η=x2\eta=x^2. Then zx=2x(zξ+zη),zy=2yzξ.z_x=2x(z_\xi+z_\eta),\qquad z_y=2y\,z_\xi . Working out the second derivatives: y2zxx−2xyzxy+x2zyy=4x2y2zηη+2y2(zξ+zη)+2x2zξ,\begin{aligned}&y^2z_{xx}-2xyz_{xy}+x^2z_{yy}=4x^2y^2z_{\eta\eta}\\ &\quad+2y^2(z_\xi+z_\eta)+2x^2z_\xi,\end{aligned} and the right-hand side is y2xzx+x2yzy=2y2(zξ+zη)+2x2zξ.\frac{y^2}{x}z_x+\frac{x^2}{y}z_y=2y^2(z_\xi+z_\eta)+2x^2z_\xi . These first-order terms cancel, leaving 4x2y2zηη=04x^2y^2z_{\eta\eta}=0.

Canonical form: ∂2z∂η2=0.\frac{\partial^2z}{\partial\eta^2}=0 .

Solution. z=F(ξ)+ηG(ξ)z=F(\xi)+\eta\,G(\xi), i.e. z=F(x2+y2)+x2G(x2+y2).z=F(x^2+y^2)+x^2\,G(x^2+y^2).

✓ Checked by computer We checked by computer: with ξ=x2+y2,η=x2\xi=x^2+y^2,\ \eta=x^2 the equation becomes zηη=0z_{\eta\eta}=0, and z=F(x2+y2)+x2G(x2+y2)z=F(x^2+y^2)+x^2G(x^2+y^2) satisfies the original equation.

↑ 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

Solve the partial differential equation ∂3z∂x3−2∂3z∂x2∂y−∂3z∂x∂y2+2∂3z∂y3=ex+y

2016 · Paper II · Q7a · 15 marks

Solution

In operator form the equation is (D3−2D2D′−DD′2+2D′3)z=ex+y(D^3-2D^2D'-DD'^2+2D'^3)z=e^{x+y}.

C.F. m3−2m2−m+2=(m−1)(m+1)(m−2)=0m^3-2m^2-m+2=(m-1)(m+1)(m-2)=0: C.F.=f1(y+x)+f2(y−x)+f3(y+2x).\begin{aligned}&\text{C.F.}=f_1(y+x)\\ &\quad+f_2(y-x)+f_3(y+2x).\end{aligned}

P.I. The operator is (D−D′)(D+D′)(D−2D′)(D-D')(D+D')(D-2D'). On ex+ye^{x+y} the factor D−D′D-D' vanishes. The other two give (1+1)(1−2)=−2(1+1)(1-2)=-2, and 1D−D′ex+y=xex+y\dfrac{1}{D-D'}e^{x+y}=x\,e^{x+y}. So P.I.=−x2ex+y.\text{P.I.}=-\frac x2\,e^{x+y}.

General solution: z=f1(y+x)+f2(y−x)+f3(y+2x)−x2ex+y.\begin{aligned}&z=f_1(y+x)+f_2(y-x)\\ &\quad+f_3(y+2x)-\frac x2\,e^{x+y}.\end{aligned}

✓ Checked by computer We checked by computer: z=−x2ex+yz=-\tfrac x2e^{x+y} satisfies the equation.

↑ Back to the question list

Solve (D2+DD′−2D′2)u=ex+y, where D=∂∂x and D′=∂∂y.

2015 · Paper II · Q5b · 10 marks

Solution

C.F. D2+DD′−2D′2=(D−D′)(D+2D′)D^2+DD'-2D'^2=(D-D')(D+2D'), and m2+m−2=0m^2+m-2=0 gives m=1,−2m=1,-2: C.F.=f1(y+x)+f2(y−2x).\text{C.F.}=f_1(y+x)+f_2(y-2x).

P.I. On ex+ye^{x+y}, D−D′→0D-D'\to0 (failing case) while D+2D′→3D+2D'\to3. So P.I.=13⋅1D−D′ex+y=x3ex+y.\text{P.I.}=\frac13\cdot\frac{1}{D-D'}e^{x+y}=\frac x3\,e^{x+y}.

General solution: u=f1(y+x)+f2(y−2x)+x3ex+y.u=f_1(y+x)+f_2(y-2x)+\frac x3\,e^{x+y}.

✓ Checked by computer We checked by computer: u=x3ex+yu=\tfrac x3e^{x+y} satisfies the equation.

↑ Back to the question list

Reduce the second-order partial differential equation x2∂2u∂x2−2xy∂2u∂x∂y+y2∂2u∂y2+x∂u∂x+y∂u∂y=0 into canonical form. Hence, find its general solution.

2015 · Paper II · Q8a · 15 marks

Solution

Type. A=x2A=x^2, B=−2xyB=-2xy, C=y2C=y^2: B2−4AC=0B^2-4AC=0 — parabolic.

Characteristic. x2dy2+2xydxdy+y2dx2=(xdy+ydx)2=0x^2dy^2+2xy\,dx\,dy+y^2dx^2=(x\,dy+y\,dx)^2=0, so xy=constxy=\text{const}.

New variables. ξ=xy\xi=xy, η=y\eta=y. Then ux=yuξ,uy=xuξ+uη.u_x=y\,u_\xi,\qquad u_y=x\,u_\xi+u_\eta . Computing the second derivatives and substituting, all uξξu_{\xi\xi}, uξηu_{\xi\eta} and uξu_\xi terms cancel, leaving y2uηη+yuη=0.y^2u_{\eta\eta}+y\,u_\eta=0 .

Canonical form: ∂2u∂η2+1η∂u∂η=0.\frac{\partial^2u}{\partial\eta^2}+\frac1\eta\frac{\partial u}{\partial\eta}=0 .

General solution. This is ∂∂η(ηuη)=0\dfrac{\partial}{\partial\eta}\big(\eta u_\eta\big)=0, so ηuη=F(ξ)\eta u_\eta=F(\xi) and u=F(ξ)lnη+G(ξ)u=F(\xi)\ln\eta+G(\xi): u=F(xy)lny+G(xy).u=F(xy)\ln y+G(xy).

✓ Checked by computer We checked by computer: with ξ=xy,η=y\xi=xy,\ \eta=y the equation becomes η2uηη+ηuη=0\eta^2u_{\eta\eta}+\eta u_\eta=0, and u=F(xy)lny+G(xy)u=F(xy)\ln y+G(xy) satisfies the original equation.

↑ Back to the question list

Solve the partial differential equation (2D2−5DD′+2D′2)z=24(y−x).

2014 · Paper II · Q5a · 10 marks

Solution

C.F. 2m2−5m+2=(2m−1)(m−2)=02m^2-5m+2=(2m-1)(m-2)=0 gives m=2,12m=2,\tfrac12: C.F.=f1(y+2x)+f2(2y+x).\text{C.F.}=f_1(y+2x)+f_2(2y+x).

P.I. The right side is 24u24u with u=y−xu=y-x (so a=−1a=-1, b=1b=1), and F(a,b)=2+5+2=9F(a,b)=2+5+2=9. Hence P.I.=249∬ududu=249⋅u36=49(y−x)3.\begin{aligned}\text{P.I.}&=\frac{24}{9}\iint u\,du\,du\\ &=\frac{24}{9}\cdot\frac{u^3}{6}\\ &=\frac49(y-x)^3.\end{aligned}

General solution: z=f1(y+2x)+f2(2y+x)+49(y−x)3.\begin{aligned}&z=f_1(y+2x)+f_2(2y+x)\\ &\quad+\frac49(y-x)^3.\end{aligned}

✓ Checked by computer We checked by computer: the solution satisfies (2D2−5DD′+2D′2)z=24(y−x)(2D^2-5DD'+2D'^2)z=24(y-x) identically.

↑ Back to the question list

Reduce the equation ∂2z∂x2=x2∂2z∂y2 to canonical form.

2014 · Paper II · Q6a · 15 marks

Solution

Write the equation as zxx−x2zyy=0z_{xx}-x^2z_{yy}=0. Here A=1A=1, B=0B=0, C=−x2C=-x^2, so B2−4AC=4x2>0B^2-4AC=4x^2>0 for x≠0x\ne0 — hyperbolic.

Characteristics. dy2−x2dx2=0dy^2-x^2dx^2=0 gives dy=±xdxdy=\pm x\,dx, i.e. y∓x22=consty\mp\dfrac{x^2}{2}=\text{const}.

New variables. ξ=y+x22\xi=y+\tfrac{x^2}{2}, η=y−x22\eta=y-\tfrac{x^2}{2}. Then zx=x(zξ−zη)zxx=x2(zξξ−2zξη+zηη)+(zξ−zη),\begin{aligned}&z_x=x(z_\xi-z_\eta)\\ &z_{xx}=x^2(z_{\xi\xi}-2z_{\xi\eta}+z_{\eta\eta})\\ &\quad +(z_\xi-z_\eta),\end{aligned} zyy=zξξ+2zξη+zηη.z_{yy}=z_{\xi\xi}+2z_{\xi\eta}+z_{\eta\eta}. So zxx−x2zyy=−4x2zξη+zξ−zη=0.z_{xx}-x^2z_{yy}=-4x^2z_{\xi\eta}+z_\xi-z_\eta=0 . Since x2=ξ−ηx^2=\xi-\eta, the canonical form is ∂2z∂ξ∂η=14(ξ−η)(∂z∂ξ−∂z∂η).\frac{\partial^2z}{\partial\xi\,\partial\eta}=\frac{1}{4(\xi-\eta)}\left(\frac{\partial z}{\partial\xi}-\frac{\partial z}{\partial\eta}\right).

✓ Checked by computer We checked by computer: with ξ=y+x22,η=y−x22\xi=y+\tfrac{x^2}{2},\ \eta=y-\tfrac{x^2}{2} the equation becomes 4(η−ξ)zξη+zξ−zη=04(\eta-\xi)z_{\xi\eta}+z_\xi-z_\eta=0.

↑ Back to the question list

Reduce the equation y∂2z∂x2+(x+y)∂2z∂x∂y+x∂2z∂y2=0 to its canonical form when x≠y.

2013 · Paper II · Q5b · 10 marks

Solution

Type. A=yA=y, B=x+yB=x+y, C=xC=x: B2−4AC=(x−y)2>0B^2-4AC=(x-y)^2>0 when x≠yx\ne y, so the equation is hyperbolic there.

Characteristics. yλ2−(x+y)λ+x=0y\lambda^2-(x+y)\lambda+x=0 (with λ=dy/dx\lambda=dy/dx) factors as (λ−1)(yλ−x)=0(\lambda-1)(y\lambda-x)=0:

  • λ=1\lambda=1: y−x=c1y-x=c_1;
  • λ=x/y\lambda=x/y: y2−x2=c2y^2-x^2=c_2.

Transform. Take ξ=y−x\xi=y-x, η=y2−x2\eta=y^2-x^2. Then zx=−zξ−2xzηz_x=-z_\xi-2xz_\eta and zy=zξ+2yzηz_y=z_\xi+2yz_\eta. Substituting the second derivatives, the coefficients of zξξz_{\xi\xi} and zηηz_{\eta\eta} vanish (because ξ,η\xi,\eta are characteristic), and we are left with −2(x−y)2zξη+2(x−y)zη=0.-2(x-y)^2z_{\xi\eta}+2(x-y)z_\eta=0 .

Canonical form (using x−y=−ξx-y=-\xi): ∂2z∂ξ∂η+1ξ∂z∂η=0.\frac{\partial^2z}{\partial\xi\,\partial\eta}+\frac1\xi\,\frac{\partial z}{\partial\eta}=0 . (Its general solution is z=F(y2−x2)y−x+G(y−x)z=\dfrac{F(y^2-x^2)}{y-x}+G(y-x).)

✓ Checked by computer We checked by computer: the transformation ξ=y−x,η=y2−x2\xi=y-x,\ \eta=y^2-x^2 gives zξη+1ξzη=0z_{\xi\eta}+\tfrac1\xi z_\eta=0.

↑ Back to the question list

Solve (D2+DD′−6D′2)z=x2sin(x+y) where D and D′ denote ∂∂x and ∂∂y.

2013 · Paper II · Q6a · 15 marks

Solution

This is the same equation as 2022 (Q7a).

C.F. m2+m−6=(m−2)(m+3)=0m^2+m-6=(m-2)(m+3)=0: C.F.=f1(y+2x)+f2(y−3x).\text{C.F.}=f_1(y+2x)+f_2(y-3x).

P.I. Write the right side as Im[x2ei(x+y)]\operatorname{Im}\big[x^2e^{i(x+y)}\big]. Moving ei(x+y)e^{i(x+y)} through the operator replaces D→D+iD\to D+i, D′→D′+iD'\to D'+i; since D′x2=0D'x^2=0, the operator becomes D2+3iD+4D^2+3iD+4. Then 14(1+3iD+D24)−1x2=14(x2−3i2x−138).\frac{1}{4}\Big(1+\frac{3iD+D^2}{4}\Big)^{-1}x^2=\frac14\Big(x^2-\frac{3i}{2}x-\frac{13}{8}\Big). Taking the imaginary part after multiplying by ei(x+y)e^{i(x+y)}: P.I.=x24sin(x+y)−3x8cos(x+y)−1332sin(x+y).\begin{aligned}&\text{P.I.}=\frac{x^2}{4}\sin(x+y)\\ &\quad-\frac{3x}{8}\cos(x+y)-\frac{13}{32}\sin(x+y).\end{aligned}

General solution: z=f1(y+2x)+f2(y−3x)+x24sin(x+y)−3x8cos(x+y)−1332sin(x+y).\begin{aligned}&z=f_1(y+2x)+f_2(y-3x)\\ &\quad +\frac{x^2}{4}\sin(x+y)\\ &\quad -\frac{3x}{8}\cos(x+y)\\ &\quad -\frac{13}{32}\sin(x+y).\end{aligned}

✓ Checked by computer We checked by computer: the P.I. satisfies (D2+DD′−6D′2)z=x2sin(x+y)(D^2+DD'-6D'^2)z=x^2\sin(x+y) exactly.

↑ Back to the question list

Solve the partial differential equation (D−2D′)(D−D′)2z=ex+y.

2012 · Paper II · Q5a · 12 marks

Solution

C.F. The roots are m=2m=2 and m=1m=1 (double): C.F.=f1(y+2x)+f2(y+x)+xf3(y+x).\begin{aligned}&\text{C.F.}=f_1(y+2x)\\ &\quad+f_2(y+x)+x\,f_3(y+x).\end{aligned}

P.I. On ex+ye^{x+y}: D−2D′→1−2=−1D-2D'\to1-2=-1, while (D−D′)2(D-D')^2 vanishes (repeated factor). For a factor (D−D′)2(D-D')^2 acting on a function of y+xy+x, 1(D−D′)2ex+y=x22ex+y\dfrac{1}{(D-D')^2}e^{x+y}=\dfrac{x^2}{2}e^{x+y}. So P.I.=−x22ex+y.\text{P.I.}=-\frac{x^2}{2}e^{x+y}.

General solution: z=f1(y+2x)+f2(y+x)+xf3(y+x)−x22ex+y.\begin{aligned}&z=f_1(y+2x)\\ &\quad +f_2(y+x)+x\,f_3(y+x)\\ &\quad -\frac{x^2}{2}e^{x+y}.\end{aligned}

✓ Checked by computer We checked by computer: z=−x22ex+yz=-\tfrac{x^2}{2}e^{x+y} satisfies (D−2D′)(D−D′)2z=ex+y(D-2D')(D-D')^2z=e^{x+y}.

↑ Back to the question list

Solve the PDE (D2−D′2+D+3D′−2)z=e(x−y)−x2y

2011 · Paper II · Q5a · 12 marks

Solution

Factorise. D2−D′2+D+3D′−2=(D−D′+2)(D+D′−1).\begin{aligned}&D^2-D'^2+D+3D'\\ &\quad -2\\ &\quad =(D-D'+2)(D+D'-1).\end{aligned} (Check: expanding gives D2−D′2+D+3D′−2D^2-D'^2+D+3D'-2.) So C.F.=e−2xf1(y+x)+exf2(y−x).\text{C.F.}=e^{-2x}f_1(y+x)+e^{x}f_2(y-x).

P.I. for ex−ye^{x-y}. F(1,−1)=1−1+1−3−2=−4F(1,-1)=1-1+1-3-2=-4, so P.I.1=−14ex−y\text{P.I.}_1=-\tfrac14e^{x-y}.

P.I. for −x2y-x^2y. Try a polynomial z=ax2y+bx2+cxy+dx+ey+fz=ax^2y+bx^2+cxy+dx+ey+f. Applying the operator and matching coefficients with −x2y-x^2y:

  • x2yx^2y: −2a=−1-2a=-1, so a=12a=\tfrac12;
  • x2x^2: 3a−2b=03a-2b=0, so b=34b=\tfrac34;
  • xyxy: 2a−2c=02a-2c=0, so c=12c=\tfrac12;
  • yy: 2a+c−2e=02a+c-2e=0, so e=34e=\tfrac34;
  • xx: 2b+3c−2d=02b+3c-2d=0, so d=32d=\tfrac32;
  • constant: 2b+d+3e−2f=02b+d+3e-2f=0, so f=218f=\tfrac{21}{8}.

So P.I.2=x2y2+3x24+xy2+3x2+3y4+218.\text{P.I.}_2=\frac{x^2y}{2}+\frac{3x^2}{4}+\frac{xy}{2}+\frac{3x}{2}+\frac{3y}{4}+\frac{21}{8}.

General solution: z=e−2xf1(y+x)+exf2(y−x)−14ex−y+x2y2+3x24+xy2+3x2+3y4+218.\begin{aligned}&z=e^{-2x}f_1(y+x)+e^{x}f_2(y-x)\\ &\quad -\frac14e^{x-y}+\frac{x^2y}{2}\\ &\quad +\frac{3x^2}{4}+\frac{xy}{2}\\ &\quad +\frac{3x}{2}+\frac{3y}{4}+\frac{21}{8}.\end{aligned}

✓ Checked by computer We checked by computer: both particular integrals satisfy their parts of the equation exactly.

↑ Back to the question list

Find the surface satisfying ∂2z∂x2=6x+2 and touching z=x3+y3 along its section by the plane x+y+1=0.

2011 · Paper II · Q6a · 20 marks

Solution

General solution. Integrating zxx=6x+2z_{xx}=6x+2 twice with respect to xx: z=x3+x2+xf(y)+g(y).z=x^3+x^2+x\,f(y)+g(y).

Touching condition. The two surfaces touch along the curve if they share zz, pp and qq on it. Use x=−1−yx=-1-y on the plane x+y+1=0x+y+1=0.

  • Equal pp: 3x2+2x+f(y)=3x23x^2+2x+f(y)=3x^2, so f(y)=−2x=2(1+y)f(y)=-2x=2(1+y).
  • Equal zz: x3+x2+xf(y)+g(y)=x3+y3x^3+x^2+xf(y)+g(y)=x^3+y^3. With x=−(1+y)x=-(1+y) and f=2(1+y)f=2(1+y): (1+y)2−2(1+y)2+g(y)=y3(1+y)^2-2(1+y)^2+g(y)=y^3, so g(y)=y3+(1+y)2g(y)=y^3+(1+y)^2.
  • Equal qq (consistency): xf′(y)+g′(y)=−2(1+y)+3y2+2(1+y)=3y2xf'(y)+g'(y)=-2(1+y)+3y^2+2(1+y)=3y^2, which matches q=3y2q=3y^2 for x3+y3x^3+y^3.

Required surface: z=x3+x2+2x(1+y)+y3+(1+y)2=x3+y3+(x+y+1)2.\begin{aligned}z&=x^3+x^2+2x(1+y)\\ &\quad +y^3+(1+y)^2\\ &=x^3+y^3+(x+y+1)^2.\end{aligned}

✓ Checked by computer We checked by computer: z=x3+y3+(x+y+1)2z=x^3+y^3+(x+y+1)^2 satisfies zxx=6x+2z_{xx}=6x+2, and z,zx,zyz,\ z_x,\ z_y agree with those of x3+y3x^3+y^3 on x+y+1=0x+y+1=0.

↑ Back to the question list

Solve the PDE (D2−D′)(D−2D′)Z=e2x+y+xy.

2010 · Paper II · Q5a · 12 marks

Solution

C.F.

  • D−2D′D-2D' gives f(y+2x)f(y+2x).
  • D2−D′D^2-D' is not homogeneous: trying ehx+kye^{hx+ky} gives h2−k=0h^2-k=0, so it contributes ∑Aehx+h2y\sum A\,e^{hx+h^2y} (h,Ah,A arbitrary).

C.F.=f(y+2x)+∑Aehx+h2y.\text{C.F.}=f(y+2x)+\sum A\,e^{hx+h^2y}.

P.I. for e2x+ye^{2x+y}. D−2D′→2−2=0D-2D'\to2-2=0 (failing case) and D2−D′→4−1=3D^2-D'\to4-1=3. So P.I.1=13⋅1D−2D′e2x+y=x3e2x+y.\text{P.I.}_1=\frac13\cdot\frac{1}{D-2D'}e^{2x+y}=\frac x3\,e^{2x+y}.

P.I. for xyxy. Try a quartic polynomial and match coefficients. This gives P.I.2=−x46−x3y3−x2y24.\text{P.I.}_2=-\frac{x^4}{6}-\frac{x^3y}{3}-\frac{x^2y^2}{4}. (Check: with P=P.I.2P=\text{P.I.}_2, (D−2D′)P=−xy22(D-2D')P=-\tfrac{xy^2}{2}, and then (D2−D′)(−xy22)=0+xy=xy(D^2-D')\big(-\tfrac{xy^2}{2}\big)=0+xy=xy.)

General solution: Z=f(y+2x)+∑Aehx+h2y+x3e2x+y−x46−x3y3−x2y24.\begin{aligned}&Z=f(y+2x)+\sum A\,e^{hx+h^2y}\\ &\quad +\frac x3e^{2x+y}\\ &\quad -\frac{x^4}{6}\\ &\quad -\frac{x^3y}{3}-\frac{x^2y^2}{4}.\end{aligned}

✓ Checked by computer We checked by computer: both particular integrals satisfy (D2−D′)(D−2D′)Z=e2x+y+xy(D^2-D')(D-2D')Z=e^{2x+y}+xy.

↑ Back to the question list

Find the surface satisfying the PDE (D2−2DD′+D′2)Z=0 and the conditions that bZ=y2 when x=0 and aZ=x2 when y=0.

2010 · Paper II · Q5b · 12 marks

Solution

General solution. (D−D′)2Z=0(D-D')^2Z=0 has the double root m=1m=1: Z=f(y+x)+xg(y+x).Z=f(y+x)+x\,g(y+x).

Condition at x=0x=0: Z=f(y)=y2bZ=f(y)=\dfrac{y^2}{b}, so f(u)=u2bf(u)=\dfrac{u^2}{b}.

Condition at y=0y=0: Z=f(x)+xg(x)=x2aZ=f(x)+x\,g(x)=\dfrac{x^2}{a}. So xg(x)=x2(1a−1b)x\,g(x)=x^2\Big(\dfrac1a-\dfrac1b\Big), i.e. g(u)=u(1a−1b)g(u)=u\Big(\dfrac1a-\dfrac1b\Big).

Surface. Z=(x+y)2b+x(x+y)(1a−1b)=(x+y)yb+x(x+y)a,\begin{aligned}Z&=\frac{(x+y)^2}{b}+x(x+y)\Big(\frac1a-\frac1b\Big)\\ &=\frac{(x+y)\,y}{b}+\frac{x(x+y)}{a},\end{aligned} that is, Z=(x+y)(xa+yb).Z=(x+y)\left(\frac xa+\frac yb\right).

✓ Checked by computer We checked by computer: Z=(x+y)(xa+yb)Z=(x+y)\big(\tfrac xa+\tfrac yb\big) satisfies the PDE and both conditions.

↑ Back to the question list

Reduce the following 2nd order partial differential equation into canonical form and find its general solution xuxx+2x2uxy−ux=0.

2010 · Paper II · Q6b · 20 marks

Solution

Type. A=xA=x, B=2x2B=2x^2, C=0C=0: B2−4AC=4x4>0B^2-4AC=4x^4>0 for x≠0x\ne0 — hyperbolic.

Characteristics. Ady2−Bdxdy+Cdx2=xdy2−2x2dxdy=xdy(dy−2xdx)=0A\,dy^2-B\,dx\,dy+C\,dx^2=x\,dy^2-2x^2dx\,dy=x\,dy\,(dy-2x\,dx)=0. So y=const,y−x2=const.y=\text{const},\qquad y-x^2=\text{const}.

New variables. ξ=y\xi=y, η=y−x2\eta=y-x^2. Then ux=−2xuηuxx=4x2uηη−2uηuxy=−2x(uξη+uηη).\begin{aligned}&u_x=-2x\,u_\eta\\ &u_{xx}=4x^2u_{\eta\eta}-2u_\eta\\ &u_{xy}=-2x\,(u_{\xi\eta}+u_{\eta\eta}).\end{aligned} Substituting: x(4x2uηη−2uη)−4x3(uξη+uηη)+2xuη=−4x3uξη=0.\begin{aligned}x(4x^2u_{\eta\eta}-2u_\eta)\\ &\quad -4x^3(u_{\xi\eta}+u_{\eta\eta})\\ +2x\,u_\eta&=-4x^3u_{\xi\eta}\\ &=0.\end{aligned}

Canonical form: ∂2u∂ξ∂η=0.\frac{\partial^2u}{\partial\xi\,\partial\eta}=0 .

General solution: u=F(ξ)+G(η)=F(y)+G(y−x2).\begin{aligned}u&=F(\xi)+G(\eta)\\ &=F(y)+G(y-x^2).\end{aligned}

✓ Checked by computer We checked by computer: with ξ=y,η=y−x2\xi=y,\ \eta=y-x^2 the equation becomes uξη=0u_{\xi\eta}=0, and u=F(y)+G(y−x2)u=F(y)+G(y-x^2) satisfies the original equation.

↑ Back to the question list

Find the characteristics of : y2r−x2t=0 where r and t have their usual meanings.

2009 · Paper II · Q6a · 15 marks

Solution

Here r=zxxr=z_{xx}, t=zyyt=z_{yy}, so A=y2A=y^2, B=0B=0, C=−x2C=-x^2. Then B2−4AC=4x2y2>0B^2-4AC=4x^2y^2>0 away from the axes, so the equation is hyperbolic and has two families of real characteristics.

Characteristic equation. Ady2−Bdxdy+Cdx2=0⇒y2dy2−x2dx2=0⇒ydy=±xdx.\begin{aligned}&A\,dy^2-B\,dx\,dy+C\,dx^2=0\\ &\Longrightarrow\ y^2dy^2-x^2dx^2\\ &\quad =0\ \Longrightarrow\ y\,dy=\pm x\,dx.\end{aligned}

Characteristics.

  • ydy=xdxy\,dy=x\,dx: y2−x2=c1\ y^2-x^2=c_1 — a family of rectangular hyperbolas;
  • ydy=−xdxy\,dy=-x\,dx: x2+y2=c2\ x^2+y^2=c_2 — a family of circles centred at the origin.

(With ξ=y2−x2\xi=y^2-x^2, η=y2+x2\eta=y^2+x^2 the equation takes the canonical form zξη=ηzξ−ξzη2(ξ2−η2)z_{\xi\eta}=\dfrac{\eta z_\xi-\xi z_\eta}{2(\xi^2-\eta^2)}.)

✓ Checked by computer We checked by computer: y2−x2y^2-x^2 and y2+x2y^2+x^2 satisfy the characteristic equation, and the transformation gives the canonical form below.

↑ Back to the question list

Solve : (D2−DD′−2D′2)z=(2x2+xy−y2)sinxy−cosxy where D and D′ represent ∂∂x and ∂∂y.

2009 · Paper II · Q6b · 15 marks

Solution

C.F. D2−DD′−2D′2=(D−2D′)(D+D′)D^2-DD'-2D'^2=(D-2D')(D+D'), with roots m=2,−1m=2,-1: C.F.=f1(y+2x)+f2(y−x).\text{C.F.}=f_1(y+2x)+f_2(y-x).

P.I. The right side suggests trying z=sinxyz=\sin xy: zxx=−y2sinxyzxy=cosxy−xysinxyzyy=−x2sinxy.\begin{aligned}&z_{xx}=-y^2\sin xy\\ &z_{xy}=\cos xy-xy\sin xy\\ &z_{yy}=-x^2\sin xy.\end{aligned} Then zxx−zxy−2zyy=−y2sinxy−cosxy+xysinxy+2x2sinxy=(2x2+xy−y2)sinxy−cosxy.\begin{aligned}z_{xx}-z_{xy}\\ -2z_{yy}&=-y^2\sin xy\\ &\quad -\cos xy\\ &\quad +xy\sin xy+2x^2\sin xy\\ &=(2x^2+xy-y^2)\sin xy\\ &\quad -\cos xy.\end{aligned} So P.I.=sinxy\text{P.I.}=\sin xy.

General solution: z=f1(y+2x)+f2(y−x)+sinxy.z=f_1(y+2x)+f_2(y-x)+\sin xy .

✓ Checked by computer We checked by computer: applying D2−DD′−2D′2D^2-DD'-2D'^2 to sinxy\sin xy gives exactly (2x2+xy−y2)sinxy−cosxy(2x^2+xy-y^2)\sin xy-\cos xy.

↑ Back to the question list

Find general solution of the particle differential equation : (D2+DD′−6D′2)z=ycosx, where D=∂∂x, D′=∂∂y.

2008 · Paper II · Q5b · 12 marks

Solution

C.F. m2+m−6=0m^2+m-6=0 gives m=2,−3m=2,-3: C.F.=f1(y+2x)+f2(y−3x).\text{C.F.}=f_1(y+2x)+f_2(y-3x).

P.I. Expand in powers of D′/DD'/D (only one power of D′D' survives on ycosxy\cos x): 1D2(1+D′D−6D′2D2)ycosx=1D2(1−D′D)ycosx=1D2(ycosx−1Dcosx).\begin{aligned}&\frac{1}{D^2\big(1+\frac{D'}{D}-\frac{6D'^2}{D^2}\big)}y\cos x\\ &\quad=\frac1{D^2}\Big(1-\frac{D'}{D}\Big)y\cos x\\ &\quad=\frac1{D^2}\Big(y\cos x-\frac1D\cos x\Big).\end{aligned} Since 1Dcosx=sinx\dfrac1D\cos x=\sin x, this is 1D2(ycosx−sinx)=−ycosx+sinx\dfrac1{D^2}(y\cos x-\sin x)=-y\cos x+\sin x.

General solution: z=f1(y+2x)+f2(y−3x)+sinx−ycosx.\begin{aligned}&z=f_1(y+2x)+f_2(y-3x)\\ &\quad+\sin x-y\cos x.\end{aligned}

✓ Checked by computer We checked by computer: z=sinx−ycosxz=\sin x-y\cos x satisfies (D2+DD′−6D′2)z=ycosx(D^2+DD'-6D'^2)z=y\cos x.

↑ Back to the question list

Reduce ∂2z∂x2=x2∂2z∂y2 to canonical form.

2008 · Paper II · Q6c · 15 marks

Solution

This is the same equation as 2014 (Q6a): zxx−x2zyy=0z_{xx}-x^2z_{yy}=0.

Type. A=1A=1, B=0B=0, C=−x2C=-x^2, so B2−4AC=4x2>0B^2-4AC=4x^2>0 for x≠0x\ne0 — hyperbolic.

Characteristics. dy2=x2dx2dy^2=x^2dx^2 gives y∓x22=consty\mp\tfrac{x^2}{2}=\text{const}.

Transform. With ξ=y+x22\xi=y+\tfrac{x^2}{2} and η=y−x22\eta=y-\tfrac{x^2}{2}: zxx=x2(zξξ−2zξη+zηη)+(zξ−zη)zyy=zξξ+2zξη+zηη.\begin{aligned}&z_{xx}=x^2(z_{\xi\xi}-2z_{\xi\eta}+z_{\eta\eta})\\ &\quad +(z_\xi-z_\eta)\\ &z_{yy}=z_{\xi\xi}+2z_{\xi\eta}+z_{\eta\eta}.\end{aligned} Hence zxx−x2zyy=−4x2zξη+(zξ−zη)z_{xx}-x^2z_{yy}=-4x^2z_{\xi\eta}+(z_\xi-z_\eta). With x2=ξ−ηx^2=\xi-\eta, the canonical form is ∂2z∂ξ∂η=14(ξ−η)(∂z∂ξ−∂z∂η).\frac{\partial^2z}{\partial\xi\,\partial\eta}=\frac{1}{4(\xi-\eta)}\left(\frac{\partial z}{\partial\xi}-\frac{\partial z}{\partial\eta}\right).

✓ Checked by computer We checked by computer: with ξ=y+x22,η=y−x22\xi=y+\tfrac{x^2}{2},\ \eta=y-\tfrac{x^2}{2} the equation becomes 4(η−ξ)zξη+zξ−zη=04(\eta-\xi)z_{\xi\eta}+z_\xi-z_\eta=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