Vector Equation — Line and Plane Forms, Examples

#Algebra
TL;DR
A vector equation describes a line or a plane using position vectors and a parameter, most often the line form $\vec{r} = \vec{a} + \lambda\vec{b}$ — start at point $\vec{a}$, then slide along direction $\vec{b}$. This article covers the line form, the two-point form, the plane forms, what the parameter $\lambda$ does, how to convert to Cartesian form, and six worked examples.
BT
Bhanzu TeamLast updated on June 10, 202610 min read

What Is a Vector Equation?

A vector equation is an equation that uses vectors to describe a geometric object — usually a line or a plane in two or three dimensions. Instead of relating $x$, $y$, and $z$ directly, it relates position vectors (arrows from the origin to a point) using a scalar parameter.

The most common vector equation is the equation of a line, $\vec{r} = \vec{a} + \lambda\vec{b}$. Here $\vec{r}$ is the position vector of any point on the line, $\vec{a}$ is the position vector of one known point, $\vec{b}$ is a direction vector parallel to the line, and $\lambda$ is the parameter you vary. The whole subject rests on combining vectors through addition and scalar multiplication — the same operations behind the product of vectors, which reappears when we build plane equations.

What Is the Vector Equation of a Line?

The vector equation of a line through a point with position vector $\vec{a}$, parallel to direction vector $\vec{b}$, is:

$$\vec{r} = \vec{a} + \lambda\vec{b},$$

where $\vec{r}$ is the position vector of a general point on the line and $\lambda$ is a real-number parameter. Read it as a journey: travel from the origin out to point $\vec{a}$, then move some multiple $\lambda$ of the direction $\vec{b}$.

The two-point form

If you're given two points rather than a point and a direction, the direction is the vector from one point to the other. For points with position vectors $\vec{a}$ and $\vec{b}$, the direction is $\vec{b} - \vec{a}$, so:

$$\vec{r} = \vec{a} + \lambda(\vec{b} - \vec{a}).$$

At $\lambda = 0$ you sit at $\vec{a}$; at $\lambda = 1$ you land exactly on $\vec{b}$. Any other value of $\lambda$ places you somewhere along — or beyond — the segment joining them.

What does the parameter λ actually do?

$\lambda$ is the dial that picks out which point on the line you mean. Each value of $\lambda$ names exactly one point:

  • $\lambda = 0$ gives the base point $\vec{a}$.

  • $\lambda = 1$ moves you one full copy of $\vec{b}$ along the line.

  • $\lambda = 2$ moves you two copies along — twice as far.

  • $\lambda = -1$ moves you one copy in the opposite direction.

As $\lambda$ runs over every real number, $\vec{r}$ sweeps out the entire infinite line. This is exactly the parametric idea: one variable, the whole curve. (You'll meet the same parameterisation again in calculus when a particle's position is written as a function of time.)

What Is the Vector Equation of a Plane?

A plane needs more pinning down than a line, and there are three standard vector equations for it depending on what you're given.

  • Normal form — a plane at perpendicular distance $d$ from the origin with unit normal $\hat{n}$: $$\vec{r} \cdot \hat{n} = d.$$

  • Point-normal form — a plane through point $\vec{a}$ with normal vector $\vec{N}$ (any vector perpendicular to the plane): $$(\vec{r} - \vec{a}) \cdot \vec{N} = 0.$$

  • Three-point form — a plane through three non-collinear points $\vec{a}$, $\vec{b}$, $\vec{c}$: $$(\vec{r} - \vec{a}) \cdot \big[(\vec{b} - \vec{a}) \times (\vec{c} - \vec{a})\big] = 0.$$

Notice the plane equations run on the dot product (the normal must be perpendicular to every direction inside the plane, so the dot product is zero) and, in the three-point case, the cross product (to build a normal out of two in-plane directions). The angle relationships behind these come straight from the dot product. The line form, by contrast, runs on plain vector addition — which is why a line is genuinely simpler than a plane.

How Do You Convert a Vector Equation to Cartesian Form?

The Cartesian form drops out when you compare components and eliminate $\lambda$. Take a line $\vec{r} = \vec{a} + \lambda\vec{b}$ with $\vec{a} = (x_1, y_1, z_1)$ and $\vec{b} = (b_1, b_2, b_3)$. Writing $\vec{r} = (x, y, z)$ component by component gives:

$$x = x_1 + \lambda b_1, \quad y = y_1 + \lambda b_2, \quad z = z_1 + \lambda b_3.$$

Solve each for $\lambda$ and set them equal:

$$\frac{x - x_1}{b_1} = \frac{y - y_1}{b_2} = \frac{z - z_1}{b_3}.$$

That symmetric form is the Cartesian equation of the line. The vector form and the Cartesian form describe the same line — one keeps the parameter, the other eliminates it.

Examples of Vector Equation

The examples move from a basic line through the two-point form, the most common direction-vector slip, the Cartesian conversion, and finish with two plane forms.

Example 1

Find the vector equation of the line through the point $(1, 2, 3)$ parallel to $\vec{b} = (2, -1, 4)$.

