Menu Close

Wave, heat and Laplace equations: UPSC Maths Optional PYQ Solutions (2008–2026)

All 22 questions UPSC has asked on wave, heat and laplace 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 · 8a 2025 · 6a 2024 · 6a 2023 · 7c 2022 · 6a 2021 · 6a 2020 · 8a 2018 · 8c 2017 · 5d 2017 · 8a 2016 · 8a 2015 · 7a 2014 · 7a 2014 · 8a 2013 · 6c 2012 · 6b 2012 · 7b 2011 · 6b 2011 · 6c 2010 · 6c 2009 · 6c 2008 · 6a

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

Two-dimensional harmonic equation in plane polar coordinates (r,θ) takes the form : ∂2V∂r2+1r∂V∂r+1r2∂2V∂θ2=0 Deduce that it has solutions of the form (Arn+Br−n)e±inθ, where A, B, n are constants. Determine V if it satisfies the two-dimensional harmonic equation in the region 0≤r≤a, 0≤θ≤2π and satisfies the conditions : (i) V remains finite as r→0, (ii) V=∑ncncos(nθ) on r=a.

2026 · Paper II · Q8a · 15 marks

Solution

Separation of variables. Put V=R(r)Θ(θ)V=R(r)\Theta(\theta). Then R″Θ+1rR′Θ+1r2RΘ″=0⇒r2R″+rR′R=−Θ″Θ=n2.\begin{aligned}&R''\Theta+\frac1rR'\Theta+\frac{1}{r^2}R\Theta''=0\\ &\Longrightarrow\ \frac{r^2R''+rR'}{R}=-\frac{\Theta''}{\Theta}=n^2.\end{aligned}

  • Θ″+n2Θ=0\Theta''+n^2\Theta=0 gives Θ=e±inθ\Theta=e^{\pm in\theta}.
  • r2R″+rR′−n2R=0r^2R''+rR'-n^2R=0 is an Euler equation. Trying R=rmR=r^m gives m2=n2m^2=n^2, so R=Arn+Br−nR=Ar^n+Br^{-n}.

Hence V=(Arn+Br−n)e±inθV=(Ar^n+Br^{-n})\,e^{\pm in\theta} are solutions. (For n=0n=0 the radial part is A+BlnrA+B\ln r.)

The boundary value problem.

  • (i) Finite at r=0r=0: r−nr^{-n} (and lnr\ln r) blow up at the origin, so B=0B=0.
  • Single-valued in θ\theta: nn must be an integer.

The real combinations give V=∑nrn(ancosnθ+bnsinnθ).V=\sum_n r^n\big(a_n\cos n\theta+b_n\sin n\theta\big).

  • (ii) On r=ar=a: V=∑cncosnθV=\sum c_n\cos n\theta. Comparing coefficients, bn=0b_n=0 and anan=cna_na^n=c_n.

So V(r,θ)=∑ncn(ra)ncosnθ0≤r≤a.\begin{aligned}&V(r,\theta)=\sum_n c_n\left(\frac ra\right)^{n}\cos n\theta\\ &0\le r\le a.\end{aligned} (A constant term c0c_0, if present, stays as c0c_0.)

✓ Checked by computer We checked by computer: (Arn+Br−n)e±inθ(Ar^n+Br^{-n})e^{\pm in\theta} satisfies the polar Laplace equation, and the series below matches the boundary values.

↑ Back to the question list

Solve ∂2u∂x2+∂2u∂y2=0 for a rectangular plate subject to the boundary conditions u(0,y)=0,u(a,y)=0u(x,0)=0,u(x,b)=f(x)

2025 · Paper II · Q6a · 20 marks

Solution

Separation. Put u=X(x)Y(y)u=X(x)Y(y): X″X=−Y″Y=−λ2\ \dfrac{X''}{X}=-\dfrac{Y''}{Y}=-\lambda^2.

  • X″+λ2X=0X''+\lambda^2X=0 with X(0)=X(a)=0X(0)=X(a)=0 gives X=sinnπxaX=\sin\dfrac{n\pi x}{a}, λ=nπa\lambda=\dfrac{n\pi}{a}, n=1,2,…n=1,2,\dots
  • Y″−λ2Y=0Y''-\lambda^2Y=0 with Y(0)=0Y(0)=0 gives Y=sinhnπyaY=\sinh\dfrac{n\pi y}{a}.

Series solution. u(x,y)=∑n=1∞Bnsinnπxasinhnπya.u(x,y)=\sum_{n=1}^\infty B_n\sin\frac{n\pi x}{a}\,\sinh\frac{n\pi y}{a}.

The last condition u(x,b)=f(x)u(x,b)=f(x). f(x)=∑n=1∞(Bnsinhnπba)sinnπxa,f(x)=\sum_{n=1}^\infty\Big(B_n\sinh\frac{n\pi b}{a}\Big)\sin\frac{n\pi x}{a}, a Fourier sine series on (0,a)(0,a). Hence Bn=2asinh(nπb/a)×∫0af(x)sinnπxadx.\begin{aligned}B_n={}&\frac{2}{a\,\sinh(n\pi b/a)}\\&\times\int_0^af(x)\sin\frac{n\pi x}{a}\,dx .\end{aligned}

✓ Checked by computer We checked by computer: each term sinnπxasinhnπya\sin\frac{n\pi x}{a}\sinh\frac{n\pi y}{a} is harmonic and vanishes on x=0x=0, x=ax=a, y=0y=0.

↑ Back to the question list

Show that the solution of the two-dimensional Laplace’s equation ∂2ϕ(x,y)∂x2+∂2ϕ(x,y)∂y2=0,x∈(−∞,∞),y≥0 subject to the boundary condition ϕ(x,0)=f(x), x∈(−∞,∞), along with ϕ(x,y)→0 for |x|→∞ and y→∞ can be written in the form ϕ(x,y)=yπ∫−∞∞f(ξ)dξy2+(x−ξ)2.

2024 · Paper II · Q6a · 20 marks

Solution

