Diameter

From HandWiki
Revision as of 22:34, 6 February 2024 by Dennis Ross (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Straight line segment that passes through the centre of a circle
Circle with
  diameter D
  radius R
  centre or origin O

In geometry, a diameter of a circle is any straight line segment that passes through the centre of the circle and whose endpoints lie on the circle. It can also be defined as the longest chord of the circle. Both definitions are also valid for the diameter of a sphere.

In more modern usage, the length [math]\displaystyle{ d }[/math] of a diameter is also called the diameter. In this sense one speaks of the diameter rather than a diameter (which refers to the line segment itself), because all diameters of a circle or sphere have the same length, this being twice the radius [math]\displaystyle{ r. }[/math]

[math]\displaystyle{ d = 2r \qquad\text{or equivalently}\qquad r = \frac{d}{2}. }[/math]

For a convex shape in the plane, the diameter is defined to be the largest distance that can be formed between two opposite parallel lines tangent to its boundary, and the width is often defined to be the smallest such distance. Both quantities can be calculated efficiently using rotating calipers.[1] For a curve of constant width such as the Reuleaux triangle, the width and diameter are the same because all such pairs of parallel tangent lines have the same distance.

For an ellipse, the standard terminology is different. A diameter of an ellipse is any chord passing through the centre of the ellipse.[2] For example, conjugate diameters have the property that a tangent line to the ellipse at the endpoint of one diameter is parallel to the conjugate diameter. The longest diameter is called the major axis.

The word "diameter" is derived from Ancient Greek: (diametros), "diameter of a circle", from διά (dia), "across, through" and μέτρον (metron), "measure".[3] It is often abbreviated [math]\displaystyle{ \text{DIA}, \text{dia}, d, }[/math] or [math]\displaystyle{ \varnothing. }[/math]

Generalizations

The definitions given above are only valid for circles, spheres and convex shapes. However, they are special cases of a more general definition that is valid for any kind of [math]\displaystyle{ n }[/math]-dimensional (convex or non-convex) object, such as a hypercube or a set of scattered points. The diameter or metric diameter of a subset of a metric space is the least upper bound of the set of all distances between pairs of points in the subset. Explicitly, if [math]\displaystyle{ S }[/math] is the subset and if [math]\displaystyle{ \rho }[/math] is the metric, the diameter is [math]\displaystyle{ \operatorname{diam}(S) = \sup_{x, y \in S} \rho(x, y). }[/math]

If the metric [math]\displaystyle{ \rho }[/math] is viewed here as having codomain [math]\displaystyle{ \R }[/math] (the set of all real numbers), this implies that the diameter of the empty set (the case [math]\displaystyle{ S = \varnothing }[/math]) equals [math]\displaystyle{ - \infty }[/math] (negative infinity). Some authors prefer to treat the empty set as a special case, assigning it a diameter of [math]\displaystyle{ 0, }[/math][4] which corresponds to taking the codomain of [math]\displaystyle{ d }[/math] to be the set of nonnegative reals.

For any solid object or set of scattered points in [math]\displaystyle{ n }[/math]-dimensional Euclidean space, the diameter of the object or set is the same as the diameter of its convex hull. In medical parlance concerning a lesion or in geology concerning a rock, the diameter of an object is the least upper bound of the set of all distances between pairs of points in the object.

In differential geometry, the diameter is an important global Riemannian invariant.

In planar geometry, a diameter of a conic section is typically defined as any chord which passes through the conic's centre; such diameters are not necessarily of uniform length, except in the case of the circle, which has eccentricity [math]\displaystyle{ e = 0. }[/math]

Symbol

Sign ⌀ in a technical drawing
Sign U+2205 EMPTY SET from an AutoCAD drawing in dim.shx font with an angle 16°. This font does not contain U+2300 DIAMETER SIGN.

The symbol or variable for diameter, , is sometimes used in technical drawings or specifications as a prefix or suffix for a number (e.g. "⌀ 55 mm"), indicating that it represents diameter. For example, photographic filter thread sizes are often denoted in this way.

In German, the diameter symbol (German Durchmesserzeichen) is also used as an average symbol (Durchschnittszeichen).

Encodings

The symbol has a Unicode code point at U+2300 DIAMETER SIGN (HTML ⌀), in the Miscellaneous Technical set. On an Apple Macintosh, the diameter symbol can be entered via the character palette (this is opened by pressing in most applications), where it can be found in the Technical Symbols category. In Unix/Linux/ChromeOS systems, it is generated using  . It can be obtained in Unix-like operating systems using a Compose key by pressing, in sequence, .[5] In Windows, it can be entered in most programs with Alt code 8960.

The character will sometimes not display correctly, however, since many fonts do not include it. In many situations, the Nordic letter ø at Unicode U+00F8 ø LATIN SMALL LETTER O WITH STROKE (HTML ø · ø) is an acceptable substitute. It can be entered on a Macintosh by pressing (the letter o, not the number 0). In Unix/Linux/ChromeOS systems, it is generated using   or . AutoCAD uses U+2205 EMPTY SET available as a shortcut string %%c.

In Microsoft Word, the diameter symbol can be acquired by typing and then pressing .

In LaTeX, the diameter symbol can be obtained with the command \diameter from the "wasysym" package.[6]

Diameter vs. radius

The diameter of a circle is exactly twice its radius. However, this is true only for a circle, and only in the Euclidean metric. Jung's theorem provides more general inequalities relating the diameter to the radius.

See also


References