\(\frac{d\mathrm x}{dt}+2y = 5e^t\)
\(\frac{dy}{dt}-2\mathrm x=5e^t\)
By taking \(\frac{d}{dt}\) = D, we get
Dx + 2y = 5et ........(1)
Dy – 2x = 5et .........(2)
Now, operate D on both sides of equation (1), we get
D2x + 2Dy = 5Det = 5et .........(3) \((\because De^t = \frac{d}{dt}e^t = e^t)\)
Now, multiply equation (2) by 2, we get
2Dy – 4x = 10et ............(4)
By subtracting equation (4) from equation (3), we get
D2x + 4x = –5et.
⇒ (D2 + 4)x = –5et. ........(5)
Its auxiliary equation is m2 + 4 = 0
⇒ m = \(\pm\)2i
Therefore, complementary function is
x = C1cos2t + C2sin2t
Particular integral is x \(=\frac{1}{D^2+4}(-5e^t)\)
\(\Rightarrow \mathrm x=\frac{-5e^t}{1^2+4}\) \(=\frac{-5e^t}{1+4}\) \(=\frac{-5e^t}{5}\) \(=-e^t\)
Hence, complete solution of equation (5) is
x = C.F + P.I = C1cos2t + C2sin2t – \(e^t\)
\(\Rightarrow \frac{d\mathrm x}{dt}\) = –2C1sin2t + 2C2cos2t – \(e^t\)
\(\Rightarrow\) 2y = 5et – \(\frac{d\mathrm x}{dt}\) (From equation (1))
= 5et –(–2C1sin2t + 2C2cos2t – et)
= 6et + 2C1sin2t – 2C2cos2t
⇒ y = 3et + C1sin2t – C2cos2t
Hence, the solution of given system of equation is
x = C1cos2t + C2sin2t – et .........(6)
And y = C1sin2t – C2cos2t + 3et .......(7)
Given that when t = 0, then x = –1 and y = 3
Then from equation (6) and (7), we get
–1 = C1 – 1 ⇒ C1 = –1 + 1 = 0
And 3 = –C2 + 3 ⇒ C2 = 3 – 3 = 0
Hence, the solution of given system of equations is
x = –et
And y = 3et (By putting C1 = 0 & C2 = 0 in equations (6) and (7))