Analytic Geometry of Space

Points and Coordinates in Space

A point in space is determined by an ordered triple (x,y,z)(x, y, z). The distance between P1(x1,y1,z1)P_1(x_1,y_1,z_1) and P2(x2,y2,z2)P_2(x_2,y_2,z_2) is

P1P2=(x2x1)2+(y2y1)2+(z2z1)2|P_1P_2| = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}

Planes in Space

General Equation

General equation of a plane

Ax+By+Cz+D=0Ax + By + Cz + D = 0

where n=(A,B,C)\vec{n} = (A, B, C) is a normal vector of the plane.

  • n\vec{n} is perpendicular to every vector lying in the plane.
  • A,B,CA, B, C cannot all be zero; multiplying the equation by a nonzero constant does not change the plane.

Point-Normal Equation

Point-normal form

The plane through P0(x0,y0,z0)P_0(x_0, y_0, z_0) with normal n=(A,B,C)\vec{n} = (A, B, C) is

A(xx0)+B(yy0)+C(zz0)=0A(x - x_0) + B(y - y_0) + C(z - z_0) = 0

Intercept Equation

Intercept form

xa+yb+zc=1\frac{x}{a} + \frac{y}{b} + \frac{z}{c} = 1

where a,b,ca, b, c are the intercepts on the x,y,zx, y, z axes.

Lines in Space

Parametric Equation

Parametric equation of a line

The line through P0(x0,y0,z0)P_0(x_0, y_0, z_0) with direction vector s=(l,m,n)\vec{s} = (l, m, n):

{x=x0+lty=y0+mtz=z0+nt\begin{cases} x = x_0 + lt \\ y = y_0 + mt \\ z = z_0 + nt \end{cases}

where tt is the parameter.

  • t>0t > 0: move along the positive direction
  • t<0t < 0: move along the negative direction
  • t=0t = 0: at the starting point

Symmetric Equation

Symmetric equation of a line

xx0l=yy0m=zz0n\frac{x - x_0}{l} = \frac{y - y_0}{m} = \frac{z - z_0}{n}

Two-Point Equation

Two-point form

The line through P1(x1,y1,z1)P_1(x_1, y_1, z_1) and P2(x2,y2,z2)P_2(x_2, y_2, z_2):

xx1x2x1=yy1y2y1=zz1z2z1\frac{x - x_1}{x_2 - x_1} = \frac{y - y_1}{y_2 - y_1} = \frac{z - z_1}{z_2 - z_1}

with direction vector P1P2=(x2x1,y2y1,z2z1)\vec{P_1P_2} = (x_2-x_1, y_2-y_1, z_2-z_1).

General Equation

A line can also be written as the intersection of two planes:

General form of a line
{A1x+B1y+C1z+D1=0A2x+B2y+C2z+D2=0\begin{cases} A_1x + B_1y + C_1z + D_1 = 0 \\ A_2x + B_2y + C_2z + D_2 = 0 \end{cases}

Positional Relationships

Two Lines

  • Parallel: direction vectors are proportional.
  • Intersecting: they share a common point.
  • Skew: neither parallel nor intersecting.

Two lines are coplanar iff the scalar triple product of their two direction vectors and the connecting vector of a point on each line is zero.

Lines and Planes

  • Line parallel to plane: the direction vector of the line is perpendicular to the normal of the plane, and the line does not lie in the plane.
  • Line lies in the plane: in addition, a point of the line lies in the plane.
  • Line perpendicular to plane: the direction vector is parallel to the normal vector.

Two Planes

  • Parallel: normals are proportional.
  • Perpendicular: normals are perpendicular.

Distance and Angle Formulas

Distance from a Point to a Plane

Point-to-plane distance

The distance from P0(x0,y0,z0)P_0(x_0,y_0,z_0) to Ax+By+Cz+D=0Ax+By+Cz+D=0 is

d=Ax0+By0+Cz0+DA2+B2+C2d = \frac{|Ax_0 + By_0 + Cz_0 + D|}{\sqrt{A^2 + B^2 + C^2}}

Distance from a Point to a Line

Point-to-line distance

For a line through P0P_0 with direction s\vec{s}, the distance from point PP is

d=P0P×ssd = \frac{|\vec{P_0P} \times \vec{s}|}{|\vec{s}|}

Angle Between Two Lines

Angle between lines

With direction vectors s1,s2\vec{s}_1, \vec{s}_2,

cosθ=s1s2s1s2\cos\theta = \frac{|\vec{s}_1 \cdot \vec{s}_2|}{|\vec{s}_1||\vec{s}_2|}

Angle Between Two Planes

Angle between planes

With normals n1,n2\vec{n}_1, \vec{n}_2,

cosθ=n1n2n1n2\cos\theta = \frac{|\vec{n}_1 \cdot \vec{n}_2|}{|\vec{n}_1||\vec{n}_2|}

Angle Between a Line and a Plane

Line-plane angle

With line direction s\vec{s} and plane normal n\vec{n},

sinθ=snsn\sin\theta = \frac{|\vec{s} \cdot \vec{n}|}{|\vec{s}||\vec{n}|}


Summary

Symbols Used in This Article

SymbolTypeReading/ExplanationMeaning in This Article
n\vec{n}vectornThe normal vector of a plane
s\vec{s}vectorsThe direction vector of a line
ttparametertThe parameter of a line
dddistancedA distance
θ\thetaGreek letterthetaAn angle

English–Chinese Glossary

English termChinese termPhoneticExplanation
normal vector法向量/ˈnɔːml ˈvɛktər/A vector perpendicular to a plane
direction vector方向向量/dɪˈrekʃən ˈvɛktər/A vector along a line
parametric equation参数方程/ˌpærəˈmetrɪk ɪˈkweɪʒən/A representation with a parameter
symmetric equation对称式方程/sɪˈmetrɪk ɪˈkweɪʒən/The symmetric form of a line
skew lines异面直线/skjuː laɪnz/Lines neither parallel nor intersecting
point-to-plane distance点到平面的距离/pɔɪnt tuː pleɪn ˈdɪstəns/Perpendicular distance from a point to a plane
intercept截距/ˌɪntəˈsept/Where a plane meets an axis