The base point gives $\vec{a} = (1, 2, 3)$ and the direction is $\vec{b} = (2, -1, 4)$. Drop them into $\vec{r} = \vec{a} + \lambda\vec{b}$:

$$\vec{r} = (1, 2, 3) + \lambda(2, -1, 4).$$

Final answer: $\vec{r} = (1, 2, 3) + \lambda(2, -1, 4)$, or in $\hat{i},\hat{j},\hat{k}$ form, $\vec{r} = (\hat{i} + 2\hat{j} + 3\hat{k}) + \lambda(2\hat{i} - \hat{j} + 4\hat{k})$.

Example 2

A common slip — find the vector equation of the line through $A(1, 0, 2)$ and $B(4, 3, 2)$.

Wrong attempt. A student writes $\vec{r} = \vec{a} + \lambda\vec{b}$ using $B$'s position vector $(4, 3, 2)$ as the direction: $\vec{r} = (1, 0, 2) + \lambda(4, 3, 2)$. Check it at $\lambda = 1$: that gives $(5, 3, 4)$ — a point that is not $B$ and, worse, the line doesn't actually pass through $B$ at all. The position vector of a point is not the same as the direction along the line.

Correct. The direction between two points is $\vec{b} - \vec{a}$, not $\vec{b}$:

$$\vec{b} - \vec{a} = (4, 3, 2) - (1, 0, 2) = (3, 3, 0).$$

So the line is:

$$\vec{r} = (1, 0, 2) + \lambda(3, 3, 0).$$

Final answer: $\vec{r} = (1, 0, 2) + \lambda(3, 3, 0)$. Check at $\lambda = 1$: $(4, 3, 2) = B$. It works.

Example 3

Find the vector equation of the line through $(0, 1, -1)$ and $(2, 1, 3)$.

Direction: $(2, 1, 3) - (0, 1, -1) = (2, 0, 4)$. Using $\vec{a} = (0, 1, -1)$:

$$\vec{r} = (0, 1, -1) + \lambda(2, 0, 4).$$

Final answer: $\vec{r} = (0, 1, -1) + \lambda(2, 0, 4)$. The zero in the middle of the direction tells you the line stays at constant $y = 1$.

Example 4

Convert $\vec{r} = (1, 2, 3) + \lambda(2, -1, 4)$ to Cartesian form.

Read off the base point $(1, 2, 3)$ and direction $(2, -1, 4)$, then build the symmetric form:

$$\frac{x - 1}{2} = \frac{y - 2}{-1} = \frac{z - 3}{4}.$$

Final answer: $\dfrac{x-1}{2} = \dfrac{y-2}{-1} = \dfrac{z-3}{4}$. Each fraction equals $\lambda$, which is what lets them all be set equal.

Example 5

Find the vector equation of the plane through $(1, 0, 0)$ with normal $\vec{N} = (2, 3, 1)$.

Use the point-normal form $(\vec{r} - \vec{a})\cdot\vec{N} = 0$ with $\vec{a} = (1, 0, 0)$:

$$\big(\vec{r} - (1, 0, 0)\big)\cdot(2, 3, 1) = 0.$$

Expanding with $\vec{r} = (x, y, z)$: $2(x - 1) + 3y + z = 0$, i.e. $2x + 3y + z = 2$.

Final answer: $\vec{r}\cdot(2, 3, 1) = 2$, equivalently $2x + 3y + z = 2$.

Example 6

Find the vector equation of the plane through the three points $A(1,0,0)$, $B(0,1,0)$, $C(0,0,1)$.

Build two in-plane directions: $\vec{b} - \vec{a} = (-1, 1, 0)$ and $\vec{c} - \vec{a} = (-1, 0, 1)$. Their cross product is the normal:

$$(\vec{b}-\vec{a}) \times (\vec{c}-\vec{a}) = (1\cdot1 - 0\cdot0,; 0\cdot(-1) - (-1)\cdot1,; (-1)\cdot0 - 1\cdot(-1)) = (1, 1, 1).$$

Then $(\vec{r} - \vec{a})\cdot(1,1,1) = 0$ gives $x + y + z = 1$.

Final answer: $\vec{r}\cdot(1, 1, 1) = 1$, i.e. the plane $x + y + z = 1$. A quick check: all three points satisfy it.

Why Vector Equations Are Worth Learning

"Describe where a thing is, and where it's heading, at once."

Vector equations were the natural language once mathematicians started treating direction as a first-class object rather than reading coordinates off axes one at a time. The shift traces back to the vector analysis of Josiah Willard Gibbs (1839–1903, USA), who reshaped Hamilton's quaternions into the position-and-direction toolkit engineers still use.

