Example 2: Solve the system [Maple Math] .

Solution:

> A:=matrix(3,3,[0,1,1,1,0,1,1,1,0]);

[Maple Math]

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

[Maple Math]

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

[Maple Math]

> eigenvals(A);

[Maple Math]

> multiply(A-2*E,t);

[Maple Math]

We know that the eigenvalue 2 has only one eigenvector. We set t1=t2=1 and we find t3 as follows

> solve(-2+1+t3=0,t3);

[Maple Math]

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

[Maple Math] . On the other hand eigenvalue -1 has two independent eigenvectors.

> multiply(A+E,t);

[Maple Math]

> solve({t1+t2+t3=0,t1+t2+t3=0,t1+t2+t3=0},{t1,t2,t3});

[Maple Math]

Hence there are two independetn eigenvectors which we can obtain by setting first t2=0 and t3=-1, and tehn by setting t2=1 and t3=-1..

Hence two independent eigenvectors that correspond to -1 are [Maple Math] and [Maple Math] and thus two independent solutions of the differntial equation are

[Maple Math] and [Maple Math] .

ody>