search
Search
Unlock 100+ guides
search toc
close
Cancel
Post
account_circle
Profile
exit_to_app
Sign out
search
keyboard_voice
close
Searching Tips
Search for a recipe:
"Creating a table in MySQL"
Search for an API documentation: "@append"
Search for code: "!dataframe"
Apply a tag filter: "#python"
Useful Shortcuts
/ to open search panel
Esc to close search panel
to navigate between search results
d to clear all current filters
Enter to expand content preview Doc Search Code Search Beta SORRY NOTHING FOUND!
mic
Start speaking... Voice search is only supported in Safari and Chrome.
Shrink
Navigate to

# Guide on Position Vectors in Linear Algebra

schedule Aug 11, 2023
Last updated
local_offer
Linear Algebra
Tags
expand_more
mode_heat
Master the mathematics behind data science with 100+ top-tier guides
Start your free 7-days trial now!

# What are position vectors?

Recall that vectors can be represented as arrows that connect one point to another. Two vectors are considered to be equal as long as their magnitude and direction are the same. For instance, consider the following two vectors: These two vectors are equal even though they have different starting and ending points. In this sense, these types of vectors are described as "free" because we care only about their magnitude and direction and not about their specific starting and ending point.

In contrast, the so-called position vectors always have the tail at the origin. For instance, the following vector is a position vector: Because position vectors begin at the origin, we can easily express any point on the coordinate system. For example, the above vector represents the point $(4,3)$. As you would expect, the point $(5,2)$, for instance, will be represented by the following vector: Unlike free vectors, position vectors are unique given a magnitude and a direction.

Theorem.

# Vector between two points

Suppose we have two points $A$ and $B$ and we wish to find the vector $\overrightarrow{AB}$ shown below: The vector $\overrightarrow{AB}$ is computed by:

$$\overrightarrow{AB}= \begin{pmatrix} b_1-a_1\\b_2-a_2 \end{pmatrix}$$

Proof. Suppose we have two points $A$ and $B$ and we wish to find the vector $\overrightarrow{AB}$ shown below: One approach to find $\overrightarrow{AB}$ is to use vectors $\overrightarrow{OA}$ and $\overrightarrow{OB}$ below: Recall the head-to-tail methodlink of vector addition - vector $\overrightarrow{AB}$ can be computed as follows:

\begin{align*} \overrightarrow{AB}&= -\overrightarrow{OA}+\overrightarrow{OB}\\ &= \overrightarrow{OB}-\overrightarrow{OA}\\ &= \begin{pmatrix} b_1-a_1\\b_2-a_2 \end{pmatrix} \end{align*}

Visually, we are reversing the direction of $\overrightarrow{OA}$ by multiplying it by $-1$ so that we can find $\overrightarrow{AB}$ like so: This completes the proof.

Theorem.

## Computing the vector between two points

Find vector $\overrightarrow{AB}$ below: Solution. Let's directly use the theorem:

\begin{align*} \overrightarrow{AB} &= \begin{pmatrix} b_1-a_1\\b_2-a_2 \end{pmatrix}\\ &= \begin{pmatrix} 5-2\\2-3 \end{pmatrix}\\ &= \begin{pmatrix} 3\\-1 \end{pmatrix} \end{align*}

We can see that this is true in the diagram as well.

# Position vectors in higher dimensions

We have only discussed position vectors in two-dimensional space but they can reside in any dimension. For instance, a position vector in $\mathbb{R}^3$ is shown below: The vector between two points in $\mathbb{R}^3$ is: thumb_up
thumb_down
Comment
Citation
Ask a question or leave a feedback...
thumb_up
1
thumb_down
0
chat_bubble_outline
1
settings
Enjoy our search
Hit / to insta-search docs and recipes!