Where the position-plus-direction idea pays off:

  • Computer graphics and games. A ray from the camera through a pixel is exactly $\vec{r} = \vec{a} + \lambda\vec{b}$ — every reflection, shadow, and collision test starts by writing this line and solving for where $\lambda$ hits a surface.

  • Robotics and flight paths. A drone's trajectory is a base position plus a velocity direction scaled by time; $\lambda$ becomes the clock, and the equation predicts where the craft will be.

  • 3D modelling and CAD. Surfaces are planes written in normal form $\vec{r}\cdot\hat{n} = d$; intersecting them — wall meets floor — is solving two plane equations at once.

  • Physics. The path of a particle moving at constant velocity is a vector equation of a line, with $\lambda$ standing in for elapsed time.

Where Students Trip Up on Vector Equations

Mistake 1: Using a point's position vector as the direction

Where it slips in: Writing the line through two points $A$ and $B$ as $\vec{r} = \vec{a} + \lambda\vec{b}$, plugging $B$'s position vector in for the direction.

Don't do this: Treat $\vec{b}$ (a point's position vector) as the direction along the line. It points from the origin to $B$, not along the line from $A$ to $B$.

The correct way: The direction between two points is $\vec{b} - \vec{a}$. The two-point form is $\vec{r} = \vec{a} + \lambda(\vec{b} - \vec{a})$.

Mistake 2: Forgetting that one line has infinitely many vector equations

Where it slips in: A student gets $\vec{r} = (1, 0, 2) + \lambda(3, 3, 0)$ and another gets $\vec{r} = (4, 3, 2) + \mu(1, 1, 0)$, and they assume one of them is wrong because the equations look different.

Don't do this: Treat the vector equation of a line as unique. It isn't.

The correct way: Any point on the line works as the base, and any scalar multiple of the direction works as the direction. Both equations above describe the same line — the second just starts at a different point and uses a shorter, parallel direction. The silent understander who can solve the problem but can't see why two answers match is usually missing exactly this.

Mistake 3: Confusing the line equation with the plane equation

Where it slips in: Using $\vec{r} = \vec{a} + \lambda\vec{b}$ when the problem asks for a plane, or trying to force a plane into a single-parameter form.

Don't do this: Use one direction and one parameter to describe a plane. A line needs one direction; a plane needs a normal (or two directions and two parameters).

The correct way: For a plane, use the point-normal form $(\vec{r} - \vec{a})\cdot\vec{N} = 0$. The dot product with the normal is what forces $\vec{r}$ to stay in the plane.

Key Takeaways

  • A vector equation describes a line or plane using position vectors and a parameter.

  • The line form is $\vec{r} = \vec{a} + \lambda\vec{b}$: start at point $\vec{a}$, slide along direction $\vec{b}$.

  • For a line through two points, the direction is $\vec{b} - \vec{a}$, giving $\vec{r} = \vec{a} + \lambda(\vec{b} - \vec{a})$.

  • The parameter $\lambda$ names each point; running it over all reals traces the whole line.

  • A plane uses the point-normal form $(\vec{r} - \vec{a})\cdot\vec{N} = 0$, built on the dot product.

  • The same line has infinitely many vector equations — any base point and any parallel direction work.

Practice These Before Moving On

  1. Write the vector equation of the line through $(2, -1, 0)$ parallel to $(1, 1, 3)$.

  2. Write the vector equation of the line through $A(0, 0, 0)$ and $B(2, 4, 6)$.

  3. Write the vector equation of the plane through $(0, 0, 1)$ with normal $(1, 0, 1)$.

Answer to Question 1: $\vec{r} = (2, -1, 0) + \lambda(1, 1, 3)$. Answer to Question 2: $\vec{r} = \lambda(2, 4, 6)$ — direction is $B - A = (2,4,6)$, base is the origin. Answer to Question 3: $\vec{r}\cdot(1, 0, 1) = 1$, i.e. $x + z = 1$. If Question 2 used $B$ as the direction without subtracting, return to Mistake 1.

Want a live Bhanzu trainer to walk through more vector equation problems? Book a free demo class — online globally.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What does λ represent in a vector equation?
It's a scalar parameter — a dial. Each value of $\lambda$ picks out one point on the line, and as $\lambda$ runs over all real numbers, you trace the entire line. At $\lambda = 0$ you're at the base point.
Is the vector equation of a line unique?
No. Any point on the line can serve as the base, and any non-zero scalar multiple of the direction works as the direction vector. The same line has infinitely many valid vector equations.
What is the difference between the vector and Cartesian forms of a line?
The vector form $\vec{r} = \vec{a} + \lambda\vec{b}$ keeps the parameter $\lambda$; the Cartesian form $\tfrac{x-x_1}{b_1} = \tfrac{y-y_1}{b_2} = \tfrac{z-z_1}{b_3}$ eliminates it. Both describe the identical line.
How do you write the vector equation of a plane?
Use the point-normal form $(\vec{r} - \vec{a})\cdot\vec{N} = 0$ if you have a point and a normal, or the normal form $\vec{r}\cdot\hat{n} = d$ for distance from the origin. For three points, build the normal with a cross product first.
Why does the plane equation use the dot product?
Because the normal must be perpendicular to every direction lying in the plane, and a zero dot product is exactly the perpendicularity condition. That's what locks $\vec{r}$ onto the plane.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →