Finding Parametric Equations from Two Points- Mathematics
What Is This Actually About?
You have two points. You need parametric equations that describe the line passing through them. That's it. No philosophical musings—just the math you need to make it happen.
Parametric equations express coordinates as functions of a third variable, usually t. Instead of y = mx + b, you get x = f(t) and y = g(t). The variable t typically represents time or position along a curve.
Why Bother With Parametric Form?
Cartesian equations work fine for most situations. So why would you switch to parametric?
- Animation and motion — tracking an object's position over time becomes trivial
- Three dimensions — Cartesian equations get messy in 3D; parametric handles them cleanly
- Curves instead of lines — circles, ellipses, and more complex shapes require parametric representation
- Direction matters — parametric equations show you which way something moves as t increases
The Method: Finding Parametric Equations From Two Points
Given two points P₁(x₁, y₁) and P₂(x₂, y₂), here's how you get parametric equations for the line connecting them.
Step 1: Find the Direction Vector
The direction vector points from P₁ to P₂. Calculate it:
v = ⟨x₂ - x₁, y₂ - y₁⟩
This vector tells you how x and y change together as you move from one point to the other.
Step 2: Set Up the Equations
Start at P₁ and add multiples of the direction vector scaled by t:
x = x₁ + (x₂ - x₁)t
y = y₁ + (y₂ - y₁)t
When t = 0, you're at P₁. When t = 1, you're at P₂. Any value of t between 0 and 1 gives you a point on the line segment.
Step 3: Choose Your Parameterization
The standard form above uses t ranging from 0 to 1. But you can adjust this. Some prefer t ∈ [0, 1], others use t ∈ ℝ for the entire infinite line. Pick what suits your problem.
Worked Example
Problem: Find parametric equations for the line through points A(2, 3) and B(8, 7).
Step 1: Direction vector
v = ⟨8 - 2, 7 - 3⟩ = ⟨6, 4⟩
Step 2: Parametric equations
x = 2 + 6t
y = 3 + 4t
Verification:
- When t = 0: (2, 3) ✓ (point A)
- When t = 1: (8, 7) ✓ (point B)
Done. That's the entire line in parametric form.
Alternative Parameterizations
The standard form isn't your only option. You can scale t however you want, as long as you're consistent.
Using Half the Distance
If you prefer t to reach the endpoint at t = 2 instead of t = 1:
x = 2 + 3t
y = 3 + 2t
Now t = 2 gives you point B. The direction vector is halved, so t doubles to compensate.
Using t as the x-Value
Sometimes you want t to equal x directly. This works when x₂ ≠ x₁:
x = t
y = 3 + 4(t - 2)/6 → y = 3 + (2/3)t - 4/3 → y = (2/3)t + 5/3
This form makes finding y-values trivial once you know x.
Quick Reference: Common Parameterizations
| Method | x(t) | y(t) | t Range |
|---|---|---|---|
| Standard (0 to 1) | x₁ + (x₂-x₁)t | y₁ + (y₂-y₁)t | 0 ≤ t ≤ 1 |
| Whole line | x₁ + (x₂-x₁)t | y₁ + (y₂-y₁)t | t ∈ ℝ |
| Symmetric (t = x) | t | y₁ + (y₂-y₁)(t-x₁)/(x₂-x₁) | t ∈ ℝ |
| Unit speed | x₁ + (x₂-x₁)t/L | y₁ + (y₂-y₁)t/L | 0 ≤ t ≤ L |
The last row uses L, which equals the distance between the two points: √[(x₂-x₁)² + (y₂-y₁)²]. This gives constant speed along the line.
Three-Dimensional Extension
The same process works in 3D. You just get three equations instead of two.
Given: P₁(x₁, y₁, z₁) and P₂(x₂, y₂, z₂)
x = x₁ + (x₂ - x₁)t
y = y₁ + (y₂ - y₁)t
z = z₁ + (z₂ - z₁)t
Everything else stays the same. The direction vector simply has three components instead of two.
Common Mistakes
- Forgetting to subtract correctly — direction vector is (x₂ - x₁), not (x₁ - x₂). The order matters for direction.
- Inconsistent scaling — if you scale the x-equation by k, the y-equation must scale by the same k.
- Wrong parameter range — know whether you need the segment (0 ≤ t ≤ 1) or the infinite line (t ∈ ℝ).
When This Matters
You'll encounter this in computer graphics (ray tracing, animation paths), physics (projectile motion, particle trajectories), and CAD systems (defining edges and curves). The abstract math has concrete applications if you work in any of these fields.
If your two points define a segment of interest and you need to track position, velocity, or direction along that segment—parametric form is your tool.