Let us solve the differential equation (D2+6D+9)y=eβ3tβ3cos4t+log5.
The characteristic equation k2+6k+9=0 is equivalent to (k+3)2=0, and hence has the roots k1β=k2β=β3. It follows that the general solution is of the form y=(C1β+C2βt)eβ3t+ypβ,
where ypβ=at2eβ3t+bcos4t+csin4t+d. Then ypβ²β=2ateβ3tβ3at2eβ3tβ4bsin4t+4ccos4t,ypβ²β²β=2aeβ3tβ6ateβ3tβ6ateβ3t+9at2eβ3tβ16bcos4tβ16csin4t.
We get the equation 2aeβ3tβ6ateβ3tβ6ateβ3t+9at2eβ3tβ16bcos4tβ16csin4t+6(2ateβ3tβ3at2eβ3tβ4bsin4t+4ccos4t)+9(at2eβ3t+bcos4t+csin4t+d)=eβ3tβ3cos4t+log5,
which is equivalent to
2aeβ3t+(β7bβ24c)cos4t+(β7cβ24b)sin4t+9d=eβ3tβ3cos4t+log5.
We conlude that 2a=1, β7bβ24c=β3, β7cβ24b=0, 9d=log5. It follows that a=21β, d=91βlog5,c=β724βb, 7bβ7576βb=3. Consequently, a=21β, d=91βlog5, b=β52721β,c=52772β.
We conclude that the general solution of the differential equation (D2+6D+9)y=eβ3tβ3cos4t+log5 is
y=(C1β+C2βt)eβ3t+21βt2eβ3tβ52721βcos4t+52772βsin4t+91βlog5.
Comments