eigs

eigs(x)

Try it yourself:

See also:
inv

eigs(): Eigenvalues and Eigenvectors

eigs() finds eigenvalues and associated eigenvectors of a square matrix. An eigenvector keeps its direction under a transformation, changing only by its eigenvalue. These quantities describe stability, principal directions, vibration modes, and repeated transformations.

Matrix requirements

Eigenvalue problems require a square matrix. Check its dimensions with size(). Results can be complex even when all matrix entries are real, so do not discard imaginary parts without a mathematical reason; inspect them with re() and im().

For symmetric matrices, eigenvectors have especially useful orthogonality properties. Related decompositions include svd() and qr(). Numerical results may vary slightly in ordering or precision, so validate by checking A×v against λ×v using multiply().

Try Eigs in Calcul.io

Start with one of the editable examples above, then replace its arguments with your own values. Keeping the function on a separate calculator line makes the input and result easy to compare. For a longer workflow, assign the result to a variable or reference that line in the next expression.

Check the shown signature before adding optional arguments, and use the related-function links to compare operations with similar purposes.

All functions