- Published on
Ultimate Guide to Vector Equations of Lines
- Authors

- Name
- Vu Hung
Introduction
In junior mathematics, you described straight lines using the Cartesian gradient-intercept formula: . However, this formula completely breaks down in 3-dimensional space. How do you describe a line's gradient when there are three axes? In HSC Mathematics Extension 2, we use Vector Equations of Lines. This method elegantly describes lines in both 2D and 3D space using just two vectors: a starting position and a direction.
Executive Summary
This guide covers the foundation of vector line equations:
- The Core Equation: Understanding .
- Position and Direction: Distinguishing between the position vector () that anchors the line, and the direction vector () that determines its angle.
- Forming Equations from Points: Creating a line equation given two coordinates in space.
- Converting Formats: Translating between 2D Cartesian () and 2D vector forms.
What is this about?
Imagine standing at a specific point on a map. To tell someone how to draw a line through your location, you need to tell them two things: where you are standing (the position), and which way you are facing (the direction).
In vector mathematics:
- The place you are standing is the Position Vector (). It points from the origin to a specific point on the line.
- The way you are facing is the Direction Vector (). It describes the parallel movement along the line.
- To reach any point on that line (the generic vector ), you start at and take a certain number of steps (, a scalar parameter) in the direction of .
Main Content
1. The Vector Equation of a Line
The universal formula for a straight line in any dimension is:
Where:
- is the position vector of any generic point on the line.
- is the position vector of a known point on the line.
- is the direction vector of the line.
- (lambda) is a real scalar parameter. As changes from to , traces out every single point on the line.
Note: A line has infinitely many valid vector equations! You can choose any point on the line to be , and you can scale the direction vector by any non-zero constant, and the equation still describes the exact same line.
2. Finding the Equation from Two Points
If you are given two points on a line, let's say and , you need to find and .
- The Position Vector (): You can just use the position vector of (denoted ) or the position vector of (denoted ).
- The Direction Vector (): To find the direction between the two points, calculate the vector connecting them: .
So, the equation of the line passing through and can be written as:
3. Direction Vectors and 2D Gradients
In 2D Cartesian geometry, a line has a gradient . If a line has a gradient of , it means for every 2 units you move in the -direction (run), you move 3 units in the -direction (rise).
This translates perfectly into a 2D direction vector! If gradient , then the direction vector is: For , the direction vector is .
4. Converting Cartesian to Vector Form (2D)
To convert into a vector equation:
- Find a point (): Let , then . The point is , so .
- Find the direction (): The gradient is . So the direction is .
- Write the equation: .
Simple Worked Example
Question: Find a vector equation for the straight line passing through the points and in 3D space.
Solution: Step 1: Write down the position vectors of the points.
Step 2: Calculate the direction vector. The line travels from to . The direction vector is :
Step 3: Construct the final equation. Using the formula . We will use as our anchor point .
(Note: would also be a completely correct and valid answer!)
mini-FAQ page
Q: Does it matter if I write vectors in column format or using ? A: No, both are mathematically identical. is exactly the same as . Column vectors are generally faster to write and easier to read during long calculations.
Q: Can a 3D line be written in Cartesian form like ? A: Not with a single equation! To describe a 1D line in 3D space using Cartesian algebra, you actually need a system of two plane equations intersecting. This is why the vector parameter form is vastly superior for 3D geometry.
Common mistakes to avoid
- Confusing position and direction vectors: If a question asks for a line through parallel to another line with equation , do not use the part! The direction of the parallel line is only the part.
- Forgetting the part: Writing just is an expression, not an equation. You must write or to get full marks.
Practice on Vu's Maths Hub
Converting fluidly between geometric lines and vectors is a core skill.
- Practice deriving 3D line equations in the HSC Vectors Booklet.
- Test your 2D Cartesian-to-Vector conversions at Vu's Maths Hub.
Further Readings
- Now that you have lines, what happens when they collide? Read our next guide: Vector Intersections and Skew Lines.
- Explore more HSC math resources and full worked solutions at Vu's Maths Hub.
Connect with me
Want to master 3D Vectors and guarantee top marks in HSC Mathematics Extension 2? Visit Vu's Maths Hub for in-depth booklets, rigorous worked solutions, and expert advice to help you ace your exams!
