Analytic Geometry › Chapter 4
Chapter 4. Parametric Equations of Lines
Several ways to parametrize a line, a ray and a segment, and how to convert between parametric and Cartesian forms.
4.1Introduction to Parametrization of Lines
A parametrization describes a curve as the image of a map t\mapsto\mathbf r(t). Each value of the parameter gives one point, and moving t moves the point along the curve. For a line the map is affine:
In coordinates: x=x_0+at, y=y_0+bt, z=z_0+ct. A Cartesian equation tells you whether a point is on the line; a parametrization lets you generate the points.
Example
The line x=1+2t, y=3-t passes through (1,3) at t=0 and has direction (2,-1). At t=2 it passes through (5,1).
4.2General and Directional Parametrization of a Line
Two forms
General form. Any point P_0 on the line and any non-zero direction \mathbf d give a parametrization \mathbf r(t)=P_0+t\mathbf d. Different choices of P_0 and \mathbf d describe the same line with different speeds and origins.
Directional form. Use the unit vector \mathbf u=\mathbf d/|\mathbf d|. Then \mathbf r(s)=P_0+s\,\mathbf u, and |s| is the distance from P_0.
The line through two points A and B is \mathbf r(t)=A+t(B-A).
Example
For A(1,2,3) and B(4,6,15): \mathbf d=(3,4,12) and |\mathbf d|=13.
The two forms agree when s=13t.
4.3Projective Parametrization of a Line
The affine form A+t(B-A) never reaches the point at infinity. A projective parametrization uses a ratio of linear functions in one parameter u and covers the whole projective line.
Projective form
It gives A at u=0, B at u=\infty, and the point at infinity (the direction of the line) at u=-1. With weights w_A,w_B>0 the general form is \dfrac{w_AA+u\,w_BB}{w_A+u\,w_B}.
Setting t=\dfrac{u}{1+u} recovers the affine form A+t(B-A), with t\in[0,1] corresponding to u\ge0. The parametrization is the line version of the rational Bézier curve of degree one.
Example
For A(1,2) and B(3,6): u=1 gives \dfrac{(1,2)+(3,6)}{2}=(2,4), the midpoint. As u\to-1 the point runs off to infinity in the direction (2,4).
4.4Parametrization of a Line Segment
Segment
The value t=0 gives A, t=1 gives B, and t=\tfrac12 gives the midpoint. The segment has length |B-A|. Restricting to t\ge0 gives the ray from A through B. The point dividing AB internally in the ratio m:n has t=\dfrac m{m+n}.
Example
Find the point dividing AB in the ratio 1:2, with A(1,2,3) and B(4,6,15).
Here t=\tfrac13:
4.5Conversion from Parametric to Cartesian Equations of a Line
To convert, eliminate the parameter. Solve each coordinate equation for t and equate the results.
Example: in the plane
Plane: x=1+2t, y=3-t. From the first, t=\tfrac{x-1}{2}, so y=3-\tfrac{x-1}{2}, which is
Check at t=0: (1,3) gives 1+6-7=0.
Example: in space
Space: x=2+t, y=-1+2t, z=3-t. Then x-2=\dfrac{y+1}{2}=-(z-3), which gives two planes
Check at t=1: (3,1,2) gives 6-1=5 and 3+2=5.
4.6Relative Positions of Two Parametric Lines
Let L_1:\ P_1+s\,\mathbf d_1 and L_2:\ P_2+t\,\mathbf d_2.
- If \mathbf d_1\times\mathbf d_2=\mathbf 0, the lines are parallel. They coincide when \overrightarrow{P_1P_2}\times\mathbf d_1=\mathbf0.
- Otherwise compute \Delta=\overrightarrow{P_1P_2}\cdot(\mathbf d_1\times\mathbf d_2). If \Delta=0 the lines meet in exactly one point; solve P_1+s\mathbf d_1=P_2+t\mathbf d_2 for (s,t).
- If \Delta\neq0 the lines are skew, and their distance is |\Delta|/|\mathbf d_1\times\mathbf d_2|.
Example
L_1:\ s(1,1,1) and L_2:\ (1,0,0)+t(0,1,0).
\mathbf d_1\times\mathbf d_2=(1,1,1)\times(0,1,0)=(-1,0,1)\ne\mathbf0, and \Delta=(1,0,0)\cdot(-1,0,1)=-1\ne0.
The lines are skew, at distance \dfrac{1}{\sqrt2}.
Q4Chapter 4: Quiz and Problems
Common student mistakes
Common error\mathbf r(t)=A+t(B-A) with t\in\mathbb R is the segment AB
CorrectThe segment needs 0\le t\le1
With all real t you get the whole line.
Common errorThe line through A and B is \mathbf r(t)=A+tB
Correct\mathbf r(t)=A+t(B-A)
The direction is the difference B-A, not the point B.
Common errorTo intersect two lines, solve P_1+t\,\mathbf d_1=P_2+t\,\mathbf d_2
CorrectUse two parameters: P_1+s\,\mathbf d_1=P_2+t\,\mathbf d_2
The lines meet at different parameter values in general.
Common errorTwo equations in s,t solved, so the lines meet
CorrectCheck the third coordinate too
Three equations, two unknowns. If the third fails, the lines are skew.
Common errorParallel direction vectors mean the same line
CorrectThey mean parallel lines. Coincident only if \overrightarrow{P_1P_2}\times\mathbf d_1=\mathbf0
Parallel lines may be distinct.
Multiple-choice quiz
Written problems
Problem 1. Give Cartesian equations for x=1+t, y=2-t, z=3+2t. (4 marks)
Show solution
Solve for t: x-1=2-y=\dfrac{z-3}{2}. This gives two planes
Check at t=1: (2,1,5) gives 3 and 4-5=-1.
Problem 2. Decide whether L_1:(1,2,3)+s(1,0,1) and L_2:(2,0,4)+t(0,1,0) intersect, and find any common point. (6 marks)
Show solution
\mathbf d_1\times\mathbf d_2=(1,0,1)\times(0,1,0)=(-1,0,1)\ne\mathbf0, so the lines are not parallel. With \overrightarrow{P_1P_2}=(1,-2,1), \Delta=-1+0+1=0, so they are coplanar and meet in one point.
At s=1, L_1 gives (2,2,4). At t=2, L_2 gives (2,2,4). The intersection is (2,2,4).
Problem 3. Parametrize the segment from A(1,-1,2) to B(5,3,-2), find the point at t=\tfrac34 and the length of the segment. (5 marks)
Show solution
B-A=(4,4,-4), so \mathbf r(t)=(1+4t,\,-1+4t,\,2-4t), 0\le t\le1.
At t=\tfrac34: (4,2,-1). The length is \sqrt{16+16+16}=4\sqrt3.
Problem 4. Find a Cartesian equation of the line x=3-2t, y=1+4t. (3 marks)
Show solution
t=\tfrac{3-x}{2}, so y=1+2(3-x)=7-2x, that is 2x+y=7. Check at t=0: (3,1) gives 7.
Short essay
Essay. Compare the affine, directional and projective parametrizations of a line. When would you use each? (about 150 words)
Show model answer
The affine form P_0+t\mathbf d is the general tool. Any point and any direction work, and t has no fixed meaning. The directional form uses a unit vector, so the parameter is the signed distance from P_0, which suits distance and arc-length problems. The projective form \dfrac{A+uB}{1+u} covers the whole projective line, including the point at infinity at u=-1, and extends to weighted rational curves. For segments, restrict the affine form to 0\le t\le1. A strong answer names what each parameter measures and gives one use for each form.