**Linear Algebra**

# Guide on Position Vectors in Linear Algebra

*schedule*May 20, 2023

*toc*Table of Contents

*expand_more*

**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.

# 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:

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:

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.

## Computing the vector between two points

Find vector $\overrightarrow{AB}$ below:

Solution. Let's directly use the theorem:

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: