Solid Analytic Geometry

Solid analytic geometry gracefully extends the established 2D principles of planar geometry out into the actual, physical three-dimensional space that we inhabit. By mathematically adding a third perpendicular axis (the z-axis) to the standard xyxy-plane, we gain the powerful ability to rigorously describe the exact position of any point, trace the trajectory of any line, or define the curvature of complex surfaces mathematically in full 3D space using robust algebraic equations. This forms the absolute mathematical backbone of modern structural engineering software, 3D CAD modeling, and spatial vector analysis.

3D Rectangular Coordinates

Distance from Origin:

d = 7.07

The 3D Coordinate System

The three-dimensional Cartesian coordinate system consists of three mutually perpendicular axes: the x-axis, y-axis, and z-axis, which intersect at the origin O(0,0,0)O(0,0,0).

Coordinate Planes and Octants

  • Coordinate Planes: The three axes determine three mutually perpendicular planes: the xyxy-plane (where z=0z=0), the xzxz-plane (where y=0y=0), and the yzyz-plane (where x=0x=0).
  • Octants: These three planes divide space into eight discrete geometric regions called octants. The "first octant" is the region where all three coordinates (x,y,zx, y, z) are strictly positive.
  • Coordinates: Any point PP in 3D space is formally represented by an ordered triple (x,y,z)(x, y, z), indicating its directed perpendicular distances from the yzyz, xzxz, and xyxy planes, respectively.

Distance and Midpoint in Space

The fundamental formulas for distance and midpoint in 3D are straightforward algebraic extensions of their 2D counterparts, derived directly by applying the Pythagorean theorem twice in perpendicular planes.

3D Distance Formula

Calculates the absolute straight-line distance between two points in space.

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

Variables

SymbolDescriptionUnit
dd3D Euclidean distance-
(x1,y1,z1)(x_1, y_1, z_1)Coordinates of the first point-
(x2,y2,z2)(x_2, y_2, z_2)Coordinates of the second point-

3D Midpoint Formula

Finds the exact geometric center of a 3D line segment.

M=(x1+x22,y1+y22,z1+z22)M = \left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}, \frac{z_1 + z_2}{2} \right)

Variables

SymbolDescriptionUnit
MMCoordinates of the midpoint-
(x1,y1,z1)(x_1, y_1, z_1)First endpoint-
(x2,y2,z2)(x_2, y_2, z_2)Second endpoint-

Direction Cosines and Numbers

In 2D geometry, the "slope" (mm) is sufficient to define the direction of a line. In 3D space, a single slope is mathematically inadequate because a line can tilt in multiple planes simultaneously. Instead, the absolute direction of a line in space is rigorously defined by the three angles it makes with the three positive coordinate axes.

Direction Angles and Cosines

Let a directed line segment from the origin make angles α,β,γ\alpha, \beta, \gamma with the positive x, y, and z axes, respectively. These are the direction angles. The trigonometric cosines of these three angles are known as the direction cosines:
cosα=xd,cosβ=yd,cosγ=zd \cos \alpha = \frac{x}{d}, \quad \cos \beta = \frac{y}{d}, \quad \cos \gamma = \frac{z}{d}
A fundamental geometric identity connecting these three values is that the sum of their squares is always exactly 1:
cos2α+cos2β+cos2γ=1 \cos^2 \alpha + \cos^2 \beta + \cos^2 \gamma = 1

Direction Numbers

Any set of three scalar numbers [A,B,C][A, B, C] that are strictly proportional to the line's true direction cosines. If 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) are two points on a line, a simple valid set of direction numbers is obtained by taking the coordinate differences: A=x2x1A = x_2 - x_1, B=y2y1B = y_2 - y_1, and C=z2z1C = z_2 - z_1. These numbers act as a directional vector.

Equations of a Plane

A flat plane in 3D space is mathematically determined by specifying a single point that lies on the plane and a directional vector that is perfectly perpendicular (called normal) to the entire surface of the plane.

Point-Normal Form of a Plane

Defines a plane using a point and a perpendicular normal vector.

A(xx1)+B(yy1)+C(zz1)=0A(x - x_1) + B(y - y_1) + C(z - z_1) = 0

Variables

SymbolDescriptionUnit
A,B,CA, B, CDirection numbers of the normal vector-
(x1,y1,z1)(x_1, y_1, z_1)A known point on the plane-
x,y,zx, y, zAny point on the plane-

Concept

Expanding the point-normal form algebraically yields the general equation of a plane. Notice it is simply a linear equation with three variables.

