Matrix Action: 2-D - Maple Programming Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Tasks : Linear Algebra : Visualizations : Task/MatrixAction2D

Matrix Action: 2-D


This template demonstrates the effect of multiplying a vector by a matrix. Enter a 2 × 2 matrix and press Start. The vectors x=i and Ax are displayed and drawn. The vector x is the black vector in the lower graph, whereas the vector Ax is the black vector in the upper graph. The upper graph shows the orbit made by the tip of Ax as x traverses the unit circle. The eigenpairs for the matrix A are displayed on the left. If real, the normalized eigenvectors and their negatives are drawn in red and green in the lower graph. Moving the slider will change the angle the unit vector x makes with the positive x-axis. As the slider is moved, the upper graph will display the vector Ax and the varying norm of Ax will be displayed on the left.

Matrix Action: 2-D



x= Ax=


A2  =  


Eigenpairs λ,v:





θ  =  =  

Commands Used

LinearAlgebra[Norm], LinearAlgebra[Eigenvectors], plots[arrow], plots[display]

Related Task Templates

Linear Algebra > Visualizations > EigenPlot Tutor

See Also

LinearAlgebra[Eigenvalues], LinearAlgebra[Eigenvectors]