>>5
LHS =/= RHS. Both sides are incorrect solutions to the problem.
You have found the correct roots to the characteristic equation. This gives the two complex solutions to the differential equation:
1. y1 = exp(-1 + 2i)t = exp(-t)(cos(2t) + isin(2t))
2. y2 = exp(-1 - 2i)t = exp(-t)(cos(-2t) + isin(-2t)) = exp(-t)(cos(2t) - isin(2t))
Now y(t) = c(1)y1 + c(2)y2 is a solution.
Using linear combinations of equations 1 and 2 to get the most general real valued solution:
y2 + y1 = 2exp(-t)cos(2t)
y1 – y2 = 2iexp(-t)sin(2t)
The constants in front do not affect the end solution and can be arbitrarily chosen so we can get rid of them to get the solution:
y(t) = c(1)exp(-t)cos(2t) + c(2)exp(-t)sin(2t)
It perhaps easier just to note that given a complex root a + bi to the characteristic equation of a 2nd order differential equation then the most general solution is:
y(t) = c(1)exp(at)cos(bt) + c(2)exp(at)cos(bt)