\(\frac{dx}{dt}+\frac{dy}{dt} = t\)
⇒ Dx + Dy = t---(1), where d/df ≡ D
\(\frac{d^2x}{dt^2}-y=e^t\)
⇒ D2x - y = et
⇒ D3x - Dy = et ---(2)
By adding (1) and (2), we get
D3x + Dx = et + t---(3)
It's auxiliary equation is
m3 + m = 0
⇒ m(m2 + 1) = 0
⇒ M = 0, \(\pm i\)
\(\therefore\) C.F. = C1 eot + C2 cos t + C3 sin t
= C1 + C2 cos t + C3 sin t
P.I. = \(\frac1{D^3+D}(e^t+t)\)
= \(\frac{e^t}{1^3+1}+\frac1{D}(1+D^2)^{-1}t\)
= \(\frac{e^t}2+\frac1{D}(1-D^2+D^4-....)t\)
= \(\frac12e^t+(\frac1D-D+D^3-....)t\)
= \(\frac12e^t+\frac{t^2}2-1\)
\(\therefore\) x = C.F. + P. I.
= C1 + C2 cos t + C3 sin t + \(\frac12\)et + \(\frac {t^2}2-4\)---(4)
\(\therefore\) \(\frac{dx}{dt}\) = - C2sin t + C3 cos t + \(\frac12\)et + t---(5)
Then from (1) we get,
\(\frac{dy}{dt}\) - C2 sin t - C3 cos t + \(\frac12\)et + t = t
⇒ \(\frac{dy}{dt}\) = C2 sin t - C3 cos t - \(\frac12\)et
\(\therefore\) y = -C2 cos t - C3 sin t - \(-\frac12\)et---(6)
Given that when t = 0 we have y = 0, x = 3 and \(\frac{dx}{dt}=-2\)
\(\therefore\) -C2 - \(\frac12\) = 0 (From (6))
⇒ C2 = -1/2
C3 + 1/2 = -2 (From (5))
C3 = -2 - 1/2 = -5/2
And C1 + C2 + 1/2 - 1 = 3 (From (4))
⇒ C1 - 1/2 + 1/2 = 3 + 1
⇒ C1 = 4
\(\therefore\) x = 4 - 1/2 cos t - 5/2 sin t + 1/2 et + t2/2 - 1
y = 1/2 cos t 5/2 sin t - 1/2 et
which is solution of given system of differential equations.