Vector calculations, operators, matrices

linear algebramatricesrotationsvectors

1) A plain goes through the origo (0, 0, 0) and it is perpendicular to the vector seen on the picture.enter image description here What is the P matrix, that is projected to the plain, and what is the mirroring T matrix? Their size is 3×3.

2) tan(φ)=1/50. Calculate the 2×2 size matrix of the operator that rotates the plain by φ angle.

3) Let φ angle be the same as in task 2). Calculate the 3×3 size matrix of the linear operator that rotates v vector (seen on the picture ) by φ angle.

If the picture is not seen v is a column vector having (7, 6, 5) with 7 on the top.

I would like to understand how to solve these exercises, so if someone knows the answer, please be kind to explain it to me, because it would be a life saver. Thank you!!!

Best Answer

(1) There is a formula on wikipedia. It says if you can find an orthonormal basis $u_1,u_2$ of the plane, and you make the matrix $A$ whose columns are $u_1$ and $u_2$, then the projection matrix is $P = AA^T$. So if we can find some $u_1$ and $u_2$, you can do the rest using the formula. First, find any old vector in the plane. So just find something whose dot product with $(7,6,5)$ is zero. For example, we can use $(1,-2,1)$. If we take the cross product of this vector with $(7,6,5)$, we will get another vector in the same plane, which is orthogonal to $(1,-2,1)$. So compute $(1,-2,1) \times (7,6,5) = 2(-8,1,10)$. Now just re-scale these vectors so they have length one, and we can use these as $u_1$ and $u_2$: $$\begin {align*} u_1 &= \frac{1}{\sqrt{6}} (1,-2,1) \\ u_2 &= \frac{1}{\sqrt{165}} (-8,1,10) \end {align*}$$ Your matrix $A$ is then $$ \begin{pmatrix} \frac{1}{\sqrt{6}} & \frac{-8}{\sqrt{165}} \\ \frac{-2}{\sqrt{6}} & \frac{1}{\sqrt{165}} \\ \frac{1}{\sqrt{6}} & \frac{10}{\sqrt{165}} \end{pmatrix} $$ Finally just use the formula $P = AA^T$.

(2) A rotation matrix that rotates counter-clockwise by angle $\phi$ is: $$ \begin{pmatrix} \cos(\phi) & -\sin(\phi) \\ \sin(\phi) & \cos(\phi) \end{pmatrix} $$ See for instance: wikipedia

(3) You need to specify an axis of rotation for $3 \times 3$. I'm not sure what you mean? Do you mean that $v = (7,6,5)$ is the axis of rotation? Or that the axis is orthogonal to this vector? In any case, if you know the correct axis, see the wikipedia page for the formula for the $3 \times 3$ rotation matrix.