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:

    “The matrix is God?”
    “In a manner of speaking, although it would be more accurate ... to say that the matrix has a God, since this being’s omniscience and omnipotence are assumed to be limited to the matrix.”
    “If it has limits, it isn’t omnipotent.”
    “Exactly.... Cyberspace exists, insofar as it can be said to exist, by virtue of human agency.”
    William Gibson (b. 1948)