# Diagonal Formula

The line stretching from one corner of the square or rectangle to the opposite corner through the center of the figure is known as the diagonal. Any square that has two diagonals are equal in length to each other. Diagonal Formula is used to calculate the polygon diagonals. Diagonals are a line joining two nonadjacent vertices of a polygon i.e. a diagonal joins two vertices of a polygon excluding the edges of the figure.

#### Diagonal of a Square

\[\LARGE Diagonal\;of\;a\;Square=a\sqrt{2}\]

Where, a is the length of the side of the square

#### Diagonal of a Rectangle

\[\LARGE Diagonal\;of\;a\;Rectangle=\sqrt{l^{2}+b^{2}}\]

Where,

l is the length of the rectangle.

b is the breadth of the rectangle.

p and q are the diagonals

### Diagonal of a Parallelogram

Formula of parallelogram diagonal in terms of sides and cosine $\beta$ (cosine theorem)

\[\LARGE p=d_{1}=\sqrt{a^{2}+b^{2}- 2ab\;cos \beta}\]

\[\LARGE q=d_{2}=\sqrt{a^{2}+b^{2}+ 2ab\; cos \beta}\]

Formula of parallelogram diagonal in terms of sides and cosine α (cosine theorem)

\[\LARGE p=d_{1}=\sqrt{a^{2}+b^{2}+2ab\;cos \alpha }\]

\[\LARGE q=d_{2}=\sqrt{a^{2}+b^{2}-2ab\;cos\alpha }\]

Formula of parallelogram diagonal in terms of two sides and other diagonal

\[\LARGE p=d_{1}=\sqrt{2a^{2}+2b^{2}-d_{2}^{2}}\]

\[\LARGE q=d_{2}=\sqrt{2a^{2}+2b^{2}-d_{1}^{2}}\]