Fourier transform in xx. Let Φ(k,y)=∫−∞∞ϕ(x,y)e−ikxdx\Phi(k,y)=\displaystyle\int_{-\infty}^\infty\phi(x,y)e^{-ikx}dx and F(k)=∫−∞∞f(x)e−ikxdxF(k)=\displaystyle\int_{-\infty}^{\infty}f(x)e^{-ikx}dx. Since ϕ→0\phi\to0 as |x|→∞|x|\to\infty, ϕxx̂=−k2Φ\widehat{\phi_{xx}}=-k^2\Phi. The equation becomes ∂2Φ∂y2−k2Φ=0⇒Φ=A(k)e−|k|y+B(k)e|k|y.\begin{aligned}&\frac{\partial^2\Phi}{\partial y^2}-k^2\Phi=0\\ &\Longrightarrow\ \Phi=A(k)e^{-|k|y}+B(k)e^{|k|y}.\end{aligned}

Conditions. ϕ→0\phi\to0 as y→∞y\to\infty forces B=0B=0, and y=0y=0 gives A=F(k)A=F(k). So Φ(k,y)=F(k)e−|k|y.\Phi(k,y)=F(k)\,e^{-|k|y}.

Invert. The function whose transform is e−|k|ye^{-|k|y} is 12π∫−∞∞e−|k|yeikxdk=1π∫0∞e−kycoskxdk=1πyx2+y2.\begin{aligned}\frac1{2\pi}\int_{-\infty}^\infty e^{-|k|y}e^{ikx}dk&=\frac1\pi\int_0^\infty e^{-ky}\cos kx\,dk\\ &=\frac{1}{\pi}\,\frac{y}{x^2+y^2}.\end{aligned} By the convolution theorem, a product of transforms corresponds to the convolution of the functions: ϕ(x,y)=∫−∞∞f(ξ)1πy(x−ξ)2+y2dξ=yπ∫−∞∞f(ξ)dξy2+(x−ξ)2◼\begin{aligned}&\phi(x,y)=\int_{-\infty}^\infty f(\xi)\,\frac{1}{\pi}\frac{y}{(x-\xi)^2+y^2}\,d\xi\\ &\quad =\frac y\pi\int_{-\infty}^\infty\frac{f(\xi)\,d\xi}{y^2+(x-\xi)^2}\\ &\blacksquare\end{aligned}

✓ Proof checked step by step Proof checked step by step (Fourier transform in xx, decay as y→∞y\to\infty, convolution theorem).

↑ Back to the question list

Solve the partial differential equation a2∂2u∂x2=∂2u∂t2,0<x<L,t>0 subject to the conditions u(0,t)=0,u(L,t)=0,t>0u(x,0)=x,(∂u∂t)t=0=1,0<x<L

2023 · Paper II · Q7c · 20 marks

Solution

Separated solutions. With u=X(x)T(t)u=X(x)T(t) and u(0,t)=u(L,t)=0u(0,t)=u(L,t)=0: u(x,t)=∑n=1∞(AncosnπatL+BnsinnπatL)sinnπxL.\begin{aligned}u(x,t)={}&\sum_{n=1}^\infty\Big(A_n\cos\frac{n\pi at}{L}\\&\quad+B_n\sin\frac{n\pi at}{L}\Big)\sin\frac{n\pi x}{L}.\end{aligned}

Initial displacement u(x,0)=xu(x,0)=x: An=2L∫0LxsinnπxLdx=2L(−1)n+1nπ.A_n=\frac2L\int_0^Lx\sin\frac{n\pi x}{L}\,dx=\frac{2L(-1)^{n+1}}{n\pi}.

Initial velocity ut(x,0)=1u_t(x,0)=1: BnnπaL=2L∫0LsinnπxLdx=2(1−(−1)n)nπ,\begin{aligned}B_n\frac{n\pi a}{L}&=\frac2L\int_0^L\sin\frac{n\pi x}{L}\,dx\\ &=\frac{2\big(1-(-1)^n\big)}{n\pi},\end{aligned} so Bn=2L(1−(−1)n)n2π2aB_n=\dfrac{2L\big(1-(-1)^n\big)}{n^2\pi^2a}, which is 4Ln2π2a\dfrac{4L}{n^2\pi^2a} for odd nn and 00 for even nn.

Solution: u(x,t)=∑n=1∞[2L(−1)n+1nπcosnπatL+2L(1−(−1)n)n2π2asinnπatL]×sinnπxL.\begin{aligned}u(x,t)={}&\sum_{n=1}^\infty\Big[\frac{2L(-1)^{n+1}}{n\pi}\cos\frac{n\pi at}{L}\\&+\frac{2L\big(1-(-1)^n\big)}{n^2\pi^2a}\sin\frac{n\pi at}{L}\Big]\\&\times\sin\frac{n\pi x}{L}.\end{aligned}

✓ Checked by computer We checked by computer: the Fourier coefficients 2L∫0LxsinnπxLdx\tfrac{2}{L}\int_0^Lx\sin\frac{n\pi x}{L}dx and 2L∫0LsinnπxLdx\tfrac{2}{L}\int_0^L\sin\frac{n\pi x}{L}dx were evaluated exactly.

↑ Back to the question list

Solve the heat equation ∂u∂t=∂2u∂x2, 0<x<l, t>0 subject to the conditions u(0,t)=u(l,t)=0u(x,0)=x(l−x),0≤x≤l

2022 · Paper II · Q6a · 20 marks

Solution

Separation. u=X(x)T(t)u=X(x)T(t) with X(0)=X(l)=0X(0)=X(l)=0 gives Xn=sinnπxl,Tn=e−n2π2t/l2.X_n=\sin\frac{n\pi x}{l},\qquad T_n=e^{-n^2\pi^2t/l^2}. So u(x,t)=∑n=1∞bnsinnπxle−n2π2t/l2.u(x,t)=\sum_{n=1}^\infty b_n\sin\frac{n\pi x}{l}\,e^{-n^2\pi^2t/l^2}.

Initial condition. bn=2l∫0lx(l−x)sinnπxldx=4l2(1−(−1)n)n3π3,\begin{aligned}b_n&=\frac2l\int_0^lx(l-x)\sin\frac{n\pi x}{l}\,dx\\ &=\frac{4l^2\big(1-(-1)^n\big)}{n^3\pi^3},\end{aligned} which is 8l2n3π3\dfrac{8l^2}{n^3\pi^3} for odd nn and 00 for even nn.

Solution: u(x,t)=8l2π3∑nodd1n3sinnπxle−n2π2t/l2.u(x,t)=\frac{8l^2}{\pi^3}\sum_{n\ \text{odd}}\frac{1}{n^3}\sin\frac{n\pi x}{l}\,e^{-n^2\pi^2t/l^2}.

