eigenvalue problem



Jussi Eloranta wrote:
> Hi,
>
> If I define the following matrix:
>
> x:matrix([1,0,%i],[0,2,1],[-%i,1,1]);
>
> and attempt to solve the eigenvalues:
>
> eigenvalues(x);
>
> I get three values, which all seem to be imaginary. 

Just because they have the symbol %i  in them does not mean they are 
imaginary.
I tried
rectform(%);
%,numer;

which shows the imaginary parts to be quite small.