Linear Algebra and the C Language/a0p2


Projection of the plane onto a line: (2)

The matrix A projects the plane in the direction of the  eigenvector V2  on a line  determined by the eigenvector V1 if : 
         
* The eigenvector V1 has its eigenvalue equal to  one and
* The eigenvector V2 has its eigenvalue equal to zero and

* If The vectors V1 and V2 are linearly independent
In these examples, you choose the vector of the line and the vector for the projection. You compute  the matrix A that projects the plane in the direction of the  eigenvector V2  onto a line  determined by the eigenvector V1. Next, you can calculate the projection of a point P onto the line.

The application

You can choose the vector of the line and the vector for the projection.

You create the matrix A.

You verify the properties of the matrix A.

you can calculate the projection of a point P onto the line.