Equations of Lines in 2-Space
You already know . Vectors give you new ways to describe the same line: by a point and a direction, or by a point and a vector perpendicular to the line. These forms look like extra work in 2-space, but they’re the ones that carry over to 3-space, where slope stops making sense.
Key ideas
Section titled “Key ideas”Components are written in square brackets, like , as in most Ontario textbooks. Some books write or ; they mean the same thing.
The vector equation
Section titled “The vector equation”A line is fixed by one point on it and its direction. Let be a point on the line, with position vector , and let be a direction vector: any non-zero vector parallel to the line. Then every point on the line has position vector
Here and is a parameter. Think of it as a set of instructions: start at and walk copies of . Positive goes one way, negative the other, and gives itself.
Parametric equations
Section titled “Parametric equations”Write the vector equation one component at a time:
These are the parametric equations of the line. They’re handy for finding points: pick a value of and compute and .
The scalar equation and the normal vector
Section titled “The scalar equation and the normal vector”The scalar equation (or Cartesian equation) of a line is
The vector is a normal vector: it is perpendicular to the line.
Here’s why. Take a fixed point and any point on the line. The vector lies along the line, so it is perpendicular to , and their dot product is zero:
The bracket is a constant, . So to write a scalar equation, you need a normal vector and one point.
Switching between a normal and a direction
Section titled “Switching between a normal and a direction”In 2-space, swapping the components and changing one sign turns a normal into a direction vector (and back):
Check: , so they are perpendicular. The slope of the line is , which also equals (when the line isn’t vertical).
Converting between forms
Section titled “Converting between forms”| From | To | How |
|---|---|---|
| vector | parametric | read off the components |
| vector or parametric | scalar | get from , then find using the point |
| parametric | scalar | or: solve one equation for and substitute into the other |
| scalar | vector | get from ; find any point (set or ) |
None of these forms is unique. A different point, or a direction vector that is a non-zero multiple of , gives a different-looking equation for the same line.
Parallel and perpendicular lines
Section titled “Parallel and perpendicular lines”- Two lines are parallel when their direction vectors (or their normals) are scalar multiples of each other.
- Two lines are perpendicular when their direction vectors have a dot product of zero (equivalently, their normals do).
Parallel lines can still be the same line. To tell, check whether a point on one line is on the other.
Is a point on the line?
Section titled “Is a point on the line?”- Scalar equation: substitute the point; it’s on the line if you get .
- Vector or parametric equation: solve each component equation for . The point is on the line only if every component gives the same .
Worked examples
Section titled “Worked examples”Example 1: From a point and a direction
Section titled “Example 1: From a point and a direction”A line passes through and is parallel to .
- (a) Write its vector and parametric equations.
- (b) Find two more points on the line.
- (c) Are and on the line?
Solution.
(a) Use :
(b) gives . gives .
(c) For : gives , and gives . Same , so the point is on the line.
For : gives , but then . The point is not on the line.
Example 2: Scalar to vector
Section titled “Example 2: Scalar to vector”Write a vector equation of the line .
Solution. The normal is , so a direction vector is .
For a point, set : , so . The point is on the line.
Check: gives , and ✓.
Example 3: Vector to scalar
Section titled “Example 3: Vector to scalar”Find the scalar equation of the line .
Solution. The direction is , so a normal is . The scalar equation has the form
The point is on the line, so , which gives :
Another way: from the parametric equations and , solve the first for : . Substitute:
Both methods agree. This is the line in the figure above.
Example 4: Parallel and perpendicular through a point
Section titled “Example 4: Parallel and perpendicular through a point”Let be the line and let .
- (a) Find the scalar equation of the line through parallel to .
- (b) Find a vector equation of the line through perpendicular to .
Solution.
(a) A parallel line has the same normal, , so its equation is . Substitute : , so .
(b) A perpendicular line runs in the direction of ‘s normal, so use :
Check: has direction , and ✓.
Common mistakes
Section titled “Common mistakes”Using the normal as the direction vector. In , the vector is perpendicular to the line, not along it. Swap the components and change one sign to get a direction vector.
Checking only one component. To test a point with parametric equations, you need the same from every component. In Example 1, gives from , but that fails the equation.
Thinking there’s only one right answer. and are the same line. If your answer looks different from the back of the book, check that your point satisfies their equation and your direction is a multiple of theirs.
Sign slips when finding C. Substitute carefully: for at you get , so , not .
Assuming parallel means different. Two lines with parallel direction vectors might be the same line. Test a point from one in the other.
Practice
Section titled “Practice”1. (Warm-up) For the line :
- (a) State a point on the line and a direction vector.
- (b) Write the parametric equations.
- (c) Find the point where .
Solution
(a) Point ; direction vector .
(b) , .
(c) and , so .
2. (Warm-up) State a normal vector and a direction vector for the line .
Solution
Normal: . Direction: swap and change a sign, .
Check: ✓.
3. (Warm-up) The line has parametric equations , . Is on ? Is ?
Solution
For : gives , but then . Not on .
For : gives , and ✓. On .
4. (Core) Find vector, parametric, and scalar equations of the line through and .
Solution
, so is also a direction vector (half of it).
A normal is , so . Using : , so :
Check with : ✓.
5. (Core) Convert , to a scalar equation.
Solution
The direction is , so a normal is . The equation is . Using : , so :
Check with , the point : ✓.
6. (Core) Write the line as a scalar equation and as a vector equation.
Solution
Multiply by : , so
Normal , so direction (which matches the slope ). The -intercept gives the point :
7. (Core) Decide whether each pair of lines is parallel, perpendicular, or neither. If parallel, decide whether they’re the same line.
- (a) and
- (b) and ,
Solution
(a) The first line has normal , so direction . The directions are parallel. Test in the first equation: . So the lines are parallel and distinct.
(b) , so the lines are perpendicular.
8. (Challenge) Find the point where the line meets the line .
Solution
Any point on the first line is . Substitute into the second equation:
The point is .
Check: ✓.
9. (Challenge) A survey drone near Guelph starts at the point on a map grid measured in kilometres and flies in a straight line with velocity km/h, so after hours its position is .
- (a) Where is the drone after 1.5 hours?
- (b) What is its speed?
- (c) Does it fly over a cabin at ? If so, when?
Solution
(a) , so the point .
(b) Speed is the magnitude of the velocity: km/h.
(c) gives , and gives . Same , so yes: the drone passes over the cabin after 4 hours.