✓ Checked by computer We checked by computer: 2l∫0lx(l−x)sinnπxldx=4l2(1−(−1)n)n3π3\tfrac2l\int_0^lx(l-x)\sin\frac{n\pi x}{l}dx=\dfrac{4l^2(1-(-1)^n)}{n^3\pi^3}.

↑ Back to the question list

Solve the wave equation a2∂2u∂x2=∂2u∂t2,0<x<L,t>0 subject to the conditions u(0,t)=0,u(L,t)=0u(x,0)=14x(L−x),∂u∂t|t=0=0

2021 · Paper II · Q6a · 20 marks

Solution

Separated solutions satisfying u(0,t)=u(L,t)=0u(0,t)=u(L,t)=0: u=∑n=1∞(AncosnπatL+BnsinnπatL)sinnπxL.\begin{aligned}u=\sum_{n=1}^\infty\Big(&A_n\cos\frac{n\pi at}{L}\\&+B_n\sin\frac{n\pi at}{L}\Big)\sin\frac{n\pi x}{L}.\end{aligned}

Zero initial velocity gives Bn=0B_n=0.

Initial shape. An=2L∫0L14x(L−x)sinnπxLdx=L2(1−(−1)n)n3π3,\begin{aligned}A_n&=\frac2L\int_0^L\tfrac14x(L-x)\sin\frac{n\pi x}{L}\,dx\\ &=\frac{L^2\big(1-(-1)^n\big)}{n^3\pi^3},\end{aligned} which is 2L2n3π3\dfrac{2L^2}{n^3\pi^3} for odd nn and 00 otherwise.

Solution: u(x,t)=2L2π3∑nodd1n3sinnπxLcosnπatL.u(x,t)=\frac{2L^2}{\pi^3}\sum_{n\ \text{odd}}\frac{1}{n^3}\sin\frac{n\pi x}{L}\cos\frac{n\pi at}{L}.

✓ Checked by computer We checked by computer: the sine coefficients of 14x(L−x)\tfrac14x(L-x) on (0,L)(0,L) are L2(1−(−1)n)n3π3\dfrac{L^2(1-(-1)^n)}{n^3\pi^3}.

↑ Back to the question list

One end of a tightly stretched flexible thin string of length l is fixed at the origin and the other at x=l. It is plucked at x=l3 so that it assumes initially the shape of a triangle of height h in the x–y plane. Find the displacement y at any distance x and at any time t after the string is released from rest. Take, horizontal tensionmass per unit length=c2.

2020 · Paper II · Q8a · 20 marks

Solution

