Menu Close

Laplace transforms: UPSC Maths Optional PYQ Solutions (2008–2026)

All 21 questions UPSC has asked on laplace transforms in the Mathematics Optional (Paper I, Ordinary Differential Equations) from 2008 to 2026, solved step by step – latest first.

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

How we check these solutions

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

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

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

Jump to a question (year · question number):

2026 · 5b 2026 · 7c(ii) 2025 · 6a 2024 · 5b 2024 · 8a 2023 · 5b 2023 · 8a 2022 · 7b 2021 · 5b 2020 · 7b 2019 · 6c(ii) 2018 · 5d 2017 · 8b 2016 · 6d 2015 · 7a 2014 · 8c 2013 · 6d 2012 · 5c 2011 · 6d 2009 · 6b 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

Apply Laplace transform to solve (D2+D)y(t)=2, D≡ddt, subject to the conditions y(0)=3, y′(0)=1.

2026 · Paper I · Q5b · 10 marks

Solution

Let y‾(s)=L{y(t)}\bar y(s)=L\{y(t)\}. With L{y″}=s2y‾−sy(0)−y′(0)L\{y''\}=s^2\bar y-sy(0)-y'(0) and L{y′}=sy‾−y(0)L\{y'\}=s\bar y-y(0): s2y‾−3s−1+sy‾−3=2s⇒(s2+s)y‾=3s+4+2s.s^2\bar y-3s-1+s\bar y-3=\frac2s\quad\Rightarrow\quad(s^2+s)\bar y=3s+4+\frac2s . y‾=3s2+4s+2s2(s+1)=2s+2s2+1s+1(partial fractions).\bar y=\frac{3s^2+4s+2}{s^2(s+1)}=\frac2s+\frac2{s^2}+\frac1{s+1}\quad\text{(partial fractions)}. Inverting, y(t)=2+2t+e−t.y(t)=2+2t+e^{-t}. Check: y(0)=3y(0)=3, y′(0)=2−1=1y'(0)=2-1=1, y″+y′=e−t+2−e−t=2y''+y'=e^{-t}+2-e^{-t}=2. ✓

✓ Checked by computer We solved the problem by computer (SymPy) both with the Laplace transform and directly; both give y=2+2t+e−ty=2+2t+e^{-t}.

↑ Back to the question list

If L{f(t)}=f‾(s), then show that L{f(t)t}=∫s∞f‾(u)du. Hence evaluate L{cosat−cosbtt}.

2026 · Paper I · Q7c(ii) · 10 marks

Solution

Proof. f‾(u)=∫0∞e−utf(t)dt\bar f(u)=\displaystyle\int_0^\infty e^{-ut}f(t)\,dt. Integrating from ss to ∞\infty and changing the order of integration (valid under the usual convergence conditions): ∫s∞f‾(u)du=∫0∞f(t)(∫s∞e−utdu)dt=∫0∞f(t)e−sttdt=L{f(t)t}.◼\int_s^\infty\bar f(u)\,du=\int_0^\infty f(t)\left(\int_s^\infty e^{-ut}du\right)dt=\int_0^\infty f(t)\,\frac{e^{-st}}{t}\,dt=L\left\{\frac{f(t)}{t}\right\}. \qquad\blacksquare

Application. L{cosat−cosbt}=uu2+a2−uu2+b2L\{\cos at-\cos bt\}=\dfrac{u}{u^2+a^2}-\dfrac{u}{u^2+b^2}, so L{cosat−cosbtt}=∫s∞(uu2+a2−uu2+b2)du=[12logu2+a2u2+b2]s∞=12logs2+b2s2+a2.L\left\{\frac{\cos at-\cos bt}{t}\right\}=\int_s^\infty\left(\frac{u}{u^2+a^2}-\frac{u}{u^2+b^2}\right)du=\left[\frac12\log\frac{u^2+a^2}{u^2+b^2}\right]_s^\infty=\frac12\log\frac{s^2+b^2}{s^2+a^2}.

✓ Checked by computer We checked by computer (SymPy): the integral is 12logs2+b2s2+a2\tfrac12\log\frac{s^2+b^2}{s^2+a^2}.

↑ Back to the question list

If F(s) and G(s) are Laplace transforms of f(t) and g(t) respectively, then prove that ℒ(∫0tf(x)g(t−x)dx)=F(s)G(s). Using this result, solve the equation y(t)=t+∫0ty(x)sin(t−x)dx.

2025 · Paper I · Q6a · 15 marks

