Skip to main content

Parametric line in 3D: point and plane intersection

Short answer

Parametric equation is P(u)=(1+4u, 2-4u, 3+6u), 0<=u<=1. Length is 8.246; direction cosines are (0.485, -0.485, 0.728). At u=0.25 the point is (2, 1, 4.5). Intersection with z=6 occurs at u=0.5, giving point (3, 0, 6).

A line segment joins P1(1, 2, 3) and P2(5, -2, 9). (a) Write its parametric equation. (b) Find its length and direction cosines. (c) Find the point at u = 0.25. (d) Find the point where the line meets the plane z = 6.

(a) Parametric equation

P(u)=P1+u(P2−P1),0≤u≤1\mathbf P(u)=\mathbf P_1+u(\mathbf P_2-\mathbf P_1),\qquad 0\le u\le1

P2−P1=(4, −4, 6)\mathbf P_2-\mathbf P_1=(4,\,-4,\,6), so

x=1+4u,y=2−4u,z=3+6ux=1+4u,\qquad y=2-4u,\qquad z=3+6u

(b) Length and direction cosines

L=42+(−4)2+62=68=8.246L=\sqrt{4^2+(-4)^2+6^2}=\sqrt{68}=8.246 l=48.246=0.485,m=−48.246=−0.485,n=68.246=0.728l=\frac{4}{8.246}=0.485,\quad m=\frac{-4}{8.246}=-0.485,\quad n=\frac{6}{8.246}=0.728

Check: l2+m2+n2=0.235+0.235+0.529=1.0l^2+m^2+n^2=0.235+0.235+0.529=1.0.

(c) Point at u = 0.25

x=1+1=2,y=2−1=1,z=3+1.5=4.5x=1+1=2,\quad y=2-1=1,\quad z=3+1.5=4.5

Point (2, 1, 4.5)(2,\ 1,\ 4.5).

(d) Intersection with z = 6

3+6u=6⇒u=0.53+6u=6 \Rightarrow u=0.5, which lies in 0≤u≤10\le u\le1, so the segment does cut the plane.

x=1+4(0.5)=3,y=2−4(0.5)=0x=1+4(0.5)=3,\quad y=2-4(0.5)=0

Answer: L = 8.246; direction cosines (0.485, -0.485, 0.728); P(0.25) = (2, 1, 4.5); intersection with z = 6 at (3, 0, 6).

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computer Aided Design chapter 3 questions →