
Benjamin T. answered 10/02/23
Physics Professor, and Former Math Department Head
For a repeated eigenvalue the second solution is
(x2, y2)T = (a, b)T t et + (c, d)T et.
If you plug in the new solution (this is not necessary it is okay to just use the result) then (a,b)T = (1,1)T.
(x2, y2)T = (1, 1)T t et + (c, d)T et.
After plugging it in you also get, (A - I) (c, d)T = (1,1)T.
There is a general formula for this (A - λ1 I) (a, b)T = u1, where A u1 = λ1 u1.
This gives (a, b)T as ((-2, 2)(-2, 2)) (c, d)T = (1,1)T.
This does not have a unique solution but don't stress out, the combination of this and the first solution will work together to give a unique solution to the initial conditions. I am going to choose (c, d)T as (0,1/2)T.
Then (x2, y2)T = (1, 1)T t et + (0, 1/2)T et.
This is a little tricky to check so
Here is a check of the top equation,
https://www.wolframalpha.com/input?i=+%28d%2Fdt+t*exp%28t%29%29-%28-exp%28t%29*t%2B+2*%28exp%28t%29*t%2B1%2F2*exp%28t%29%29%29
and here is a check of the bottom
https://www.wolframalpha.com/input?i=%28d%2Fdt+t*exp%28t%29%2B1%2F2*exp%28t%29%29-%28-2exp%28t%29*t%2B+3*%28exp%28t%29*t%2B1%2F2*exp%28t%29%29%29
For fun, (x2, y2)T = (1, 1)T t et + (-1/2, 0)T et, should also work, and it does.
Check of top equation.
https://www.wolframalpha.com/input?i=%28d%2Fdt+t*exp%28t%29%2B1%2F2*exp%28t%29%29-%28-2exp%28t%29*t%2B+3*%28exp%28t%29*t%2B1%2F2*exp%28t%29%29%29
Check of bottom equation.
https://www.wolframalpha.com/input?i=%28d%2Fdt+t*exp%28t%29%29-%28-2%28exp%28t%29*t-1%2F2*exp%28t%29%29%2B+3*%28exp%28t%29*t%29%29