Vector Projection - Matrix Representation

Matrix Representation

The orthogonal projection can be represented by a projection matrix. To project a vector onto the unit vector a = (ax, ay, az), it would need to be multiplied with this projection matrix:

 P_a = a a^T =
\begin{bmatrix} a_x \\ a_y \\ a_z \end{bmatrix}
\begin{bmatrix} a_x & a_y & a_z \end{bmatrix} =
\begin{bmatrix}
a_x^2 & a_x a_y & a_x a_z \\
a_x a_y & a_y^2 & a_y a_z \\
a_x a_z & a_y a_z & a_z^2 \\
\end{bmatrix}

Read more about this topic:  Vector Projection

Famous quotes containing the word matrix:

    As all historians know, the past is a great darkness, and filled with echoes. Voices may reach us from it; but what they say to us is imbued with the obscurity of the matrix out of which they come; and try as we may, we cannot always decipher them precisely in the clearer light of our day.
    Margaret Atwood (b. 1939)