The diagonals of a
cube with side length 1. AC' (shown in blue) is a
space diagonal with length
\sqrt 3, while AC (shown in red) is a
face diagonal and has length
\sqrt 2.
In geometry, a diagonal is a line segment joining two nonconsecutive vertices of a polygon or polyhedron. Informally, any sloping line is called diagonal. The word "diagonal" derives from the ancient Greek διαγώνιος diagonios,^{[1]} "from angle to angle" (from διά dia, "through", "across" and γωνία gonia, "angle", related to gony "knee"); it was used by both Strabo^{[2]} and Euclid^{[3]} to refer to a line connecting two vertices of a rhombus or cuboid,^{[4]} and later adopted into Latin as diagonus ("slanting line").
In matrix algebra, a diagonal of a square matrix is a set of entries extending from one corner to the farthest corner.
There are also other, nonmathematical uses.
Contents

Nonmathematical uses 1

Polygons 2

Matrices 3

Geometry 4

See also 5

Notes 6

References 7

External links 8
Nonmathematical uses
A stand of basic scaffolding on a house construction site, with diagonal braces to maintain its structure
In engineering, a diagonal brace is a beam used to brace a rectangular structure (such as scaffolding) to withstand strong forces pushing into it; although called a diagonal, due to practical considerations diagonal braces are often not connected to the corners of the rectangle.
Diagonal pliers are wirecutting pliers defined by the cutting edges of the jaws intersects the joint rivet at an angle or "on a diagonal", hence the name.
A diagonal lashing is a type of lashing used to bind spars or poles together applied so that the lashings cross over the poles at an angle.
In association football, the diagonal system of control is the method referees and assistant referees use to position themselves in one of the four quadrants of the pitch.
Polygons
As applied to a polygon, a diagonal is a line segment joining any two nonconsecutive vertices. Therefore, a quadrilateral has two diagonals, joining opposite pairs of vertices. For any convex polygon, all the diagonals are inside the polygon, but for reentrant polygons, some diagonals are outside of the polygon.
Any nsided polygon (n ≥ 3), convex or concave, has

\frac{n^23n}{2}\,
or

\frac{n(n3)}{2}\,
diagonals, as each vertex has diagonals to all other vertices except itself and the two adjacent vertices, or n − 3 diagonals.
Sides

Diagonals

3

0

4

2

5

5

6

9

7

14

8

20

9

27

10

35


Sides

Diagonals

11

44

12

54

13

65

14

77

15

90

16

104

17

119

18

135


Sides

Diagonals

19

152

20

170

21

189

22

209

23

230

24

252

25

275

26

299


Sides

Diagonals

27

324

28

350

29

377

30

405

31

434

32

464

33

495

34

527


Sides

Diagonals

35

560

36

594

37

629

38

665

39

702

40

740

41

779

42

819


Matrices
In the case of a square matrix, the main or principal diagonal is the diagonal line of entries running from the topleft corner to the bottomright corner.^{[5]}^{[6]}^{[7]} For a matrix A with row index specified by i and column index specified by j, these would be entries A_{ij} with i = j. For example, the identity matrix can be defined as having entries of 1 on the main diagonal and zeroes elsewhere:

\begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}
The topright to bottomleft diagonal is sometimes described as the minor diagonal or antidiagonal. The offdiagonal entries are those not on the main diagonal. A diagonal matrix is one whose offdiagonal entries are all zero.^{[8]}^{[9]}
A superdiagonal entry is one that is directly above and to the right of the main diagonal.^{[10]}^{[11]} Just as diagonal entries are those A_{ij} with j=i, the superdiagonal entries are those with j = i+1. For example, the nonzero entries of the following matrix all lie in the superdiagonal:

\begin{pmatrix} 0 & 2 & 0 \\ 0 & 0 & 3 \\ 0 & 0 & 0 \end{pmatrix}
Likewise, a subdiagonal entry is one that is directly below and to the left of the main diagonal, that is, an entry A_{ij} with j = i  1.^{[12]} General matrix diagonals can be specified by an index k measured relative to the main diagonal: the main diagonal has k = 0; the superdiagonal has k = 1; the subdiagonal has k = 1; and in general, the kdiagonal consists of the entries A_{ij} with j = i+k.
Geometry
By analogy, the subset of the Cartesian product X×X of any set X with itself, consisting of all pairs (x,x), is called the diagonal, and is the graph of the equality relation on X or equivalently the graph of the identity function from X to x. This plays an important part in geometry; for example, the fixed points of a mapping F from X to itself may be obtained by intersecting the graph of F with the diagonal.
In geometric studies, the idea of intersecting the diagonal with itself is common, not directly, but by perturbing it within an equivalence class. This is related at a deep level with the Euler characteristic and the zeros of vector fields. For example, the circle S^{1} has Betti numbers 1, 1, 0, 0, 0, and therefore Euler characteristic 0. A geometric way of expressing this is to look at the diagonal on the twotorus S^{1}xS^{1} and observe that it can move off itself by the small motion (θ, θ) to (θ, θ + ε). In general, the intersection number of the graph of a function with the diagonal may be computed using homology via the Lefschetz fixed point theorem; the selfintersection of the diagonal is the special case of the identity function.
See also
Notes

^ Online Etymology Dictionary

^ Strabo, Geography 2.1.36–37

^ Euclid, Elements book 11, proposition 28

^ Euclid, Elements book 11, proposition 38

^ Bronson (1970, p. 2)

^ Herstein (1964, p. 239)

^ Nering (1970, p. 38)

^ Herstein (1964, p. 239)

^ Nering (1970, p. 38)

^ Bronson (1970, pp. 203,205)

^ Herstein (1964, p. 239)

^ Cullen (1966, p. 114)
References

Bronson, Richard (1970), Matrix Methods: An Introduction, New York:

Cullen, Charles G. (1966), Matrices and Linear Transformations, Reading:

Herstein, I. N. (1964), Topics In Algebra, Waltham:

Nering, Evar D. (1970), Linear Algebra and Matrix Theory (2nd ed.), New York:
External links

Diagonals of a polygon with interactive animation

Polygon diagonal from MathWorld.

Diagonal of a matrix from MathWorld.
This article was sourced from Creative Commons AttributionShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, EGovernment Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a nonprofit organization.