Writing Vector Equations
students, today you will learn how to write vector equations for lines and other simple geometric objects in Euclidean space. Vector equations are one of the most useful tools in linear algebra because they connect algebra with geometry 📐. Instead of describing a line only with words or a graph, we can describe it with vectors and equations.
Learning objectives:
- Explain the main ideas and terminology behind writing vector equations.
- Apply linear algebra procedures to write vector equations.
- Connect vector equations to the broader topic of vectors in Euclidean space.
- Summarize how vector equations fit into geometry and linear algebra.
- Use examples to check and interpret vector equations.
By the end of this lesson, you should be able to look at a point and a direction and write a vector equation for a line, then use that equation to test whether a point lies on the line. This skill is common in physics, engineering, computer graphics, and motion problems 🚗.
What a vector equation means
A vector equation describes a geometric object using vectors. For a line in two-dimensional or three-dimensional space, the basic idea is:
$$\mathbf{r}=\mathbf{r}_0+t\mathbf{v}$$
Here, $\mathbf{r}$ is a position vector for a general point on the line, $\mathbf{r}_0$ is a fixed position vector to a known point on the line, $\mathbf{v}$ is a direction vector, and $t$ is a real number parameter. The parameter $t$ tells us how far to move along the direction vector.
This equation says: start at a point, then move in the direction of the line. If $t=0$, you are at the starting point. If $t=1$, you move one full direction vector. If $t=-1$, you move in the opposite direction.
For example, if a line passes through the point $\bigl(2,-1\bigr)$ and has direction vector $\langle 3,4\rangle$, its vector equation can be written as
$$\mathbf{r}=\langle 2,-1\rangle+t\langle 3,4\rangle$$
This means every point on the line has coordinates
$$\bigl(x,y\bigr)=\bigl(2+3t,-1+4t\bigr)$$
That coordinate form is called a parametric form, and it comes directly from the vector equation.
How to write a vector equation for a line
To write a vector equation, you usually need two pieces of information: a point on the line and a direction vector. Sometimes the direction vector is given directly. Other times, you must find it from two points.
Step 1: Find a point on the line
Suppose a line passes through the point $P\bigl(1,5\bigr)$. Then a position vector for that point is
$$\mathbf{r}_0=\langle 1,5\rangle$$
If the line is in three dimensions and passes through $P\bigl(1,-2,4\bigr)$, then
$$\mathbf{r}_0=\langle 1,-2,4\rangle$$
Step 2: Find a direction vector
If the problem gives another point $Q\bigl(4,1\bigr)$ on the same line, then a direction vector is found by subtracting coordinates:
$$\mathbf{v}=\langle 4-1,1-5\rangle=\langle 3,-4\rangle$$
Why does this work? Because the difference between two points gives the movement from one point to the other. That movement points along the line.
Step 3: Combine the point and direction vector
Now write the vector equation:
$$\mathbf{r}=\langle 1,5\rangle+t\langle 3,-4\rangle$$
This is the complete vector equation of the line.
In coordinate form, the same line is
$$x=1+3t,\qquad y=5-4t$$
These forms are equivalent, so you can choose whichever one is most useful.
Example in three dimensions
Suppose a line passes through $P\bigl(2,0,-1\bigr)$ and has direction vector $\langle -1,3,2\rangle$. Then the vector equation is
$$\mathbf{r}=\langle 2,0,-1\rangle+t\langle -1,3,2\rangle$$
So the coordinate equations are
$$x=2-t,\qquad y=3t,\qquad z=-1+2t$$
These equations describe every point on the line in $\mathbb{R}^3$.
How to get a direction vector from two points
students, one of the most important skills in this lesson is finding a direction vector from two points. If the line passes through $A\bigl(x_1,y_1\bigr)$ and $B\bigl(x_2,y_2\bigr)$, then a direction vector is
$$\langle x_2-x_1,\,y_2-y_1\rangle$$
For three-dimensional points $A\bigl(x_1,y_1,z_1\bigr)$ and $B\bigl(x_2,y_2,z_2\bigr)$, the direction vector is
$$\langle x_2-x_1,\,y_2-y_1,\,z_2-z_1\rangle$$
Example
Find a vector equation for the line through $A\bigl(-1,2\bigr)$ and $B\bigl(3,6\bigr)$.
First find the direction vector:
$$\mathbf{v}=\langle 3-(-1),6-2\rangle=\langle 4,4\rangle$$
Then use point $A$:
$$\mathbf{r}=\langle -1,2\rangle+t\langle 4,4\rangle$$
You could also use point $B$ and a direction vector like $\langle -4,-4\rangle$, because direction vectors that are nonzero scalar multiples of each other describe the same line.
This is an important idea: the direction vector does not have to be unique. Any nonzero scalar multiple of a direction vector works ✅.
Interpreting the parameter
The parameter $t$ is a real number that controls movement along the line. In the equation
$$\mathbf{r}=\mathbf{r}_0+t\mathbf{v}$$
- $t=0$ gives the starting point $\mathbf{r}_0$.
- $t>0$ moves in the same direction as $\mathbf{v}$.
- $t<0$ moves in the opposite direction.
For example, if
$$\mathbf{r}=\langle 1,2\rangle+t\langle 2,-1\rangle$$
then:
- when $t=0$, the point is $\langle 1,2\rangle$,
- when $t=2$, the point is $\langle 5,0\rangle$,
- when $t=-1$, the point is $\langle -1,3\rangle$.
This helps you picture the line as a path. The vector equation gives both the location and the direction.
Checking whether a point lies on a line
One useful application of a vector equation is testing whether a point is on the line. To do this, plug the point into the coordinate equations and see whether the same value of $t$ works in every coordinate.
Example
Does the point $\bigl(7,-2\bigr)$ lie on the line
$$\mathbf{r}=\langle 1,2\rangle+t\langle 2,-1\rangle$$
Write the coordinate equations:
$$x=1+2t,\qquad y=2-t$$
Now substitute the point coordinates:
$$7=1+2t$$
which gives
$$t=3$$
Check the $y$ equation:
$$-2=2-3$$
This is true, so the point lies on the line.
If different values of $t$ were needed for different coordinates, then the point would not be on the line.
Why vector equations matter in Euclidean space
Vector equations are a core idea in Euclidean space because they turn geometric problems into algebraic ones. In $\mathbb{R}^2$ and $\mathbb{R}^3$, many shapes can be studied using vectors, parameters, and coordinates.
A line is one of the simplest examples. But the same thinking appears in more advanced topics too, including planes, motion, and systems of equations. For instance, a particle moving through space can be described by a vector equation whose parameter represents time. In that setting, the vector equation shows where the particle is at each time $t$.
Vector equations also connect to linear combinations. The expression
$$\mathbf{r}=\mathbf{r}_0+t\mathbf{v}$$
is a linear combination of vectors, where $\mathbf{r}_0$ is fixed and $t\mathbf{v}$ changes with the parameter. This is one reason vector equations fit naturally into linear algebra.
Common mistakes to avoid
There are a few errors students often make when writing vector equations:
- Using a point as a direction vector. A point like $\langle 2,1\rangle$ is not automatically a direction vector unless it represents movement.
- Forgetting to subtract coordinates. If two points are given, the direction vector should come from subtraction.
- Mixing up position vectors and points. A point and its position vector have the same coordinates, but the vector equation uses vector notation.
- Using a zero direction vector. The direction vector must be nonzero, or the equation does not describe a line.
- Not checking consistency. If you test a point, the same parameter value must work in every coordinate.
Being careful with these details will make your answers accurate and clear.
Conclusion
students, writing vector equations is a powerful way to describe lines in Euclidean space. The basic form
$$\mathbf{r}=\mathbf{r}_0+t\mathbf{v}$$
combines a starting point and a direction vector to describe every point on the line. You can build the equation from two points, from a point and a direction, or from coordinate information. You can also convert the vector equation into parametric equations and use it to check whether a point lies on the line.
This lesson is important because it shows how linear algebra uses vectors to describe geometry. Instead of seeing a line as only a picture, you can represent it precisely with equations. That makes vector equations a foundation for later topics in vectors, matrices, and analytic geometry 📘.
Study Notes
- A vector equation of a line is usually written as $\mathbf{r}=\mathbf{r}_0+t\mathbf{v}$.
- $\mathbf{r}_0$ is a position vector for a known point on the line.
- $\mathbf{v}$ is a nonzero direction vector.
- $t$ is a real parameter.
- If two points are given, find the direction vector by subtracting coordinates.
- In $\mathbb{R}^2$, a line can be written as $\mathbf{r}=\langle x_0,y_0\rangle+t\langle a,b\rangle$.
- In $\mathbb{R}^3$, a line can be written as $\mathbf{r}=\langle x_0,y_0,z_0\rangle+t\langle a,b,c\rangle$.
- The vector equation can be rewritten as parametric equations.
- A point lies on the line if one value of $t$ satisfies every coordinate equation.
- Direction vectors are not unique; any nonzero scalar multiple gives the same line.
- Vector equations connect geometry, algebra, and motion in Euclidean space.
