Find the general solution of the given equation y'' + 4y' + 4y = t-2e-2t, t>0
First, solve y'' + 4y' + 4y = 0.
So r2 + 4r + 4 = 0, r = -2 and r = -2
We have Yc(t) = ce-2t +c2te-2t
y1 = e-2t
y2 = te-2t
Determine the Wronskian as follows:
W(y1, y2)(t) = e-4t
Since Y(t) = u1(t)y1(t) + u2(t)y2(t)
u1 = -ln t
u2 = -t-1
Hence Y(t) = u1(t)y1(t) + u2(t)y2(t)
= -ln te-2t + -t-1te-2t
= -e-2tlnt-e-2t
So the general solution is y = yc + Y(t) = c1e-2t + c2te-2t-e-2tlnt
with c-1 = c1