Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 02 / 06Three Dimensional Geometry

Equation of a Line in Space: Vector and Cartesian Forms

The line through a point parallel to a vector, the line through two points, the symmetric Cartesian form and general point, converting between forms, the angle between two lines, and finding the foot of the perpendicular and image of a point in a line.

Figure 1
A line in space is determined by a point on it and a direction. Vector form. The line through the point with position vector a⃗\vec{a}, parallel to b⃗\vec{b}, is r⃗=a⃗+λb⃗\vec{r} = \vec{a} + \lambda\vec{b}, λ∈R\lambda \in \mathbb{R}. Each value of λ\lambda gives one point, as in the figure. The line through two points a⃗\vec{a} and c⃗\vec{c} is r⃗=a⃗+λ(c⃗−a⃗)\vec{r} = \vec{a} + \lambda(\vec{c} - \vec{a}). Cartesian (symmetric) form. With a⃗=(x1,y1,z1)\vec{a} = (x_{1}, y_{1}, z_{1}) and direction ratios b⃗=(a,b,c)\vec{b} = (a, b, c), eliminating λ\lambda gives x−x1a=y−y1b=z−z1c\frac{x - x_{1}}{a} = \frac{y - y_{1}}{b} = \frac{z - z_{1}}{c}. If one direction ratio is 00, say c=0c = 0, the line lies in the plane z=z1z = z_{1}; the symmetric form is still written with the 00 denominator, interpreted as z=z1z = z_{1}. The line through two points: x−x1x2−x1=y−y1y2−y1=z−z1z2−z1\frac{x - x_{1}}{x_{2} - x_{1}} = \frac{y - y_{1}}{y_{2} - y_{1}} = \frac{z - z_{1}}{z_{2} - z_{1}}. The general point. Setting the common ratio equal to λ\lambda, every point of the line is (x1+aλ,y1+bλ,z1+cλ)(x_{1} + a\lambda, y_{1} + b\lambda, z_{1} + c\lambda). This parametrisation is the key to almost every problem: to find where a line meets a plane, or the foot of a perpendicular, or the intersection of two lines, write the general point and impose the condition to find λ\lambda. Reading the standard form carefully. The coefficients of x,y,zx, y, z in the numerators must be 11. For example, 2x−13=y+24=1−z2\frac{2x - 1}{3} = \frac{y + 2}{4} = \frac{1 - z}{2} must be rewritten as x−1232=y+24=z−1−2\frac{x - \frac{1}{2}}{\frac{3}{2}} = \frac{y + 2}{4} = \frac{z - 1}{-2} before reading off the point (12,−2,1)(\frac{1}{2}, -2, 1) and direction ratios (32,4,−2)(\frac{3}{2}, 4, -2), or (3,8,−4)(3, 8, -4). Line as the intersection of two planes. A line given by two plane equations a1x+b1y+c1z+d1=0a_{1}x + b_{1}y + c_{1}z + d_{1} = 0 and a2x+b2y+c2z+d2=0a_{2}x + b_{2}y + c_{2}z + d_{2} = 0 has direction along n⃗1×n⃗2\vec{n}_{1} \times \vec{n}_{2} (perpendicular to both normals). A point on it is found by setting one coordinate (say z=0z = 0) and solving the two equations for the others. Angle between two lines. With direction vectors b⃗1,b⃗2\vec{b}_{1}, \vec{b}_{2}: cos⁡θ=∣b⃗1⋅b⃗2∣∣b⃗1∣∣b⃗2∣\cos\theta = \frac{|\vec{b}_{1} \cdot \vec{b}_{2}|}{|\vec{b}_{1}||\vec{b}_{2}|}. Foot of the perpendicular from a point PP to a line. Take the general point Q=a⃗+λb⃗Q = \vec{a} + \lambda\vec{b} of the line, and impose PQ⃗⋅b⃗=0\vec{PQ} \cdot \vec{b} = 0. This gives λ\lambda, hence the foot QQ, the perpendicular distance PQPQ, and the image of PP in the line, 2Q−P2Q - P. A formula for the distance: ∣(p⃗−a⃗)×b⃗∣∣b⃗∣\frac{|(\vec{p} - \vec{a}) \times \vec{b}|}{|\vec{b}|} (area of the parallelogram divided by its base). Key Takeaways: - r⃗=a⃗+λb⃗\vec{r} = \vec{a} + \lambda\vec{b}; through two points: r⃗=a⃗+λ(c⃗−a⃗)\vec{r} = \vec{a} + \lambda(\vec{c} - \vec{a}). - x−x1a=y−y1b=z−z1c\frac{x - x_{1}}{a} = \frac{y - y_{1}}{b} = \frac{z - z_{1}}{c}; general point (x1+aλ,y1+bλ,z1+cλ)(x_{1} + a\lambda, y_{1} + b\lambda, z_{1} + c\lambda). - Make the coefficients of x,y,zx, y, z equal to 11 before reading off data. - Intersection of two planes: direction n⃗1×n⃗2\vec{n}_{1} \times \vec{n}_{2}. - Foot of perpendicular: general point QQ with PQ⃗⋅b⃗=0\vec{PQ} \cdot \vec{b} = 0; image 2Q−P2Q - P. - Distance from a point to a line: ∣(p⃗−a⃗)×b⃗∣∣b⃗∣\frac{|(\vec{p} - \vec{a}) \times \vec{b}|}{|\vec{b}|}. - Pitfall: reading (1−z)(1 - z) as having direction ratio +1+1 instead of −1-1. Brain-Teaser 1: Find the foot of the perpendicular from P(1,6,3)P(1, 6, 3) to the line x1=y−12=z−23\frac{x}{1} = \frac{y - 1}{2} = \frac{z - 2}{3}, and the image of PP. Solution: The general point is Q(λ,1+2λ,2+3λ)Q(\lambda, 1 + 2\lambda, 2 + 3\lambda). Then PQ⃗=(λ−1,2λ−5,3λ−1)\vec{PQ} = (\lambda - 1, 2\lambda - 5, 3\lambda - 1), and PQ⃗⋅(1,2,3)=λ−1+4λ−10+9λ−3=14λ−14=0\vec{PQ} \cdot (1, 2, 3) = \lambda - 1 + 4\lambda - 10 + 9\lambda - 3 = 14\lambda - 14 = 0, so λ=1\lambda = 1 and Q=(1,3,5)Q = (1, 3, 5). The perpendicular distance is 0+9+4=13\sqrt{0 + 9 + 4} = \sqrt{13}. The image is 2Q−P=(1,0,7)2Q - P = (1, 0, 7). Brain-Teaser 2: Find the line of intersection of the planes x+y+z=1x + y + z = 1 and 2x−y+z=32x - y + z = 3 in symmetric form. Solution: Direction: n⃗1×n⃗2=(1,1,1)×(2,−1,1)=(1⋅1−1⋅(−1),1⋅2−1⋅1,1⋅(−1)−1⋅2)=(2,1,−3)\vec{n}_{1} \times \vec{n}_{2} = (1, 1, 1) \times (2, -1, 1) = (1 \cdot 1 - 1 \cdot (-1), 1 \cdot 2 - 1 \cdot 1, 1 \cdot (-1) - 1 \cdot 2) = (2, 1, -3). A point: put z=0z = 0: x+y=1x + y = 1, 2x−y=32x - y = 3, so x=43x = \frac{4}{3}, y=−13y = -\frac{1}{3}. The line is x−4/32=y+1/31=z−3\frac{x - 4/3}{2} = \frac{y + 1/3}{1} = \frac{z}{-3}. Check: any point of it, for example λ=1\lambda = 1 giving (103,23,−3)(\frac{10}{3}, \frac{2}{3}, -3), satisfies both plane equations. Brain-Teaser 3: Find the angle between the lines x−12=y−1=z+11\frac{x - 1}{2} = \frac{y}{-1} = \frac{z + 1}{1} and 2x−12=3−y1=z2\frac{2x - 1}{2} = \frac{3 - y}{1} = \frac{z}{2}. Solution: The first has direction (2,−1,1)(2, -1, 1). Rewrite the second: x−1/21=y−3−1=z2\frac{x - 1/2}{1} = \frac{y - 3}{-1} = \frac{z}{2}, with direction (1,−1,2)(1, -1, 2). Then cos⁡θ=∣2+1+2∣66=56\cos\theta = \frac{|2 + 1 + 2|}{\sqrt{6}\sqrt{6}} = \frac{5}{6}, so θ=cos⁡−156\theta = \cos^{-1}\frac{5}{6}. Normalising the second equation was essential; using (2,1,2)(2, 1, 2) from the unprocessed denominators would give a wrong angle.