The point P has coordinates (-1, 4, 11) and the line l has equation \(\mathbf{r} = \begin{pmatrix} 1 \\ 3 \\ -4 \end{pmatrix} + \lambda \begin{pmatrix} 2 \\ 1 \\ 3 \end{pmatrix}\).
Find the perpendicular distance from P to l.
With respect to the origin O, the position vectors of two points A and B are given by \(\overrightarrow{OA} = \mathbf{i} + 2\mathbf{j} + 2\mathbf{k}\) and \(\overrightarrow{OB} = 3\mathbf{i} + 4\mathbf{j}\). The point P lies on the line through A and B, and \(\overrightarrow{AP} = \lambda \overrightarrow{AB}\).
With respect to the origin O, the lines l and m have vector equations r = 2i + k + \(\lambda\)(i - j + 2k) and r = 2j + 6k + \(\mu\)(i + 2j - 2k) respectively.
With respect to the origin O, the points A and B have position vectors given by \(\overrightarrow{OA} = \mathbf{i} + 2\mathbf{j} + 2\mathbf{k}\) and \(\overrightarrow{OB} = 3\mathbf{i} + 4\mathbf{j}\). The point P lies on the line AB and OP is perpendicular to AB.
(i) Find a vector equation for the line AB.
(ii) Find the position vector of P.
The lines l and m have vector equations
\(\mathbf{r} = \mathbf{i} + \mathbf{j} + \mathbf{k} + s(\mathbf{i} - \mathbf{j} + 2\mathbf{k})\)
and
\(\mathbf{r} = 4\mathbf{i} + 6\mathbf{j} + \mathbf{k} + t(2\mathbf{i} + 2\mathbf{j} + \mathbf{k})\)
respectively.