linalg[eigenvectors] - find the eigenvectors of a matrix
|
Calling Sequence
|
|
eigenvectors(A)
eigenvectors(A, 'radical')
eigenvectors(A, 'implicit')
|
|
Description
|
|
•
|
The procedure eigenvectors computes the eigenvalues and eigenvectors of A. That is, for each eigenvalue lambda of A it solves the linear system for X.
|
•
|
Numeric Case: If the matrix A contains any floating-point (decimal) numbers, the eigenvectors are computed numerically. A standard numerical algorithm is used. All floating point arithmetic is done at Digits digits of precision. Note that the matrix entries on input must all be all of type numeric or complex(numeric).
|
•
|
Symbolic Case: Otherwise the eigenvalues and eigenvectors are computed symbolically (exactly). First the characteristic polynomial is computed and solved for its roots (the eigenvalues) lambda[i] symbolically. Then for each eigenvalue, a basis for its eigenspace is computed by computing the null space of the characteristic matrix .
|
•
|
Although eigenvalues and eigenvectors can in principle be computed for a matrix over any field F, one must be able to compute effectively with the roots of a univariate polynomial over F. For this reason, this routine is limited at present to the field of algebraic numbers or algebraic functions. Therefore, the input A must be a matrix of rationals, or polynomials, or a matrix of algebraic numbers or algebraic functions represented using Maple's RootOf or radical notation.
|
•
|
If the optional second argument is 'radical' is specified, Maple will try to express the eigenvalues and eigenvectors in terms of exact radicals. Note this may fail if any factor of the characteristic polynomial has degree 5 or higher. If the optional second argument is 'implicit' then Maple will express the eigenvalues in terms of an algebraic extension of any nonlinear factors of the characteristic polynomial using Maple's RootOf notation. This is always possible. If no optional second argument is specified, then Maple will use radicals as the default. The examples below will make these differences clear.
|
•
|
The command with(linalg,eigenvectors) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
Here is a numerical example (A is a symmetric Toeplitz matrix)
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
Here is the same example done with exact arithmetic
>
|
|
| (12) |
>
|
|
| (13) |
>
|
|
| (14) |
By default the eigenvalues and eigenvectors are computed using radicals. To compute implicitly in terms of RootOf's, use the 'implicit' option
>
|
|
| (15) |
Here is an example of a symbolic matrix
>
|
|
| (16) |
>
|
|
| (17) |
>
|
|
| (18) |
The sqrt(2) in the following example makes the computation more difficult.
>
|
|
| (19) |
>
|
|
| (20) |
This final example shows a case where the algebraic multiplicity of the eigenvalue u is 4 but the dimension of the eigenspace is only 3.
>
|
|
| (21) |
>
|
|
| (22) |
|
|
Download Help Document
Was this information helpful?