Model. ytt=c2yxxy_{tt}=c^2y_{xx}, y(0,t)=y(l,t)=0y(0,t)=y(l,t)=0, yt(x,0)=0y_t(x,0)=0. The initial shape is the triangle with peak hh at x=l/3x=l/3: f(x)={3hlx,0≤x≤l3,3h2l(l−x),l3≤x≤l.f(x)=\begin{cases}\dfrac{3h}{l}x, & 0\le x\le\dfrac l3,\\[2mm] \dfrac{3h}{2l}(l-x), & \dfrac l3\le x\le l.\end{cases}

Series. Since the string starts from rest, y(x,t)=∑n=1∞bnsinnπxlcosnπctlbn=2l∫0lf(x)sinnπxldx.\begin{aligned}&y(x,t)=\sum_{n=1}^\infty b_n\sin\frac{n\pi x}{l}\cos\frac{n\pi ct}{l}\\ &b_n=\frac2l\int_0^lf(x)\sin\frac{n\pi x}{l}\,dx.\end{aligned}

Coefficients. Integrating over the two pieces, bn=9hn2π2sinnπ3.b_n=\frac{9h}{n^2\pi^2}\sin\frac{n\pi}{3}.

Displacement: y(x,t)=9hπ2∑n=1∞1n2sinnπ3×sinnπxlcosnπctl.\begin{aligned}y(x,t)={}&\frac{9h}{\pi^2}\sum_{n=1}^\infty\frac{1}{n^2}\sin\frac{n\pi}{3}\\&\times\sin\frac{n\pi x}{l}\cos\frac{n\pi ct}{l}.\end{aligned} (Terms with nn a multiple of 3 vanish.)

✓ Checked by computer We checked by computer: the sine coefficients of the triangular initial shape are 9hn2π2sinnπ3\dfrac{9h}{n^2\pi^2}\sin\frac{n\pi}{3}.

↑ Back to the question list

A thin annulus occupies the region 0<a≤r≤b, 0≤θ≤2π. The faces are insulated. Along the inner edge the temperature is maintained at 0∘, while along the outer edge the temperature is held at T=Kcosθ2, where K is a constant. Determine the temperature distribution in the annulus.

2018 · Paper II · Q8c · 20 marks

Solution

Equation. Steady temperature with insulated faces satisfies ∇2T=0\nabla^2T=0 in polar form: Trr+1rTr+1r2Tθθ=0.T_{rr}+\frac1rT_r+\frac1{r^2}T_{\theta\theta}=0 . Separated solutions periodic in θ\theta: T=A0+B0lnr+∑n≥1(Anrn+Bnr−n)×(αncosnθ+βnsinnθ).\begin{aligned}T={}&A_0+B_0\ln r\\&+\sum_{n\ge1}\big(A_nr^n+B_nr^{-n}\big)\\&\qquad\times\big(\alpha_n\cos n\theta+\beta_n\sin n\theta\big).\end{aligned}

Boundary data on r=br=b. The function Kcosθ2K\cos\frac\theta2 is not 2π2\pi-periodic, so we use its Fourier series on 0<θ<2π0<\theta<2\pi: a0=1π∫02πKcosθ2dθ=0an=1π∫02πKcosθ2cosnθdθ=0,\begin{aligned}&a_0=\frac1\pi\int_0^{2\pi}K\cos\frac\theta2\,d\theta=0\\ &a_n=\frac1\pi\int_0^{2\pi}K\cos\frac\theta2\cos n\theta\,d\theta=0,\end{aligned} bn=1π∫02πKcosθ2sinnθdθ=8Knπ(4n2−1).\begin{aligned}b_n&=\frac1\pi\int_0^{2\pi}K\cos\frac\theta2\sin n\theta\,d\theta\\ &=\frac{8Kn}{\pi(4n^2-1)}.\end{aligned} So on r=br=b, T=∑n≥18Knπ(4n2−1)sinnθT=\displaystyle\sum_{n\ge1}\frac{8Kn}{\pi(4n^2-1)}\sin n\theta.

Fit both edges. Each mode is (Anrn+Bnr−n)sinnθ\big(A_nr^n+B_nr^{-n}\big)\sin n\theta, with T=0T=0 at r=ar=a. So Anan+Bna−n=0A_na^n+B_na^{-n}=0, and the radial factor is proportional to rn−a2nr−nr^n-a^{2n}r^{-n}. Matching at r=br=b: T(r,θ)=8Kπ∑n=1∞n4n2−1×rn−a2nr−nbn−a2nb−nsinnθ.\begin{aligned}T(r,\theta)={}&\frac{8K}{\pi}\sum_{n=1}^\infty\frac{n}{4n^2-1}\\&\times\frac{r^n-a^{2n}r^{-n}}{b^n-a^{2n}b^{-n}}\,\sin n\theta .\end{aligned} (The constant and lnr\ln r terms vanish, since a0=0a_0=0 and T(a,θ)=0T(a,\theta)=0.)

✓ Checked by computer We checked by computer: on 0<θ<2π0<\theta<2\pi the Fourier series of Kcosθ2K\cos\frac\theta2 has a0=an=0a_0=a_n=0 and bn=8Knπ(4n2−1)b_n=\dfrac{8Kn}{\pi(4n^2-1)}, and the partial sums converge to Kcosθ2K\cos\frac\theta2.

↑ Back to the question list

Let Γ be a closed curve in xy-plane and let S denote the region bounded by the curve Γ. Let ∂2w∂x2+∂2w∂y2=f(x,y)∀(x,y)∈S. If f is prescribed at each point (x,y) of S and w is prescribed on the boundary Γ of S, then prove that any solution w=w(x,y), satisfying these conditions, is unique.

2017 · Paper II · Q5d · 10 marks

Solution

Suppose there are two solutions w1,w2w_1,w_2. Then v=w1−w2v=w_1-w_2 satisfies ∇2v=f−f=0in S,v=0on Γ.\nabla^2v=f-f=0\ \text{in }S,\qquad v=0\ \text{on }\Gamma .

Green’s first identity. For vv twice continuously differentiable, ∬S(v∇2v+|∇v|2)dA=∮Γv∂v∂nds.\iint_S\big(v\,\nabla^2v+|\nabla v|^2\big)\,dA=\oint_\Gamma v\,\frac{\partial v}{\partial n}\,ds . Here ∇2v=0\nabla^2v=0 in SS and v=0v=0 on Γ\Gamma, so ∬S(vx2+vy2)dA=0.\iint_S\big(v_x^2+v_y^2\big)\,dA=0 .

Conclude. The integrand is continuous and non-negative, so vx=vy=0v_x=v_y=0 throughout SS. Hence vv is constant in SS. Since v=0v=0 on Γ\Gamma and vv is continuous up to the boundary, that constant is 00. So w1≡w2w_1\equiv w_2: the solution is unique. ◼\blacksquare

✓ Proof checked step by step Proof checked step by step (Green’s first identity).

↑ Back to the question list

Given the one-dimensional wave equation ∂2y∂t2=c2∂2y∂x2;t>0, where c2=Tm, T is the constant tension in the string and m is the mass per unit length of the string. (i) Find the appropriate solution of the above wave equation. (ii) Find also the solution under the conditions y(0,t)=0, y(l,t)=0 for all t and [∂y∂t]t=0=0, y(x,0)=asinπxl, 0<x<l, a>0.

2017 · Paper II · Q8a · 20 marks

Solution

(i) The general solution. Put y=X(x)T(t)y=X(x)T(t): X″X=T″c2T=k\ \dfrac{X''}{X}=\dfrac{T''}{c^2T}=k.

  • k=−p2<0k=-p^2<0 gives the oscillatory solutions y=(Acospx+Bsinpx)(Ccoscpt+Dsincpt)y=(A\cos px+B\sin px)(C\cos cpt+D\sin cpt).
  • k=0k=0 gives (A+Bx)(C+Dt)(A+Bx)(C+Dt), and k>0k>0 gives exponentials. These cannot vanish at both fixed ends of a string unless they are zero.

So the appropriate solution for a vibrating string is y=(Acospx+Bsinpx)×(Ccoscpt+Dsincpt).\begin{aligned}y={}&(A\cos px+B\sin px)\\&\times(C\cos cpt+D\sin cpt).\end{aligned} (Equivalently, d’Alembert’s form y=ϕ(x+ct)+ψ(x−ct)y=\phi(x+ct)+\psi(x-ct).)

(ii) With the given conditions.

  • y(0,t)=0y(0,t)=0 gives A=0A=0.
  • y(l,t)=0y(l,t)=0 gives sinpl=0\sin pl=0, so p=nπlp=\dfrac{n\pi}{l}.
  • yt(x,0)=0y_t(x,0)=0 gives D=0D=0.

So y=∑nbnsinnπxlcosnπctl.y=\sum_nb_n\sin\frac{n\pi x}{l}\cos\frac{n\pi ct}{l}. Finally, y(x,0)=asinπxly(x,0)=a\sin\dfrac{\pi x}{l} gives b1=ab_1=a and all other bn=0b_n=0: y(x,t)=asinπxlcosπctl.y(x,t)=a\sin\frac{\pi x}{l}\cos\frac{\pi ct}{l}.

✓ Checked by computer We checked by computer: y=asinπxlcosπctly=a\sin\frac{\pi x}{l}\cos\frac{\pi ct}{l} satisfies the wave equation and all four conditions.

↑ Back to the question list

Find the temperature u(x,t) in a bar of silver of length 10 cm and constant cross-section of area 1 cm2. Let density ρ=10.6 g/cm3, thermal conductivity K=1.04 cal/(cm sec ∘C) and specific heat σ=0.056 cal/g ∘C. The bar is perfectly isolated laterally, with ends kept at 0∘C and initial temperature f(x)=sin(0.1πx)∘C. Note that u(x,t) follows the heat equation ut=c2uxx, where c2=K/(ρσ).

2016 · Paper II · Q8a · 20 marks

Solution

Diffusivity. c2=Kρσ=1.0410.6×0.056=1.040.5936≈1.752cm2/s.\begin{aligned}c^2&=\frac{K}{\rho\sigma}\\ &=\frac{1.04}{10.6\times0.056}\\ &=\frac{1.04}{0.5936}\approx1.752\ \text{cm}^2/\text{s}.\end{aligned}

Separated solutions with u(0,t)=u(10,t)=0u(0,t)=u(10,t)=0: u(x,t)=∑n=1∞bnsinnπx10e−c2n2π2t/100.u(x,t)=\sum_{n=1}^\infty b_n\sin\frac{n\pi x}{10}\,e^{-c^2n^2\pi^2t/100}.

Initial condition. u(x,0)=sin(0.1πx)=sinπx10u(x,0)=\sin(0.1\pi x)=\sin\dfrac{\pi x}{10}, which is exactly the n=1n=1 term: b1=1b_1=1, all other bn=0b_n=0.

Temperature. u(x,t)=sin(0.1πx)e−1.752π2t/100≈sin(0.1πx)e−0.173t∘C.\begin{aligned}u(x,t)&=\sin(0.1\pi x)\,e^{-1.752\pi^2t/100}\\&\approx\sin(0.1\pi x)\,e^{-0.173\,t}\ ^\circ\text{C}.\end{aligned}

✓ Checked by computer We checked by computer: c2=1.04/(10.6×0.056)=1.752c^2=1.04/(10.6\times0.056)=1.752 and the decay rate c2π2/100=0.1729c^2\pi^2/100=0.1729.

↑ 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 solution of the initial-boundary value problem ut−uxx+u=0,0<x<l,t>0u(0,t)=u(l,t)=0,t≥0u(x,0)=x(l−x),0<x<l

2015 · Paper II · Q7a · 15 marks

Solution

Remove the uu term. Put u=e−tvu=e^{-t}v. Then ut=e−t(vt−v)u_t=e^{-t}(v_t-v), so ut−uxx+u=e−t(vt−vxx)=0⇒vt=vxx,\begin{aligned}&u_t-u_{xx}+u=e^{-t}\big(v_t-v_{xx}\big)=0\\ &\Longrightarrow\ v_t=v_{xx},\end{aligned} with v(0,t)=v(l,t)=0v(0,t)=v(l,t)=0 and v(x,0)=x(l−x)v(x,0)=x(l-x).

Solve for vv. v=∑bnsinnπxle−n2π2t/l2bn=2l∫0lx(l−x)sinnπxldx=4l2(1−(−1)n)n3π3.\begin{aligned}&v=\sum b_n\sin\frac{n\pi x}{l}\,e^{-n^2\pi^2t/l^2}\\ &b_n=\frac2l\int_0^lx(l-x)\sin\frac{n\pi x}{l}\,dx\\ &\quad =\frac{4l^2\big(1-(-1)^n\big)}{n^3\pi^3}.\end{aligned}

Solution: u(x,t)=8l2π3e−t∑nodd1n3sinnπxle−n2π2t/l2.u(x,t)=\frac{8l^2}{\pi^3}\,e^{-t}\sum_{n\ \text{odd}}\frac1{n^3}\sin\frac{n\pi x}{l}\,e^{-n^2\pi^2t/l^2}.

✓ Checked by computer We checked by computer: with u=e−tvu=e^{-t}v, vv solves vt=vxxv_t=v_{xx}, and the sine coefficients of x(l−x)x(l-x) are 8l2n3π3\dfrac{8l^2}{n^3\pi^3} (odd nn).

↑ Back to the question list

Find the deflection of a vibrating string (length =π, ends fixed, ∂2u∂t2=∂2u∂x2) corresponding to zero initial velocity and initial deflection f(x)=k(sinx−sin2x)

2014 · Paper II · Q7a · 15 marks

Solution

Separated solutions with fixed ends at x=0,πx=0,\pi and unit wave speed: u(x,t)=∑n=1∞(Ancosnt+Bnsinnt)sinnx.\begin{aligned}u(x,t)=\sum_{n=1}^\infty\big(&A_n\cos nt\\&+B_n\sin nt\big)\sin nx .\end{aligned}

  • Zero initial velocity gives Bn=0B_n=0.
  • Initial deflection u(x,0)=∑Ansinnx=ksinx−ksin2xu(x,0)=\sum A_n\sin nx=k\sin x-k\sin2x gives A1=kA_1=k, A2=−kA_2=-k, and all other An=0A_n=0.

Deflection: u(x,t)=k(sinxcost−sin2xcos2t).u(x,t)=k\big(\sin x\cos t-\sin2x\cos2t\big).

✓ Checked by computer We checked by computer: u=k(sinxcost−sin2xcos2t)u=k(\sin x\cos t-\sin2x\cos2t) satisfies utt=uxxu_{tt}=u_{xx}, u(0,t)=u(π,t)=0u(0,t)=u(\pi,t)=0, ut(x,0)=0u_t(x,0)=0 and u(x,0)=k(sinx−sin2x)u(x,0)=k(\sin x-\sin2x).

↑ Back to the question list

Solve ∂2u∂t2=∂2u∂x2, 0<x<1, t>0, given that (i) u(x,0)=0, 0≤x≤1 (ii) ∂u∂t(x,0)=x2, 0≤x≤1 (iii) u(0,t)=u(1,t)=0, for all t

2014 · Paper II · Q8a · 15 marks

Solution

Separated solutions with u(0,t)=u(1,t)=0u(0,t)=u(1,t)=0 and u(x,0)=0u(x,0)=0: u(x,t)=∑n=1∞Bnsinnπxsinnπt.u(x,t)=\sum_{n=1}^\infty B_n\sin n\pi x\,\sin n\pi t .

Initial velocity. ut(x,0)=∑Bnnπsinnπx=x2u_t(x,0)=\sum B_n\,n\pi\sin n\pi x=x^2, so Bnnπ=2∫01x2sinnπxdx=2(−1)n+1nπ+4((−1)n−1)n3π3.\begin{aligned}B_n\,n\pi&=2\int_0^1x^2\sin n\pi x\,dx\\ &=\frac{2(-1)^{n+1}}{n\pi}+\frac{4\big((-1)^n-1\big)}{n^3\pi^3}.\end{aligned} Hence Bn=2(−1)n+1n2π2+4((−1)n−1)n4π4.B_n=\frac{2(-1)^{n+1}}{n^2\pi^2}+\frac{4\big((-1)^n-1\big)}{n^4\pi^4}.

Solution: u(x,t)=∑n=1∞Bnsinnπxsinnπt,u(x,t)=\sum_{n=1}^\infty B_n\sin n\pi x\,\sin n\pi t, with BnB_n as above.

✓ Checked by computer We checked by computer: 2∫01x2sinnπxdx=2[(−1)n+1n2π2+2(−1)n−2]n3π32\int_0^1x^2\sin n\pi x\,dx=\dfrac{2\big[(-1)^{n+1}n^2\pi^2+2(-1)^n-2\big]}{n^3\pi^3}.

↑ Back to the question list

A tightly stretched string with fixed end points x=0 and x=l is initially at rest in equilibrium position. If it is set vibrating by giving each point a velocity λ⋅x(l−x), find the displacement of the string at any distance x from one end at any time t.

2013 · Paper II · Q6c · 20 marks

Solution

Model. ytt=c2yxxy_{tt}=c^2y_{xx}, y(0,t)=y(l,t)=0y(0,t)=y(l,t)=0, y(x,0)=0y(x,0)=0 (equilibrium), yt(x,0)=λx(l−x)y_t(x,0)=\lambda x(l-x).

Series. Zero initial displacement leaves only sine terms in tt: y(x,t)=∑n=1∞Bnsinnπxlsinnπctl.y(x,t)=\sum_{n=1}^\infty B_n\sin\frac{n\pi x}{l}\sin\frac{n\pi ct}{l}.

Initial velocity. Bnnπcl=2l∫0lλx(l−x)sinnπxldx=4λl2(1−(−1)n)n3π3.\begin{aligned}B_n\,\frac{n\pi c}{l}&=\frac2l\int_0^l\lambda x(l-x)\sin\frac{n\pi x}{l}\,dx\\ &=\frac{4\lambda l^2\big(1-(-1)^n\big)}{n^3\pi^3}.\end{aligned} So Bn=8λl3cn4π4B_n=\dfrac{8\lambda l^3}{c\,n^4\pi^4} for odd nn, and 00 for even nn.

Displacement: y(x,t)=8λl3cπ4∑nodd1n4sinnπxlsinnπctl.y(x,t)=\frac{8\lambda l^3}{c\pi^4}\sum_{n\ \text{odd}}\frac{1}{n^4}\sin\frac{n\pi x}{l}\sin\frac{n\pi ct}{l}.

✓ Checked by computer We checked by computer: the sine coefficients of λx(l−x)\lambda x(l-x) are 4λl2(1−(−1)n)n3π3\dfrac{4\lambda l^2(1-(-1)^n)}{n^3\pi^3}.

↑ Back to the question list

A string of length l is fixed at its ends. The string from the mid-point is pulled up to a height k and then released from rest. Find the deflection y(x,t) of the vibrating string.

2012 · Paper II · Q6b · 20 marks

Solution

Initial shape. Pulling the mid-point up to height kk gives f(x)={2klx,0≤x≤l2,2kl(l−x),l2≤x≤l,f(x)=\begin{cases}\dfrac{2k}{l}x, & 0\le x\le\dfrac l2,\\[2mm] \dfrac{2k}{l}(l-x), & \dfrac l2\le x\le l,\end{cases} and the string starts from rest.

Series. y(x,t)=∑n=1∞bnsinnπxlcosnπctlbn=2l∫0lf(x)sinnπxldx=8kn2π2sinnπ2.\begin{aligned}&y(x,t)=\sum_{n=1}^\infty b_n\sin\frac{n\pi x}{l}\cos\frac{n\pi ct}{l}\\ &b_n=\frac2l\int_0^lf(x)\sin\frac{n\pi x}{l}\,dx=\frac{8k}{n^2\pi^2}\sin\frac{n\pi}{2}.\end{aligned} Since sinnπ2=0\sin\frac{n\pi}{2}=0 for even nn and (−1)m(-1)^m for n=2m+1n=2m+1: y(x,t)=8kπ2∑m=0∞(−1)m(2m+1)2×sin(2m+1)πxl×cos(2m+1)πctl.\begin{aligned}y(x,t)={}&\frac{8k}{\pi^2}\sum_{m=0}^\infty\frac{(-1)^m}{(2m+1)^2}\\&\times\sin\frac{(2m+1)\pi x}{l}\\&\times\cos\frac{(2m+1)\pi ct}{l}.\end{aligned}

✓ Checked by computer We checked by computer: the sine coefficients of the symmetric triangle of height kk are 8kn2π2sinnπ2\dfrac{8k}{n^2\pi^2}\sin\frac{n\pi}{2}.

↑ Back to the question list

The edge r=a of a circular plate is kept at temperature f(θ). The plate is insulated so that there is no loss of heat from either surface. Find the temperature distribution in steady state.

2012 · Paper II · Q7b · 20 marks

Solution

Equation. With no heat loss from the faces, the steady temperature u(r,θ)u(r,\theta) satisfies urr+1rur+1r2uθθ=0,0≤r<a,u_{rr}+\frac1ru_r+\frac1{r^2}u_{\theta\theta}=0,\qquad 0\le r<a, with u(a,θ)=f(θ)u(a,\theta)=f(\theta).

Separated solutions. As usual, the 2π2\pi-periodic solutions finite at the centre are 11 and rncosnθr^n\cos n\theta, rnsinnθr^n\sin n\theta (n≥1n\ge1). The other solutions, lnr\ln r and r−nr^{-n}, blow up at r=0r=0.

Series. u(r,θ)=a02+∑n=1∞(ra)n×(ancosnθ+bnsinnθ),\begin{aligned}u(r,\theta)={}&\frac{a_0}{2}+\sum_{n=1}^\infty\left(\frac ra\right)^n\\&\times\big(a_n\cos n\theta+b_n\sin n\theta\big),\end{aligned} where an,bna_n,b_n are the Fourier coefficients of ff: an=1π∫02πf(ϕ)cosnϕdϕbn=1π∫02πf(ϕ)sinnϕdϕ.\begin{aligned}&a_n=\frac1\pi\int_0^{2\pi}f(\phi)\cos n\phi\,d\phi\\ &b_n=\frac1\pi\int_0^{2\pi}f(\phi)\sin n\phi\,d\phi.\end{aligned}

Closed form (Poisson’s integral). Substituting the coefficients and summing the geometric series: u(r,θ)=12π∫02π(a2−r2)f(ϕ)dϕa2−2arcos(θ−ϕ)+r2.\begin{aligned}u(r,\theta)={}&\frac{1}{2\pi}\int_0^{2\pi}\\&\frac{(a^2-r^2)\,f(\phi)\,d\phi}{a^2-2ar\cos(\theta-\phi)+r^2}.\end{aligned}

✓ Checked by computer We checked by computer: each term rn(cosnθ,sinnθ)r^n(\cos n\theta,\sin n\theta) is harmonic, and summing the series gives the Poisson kernel.

↑ Back to the question list

Solve ∂2u∂x2+∂2u∂y2=0,0≤x≤a,0≤y≤b satisfying the boundary conditions u(0,y)=0,u(x,0)=0,u(x,b)=0 ∂u∂x(a,y)=Tsin3πya.

2011 · Paper II · Q6b · 20 marks

Solution

A note on the data. The conditions u(x,0)=u(x,b)=0u(x,0)=u(x,b)=0 need the yy-dependence to vanish at y=by=b, so sin3πya\sin^3\frac{\pi y}{a} fits only if b=ab=a (a square plate). We take the edge data as Tsin3πybT\sin^3\frac{\pi y}{b}, which is the same thing when a=ba=b.

Separation. u=X(x)Y(y)u=X(x)Y(y) with Y(0)=Y(b)=0Y(0)=Y(b)=0 gives Y=sinnπybY=\sin\dfrac{n\pi y}{b}. Then X″−(nπb)2X=0X''-\Big(\dfrac{n\pi}{b}\Big)^2X=0 with X(0)=0X(0)=0 gives X=sinhnπxbX=\sinh\dfrac{n\pi x}{b}. So u=∑n≥1Cnsinhnπxbsinnπyb.u=\sum_{n\ge1}C_n\sinh\frac{n\pi x}{b}\sin\frac{n\pi y}{b}.

Condition at x=ax=a. Use sin3θ=34sinθ−14sin3θ\sin^3\theta=\tfrac34\sin\theta-\tfrac14\sin3\theta: ∑Cnnπbcoshnπabsinnπyb=3T4sinπyb−T4sin3πyb.\begin{aligned}&\sum C_n\frac{n\pi}{b}\cosh\frac{n\pi a}{b}\sin\frac{n\pi y}{b}=\frac{3T}{4}\sin\frac{\pi y}{b}\\ &\quad-\frac T4\sin\frac{3\pi y}{b}.\end{aligned} So only n=1,3n=1,3 survive: C1=3Tb4πcosh(πa/b)C3=−Tb12πcosh(3πa/b).\begin{aligned}&C_1=\frac{3Tb}{4\pi\cosh(\pi a/b)}\\ &C_3=-\frac{Tb}{12\pi\cosh(3\pi a/b)}.\end{aligned}

Solution: u(x,y)=3Tb4πcoshπabsinhπxbsinπyb−Tb12πcosh3πabsinh3πxbsin3πyb.\begin{aligned}&u(x,y)=\frac{3Tb}{4\pi\cosh\frac{\pi a}{b}}\sinh\frac{\pi x}{b}\sin\frac{\pi y}{b}\\ &\quad-\frac{Tb}{12\pi\cosh\frac{3\pi a}{b}}\sinh\frac{3\pi x}{b}\sin\frac{3\pi y}{b}.\end{aligned} For the square plate b=ab=a this is 3Ta4πcoshπsinhπxasinπya−Ta12πcosh3πsinh3πxasin3πya\dfrac{3Ta}{4\pi\cosh\pi}\sinh\dfrac{\pi x}{a}\sin\dfrac{\pi y}{a}-\dfrac{Ta}{12\pi\cosh3\pi}\sinh\dfrac{3\pi x}{a}\sin\dfrac{3\pi y}{a}.

✓ Checked by computer We checked by computer: uu below is harmonic, vanishes on x=0x=0, y=0y=0, y=by=b, and has ux(a,y)=Tsin3πybu_x(a,y)=T\sin^3\frac{\pi y}{b}.

↑ Back to the question list

Obtain temperature distribution y(x,t) in a uniform bar of unit length whose one end is kept at 10∘C and the other end is insulated. Also it is given that y(x,0)=1−x, 0<x<1.

2011 · Paper II · Q6c · 20 marks

Solution

Model. Take the end x=0x=0 at 10∘10^\circC and the end x=1x=1 insulated: yt=c2yxxy(0,t)=10yx(1,t)=0y(x,0)=1−x.\begin{aligned}&y_t=c^2y_{xx}\\ &y(0,t)=10\\ &y_x(1,t)=0\\ &y(x,0)=1-x.\end{aligned}

Steady state. ys″=0y_s''=0 with ys(0)=10y_s(0)=10, ys′(1)=0y_s'(1)=0 gives ys=10y_s=10. Put y=10+vy=10+v: vt=c2vxxv(0,t)=0vx(1,t)=0v(x,0)=−9−x.\begin{aligned}&v_t=c^2v_{xx}\\ &v(0,t)=0\\ &v_x(1,t)=0\\ &v(x,0)=-9-x.\end{aligned}

Eigenfunctions. X(0)=0X(0)=0 and X′(1)=0X'(1)=0 give Xn=sinλnxX_n=\sin\lambda_nx with cosλn=0\cos\lambda_n=0, i.e. λn=(2n−1)π2\lambda_n=\dfrac{(2n-1)\pi}{2}. So v=∑n=1∞bnsinλnxe−c2λn2t.v=\sum_{n=1}^\infty b_n\sin\lambda_nx\;e^{-c^2\lambda_n^2t}.

Coefficients. ∫01sin2λnxdx=12\int_0^1\sin^2\lambda_nx\,dx=\tfrac12, so bn=2∫01(−9−x)sinλnxdx.b_n=2\int_0^1(-9-x)\sin\lambda_nx\,dx . Using ∫01sinλnxdx=1λn\int_0^1\sin\lambda_nx\,dx=\dfrac1{\lambda_n} and ∫01xsinλnxdx=(−1)n+1λn2\int_0^1x\sin\lambda_nx\,dx=\dfrac{(-1)^{n+1}}{\lambda_n^2}: bn=−18λn+2(−1)nλn2.b_n=-\frac{18}{\lambda_n}+\frac{2(-1)^n}{\lambda_n^2}.

Temperature: y(x,t)=10+∑n=1∞[2(−1)nλn2−18λn]×sinλnxe−c2λn2t,λn=(2n−1)π2.\begin{aligned}y(x,t)={}&10+\sum_{n=1}^\infty\left[\frac{2(-1)^n}{\lambda_n^2}-\frac{18}{\lambda_n}\right]\\&\times\sin\lambda_nx\;e^{-c^2\lambda_n^2t},\\ \lambda_n={}&\frac{(2n-1)\pi}{2}.\end{aligned} (If the diffusivity is taken as 1, put c2=1c^2=1.)

✓ Checked by computer We checked by computer: 2∫01(−9−x)sinλnxdx=−18λn+2(−1)nλn22\int_0^1(-9-x)\sin\lambda_nx\,dx=-\dfrac{18}{\lambda_n}+\dfrac{2(-1)^n}{\lambda_n^2} with λn=(2n−1)π2\lambda_n=\tfrac{(2n-1)\pi}{2}.

↑ Back to the question list

Solve the following heat equation ut−uxx=0,0<x<2,t>0u(0,t)=u(2,t)=0,t>0u(x,0)=x(2−x),0≤x≤2.

2010 · Paper II · Q6c · 20 marks

Solution

Separation. With u(0,t)=u(2,t)=0u(0,t)=u(2,t)=0: u(x,t)=∑n=1∞bnsinnπx2e−n2π2t/4.u(x,t)=\sum_{n=1}^\infty b_n\sin\frac{n\pi x}{2}\,e^{-n^2\pi^2t/4}.

Initial condition. bn=22∫02x(2−x)sinnπx2dx=16(1−(−1)n)n3π3,\begin{aligned}b_n&=\frac22\int_0^2x(2-x)\sin\frac{n\pi x}{2}\,dx\\ &=\frac{16\big(1-(-1)^n\big)}{n^3\pi^3},\end{aligned} i.e. 32n3π3\dfrac{32}{n^3\pi^3} for odd nn and 00 for even nn.

Solution: u(x,t)=32π3∑nodd1n3sinnπx2e−n2π2t/4.u(x,t)=\frac{32}{\pi^3}\sum_{n\ \text{odd}}\frac{1}{n^3}\sin\frac{n\pi x}{2}\,e^{-n^2\pi^2t/4}.

✓ Checked by computer We checked by computer: the sine coefficients of x(2−x)x(2-x) on (0,2)(0,2) are 16(1−(−1)n)n3π3\dfrac{16(1-(-1)^n)}{n^3\pi^3}.

↑ Back to the question list

A tightly stretched string has its ends fixed at x=0 and x=l. At time t=0, the string is given a shape defined by f(x)=μx(l−x), where μ is a constant, and then released. Find the displacement of any point x of the string at time t>0.

2009 · Paper II · Q6c · 30 marks

Solution

Model. ytt=c2yxxy_{tt}=c^2y_{xx} with y(0,t)=y(l,t)=0y(0,t)=y(l,t)=0, y(x,0)=μx(l−x)y(x,0)=\mu x(l-x), and yt(x,0)=0y_t(x,0)=0 (released from rest).

Series. y(x,t)=∑n=1∞bnsinnπxlcosnπctlbn=2l∫0lμx(l−x)sinnπxldx.\begin{aligned}&y(x,t)=\sum_{n=1}^\infty b_n\sin\frac{n\pi x}{l}\cos\frac{n\pi ct}{l}\\ &b_n=\frac2l\int_0^l\mu x(l-x)\sin\frac{n\pi x}{l}\,dx.\end{aligned} Integrating by parts twice, bn=4μl2(1−(−1)n)n3π3,b_n=\frac{4\mu l^2\big(1-(-1)^n\big)}{n^3\pi^3}, which is 8μl2n3π3\dfrac{8\mu l^2}{n^3\pi^3} for odd nn and 00 for even nn.

Displacement: y(x,t)=8μl2π3∑nodd1n3sinnπxlcosnπctl.y(x,t)=\frac{8\mu l^2}{\pi^3}\sum_{n\ \text{odd}}\frac{1}{n^3}\sin\frac{n\pi x}{l}\cos\frac{n\pi ct}{l}.

✓ Checked by computer We checked by computer: the sine coefficients of μx(l−x)\mu x(l-x) are 4μl2(1−(−1)n)n3π3\dfrac{4\mu l^2(1-(-1)^n)}{n^3\pi^3}.

↑ Back to the question list

Find the steady state temperature distribution in a thin rectangular plate bounded by the lines x=0, x=a, y=0 and y=b. The edges x=0, x=a and y=0 are kept at temperature zero while the edge y=b is kept at 100∘C.

2008 · Paper II · Q6a · 30 marks

Solution

Model. The steady temperature u(x,y)u(x,y) satisfies uxx+uyy=0u_{xx}+u_{yy}=0 with u(0,y)=u(a,y)=0u(x,0)=0u(x,b)=100.\begin{aligned}&u(0,y)=u(a,y)=0\\ &u(x,0)=0\\ &u(x,b)=100.\end{aligned}

Separation. As for a rectangle with three edges at zero: u(x,y)=∑n=1∞Bnsinnπxasinhnπya.u(x,y)=\sum_{n=1}^\infty B_n\sin\frac{n\pi x}{a}\sinh\frac{n\pi y}{a}.

Edge y=by=b. Bnsinhnπba=2a∫0a100sinnπxadx=200(1−(−1)n)nπ,\begin{aligned}B_n\sinh\frac{n\pi b}{a}&=\frac2a\int_0^a100\sin\frac{n\pi x}{a}\,dx\\ &=\frac{200\big(1-(-1)^n\big)}{n\pi},\end{aligned} which is 400nπ\dfrac{400}{n\pi} for odd nn and 00 for even nn.

Temperature distribution: u(x,y)=400π∑nodd1n×sinh(nπy/a)sinh(nπb/a)sinnπxa.\begin{aligned}u(x,y)={}&\frac{400}{\pi}\sum_{n\ \text{odd}}\frac{1}{n}\\&\times\frac{\sinh(n\pi y/a)}{\sinh(n\pi b/a)}\,\sin\frac{n\pi x}{a}.\end{aligned}

✓ Checked by computer We checked by computer: 2a∫0a100sinnπxadx=200(1−(−1)n)nπ\tfrac2a\int_0^a100\sin\frac{n\pi x}{a}dx=\dfrac{200(1-(-1)^n)}{n\pi}.

↑ 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