Solution

Convolution theorem. Let h(t)=∫0tf(x)g(t−x)dxh(t)=\displaystyle\int_0^tf(x)g(t-x)\,dx. Then ℒ{h}=∫0∞e−st∫0tf(x)g(t−x)dxdt.\mathcal L\{h\}=\int_0^\infty e^{-st}\int_0^tf(x)g(t-x)\,dx\,dt . The region is 0≤x≤t<∞0\le x\le t<\infty. Changing the order of integration, ℒ{h}=∫0∞f(x)(∫x∞e−stg(t−x)dt)dx.\mathcal L\{h\}=\int_0^\infty f(x)\left(\int_x^\infty e^{-st}g(t-x)\,dt\right)dx . Put u=t−xu=t-x in the inner integral: it becomes e−sx∫0∞e−sug(u)du=e−sxG(s)e^{-sx}\displaystyle\int_0^\infty e^{-su}g(u)\,du=e^{-sx}G(s). Hence ℒ{h}=G(s)∫0∞e−sxf(x)dx=F(s)G(s).◼\mathcal L\{h\}=G(s)\int_0^\infty e^{-sx}f(x)\,dx=F(s)\,G(s).\qquad\blacksquare The equation. The integral is the convolution y*sinty*\sin t. Taking transforms, with Y=ℒ{y}Y=\mathcal L\{y\}: Y=1s2+Ys2+1⇒Y⋅s2s2+1=1s2⇒Y=s2+1s4=1s2+1s4.Y=\frac1{s^2}+\frac{Y}{s^2+1}\quad\Rightarrow\quad Y\cdot\frac{s^2}{s^2+1}=\frac1{s^2}\quad\Rightarrow\quad Y=\frac{s^2+1}{s^4}=\frac1{s^2}+\frac1{s^4}. Inverting, y(t)=t+t36.y(t)=t+\frac{t^3}{6}.

✓ Checked by computer We checked by computer (SymPy): y=t+t36y=t+\frac{t^3}{6} satisfies the integral equation.

↑ Back to the question list

Solve the integral equation y(t)=cost+∫0ty(x)cos(t−x)dx using Laplace transform.

2024 · Paper I · Q5b · 10 marks

Solution

The integral is the convolution y*costy*\cos t. Taking transforms: Y=ss2+1+Yss2+1⇒Ys2−s+1s2+1=ss2+1⇒Y=ss2−s+1.Y=\frac{s}{s^2+1}+Y\frac{s}{s^2+1}\quad\Rightarrow\quad Y\frac{s^2-s+1}{s^2+1}=\frac{s}{s^2+1}\quad\Rightarrow\quad Y=\frac{s}{s^2-s+1}. Complete the square, s2−s+1=(s−12)2+34s^2-s+1=\left(s-\tfrac12\right)^2+\tfrac34: Y=s−12(s−12)2+34+13⋅32(s−12)2+34.Y=\frac{s-\frac12}{\left(s-\frac12\right)^2+\frac34}+\frac{1}{\sqrt3}\cdot\frac{\frac{\sqrt3}2}{\left(s-\frac12\right)^2+\frac34}. By the shifting theorem, y(t)=et/2(cos3t2+13sin3t2).y(t)=e^{t/2}\left(\cos\frac{\sqrt3t}{2}+\frac1{\sqrt3}\sin\frac{\sqrt3t}{2}\right).

✓ Checked by computer We checked by computer (SymPy): the solution satisfies the integral equation.

↑ Back to the question list

Using Laplace transform, solve the initial value problem y″+2y′+5y=δ(t−2),y(0)=0,y′(0)=0 where δ(t−2) denotes the Dirac delta function.

2024 · Paper I · Q8a · 15 marks

Solution

