Skip to main content

Section 3.2 Vector Equations of Lines

Sets of vectors can be used to represent various geometric objects in 2 and 3 dimensions. First, we will consider using vectors to represent lines in R2, and then in R3. In R2, it is simpler to represent lines in Cartesian form, using its slope and y-intercept, for example. However, in 3D, lines do not have a β€œslope” or β€œy-intercept”, in the same sense. Then, the vector form will make describing lines in 3D much easier.

Subsection 3.2.1 Intro to Vector Parametric Form of a Line in the Plane

Recall that in algebra, a line is given by a Cartesian equation, e.g. of the form y=mx+b, where x,y are variables, and m,b are constants (slope-intercept form). More precisely, a line is an (infinite) set of points in the plane. In particular, the line y=mx+b could be represented as the set,
{(x,mx+b):x∈R}
That is, the set of all points of the form (x,mx+b), where x ranges over all real numbers. The number x here is called a parameter, because it is a quantity which specifies each point on the line. Here, it happens to represent the x-coordinate of the line, but its label does not change the line. That is,
{(x,mx+b):x∈R}={(t,mt+b):t∈R}
both represent the same set of points, and the same line. We typically represent parameters by t. Representing points in the plane as position vectors, this line can be written as the set of all vectors,
{[tmt+b]:t∈R}
We can rewrite this vector in terms of the part which depends on the parameter t and that part which doesn't,
{t[1m]+[0b]:t∈R}
Roughly, the y-intercept b specifies a "starting point" for the line, and the slope m specifies the "direction" the line is in (when moving 1 unit right, we move m units up).
Using the language of vectors, we can form a more vector focused form of a line.
Suppose we want a line to pass through the point r0=(x0,y0). This vector will act as a β€œstarting point” for the line. Then, we specify another vector v=(a,b), which represents the direction from the starting point r0 which we want the line to travel, called a direction vector. Note that a line goes in two opposite directions, so βˆ’v would also work. Then, consider adding some multiple of v to r0. Say, of the form,
r0+tv=[x0y0]+t[ab]
where t∈R. The resuling vectors, for varying t, trace out a line in the plane. As t runs from βˆ’βˆž to ∞, the vectors sweep out the entire line. Then, we say that the set,
{r0+tv:t∈R}
is the vector parametric form of the line.
Note that the direction vector v is not unique, because any other vector parallel to it would also specify the same line. Also, the point on the line is not unique, because we could have used any other point on the line.
Another way to think about this, is that r is a point on the line if and only if rβˆ’r0 is parallel to v, i.e. rβˆ’r0=tv, which is an equivalent equation.
More explicitly, we can compare components,
[xy]=[x0y0]+t[ab][xy]=[x0+tay0+tb]
Then, by equating components, this results in the equations,
{x=x0+aty=y0+btβˆ’βˆž<t<∞
This is called the scalar parametric form of a line. You may have encountered this form if you have studied parametric equations in pre-calculus or calculus.
Another method of specifying a line is to specify two points r0,r1 on the line. This is because a direction vector for the line is the difference between the points, v=r1βˆ’r0, and one of the points (say r0) can be used as the starting point. Thus, the vector parametric form is,
r=r0+t(r1βˆ’r0)βˆ’βˆž<t<∞
Notice that r0 is on the line, corresponding to t=0, and the point r1 is on the line, corresponding to t=1.

Subsection 3.2.2 Lines Using Two Points

Recall that a line can also be specified using two points (x1,y1),(x2,y2). Then, a direction vector is the vector that is the difference of the points, as vectors,
v=⟨x2βˆ’x1,y2βˆ’y1⟩
Then, using the point r0=(x1,y1) as a refernce point, the vector parametric equation of the line is again r=r0+tv. Or, in scalar parametric form,
{x=x1+t(x2βˆ’x1)y=y1+t(y2βˆ’y1)βˆ’βˆž<t<∞

Subsection 3.2.3 Lines in R3

In R3, the equation of a line builds off the case for R2. Notice that in Cartesian coordinates, it is unclear how to extend the plane equation y=mx+b, to an equation in R3 involving all of x,y,z.
Again, a line can be completely determined by a point (say r0=(x0,y0,z0)∈R3), and a vector (say v=(a,b,c)∈R3).
Then, if r=(x,y,z) is a point on the line, then rβˆ’r0 is parallel to v. That is, rβˆ’r0=tv for some t∈R. Then, the line can be written as,
Then, similarly, we can compare components, to obtain the scalar parametric form of a line,
{x=x0+aty=y0+btz=z0+ctβˆ’βˆž<t<∞
Again, the direction vector v and point r0 are both not unique.
Similarly, we can use two points r0,r1 to specify the line, given by,
r=r0+t(r1βˆ’r0)βˆ’βˆž<t<∞

Subsection 3.2.4 Cartesian Equation of a Line in R3

Using some algebraic manipulations, we can eliminate the parameter t, to write the equation of a line in Cartesian form. Recall that,
{x=x0+aty=y0+btz=z0+ctβˆ’βˆž<t<∞
Then, solving for t in each equation,
t=xβˆ’x0at=yβˆ’y0bt=zβˆ’z0c
For every t, the three quantities on the right-hand side of these equations must be equal. That is,
xβˆ’x0a=yβˆ’y0b=zβˆ’z0c
This is the Cartesian equation of a line in R3. Really, it is two equations, say,
xβˆ’x0a=yβˆ’y0bandyβˆ’y0b=zβˆ’z0c

Subsection 3.2.5 Affine Combination Form of a Line

Let u,v be vectors. Then, consider the line segment connecting the two heads of the vectors in standard position. The midpoint of this line segment is the point 12(u+v). That is, the linear combination,
12u+12v
More generally, by varying the weights of this linear combination, but requiring that the weights sum to 1, we can reach every point along this line segment. Further, if we allow the weights to vary over all real numbers (but still require them to sum to 1), then we can access all points on the line extending in the direction of this segment. Equivalently, the line along bβˆ’a.
Then, if we are given two points u,v in the plane, we can form the line between them by considering the set of all linear combinations of the vectors, where the weights sum to 1. We specify this by denoting one weight by t, and the other weight by 1βˆ’t. Then,
{(1βˆ’t)u+tv:t∈R}
Linear combinations where the weights sum to 1 are called affine combinations.