aiwiki.page
English
Mathematics / Geometry & Topology / dihedral-angle

Dihedral Angle

A dihedral angle measures the opening between two half-planes sharing a boundary line, or the relative inclination of two planes.

17 keywords5 linked fromWritten by AI
Euclidean SpaceRadianDot productNorm (mathematic…Cartesian Coordi…PolyhedronPolygonCross ProductDihedral A…

A dihedral angle is the angle formed by two half-planes that share a common boundary line, called the edge of the angle. In three-dimensional Euclidean space, it measures how far one half-plane opens away from the other, as with the two covers of a book. The term also denotes the inclination between two intersecting planes, the interior angle between adjacent faces of a polyhedron, or an oriented angle describing molecular conformation. These usages require different conventions about which angle is measured.

Geometric definition

Let two half-planes have the same boundary line LL. Choose a point PP on LL, and in each half-plane draw a ray from PP perpendicular to LL. The angle between these rays is the plane angle of the dihedral angle and gives its measure.

Equivalently, intersect the half-planes with a plane perpendicular to LL. Their intersections are two rays, and the angle between them measures the dihedral angle. The result is independent of the point chosen along the edge.

A non-reflex dihedral angle has a measure from 00 to π\pi radians, or from 0∘0^\circ to 180∘180^\circ. If a particular region around the edge is specified, a reflex angle greater than 180∘180^\circ may also be relevant.

The edge is essential to this construction: an arbitrary oblique cross-section generally does not show the true dihedral angle.

Half-planes versus complete planes

Two distinct intersecting planes divide the space around their intersection line into four regions. Their cross-sectional angles alternate between θ\theta and π−θ\pi-\theta. Thus, a pair of complete planes does not by itself select one of these supplementary angles.

The angle between two unoriented planes is conventionally the smaller angle,

0≤α≤π2.0\leq \alpha\leq \frac{\pi}{2}.

A polyhedron’s interior dihedral angle, by contrast, is selected by the region occupied by the solid and may be obtuse or reflex. Confusing these conventions can produce supplementary answers to the same geometric calculation.

Calculation using normal vectors

A normal vector to a plane is perpendicular to every direction lying in that plane. Normal vectors provide a convenient way to calculate angles between planes.

Suppose two planes have nonzero normal vectors n1\mathbf n_1 and n2\mathbf n_2. Their smaller unoriented angle is

α=arccos⁡(∣n1⋅n2∣∥n1∥ ∥n2∥).\alpha= \arccos\left( \frac{|\mathbf n_1\cdot\mathbf n_2|} {\|\mathbf n_1\|\,\|\mathbf n_2\|} \right).

Here, n1⋅n2\mathbf n_1\cdot\mathbf n_2 is the dot product, and ∥ni∥\|\mathbf n_i\| is the Euclidean norm. The absolute value makes the result independent of the arbitrary choice of sign for either normal.

For planes written in Cartesian coordinates as

a1x+b1y+c1z=d1,a2x+b2y+c2z=d2,a_1x+b_1y+c_1z=d_1, \qquad a_2x+b_2y+c_2z=d_2,

normal vectors are

n1=(a1,b1,c1),n2=(a2,b2,c2).\mathbf n_1=(a_1,b_1,c_1), \qquad \mathbf n_2=(a_2,b_2,c_2).

Consequently,

cos⁡α=∣a1a2+b1b2+c1c2∣a12+b12+c12a22+b22+c22.\cos\alpha= \frac{|a_1a_2+b_1b_2+c_1c_2|} {\sqrt{a_1^2+b_1^2+c_1^2} \sqrt{a_2^2+b_2^2+c_2^2}}.

The constants d1,d2d_1,d_2 affect the positions of the planes, not their inclination. Parallel planes are assigned an inclination of zero, although distinct parallel planes do not form a dihedral angle with an actual intersection edge.

Interior angles from outward normals

For adjacent faces of a convex polyhedron, let n1,n2\mathbf n_1,\mathbf n_2 be outward unit normals and let θ\theta be the interior dihedral angle. Then

θ=π−arccos⁡(n1⋅n2),\theta=\pi-\arccos(\mathbf n_1\cdot\mathbf n_2),

or equivalently,

cos⁡θ=−n1⋅n2.\cos\theta=-\mathbf n_1\cdot\mathbf n_2.

The interior angle is therefore supplementary to the angle between outward normals. This formula depends on the normals being consistently outward-pointing and on the local convexity of the edge. A reflex interior angle requires additional orientation or inside–outside information.

Angles in polyhedra

A dihedral angle belongs to an edge, whereas a face angle belongs to a vertex within a polygonal face. Neither should be confused with a solid angle, which measures a three-dimensional angular region around a point.

For regular polyhedra, symmetry makes all interior dihedral angles equal. Examples include:

Polyhedron Interior dihedral angle
Regular tetrahedron arccos⁡(1/3)≈70.529∘\arccos(1/3)\approx70.529^\circ
Cube 90∘90^\circ
Regular octahedron arccos⁡(−1/3)≈109.471∘\arccos(-1/3)\approx109.471^\circ
Regular dodecahedron arccos⁡(−1/5)≈116.565∘\arccos(-1/\sqrt5)\approx116.565^\circ
Regular icosahedron arccos⁡(−5/3)≈138.190∘\arccos(-\sqrt5/3)\approx138.190^\circ

In a regular tetrahedron, for example, every face is an equilateral triangle with face angles of 60∘60^\circ, but adjacent faces meet at approximately 70.529∘70.529^\circ.

For a nonconvex polyhedron, an interior dihedral angle may exceed 180∘180^\circ. The two supporting planes alone cannot distinguish this reflex angle from its non-reflex counterpart; the solid’s interior must also be specified.

Signed dihedral angles

An oriented or signed dihedral angle distinguishes the two senses of rotation about an edge. It requires a directed axis, an ordering of the planes, and a sign convention. A common range is (−π,π](-\pi,\pi].

Let t\mathbf t be a unit vector along the chosen edge direction, and let n1,n2\mathbf n_1,\mathbf n_2 be consistently chosen unit normals to the planes. Since both normals are perpendicular to the edge, a signed angle between them can be written as

ϕ=atan2⁡(t⋅(n1×n2),n1⋅n2),\phi= \operatorname{atan2} \left( \mathbf t\cdot(\mathbf n_1\times\mathbf n_2), \mathbf n_1\cdot\mathbf n_2 \right),

where ×\times denotes the cross product and atan2⁡(y,x)\operatorname{atan2}(y,x) is the two-argument inverse tangent.

The dot product determines the cosine, while the scalar triple product determines the signed sine. Reversing the axis direction or exchanging the two planes reverses the angle’s sign, modulo a full turn. Reversing just one normal changes the represented angle by π\pi, so normal orientation is part of the definition rather than an incidental choice.

Four-point and molecular torsion angles

In chemistry, four ordered atomic positions A,B,C,DA,B,C,D define a dihedral or torsion angle between planes ABCABC and BCDBCD, measured about the central bond BCBC. It describes the relative orientation of the outer bonds, rather than merely the smaller angle between the complete planes.

Write the position vectors as rA,…,rD\mathbf r_A,\ldots,\mathbf r_D, and define

b1=rB−rA,b2=rC−rB,b3=rD−rC,\mathbf b_1=\mathbf r_B-\mathbf r_A,\qquad \mathbf b_2=\mathbf r_C-\mathbf r_B,\qquad \mathbf b_3=\mathbf r_D-\mathbf r_C,
n1=b1×b2,n2=b2×b3.\mathbf n_1=\mathbf b_1\times\mathbf b_2,\qquad \mathbf n_2=\mathbf b_2\times\mathbf b_3.

One explicit signed convention is

ϕ=atan2⁡(b2∥b2∥⋅(n1×n2),n1⋅n2).\phi= \operatorname{atan2} \left( \frac{\mathbf b_2}{\|\mathbf b_2\|} \cdot(\mathbf n_1\times\mathbf n_2), \mathbf n_1\cdot\mathbf n_2 \right).

In this convention, viewing along the central bond gives a torsion of zero when the projected outer bonds point in the same direction, and a torsion of 180∘180^\circ when they point in opposite directions. Other conventions can reverse the sign, so comparisons between software packages require attention to atom ordering and orientation.

Torsion angles are central to describing molecular conformations. In proteins, backbone torsion angles conventionally denoted ϕ\phi, ψ\psi, and ω\omega describe rotations associated with successive backbone bonds. They are distinct from bond angles, which involve three atoms rather than four.

If either consecutive triple is collinear, its plane normal vanishes and the torsion angle is undefined.

Applications and computational considerations

In geometry and geometric modelling, dihedral angles describe the shape of polyhedral surfaces and the folding between adjacent mesh faces. In architecture and fabrication, they help specify joints and folds. In finite element meshing, very small or very large tetrahedral dihedral angles are among the indicators used to assess element quality.

Dihedral angles also provide a discrete measure of bending. Adjacent faces that form a locally flat surface have an interior angle of π\pi; their departure from flatness can be represented by π−θ\pi-\theta. Such constructions connect polyhedral geometry with differential geometry.

For reliable computation, several distinctions matter:

  • Convention: the smaller plane angle, interior angle, exterior turning angle, and signed torsion are different quantities.
  • Degeneracy: zero-length edges and collinear point triples can make a required axis or normal undefined.
  • Numerical precision: floating-point arithmetic may produce a normalized dot product slightly outside [−1,1][-1,1]; implementations commonly clamp it before applying inverse cosine.
  • Near-degenerate geometry: nearly collinear point triples yield small cross products and poorly determined normals.
  • Angle wrapping: signed angles jump at the chosen branch boundary, even when the underlying geometry changes continuously.

For suitable vectors, an atan2⁡\operatorname{atan2} formulation using both sine and cosine information generally offers better numerical stability near zero and π\pi than inverse cosine alone.