With Y=ℒ{y}Y=\mathcal L\{y\} and zero initial values, ℒ{δ(t−2)}=e−2s\mathcal L\{\delta(t-2)\}=e^{-2s}: (s2+2s+5)Y=e−2s⇒Y=e−2s(s+1)2+4.(s^2+2s+5)\,Y=e^{-2s}\quad\Rightarrow\quad Y=\frac{e^{-2s}}{(s+1)^2+4}. Since ℒ−1{1(s+1)2+4}=12e−tsin2t\mathcal L^{-1}\left\{\dfrac{1}{(s+1)^2+4}\right\}=\dfrac12e^{-t}\sin2t, the second shifting theorem gives y(t)=12e−(t−2)sin2(t−2)u(t−2)={0,0≤t<2,12e−(t−2)sin2(t−2),t≥2.y(t)=\frac12e^{-(t-2)}\sin2(t-2)\,u(t-2)=\begin{cases}0,&0\le t<2,\\[2pt]\frac12e^{-(t-2)}\sin2(t-2),&t\ge2.\end{cases}

✓ Checked by simulation We checked by a numerical solution: from t=2t=2 the motion starts with y=0y=0, y′=1y'=1 and matches the formula.

↑ Back to the question list

Given that L{f(t);p}=F(p). Show that ∫0∞f(t)tdt=∫0∞F(x)dx. Hence evaluate the integral ∫0∞e−t−e−3ttdt.

2023 · Paper I · Q5b · 10 marks

Solution

Proof. Write ∫0∞F(x)dx=∫0∞∫0∞e−xtf(t)dtdx\displaystyle\int_0^\infty F(x)\,dx=\int_0^\infty\int_0^\infty e^{-xt}f(t)\,dt\,dx and change the order of integration (valid under the usual convergence conditions): ∫0∞F(x)dx=∫0∞f(t)(∫0∞e−xtdx)dt=∫0∞f(t)tdt.◼\int_0^\infty F(x)\,dx=\int_0^\infty f(t)\left(\int_0^\infty e^{-xt}dx\right)dt=\int_0^\infty\frac{f(t)}{t}\,dt.\qquad\blacksquare Application. With f(t)=e−t−e−3tf(t)=e^{-t}-e^{-3t}, F(x)=1x+1−1x+3F(x)=\dfrac1{x+1}-\dfrac1{x+3}: ∫0∞e−t−e−3ttdt=∫0∞(1x+1−1x+3)dx=[logx+1x+3]0∞=0−log13=log3.\int_0^\infty\frac{e^{-t}-e^{-3t}}{t}\,dt=\int_0^\infty\left(\frac1{x+1}-\frac1{x+3}\right)dx=\left[\log\frac{x+1}{x+3}\right]_0^\infty=0-\log\frac13=\log3 .

✓ Checked by computer We checked by computer: both sides of the final integral equal log3=1.0986…\log3=1.0986\ldots

↑ Back to the question list

Solve the following initial value problem by using Laplace transform technique : d2ydt2−4dydt+3y(t)=f(t), y(0)=1, y′(0)=0 and f(t) is a given function of t.

2023 · Paper I · Q8a · 15 marks

Solution

Let Y=ℒ{y}Y=\mathcal L\{y\}, F=ℒ{f}F=\mathcal L\{f\}. With y(0)=1y(0)=1, y′(0)=0y'(0)=0: (s2Y−s)−4(sY−1)+3Y=F⇒(s−1)(s−3)Y=s−4+F(s).(s^2Y-s)-4(sY-1)+3Y=F\quad\Rightarrow\quad(s-1)(s-3)\,Y=s-4+F(s). Y=s−4(s−1)(s−3)+F(s)(s−1)(s−3)=3/2s−1−1/2s−3+12(1s−3−1s−1)F(s).Y=\frac{s-4}{(s-1)(s-3)}+\frac{F(s)}{(s-1)(s-3)}=\frac{3/2}{s-1}-\frac{1/2}{s-3}+\frac12\left(\frac1{s-3}-\frac1{s-1}\right)F(s). By the convolution theorem, ℒ−1{(1s−3−1s−1)F}=∫0tf(u)(e3(t−u)−et−u)du\mathcal L^{-1}\left\{\left(\frac1{s-3}-\frac1{s-1}\right)F\right\}=\displaystyle\int_0^tf(u)\left(e^{3(t-u)}-e^{t-u}\right)du. So y(t)=32et−12e3t+12∫0tf(u)[e3(t−u)−et−u]du.y(t)=\frac32e^t-\frac12e^{3t}+\frac12\int_0^tf(u)\left[e^{3(t-u)}-e^{t-u}\right]du .

✓ Checked by simulation We checked by a numerical solution (with f(t)=sintf(t)=\sin t as a test case): the formula matches to 10 digits.

↑ Back to the question list

Solve the following initial value problem by using Laplace’s transformation d2ydt2−3dydt+2y=h(t), where h(t)={2,0<t<4,0,t>4,y(0)=0,y′(0)=0

2022 · Paper I · Q7b · 15 marks

Solution

Write h(t)=2−2u(t−4)h(t)=2-2u(t-4), so ℒ{h}=2s(1−e−4s)\mathcal L\{h\}=\dfrac2s\left(1-e^{-4s}\right). With zero initial values, (s2−3s+2)Y=2(1−e−4s)s⇒Y=(1−e−4s)2s(s−1)(s−2).(s^2-3s+2)\,Y=\frac{2(1-e^{-4s})}{s}\quad\Rightarrow\quad Y=\left(1-e^{-4s}\right)\frac{2}{s(s-1)(s-2)}. Partial fractions: 2s(s−1)(s−2)=1s−2s−1+1s−2\dfrac{2}{s(s-1)(s-2)}=\dfrac1s-\dfrac2{s-1}+\dfrac1{s-2}, whose inverse is g(t)=1−2et+e2t=(et−1)2.g(t)=1-2e^t+e^{2t}=(e^t-1)^2 . By the second shifting theorem, y(t)=g(t)−g(t−4)u(t−4)y(t)=g(t)-g(t-4)\,u(t-4): y(t)={(et−1)2,0<t<4,(et−1)2−(et−4−1)2,t>4.y(t)=\begin{cases}(e^t-1)^2,&0<t<4,\\[2pt](e^t-1)^2-(e^{t-4}-1)^2,&t>4.\end{cases}

✓ Checked by simulation We checked by a numerical solution of the equation: it matches the formula on both sides of t=4t=4.

↑ Back to the question list

Solve the initial value problem : d2ydx2+4y=e−2xsin2x;y(0)=y′(0)=0 using Laplace transform method.

2021 · Paper I · Q5b · 10 marks

Solution

With zero initial values, (s2+4)Y=2(s+2)2+4(s^2+4)Y=\dfrac{2}{(s+2)^2+4}, so Y=2(s2+4)(s2+4s+8)=−(s−1)10(s2+4)+s+310[(s+2)2+4].Y=\frac{2}{(s^2+4)(s^2+4s+8)}=\frac{-(s-1)}{10(s^2+4)}+\frac{s+3}{10\left[(s+2)^2+4\right]}. Write s+3=(s+2)+1s+3=(s+2)+1. Inverting term by term: y=110(−cos2x+12sin2x)+e−2x10(cos2x+12sin2x).y=\frac1{10}\left(-\cos2x+\frac12\sin2x\right)+\frac{e^{-2x}}{10}\left(\cos2x+\frac12\sin2x\right). y=120[sin2x−2cos2x+e−2x(2cos2x+sin2x)].y=\frac1{20}\left[\sin2x-2\cos2x+e^{-2x}\left(2\cos2x+\sin2x\right)\right].

✓ Checked by computer We checked by computer (SymPy): the solution satisfies the equation and y(0)=y′(0)=0y(0)=y'(0)=0.

↑ Back to the question list

Using Laplace transform, solve the initial value problem ty″+2ty′+2y=2; y(0)=1 and y′(0) is arbitrary. Does this problem have a unique solution?

2020 · Paper I · Q7b · 10 marks

Solution

Use ℒ{tg(t)}=−ddsℒ{g}\mathcal L\{tg(t)\}=-\dfrac{d}{ds}\mathcal L\{g\}, with y(0)=1y(0)=1 and y′(0)=ay'(0)=a unknown: ℒ{ty″}=−dds(s2Y−s−a)=−s2Y′−2sY+1,ℒ{ty′}=−dds(sY−1)=−sY′−Y.\mathcal L\{ty''\}=-\frac d{ds}\left(s^2Y-s-a\right)=-s^2Y'-2sY+1,\qquad\mathcal L\{ty'\}=-\frac d{ds}(sY-1)=-sY'-Y . The equation becomes −s2Y′−2sY+1−2sY′−2Y+2Y=2s⇒(s+2)Y′+2Y=s−2s2.-s^2Y'-2sY+1-2sY'-2Y+2Y=\frac2s\quad\Rightarrow\quad(s+2)Y'+2Y=\frac{s-2}{s^2}. Multiply by (s+2)(s+2): dds[(s+2)2Y]=(s−2)(s+2)s2=1−4s2\dfrac{d}{ds}\left[(s+2)^2Y\right]=\dfrac{(s-2)(s+2)}{s^2}=1-\dfrac4{s^2}, so (s+2)2Y=s+4s+C⇒Y=s2+4s(s+2)2+C(s+2)2=1s+C−4(s+2)2.(s+2)^2Y=s+\frac4s+C\quad\Rightarrow\quad Y=\frac{s^2+4}{s(s+2)^2}+\frac{C}{(s+2)^2}=\frac1s+\frac{C-4}{(s+2)^2}. Inverting, y(t)=1+kte−2t,k=C−4 arbitrary.y(t)=1+k\,te^{-2t},\qquad k=C-4\text{ arbitrary}. y(0)=1y(0)=1 for every kk, and y′(0)=ky'(0)=k. So the problem has infinitely many solutions, one for each value of y′(0)y'(0); it does not have a unique solution. This is possible because the coefficient of y″y'' is tt, which vanishes at the initial point t=0t=0, so the uniqueness theorem does not apply.

✓ Checked by computer We checked by computer (SymPy): y=1+kte−2ty=1+kte^{-2t} satisfies the equation for every kk.

↑ 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 Laplace transforms of t−1/2 and t1/2. Prove that the Laplace transform of tn+12, where n∈ℕ, is Γ(n+1+12)sn+1+12

2019 · Paper I · Q6c(ii) · 10 marks

Solution

For ν>−1\nu>-1, put st=ust=u: ℒ{tν}=∫0∞e−sttνdt=1sν+1∫0∞e−uuνdu=Γ(ν+1)sν+1(s>0).\mathcal L\{t^\nu\}=\int_0^\infty e^{-st}t^\nu\,dt=\frac{1}{s^{\nu+1}}\int_0^\infty e^{-u}u^\nu\,du=\frac{\Gamma(\nu+1)}{s^{\nu+1}}\qquad(s>0). t−1/2t^{-1/2}: ν=−12\nu=-\tfrac12, Γ(12)=π\Gamma\left(\tfrac12\right)=\sqrt\pi: ℒ{t−1/2}=πs1/2=πs.\mathcal L\{t^{-1/2}\}=\frac{\sqrt\pi}{s^{1/2}}=\sqrt{\frac\pi s}. t1/2t^{1/2}: ν=12\nu=\tfrac12, Γ(32)=12π\Gamma\left(\tfrac32\right)=\tfrac12\sqrt\pi: ℒ{t1/2}=π2s3/2.\mathcal L\{t^{1/2}\}=\frac{\sqrt\pi}{2s^{3/2}}. tn+12t^{n+\frac12}: with ν=n+12\nu=n+\tfrac12 the formula above gives at once ℒ{tn+12}=Γ(n+1+12)sn+1+12.\mathcal L\left\{t^{n+\frac12}\right\}=\frac{\Gamma\left(n+1+\frac12\right)}{s^{\,n+1+\frac12}}. (By induction instead: ℒ{tg}=−ddsℒ{g}\mathcal L\{tg\}=-\frac{d}{ds}\mathcal L\{g\}, and −ddsΓ(n+32)sn+3/2=(n+32)Γ(n+32)sn+5/2=Γ(n+52)sn+5/2-\frac{d}{ds}\frac{\Gamma(n+\frac32)}{s^{n+3/2}}=\frac{(n+\frac32)\Gamma(n+\frac32)}{s^{n+5/2}}=\frac{\Gamma(n+\frac52)}{s^{n+5/2}}, starting from n=0n=0.) ◼\blacksquare

✓ Proof checked step by step Proof checked step by step; we also checked Γ(12)=π\Gamma(\tfrac12)=\sqrt\pi and the formula numerically.

↑ Back to the question list

(i) Find the Laplace transform of f(t)=1t. (ii) Find the inverse Laplace transform of 5s2+3s−16(s−1)(s−2)(s+3).

2018 · Paper I · Q5d · 10 marks

Solution

(i) For ν>−1\nu>-1, ℒ{tν}=Γ(ν+1)sν+1\mathcal L\{t^\nu\}=\dfrac{\Gamma(\nu+1)}{s^{\nu+1}}. With ν=−12\nu=-\tfrac12 and Γ(12)=π\Gamma\left(\tfrac12\right)=\sqrt\pi: ℒ{1t}=πs.\mathcal L\left\{\frac1{\sqrt t}\right\}=\sqrt{\frac\pi s}. (ii) Partial fractions, by the cover-up rule: 5s2+3s−16(s−1)(s−2)(s+3)=As−1+Bs−2+Cs+3,\frac{5s^2+3s-16}{(s-1)(s-2)(s+3)}=\frac{A}{s-1}+\frac{B}{s-2}+\frac{C}{s+3}, A=5+3−16(−1)(4)=2,B=20+6−16(1)(5)=2,C=45−9−16(−4)(−5)=1.A=\frac{5+3-16}{(-1)(4)}=2,\qquad B=\frac{20+6-16}{(1)(5)}=2,\qquad C=\frac{45-9-16}{(-4)(-5)}=1 . ℒ−1=2et+2e2t+e−3t.\mathcal L^{-1}=2e^t+2e^{2t}+e^{-3t}.

✓ Checked by computer We checked by computer (SymPy): the partial fractions recombine to the given function.

↑ Back to the question list

Solve the following initial value problem using Laplace transform : d2ydx2+9y=r(x),y(0)=0,y′(0)=4 where r(x)={8sinxif 0<x<π0if x≥π

2017 · Paper I · Q8b · 17 marks

Solution

The forcing. For x>πx>\pi, sinx=−sin(x−π)\sin x=-\sin(x-\pi), so r(x)=8sinx[1−u(x−π)]=8sinx+8sin(x−π)u(x−π)r(x)=8\sin x\,[1-u(x-\pi)]=8\sin x+8\sin(x-\pi)\,u(x-\pi), and ℒ{r}=8s2+1(1+e−πs).\mathcal L\{r\}=\frac{8}{s^2+1}\left(1+e^{-\pi s}\right). Transform. With y(0)=0y(0)=0, y′(0)=4y'(0)=4: (s2+9)Y−4=8(1+e−πs)s2+1⇒Y=4s2+9+(1+e−πs)[1s2+1−1s2+9].(s^2+9)Y-4=\frac{8(1+e^{-\pi s})}{s^2+1}\quad\Rightarrow\quad Y=\frac{4}{s^2+9}+\left(1+e^{-\pi s}\right)\left[\frac1{s^2+1}-\frac1{s^2+9}\right]. Since ℒ−1{1s2+1−1s2+9}=sinx−13sin3x\mathcal L^{-1}\left\{\frac1{s^2+1}-\frac1{s^2+9}\right\}=\sin x-\frac13\sin3x, y=43sin3x+sinx−13sin3x+[sin(x−π)−13sin3(x−π)]u(x−π).y=\frac43\sin3x+\sin x-\frac13\sin3x+\left[\sin(x-\pi)-\tfrac13\sin3(x-\pi)\right]u(x-\pi). Using sin(x−π)=−sinx\sin(x-\pi)=-\sin x and sin3(x−π)=−sin3x\sin3(x-\pi)=-\sin3x: y(x)={sinx+sin3x,0<x<π,43sin3x,x≥π.y(x)=\begin{cases}\sin x+\sin3x,&0<x<\pi,\\[2pt]\dfrac43\sin3x,&x\ge\pi.\end{cases} (Both pieces give y=0y=0 and y′=−4y'=-4 at x=πx=\pi, as they should.)

✓ Checked by simulation We checked by a numerical solution of the equation: it matches the formula before and after x=πx=\pi.

↑ Back to the question list

Using Laplace transformation, solve the following : y″−2y′−8y=0,y(0)=3,y′(0)=6

2016 · Paper I · Q6d · 10 marks

Solution

With y(0)=3y(0)=3, y′(0)=6y'(0)=6: (s2Y−3s−6)−2(sY−3)−8Y=0⇒(s2−2s−8)Y=3s.(s^2Y-3s-6)-2(sY-3)-8Y=0\quad\Rightarrow\quad(s^2-2s-8)Y=3s . Y=3s(s−4)(s+2)=2s−4+1s+2.Y=\frac{3s}{(s-4)(s+2)}=\frac{2}{s-4}+\frac{1}{s+2}. y(t)=2e4t+e−2t.y(t)=2e^{4t}+e^{-2t}.

✓ Checked by computer We checked by computer (SymPy): the solution satisfies the equation and both initial conditions.

↑ Back to the question list

(i) Obtain Laplace Inverse transform of {ln(1+1s2)+ss2+25e−πs}. (ii) Using Laplace transform, solve y″+y=t, y(0)=1, y′(0)=−2.

2015 · Paper I · Q7a · 12 marks

Solution

(i) Let F(s)=log(1+1s2)=log(s2+1)−2logsF(s)=\log\left(1+\dfrac1{s^2}\right)=\log(s^2+1)-2\log s. If ℒ{f}=F\mathcal L\{f\}=F, then ℒ{tf(t)}=−F′(s)\mathcal L\{tf(t)\}=-F'(s): −F′(s)=2s−2ss2+1⇒tf(t)=2−2cost⇒f(t)=2(1−cost)t.-F'(s)=\frac2s-\frac{2s}{s^2+1}\quad\Rightarrow\quad tf(t)=2-2\cos t\quad\Rightarrow\quad f(t)=\frac{2(1-\cos t)}{t}. For the second term, ℒ−1{ss2+25}=cos5t\mathcal L^{-1}\left\{\dfrac{s}{s^2+25}\right\}=\cos5t, so by the second shifting theorem ℒ−1{se−πss2+25}=cos5(t−π)u(t−π)=−cos5tu(t−π).\mathcal L^{-1}\left\{\frac{s\,e^{-\pi s}}{s^2+25}\right\}=\cos5(t-\pi)\,u(t-\pi)=-\cos5t\;u(t-\pi). Altogether: ℒ−1{…}=2(1−cost)t−cos5tu(t−π).\mathcal L^{-1}\{\ldots\}=\frac{2(1-\cos t)}{t}-\cos5t\;u(t-\pi). (ii) With y(0)=1y(0)=1, y′(0)=−2y'(0)=-2: (s2Y−s+2)+Y=1s2⇒Y=s−2s2+1+1s2(s2+1)=ss2+1−3s2+1+1s2.(s^2Y-s+2)+Y=\frac1{s^2}\quad\Rightarrow\quad Y=\frac{s-2}{s^2+1}+\frac{1}{s^2(s^2+1)}=\frac{s}{s^2+1}-\frac{3}{s^2+1}+\frac1{s^2}. y(t)=t+cost−3sint.y(t)=t+\cos t-3\sin t .

✓ Checked by computer We checked by computer: the transform of 2(1−cost)t\frac{2(1-\cos t)}{t} equals log(1+1s2)\log(1+\frac1{s^2}) numerically, and SymPy confirms the solution of (ii).

↑ Back to the question list

Solve the initial value problem d2ydt2+y=8e−2tsint,y(0)=0,y′(0)=0 by using Laplace-transform.

2014 · Paper I · Q8c · 20 marks

Solution

ℒ{8e−2tsint}=8(s+2)2+1\mathcal L\{8e^{-2t}\sin t\}=\dfrac{8}{(s+2)^2+1}. With zero initial values, Y=8(s2+1)(s2+4s+5)=−s+1s2+1+s+3(s+2)2+1.Y=\frac{8}{(s^2+1)(s^2+4s+5)}=\frac{-s+1}{s^2+1}+\frac{s+3}{(s+2)^2+1}. Write s+3=(s+2)+1s+3=(s+2)+1 and invert term by term: y(t)=sint−cost+e−2t(cost+sint).y(t)=\sin t-\cos t+e^{-2t}(\cos t+\sin t).

✓ Checked by computer We checked by computer (SymPy): the solution satisfies the equation and y(0)=y′(0)=0y(0)=y'(0)=0.

↑ Back to the question list

By using Laplace transform method, solve the differential equation (D2+n2)x=asin(nt+α), D2≡d2dt2 subject to the initial conditions x=0 and dxdt=0, at t=0, in which a, n and α are constants.

2013 · Paper I · Q6d · 15 marks

Solution

asin(nt+α)=acosαsinnt+asinαcosnta\sin(nt+\alpha)=a\cos\alpha\sin nt+a\sin\alpha\cos nt, so with zero initial values (s2+n2)X=ancosα+ssinαs2+n2⇒X=ancosα(s2+n2)2+assinα(s2+n2)2.(s^2+n^2)X=a\,\frac{n\cos\alpha+s\sin\alpha}{s^2+n^2}\quad\Rightarrow\quad X=\frac{an\cos\alpha}{(s^2+n^2)^2}+\frac{as\sin\alpha}{(s^2+n^2)^2}. Use the standard inverses ℒ−1{1(s2+n2)2}=sinnt−ntcosnt2n3,ℒ−1{s(s2+n2)2}=tsinnt2n.\mathcal L^{-1}\left\{\frac{1}{(s^2+n^2)^2}\right\}=\frac{\sin nt-nt\cos nt}{2n^3},\qquad\mathcal L^{-1}\left\{\frac{s}{(s^2+n^2)^2}\right\}=\frac{t\sin nt}{2n}. Then x=a2n2[cosα(sinnt−ntcosnt)+ntsinαsinnt]=a2n2[sinntcosα−ntcos(nt+α)].x=\frac{a}{2n^2}\left[\cos\alpha\,(\sin nt-nt\cos nt)+nt\sin\alpha\sin nt\right]=\frac{a}{2n^2}\left[\sin nt\cos\alpha-nt\cos(nt+\alpha)\right].

✓ Checked by computer We checked by computer (SymPy): the solution satisfies the equation and both initial conditions.

↑ Back to the question list

Using Laplace transforms, solve the initial value problem y″+2y′+y=e−t,y(0)=−1,y′(0)=1

2012 · Paper I · Q5c · 12 marks

Solution

With y(0)=−1y(0)=-1, y′(0)=1y'(0)=1: (s2Y+s−1)+2(sY+1)+Y=1s+1⇒(s+1)2Y=1s+1−(s+1).(s^2Y+s-1)+2(sY+1)+Y=\frac{1}{s+1}\quad\Rightarrow\quad(s+1)^2Y=\frac1{s+1}-(s+1). Y=1(s+1)3−1s+1⇒y(t)=t2e−t2−e−t=e−t(t22−1).Y=\frac1{(s+1)^3}-\frac1{s+1}\quad\Rightarrow\quad y(t)=\frac{t^2e^{-t}}{2}-e^{-t}=e^{-t}\left(\frac{t^2}2-1\right).

✓ Checked by computer We checked by computer (SymPy): the solution satisfies the equation and both initial conditions.

↑ Back to the question list

Use Laplace transform method to solve the following initial value problem : d2xdt2−2dxdt+x=et,x(0)=2anddxdt|t=0=−1.

2011 · Paper I · Q6d · 15 marks

Solution

With x(0)=2x(0)=2, x′(0)=−1x'(0)=-1: (s2X−2s+1)−2(sX−2)+X=1s−1⇒(s−1)2X=2s−5+1s−1.(s^2X-2s+1)-2(sX-2)+X=\frac1{s-1}\quad\Rightarrow\quad(s-1)^2X=2s-5+\frac1{s-1}. Since 2s−5=2(s−1)−32s-5=2(s-1)-3, X=2s−1−3(s−1)2+1(s−1)3⇒x(t)=et(2−3t+t22).X=\frac2{s-1}-\frac3{(s-1)^2}+\frac1{(s-1)^3}\quad\Rightarrow\quad x(t)=e^t\left(2-3t+\frac{t^2}2\right).

✓ Checked by computer We checked by computer (SymPy): the solution satisfies the equation and both initial conditions.

↑ Back to the question list

Find the inverse Laplace transform of F(s)=ln(s+1s+5)

2009 · Paper I · Q6b · 20 marks

Solution

Let F(s)=log(s+1)−log(s+5)F(s)=\log(s+1)-\log(s+5) and f=ℒ−1{F}f=\mathcal L^{-1}\{F\}. Since ℒ{tf(t)}=−F′(s)\mathcal L\{tf(t)\}=-F'(s): −F′(s)=−1s+1+1s+5⇒tf(t)=e−5t−e−t.-F'(s)=-\frac1{s+1}+\frac1{s+5}\quad\Rightarrow\quad tf(t)=e^{-5t}-e^{-t}. f(t)=e−5t−e−tt.f(t)=\frac{e^{-5t}-e^{-t}}{t}.

✓ Checked by computer We checked by computer: the transform of the answer equals logs+1s+5\log\frac{s+1}{s+5} numerically.

↑ Back to the question list

Using Laplace transform, solve the initial value problem y″−3y′+2y=4t+e3t with y(0)=1, y′(0)=−1.

2008 · Paper I · Q6b · 15 marks

Solution

With y(0)=1y(0)=1, y′(0)=−1y'(0)=-1: (s2Y−s+1)−3(sY−1)+2Y=4s2+1s−3⇒(s−1)(s−2)Y=s−4+4s2+1s−3.(s^2Y-s+1)-3(sY-1)+2Y=\frac4{s^2}+\frac1{s-3}\quad\Rightarrow\quad(s-1)(s-2)Y=s-4+\frac4{s^2}+\frac1{s-3}. Partial fractions give Y=−1/2s−1−2s−2+1/2s−3+3s+2s2.Y=-\frac{1/2}{s-1}-\frac{2}{s-2}+\frac{1/2}{s-3}+\frac3s+\frac2{s^2}. y(t)=−12et−2e2t+12e3t+3+2t.y(t)=-\frac12e^t-2e^{2t}+\frac12e^{3t}+3+2t .

✓ Checked by computer We checked by computer (SymPy): the solution satisfies the equation and both initial conditions.

↑ Back to the question list

More on Ordinary Differential Equations

Questions: UPSC Civil Services (Main) Examination, Mathematics Paper I, 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