Logo
Published on

Vector Equations of Lines and Intersections

Authors
  • avatar
    Name
    Vu Hung
    Twitter

Problem Statement

The familiar Cartesian equation of a line, y=mx+cy = mx + c, relies on the gradient mm. The gradient is defined as "rise over run" (Δy/Δx\Delta y / \Delta x). But what happens when we move to 3D space? We now have an xx, yy, and zz axis. A single number mm can no longer describe a direction.

To solve this, we use the vector equation of a line: r=a+λb\mathbf{r} = \mathbf{a} + \lambda\mathbf{b}. Here, a\mathbf{a} is a known position vector on the line (analogous to the yy-intercept cc), and b\mathbf{b} is the direction vector of the line (analogous to the gradient mm). The scalar parameter λ\lambda stretches the direction vector to reach every point on the line.

A major challenge in 3D geometry is determining if two lines intersect. Because we have three dimensions but only one parameter per line, two lines in 3D will usually miss each other completely (these are called skew lines). To prove they intersect, we must solve simultaneous equations.

Consider two lines in 3D space, L1L_1 and L2L_2, defined by the following vector equations:

  • L1L_1: r1=(2i+3jk)+λ(i2j+2k)\mathbf{r_1} = (2\mathbf{i} + 3\mathbf{j} - \mathbf{k}) + \lambda(\mathbf{i} - 2\mathbf{j} + 2\mathbf{k})
  • L2L_2: r2=(1i+7j+4k)+μ(2i+j3k)\mathbf{r_2} = (-1\mathbf{i} + 7\mathbf{j} + 4\mathbf{k}) + \mu(2\mathbf{i} + \mathbf{j} - 3\mathbf{k})

(a) Write down the parametric equations for the x,yx, y, and zz coordinates for both L1L_1 and L2L_2.

(b) Determine whether the lines L1L_1 and L2L_2 intersect. If they do, find the position vector of the point of intersection.


Hints

  • Part (a): Group the i\mathbf{i}, j\mathbf{j}, and k\mathbf{k} components together for each line. For example, the xx-coordinate for L1L_1 is x1=2+1λx_1 = 2 + 1\lambda.
  • Part (b): If the lines intersect, there must exist a specific value of λ\lambda and a specific value of μ\mu that yield the exact same x,yx, y, and zz coordinates. Set x1=x2x_1 = x_2 and y1=y2y_1 = y_2 to form a system of two simultaneous equations with two unknowns (λ,μ\lambda, \mu). Solve for λ\lambda and μ\mu. Finally, substitute these values into the zz-coordinate equation (z1=z2z_1 = z_2) to see if it holds true. If it does, they intersect; if not, they are skew.

Solutions

Part (a): Parametric Equations

  1. For Line L1L_1: x1=2+λx_1 = 2 + \lambda y1=32λy_1 = 3 - 2\lambda z1=1+2λz_1 = -1 + 2\lambda
  2. For Line L2L_2: x2=1+2μx_2 = -1 + 2\mu y2=7+μy_2 = 7 + \mu z2=43μz_2 = 4 - 3\mu

Part (b): Testing for Intersection

  1. Equate the xx components: 2+λ=1+2μ2 + \lambda = -1 + 2\mu λ2μ=3— (Equation 1)\lambda - 2\mu = -3 \quad \text{--- (Equation 1)}
  2. Equate the yy components: 32λ=7+μ3 - 2\lambda = 7 + \mu 2λμ=4— (Equation 2)-2\lambda - \mu = 4 \quad \text{--- (Equation 2)}
  3. Solve the simultaneous equations. Multiply Equation 1 by 2: 2λ4μ=62\lambda - 4\mu = -6
  4. Add this to Equation 2: (2λ4μ)+(2λμ)=6+4(2\lambda - 4\mu) + (-2\lambda - \mu) = -6 + 4 5μ=2-5\mu = -2 μ=25=0.4\mu = \frac{2}{5} = 0.4
  5. Substitute μ=0.4\mu = 0.4 back into Equation 1 to find λ\lambda: λ2(0.4)=3\lambda - 2(0.4) = -3 λ0.8=3\lambda - 0.8 = -3 λ=2.2\lambda = -2.2
  6. The Crucial Test: We must now check if these values satisfy the zz-coordinate equation. If they don't, the lines do not intersect.
    • Test z1z_1 with λ=2.2\lambda = -2.2: z1=1+2(2.2)=14.4=5.4z_1 = -1 + 2(-2.2) = -1 - 4.4 = -5.4
    • Test z2z_2 with μ=0.4\mu = 0.4: z2=43(0.4)=41.2=2.8z_2 = 4 - 3(0.4) = 4 - 1.2 = 2.8
  7. Since z1z2z_1 \neq z_2 (5.42.8-5.4 \neq 2.8), there is no point in 3D space where both lines exist simultaneously.
  8. Conclusion: The lines L1L_1 and L2L_2 do not intersect. They are skew lines.

Takeaways

  • The Power of Parameters: The vector form r=a+λb\mathbf{r} = \mathbf{a} + \lambda\mathbf{b} cleanly separates a line into a fixed starting position (a\mathbf{a}) and a direction vector (b\mathbf{b}), overcoming the dimensional limitations of Cartesian gradients.
  • 3D Intersections are Rare: In 2D, non-parallel lines must intersect. In 3D, non-parallel lines will almost always miss each other (skew). Proving intersection requires verifying that all three coordinate planes align perfectly for a specific pair of parameters.
  • Simultaneous Verification: Always use two coordinate planes (e.g., xx and yy) to solve for the parameters, and reserve the third plane (zz) purely as a verification check.

Further Readings


Connect with me

If you found this breakdown of 3D intersections helpful, there is plenty more where that came from! Head over to Vu's Maths Hub for complete booklets on Extension 2 Vectors. You can also catch my video walkthroughs on YouTube, or read my deeper dives into syllabus changes over on my Substack. Don't forget to follow me on Instagram!