General Equation of a Plane

The standard expanded algebraic form.

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

Variables

SymbolDescriptionUnit
A,B,CA, B, CComponents of the normal vector-
DDA scalar constant-

Linear Equations in 3D

In 3D solid geometry, any single, standalone linear equation involving x,y,x, y, and zz (such as 2x3y+z=52x - 3y + z = 5) ALWAYS graphically represents an infinite flat plane, NEVER a 1D line.

Equations of a Line in Space

A common conceptual pitfall when transitioning to solid geometry is attempting to define a line with a single algebraic equation. Because a true 1D line fundamentally represents the spatial intersection of two flat 2D planes, defining a line mathematically in 3D space requires a constrained system of multiple equations. We achieve this either by using a set of three independent parametric equations driven by a parameter tt, or by establishing an unbroken chain of symmetric algebraic ratios.

Line Formats

Let a straight line pass through the known point P1(x1,y1,z1)P_1(x_1, y_1, z_1) and possess the direction numbers [A,B,C][A, B, C].
1. Parametric Equations The coordinates are defined independently based on a parameter tt:
x=x1+At,y=y1+Bt,z=z1+Ct x = x_1 + At, \quad y = y_1 + Bt, \quad z = z_1 + Ct
2. Symmetric Equations By algebraically solving each of the parametric equations for tt and equating the results, we create a continuous chain of proportions:
xx1A=yy1B=zz1C \frac{x - x_1}{A} = \frac{y - y_1}{B} = \frac{z - z_1}{C}

Distance from a Point to a Plane

The geometrically perpendicular (and mathematically shortest absolute) scalar distance dd measured exactly from any external unattached spatial coordinate point specifically defined precisely as P(x1,y1,z1)P(x_1, y_1, z_1) strictly to the infinitely spanning mathematical surface completely defining a solid geometric plane, structured identically by the expanded linear 3D equation Ax+By+Cz+D=0Ax + By + Cz + D = 0, can be calculated rigorously by explicitly extending the standard 2D point-to-line projection absolute value formula completely into three dimensions using the plane's true defining directional normal vector.

Point-to-Plane Perpendicular Distance Formula

Accurately finds the shortest geometric distance separating a single external point directly from a completely flat 3D plane.

d=Ax1+By1+Cz1+DA2+B2+C2d = \frac{|Ax_1 + By_1 + Cz_1 + D|}{\sqrt{A^2 + B^2 + C^2}}

Variables

SymbolDescriptionUnit
ddTrue shortest perpendicular distance scalar value-
(x1,y1,z1)(x_1, y_1, z_1)Explicit 3D coordinate point existing completely outside the defined plane-
A,B,C,DA, B, C, DNumerical linear coefficients specifically forming the general plane's surface equation-

Cylindrical and Spherical Coordinates

While the Cartesian (x,y,z)(x,y,z) system is standard, 3D space can also be represented using cylindrical and spherical coordinates, which are particularly advantageous for surfaces with specific symmetries.

Cylindrical Coordinates (r,θ,z)(r, \theta, z)

  • Essentially polar coordinates extended vertically into 3D space.
  • x=rcosθx = r \cos \theta
  • y=rsinθy = r \sin \theta
  • z=zz = z

Spherical Coordinates (ρ,θ,ϕ)(\rho, \theta, \phi)

  • Represents a point by distance from origin ρ\rho, angle in the xy-plane θ\theta (azimuth), and angle from the positive z-axis ϕ\phi (zenith).
  • x=ρsinϕcosθx = \rho \sin \phi \cos \theta
  • y=ρsinϕsinθy = \rho \sin \phi \sin \theta
  • z=ρcosϕz = \rho \cos \phi
Key Takeaways
  • 3D Coordinate System: Employs three perpendicular axes defining eight octants.
  • 3D Distance: Calculated via d=(Δx)2+(Δy)2+(Δz)2d = \sqrt{(\Delta x)^2 + (\Delta y)^2 + (\Delta z)^2}.
  • Direction Cosines: Define a line's orientation. The sum of their squares always strictly equals 1 (cos2α+cos2β+cos2γ=1\cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1).
  • Planes: Represented mathematically by a single linear equation Ax+By+Cz+D=0Ax + By + Cz + D = 0, where the coefficients [A,B,C][A,B,C] directly form the perpendicular normal vector.
  • Lines: Cannot be represented by a single equation. Must be represented by a coordinated system of parametric or symmetric equations, requiring a passing point and a direction vector.