Matrix Product (Conventional)/Examples/Change of Axes

From ProofWiki
Jump to navigation Jump to search

Example of (Conventional) Matrix Product

Consider the Cartesian coordinate system:

$C := \tuple {x, y, z}$

Let $\mathbf A$ denote the square matrix:

$\mathbf A = \begin {pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end {pmatrix}$

Then $\mathbf A$ has the effect of exchanging the $x$ and $y$ axes of $C$.


Proof

Let $\mathbf x := \tuple {x_1, y_1, z_1}$ be a point in $C$.


We have:

\(\ds \mathbf A \mathbf x\) \(=\) \(\ds \begin {pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end {pmatrix} \begin {pmatrix} x_1 \\ y_1 \\ z_1 \end {pmatrix}\)
\(\ds \) \(=\) \(\ds \begin {pmatrix} 0 \times x_1 + 1 \times y_1 + 0 \times z_1 \\ 1 \times x_1 + 0 \times y_1 + 0 \times z_1 \\ 0 \times x_1 + 0 \times y_1 + 1 \times z_1 \end {pmatrix}\)
\(\ds \) \(=\) \(\ds \begin {pmatrix} y_1 \\ x_1 \\ z_1 \end {pmatrix}\)

$\blacksquare$


Sources