Everything to learn better...

Home

Maths

Vectors II

Vectors in 3D

Vectors in 3D

Select Lesson

Exam Board

Select an option

Explainer Video

Loading...
Tutor: Alice

Summary

Vectors in 3D

​​In a nutshell

Vectors can be used to describe position and displacement in three dimensions. As in two dimensions where you have unit vectors i\bf{i} and j\bf{j} for the x-x\text- and yy-axes respectively, the unit vector along the zz-axis is denoted by k\bf{k}. Vectors in 3D can be represented with column vectors or unit vector notation (i\bf{i}, j\bf{j} and k\bf{k}). Similar to vectors in 2D, you can work out the angle a vector makes with any positive axis.



Unit vectors

The unit vectors along the xx-, yy- and zz-axes are denoted as​ i\bf{i}, j\bf{j} and k\bf{k}, respectively.


i=(100)\bf{i}=\begin{pmatrix}1\\0\\0\end{pmatrix}​​
j=(010)\bf{j}=\begin{pmatrix}0\\1\\0\end{pmatrix}​​
k=(001)\bf{k}=\begin{pmatrix}0\\0\\1\end{pmatrix}​​


For any vector in 3D:


pi+qj+rk=(pqr)\boxed{p{\bf i}+q{\bf j}+r{\bf k}= \begin{pmatrix}p\\q\\r\end{pmatrix}}​​


Example 1

Find the position vectors of A(5,4,2)A(5,4,2) and B(9,2,4)B(9,2,4)​. Write the answer in component form. Find AB\overrightarrow{AB} as a column vector.


The position vectors are:

OA=5i+4j+2k,OB=9i+2j+4k\overrightarrow{OA}=\underline{5{\bf i}+4{\bf j}+2{\bf k}}, \overrightarrow{OB}=\underline{9{\bf i}+2{\bf j}+4{\bf k}}


AB=OBOA=(924)(542)=(422)\begin{aligned}\overrightarrow{AB}&=\overrightarrow{OB}-\overrightarrow{OA}\\&=\begin{pmatrix}9\\2\\4\end{pmatrix}-\begin{pmatrix}5\\4\\2\end{pmatrix}=\underline{\begin{pmatrix}4\\-2\\2\end{pmatrix} } \end{aligned}​​


Example 2

The vectors a\bf{a} and b\bf{ b} are given by a=(1833){\bf a}=\begin{pmatrix}18\\-3\\3\end{pmatrix} and b=(153){\bf b}=\begin{pmatrix}1\\5\\3\end{pmatrix}. Find 13a+b\frac13{\bf a}+\bf{b}.


13a+b=13(1833)+(153)=(611)+(153)=(744)\begin{aligned}\frac13{\bf a}+{\bf b}&=\frac13\begin{pmatrix}18\\-3\\3\end{pmatrix}+\begin{pmatrix}1\\5\\3\end{pmatrix}=\begin{pmatrix}6\\-1\\1\end{pmatrix}+\begin{pmatrix}1\\5\\3\end{pmatrix}=\underline{\begin{pmatrix}7\\4\\4\end{pmatrix}}\end{aligned}​​


Example 3

Find the magnitude of a=i+3j2k{\bf a}= {\bf i}+ 3 {\bf j} -2{\bf k}, and hence find the unit vector in the direction of a{\bf a}.


By Pythagoras' theorem:

a=12+32+(2)2=1+9+4=14|{\bf a}| = \sqrt{1^2+3^2+(-2)^2}=\sqrt{1+9+4}=\underline{\sqrt{14}}​​

For the unit vector in the direction of a{\bf a}:

a^=aa=114(i+3j2k)\hat{\bf a}=\frac{{\bf a}}{|{\bf a }|}=\underline{ \frac1{\sqrt{14}}({\bf i}+ 3 {\bf j} -2{\bf k})}​​



Finding the angle

You can find the angle between a given vector and any of the coordinate axes by using the appropriate right-angled triangle.


Maths; Vectors II; KS5 Year 13; Vectors in 3D

If vector a=xi+yj+zk{\bf a}=x{\bf i}+y{\bf j} +z{\bf k} and makes an angle θx\theta_x with the positive xx-axis, then:


cosθx=xa\boxed{\cos\theta_x=\frac{x}{|{\bf a}|}}​​

Note: This also applies for angles θy\theta_y and θz\theta_z.


​​Example 4

Find the angles that the vector a=2i1j+7k{\bf a}=2{\bf i}-1{\bf j} +7{\bf k} makes with each of the positive coordinates axes to 1 d.p.1\ d.p.


First, find a|{\bf a}|:

a=22+(1)2+72=4+1+49=54|{\bf a}| = \sqrt{2^2+(-1)^2+7^2}=\sqrt{4+1+49}=\sqrt{54}​​​

Use the respective formula for each axis: 


cosθx=xa=254 θx=74.2°\cos\theta_x=\frac{x}{|{\bf a}|}=\frac{2}{\sqrt{54}}\implies \theta_x=\underline{74.2\degree}


​​

cosθy=ya=154 θy=97.8°\cos\theta_y=\frac{y}{|{\bf a}|}=\frac{-1}{\sqrt{54}}\implies \theta_y=\underline{97.8\degree}



cosθz=za=754 θz=17.7°\cos\theta_z=\frac{z}{|{\bf a}|}=\frac{7}{\sqrt{54}}\implies \theta_z=\underline{17.7\degree} ​​


Create an account to read the summary

Exercises

Create an account to complete the exercises

FAQs - Frequently Asked Questions

How do you work out the angle between a given vector and any of the coordinate axes?

What is the unit vector along the z-axis?

How do you represent vectors in 3D?

Beta

I'm Vulpy, your AI study buddy! Let's study together.