In the case when eigenvalues are complex we have to find real and imaginary parts of the complex-valued solutions which we obtain in the same way as in the real case.

Example 3. Solve [Maple Math] .

Solution:

> A:=matrix(2,2,[-1/2,1,-1,-1/2]);

[Maple Math]

> E:=array(1..2,1..2,identity);

[Maple Math]

> t:=matrix(2,1,[t1,t2]);

[Maple Math]

> eigenvalues(A);

[Maple Math]

> multiply(A-(-1/2+I)*E,t);

[Maple Math]

We set t1=1, and solve -It1+t2=0 in t2.

> solve(-I+t2=0,t2);

[Maple Math]

Hence one eigenvector is [Maple Math] and the corresponding solution is

[Maple Math] . This is a complex-valued solution so we have to find the real and imaginary part. Rewrite [Maple Math] as [Maple Math] . Therefore we can write the complex solution [Maple Math] in the form

[Maple Math] . Hence two real and independent solutions are

[Maple Math] and [Maple Math] .

>