# The Vector Equation of a Line - Problem 2

###### Transcript

We’re talking about finding the vector equation of a line. Here’s another example. Consider the line passing through and . We’re first asked to sketch the line, so let’s take a look at the graph, would be, that’s -5; 1,2,3,4,5,6,7,8 is here. And then is here, 1, 2, 3, 4, that’s right there. Let me connect those two points and draw my line.

Second step: find a vector equation of the line. Now we need two things, we need a position vector r zero, for one of the two points the line passes through, and a direction vector, v. Let’s pick the left hand point, , this point. And construct a position vector to it. Let me just draw that really quickly. It’s going to be strange looking because the line itself passes so close to the origin, but our position vector goes from the origin to a point. That’s the position vector for this point; let’s call this r sub zero. r sub zero would be .

What about v; the direction vector? We could just make the direction vector, the vector from -5, 8> all the way down to the point . If we do that, then the components are going to be 3 minus -5 and -4 minus 8. That’s 8, -12. One vector equation for the line would be equals the initial point, plus t times the direction vector .

Find the points corresponding to t equals zero, 1 and ½. Because two people doing the same problem may come up with different initial points and different direction vectors, you’re going to get different points corresponding to these. These are not going to be unique answers. For my vector equation let’s calculate these. T equals zero, we get equals plus zero times, well zero times any vector is going to be the zero vector. We have the zero vector to . We get . We get that initial point when t equals zero.

What about t equals 1? We get plus 1 times plus ½ of . This is going to be -5 plus 8, which is 3 and then 8 plus -12 , -4. is the other point that we use. This makes sense because, if you add the vector that connects this point, the first point with the second point, you’re going to get the second point. Let’s see what happens when you get t equals ½. is plus ½ of . ½ of is . So we’re adding that to . We add component-wise, we get -5 plus 4, -1. 8 plus -6, 2. When t equals ½, we get .

Let’s just take a look our graph. is right here. It turns out that that’s going to be exactly the midpoint between these two guys here. That was our t equals zero point, that was our t equals 1, and that’s our t equals ½.

There’re many ways to find a vector equation for a line, but one way is when you’re give two points, use one of the points as your initial point, get a position vector for it and then use the two points to create your direction vector. This is the form, r zero plus t times v.