The solution of the differential equation

\(\frac{{{d^2}y}}{{d{x^2}}} - \frac{{dy}}{{dx}} - 2y = 3{e^{2x}}\)

Where y(0) = 0 and y’(0) = -2 is

This question was previously asked in
ESE Electrical 2018 Official Paper
View all UPSC IES Papers >
  1. y = e-x - e2x + xe2x
  2. y = e-x - e-2x - xe2x
  3. y = e-x + e2x + xe2x
  4. y = ex – e-2x + xe2x

Answer (Detailed Solution Below)

Option 1 : y = e-x - e2x + xe2x
Free
ST 1: UPSC ESE (IES) Civil - Building Materials
6.3 K Users
20 Questions 40 Marks 24 Mins

Detailed Solution

Download Solution PDF

(D2 – D – 2) y = 3 e2x

A.E. is. D2 – D – 2 = 0

⇒ (D – 2) (D + 1) = 0

⇒ D = -1, 2

C.F. = C1 e-x + C2 e2x

\(P.I. = \frac{1}{{\left( {D - 2} \right)\left( {D + 1} \right)}}.3{e^{2x}}\)

\( = \frac{1}{{{D^2} - D - 2}}3{e^{2x}}\)

\(f\left( D \right) = {D^2} - D - 2\)

\(f\left( 2 \right) = 0\)

\(f'\left( D \right) = 2D - 1\)

\(f'\left( 2 \right) = 3\)

\( PI= \frac{1}{{{D^2} - D - 2}}3{e^{2x}}=x \frac{1}{{ 2D - 1}}3{e^{2x}}\)

\(P.I.= x.\frac{1}{3}.3{e^{2x}} = x{e^{2x}}\)

Complete solution is

\(y = {C_1}{e^{ - x}} + {C_2}{e^{2x}} + x{e^{2x}}\)

Given that y(0) = 0

⇒ 0 = C1 + C2 ⇒ C1 = -C2

y’(0) = -2

\(y' = - {C_1}{e^{ - x}} + 2{C_2}{e^{2x}} + {e^{2x}} + 2x{e^{2x}}\)

⇒ -2 = -C1 + 2C2 + 1

→ -C1 + 2C2 = -3

⇒ -C1 -2C1 = - 3 ⇒ C1 = 1, C2 = -1

y = e-x – e+2x + xe2x
Latest UPSC IES Updates

Last updated on May 28, 2025

->  UPSC ESE admit card 2025 for the prelims exam has been released. 

-> The UPSC IES Prelims 2025 will be held on 8th June 2025.

-> The selection process includes a Prelims and a Mains Examination, followed by a Personality Test/Interview.

-> Candidates should attempt the UPSC IES mock tests to increase their efficiency. The UPSC IES previous year papers can be downloaded here.

More Initial and Boundary Value Problems Questions

More Differential Equations Questions

Get Free Access Now
Hot Links: real cash teen patti mpl teen patti teen patti sweet