Formulas in Plane Geometry

Formulas in Plane Geometry

Select a derivation below.

Derivation / Proof of Ptolemy's Theorem for Cyclic Quadrilateral

Ptolemy's theorem for cyclic quadrilateral states that the product of the diagonals is equal to the sum of the products of opposite sides. From the figure below, Ptolemy's theorem can be written as
 

$d_1 d_2 = ac + bd$

 

Proof of Ptolemy's Theorem
Note that the diagonal d1 is from A to C and diagonal d2 is from B to D. If you have question why the angle at vertex C is (180° - α) and (180° - β) at vertex D, see the page of Cyclic Quadrilateral.
 

Figure for Proof of Ptolemy's Theorem

 

Cosine law for triangle ABC
${d_1}^2 = a^2 + b^2 – 2ab \cos \beta$   → equation (1)
 

Cosine law for triangle ADC
${d_1}^2 = c^2 + d^2 – 2cd \cos (180^\circ – \beta)$

${d_1}^2 = c^2 + d^2 + 2cd \cos \beta$   → equation (2)
 

Equate equations (1) and (2)
${d_1}^2 = {d_1}^2$

$a^2 + b^2 – 2ab \cos \beta = c^2 + d^2 + 2cd \cos \beta$

$a^2 + b^2 – c^2 - d^2 = 2ab \cos \beta + 2cd \cos \beta$

$a^2 + b^2 – c^2 - d^2 = 2(ab + cd) \cos \beta$

$\cos \beta = \dfrac{a^2 + b^2 – c^2 - d^2}{2(ab + cd)}$
 

Substitute the value of cos β to equation (1)
${d_1}^2 = a^2 + b^2 – 2ab \left[ \dfrac{a^2 + b^2 – c^2 - d^2}{2(ab + cd)} \right]$

${d_1}^2 = a^2 + b^2 – \dfrac{a^3b + ab^3 – abc^2 - abd^2}{ab + cd}$

${d_1}^2 = \dfrac{(a^2 + b^2)(ab + cd) - (a^3b + ab^3 – abc^2 - abd^2)}{ab + cd}$

${d_1}^2 = \dfrac{a^3b + a^2cd + ab^3 + b^2cd - a^3b - ab^3 + abc^2 + abd^2}{ab + cd}$

${d_1}^2 = \dfrac{a^2cd + b^2cd + abc^2 + abd^2}{ab + cd}$

${d_1}^2 = \dfrac{(a^2cd + abc^2) + (abd^2 + b^2cd)}{ab + cd}$

${d_1}^2 = \dfrac{ac(ad + bc) + bd(ad + bc)}{ab + cd}$

${d_1}^2 = \dfrac{(ac + bd)(ad + bc)}{ab + cd}$   → equation (3)
 

In the same manner, find the value of d22. Cosine law for triangle BAD
${d_2}^2 = a^2 + d^2 – 2ad \cos \alpha$   → equation (4)
 

Cosine law for triangle BCD
${d_2}^2 = b^2 + c^2 – 2bc \cos (180^\circ – \alpha)$

${d_2}^2 = b^2 + c^2 + 2bc \cos \alpha$   → equation (5)
 

Equate equations (4) and (5)
${d_2}^2 = {d_2}^2$

$a^2 + d^2 – 2ad \cos \alpha = b^2 + c^2 + 2bc \cos \alpha$

$a^2 + d^2 – b^2 - c^2 = 2ad \cos \alpha + 2bc \cos \alpha$

$a^2 + d^2 – b^2 - c^2 = 2(ad + bc) \cos \alpha$

$\cos \alpha = \dfrac{a^2 + d^2 – b^2 - c^2}{2(ad + bc)}$
 

Substitute the value of cos α to equation (4)
${d_2}^2 = a^2 + d^2 – 2ad \left[ \dfrac{a^2 + d^2 – b^2 - c^2}{2(ad + bc)} \right]$

${d_2}^2 = a^2 + d^2 – \dfrac{a^3d + ad^3 – ab^2d - ac^2d}{ad + bc}$

${d_2}^2 = \dfrac{(a^2 + d^2)(ad + bc) - (a^3d + ad^3 – ab^2d - ac^2d)}{ad + bc}$

${d_2}^2 = \dfrac{a^3d + a^2bc + ad^3 + bcd^2 - a^3d - ad^3 + ab^2d + ac^2d}{ad + bc}$

${d_2}^2 = \dfrac{a^2bc + bcd^2 + ab^2d + ac^2d}{ad + bc}$

${d_2}^2 = \dfrac{(a^2bc + ab^2d) + (ac^2d + bcd^2)}{ad + bc}$

${d_2}^2 = \dfrac{ab(ac + bd) + cd(ac + bd)}{ad + bc}$

${d_2}^2 = \dfrac{(ab + cd)(ac + bd)}{ad + bc}$   → equation (6)
 

Multiply equation (3) and equation (6)
${d_1}^2 \times {d_2}^2 = \dfrac{(ac + bd)(ad + bc)}{ab + cd} \times \dfrac{(ab + cd)(ac + bd)}{ad + bc}$

$(d_1 d_2)^2 = (ac + bd)^2$
 

Thus,

$d_1 d_2 = ac + bd$

 

Derivation of Formula for Area of Cyclic Quadrilateral

For a cyclic quadrilateral with given sides a, b, c, and d, the formula for the area is given by
 

$A = \sqrt{(s - a)(s - b)(s - c)(s - d)}$

 

Where s = (a + b + c + d)/2 known as the semi-perimeter.
 

Derivation of Formula
Figure for Derivation of Area of Cyclic QuadrilateralCosine law for triangle ABC
$x^2 = a^2 + b^2 – 2ab \cos \theta$
 

Cosine law for triangle ADC

$x^2 = c^2 + d^2 – 2cd \cos (180^\circ – \theta)$

note that cos (180° - x) = -cos x
$x^2 = c^2 + d^2 + 2cd \cos \theta$
 

Equate the two x2

$x^2 = x^2$

$a^2 + b^2 – 2ab \cos \theta = c^2 + d^2 + 2cd \cos \theta$

$a^2 + b^2 – c^2 - d^2 = 2ab \cos \theta + 2cd \cos \theta$

$a^2 + b^2 – c^2 - d^2 = 2(ab + cd) \cos \theta$

$\cos \theta = \dfrac{a^2 + b^2 – c^2 - d^2}{2(ab + cd)}$
 

Area of ABCD

$A = A_{ABC} + A_{ADC}$

$A = \frac{1}{2}ab \sin \theta + \frac{1}{2}cd \sin (180^\circ – \theta)$   ←   note that sin (180° - θ) = sin θ

$A = \frac{1}{2}ab \sin \theta + \frac{1}{2}cd \sin \theta$

$A = \frac{1}{2}(ab + cd) \sin \theta$
 

Square both sides of the equation

$A^2 = \frac{1}{4}(ab + cd)^2 \sin^2 \theta$

$A^2 = \frac{1}{4}(ab + cd)^2 (1 - \cos^2 \theta)$
 

From

$\cos \theta = \dfrac{a^2 + b^2 – c^2 - d^2}{2(ab + cd)}$

$\cos^2 \theta = \dfrac{(a^2 + b^2 – c^2 - d^2)^2}{4(ab + cd)^2}$

$1 - \cos^2 \theta = 1 - \dfrac{(a^2 + b^2 – c^2 - d^2)^2}{4(ab + cd)^2}$

$1 - \cos^2 \theta = \dfrac{4(ab + cd)^2 - (a^2 + b^2 – c^2 - d^2)^2}{4(ab + cd)^2}$

$1 - \cos^2 \theta = \dfrac{4(ab + cd)^2 - (a^2 + b^2 – c^2 - d^2)^2}{4(ab + cd)^2}$

$1 - \cos^2 \theta = \dfrac{[ \, 2(ab + cd) + (a^2 + b^2 – c^2 - d^2) \, ][ \, 2(ab + cd) - (a^2 + b^2 – c^2 - d^2) \, ]}{4(ab + cd)^2}$

$1 - \cos^2 \theta = \dfrac{[ \, 2ab + 2cd + a^2 + b^2 – c^2 - d^2 \, ][ \, 2ab + 2cd - a^2 - b^2 + c^2 + d^2 \, ]}{4(ab + cd)^2}$

$1 - \cos^2 \theta = \dfrac{[ \, (a^2 + 2ab + b^2) – (c^2 - 2cd + d^2) \, ][ \, (c^2 + 2cd + d^2) - (a^2 - 2ab + b^2) \, ]}{4(ab + cd)^2}$

$1 - \cos^2 \theta = \dfrac{[ \, (a + b)^2 – (c - d)^2 \, ][ \, (c + d)^2 - (a - b)^2 \, ]}{4(ab + cd)^2}$

$1 - \cos^2 \theta = \dfrac{[ \, (a + b) + (c - d) \, ][ \, (a + b) – (c - d) \, ][ \, (c + d) + (a - b) \, ][ \, (c + d) - (a - b) \, ]}{4(ab + cd)^2}$

$1 - \cos^2 \theta = \dfrac{(a + b + c - d)(a + b + d – c)(a + c + d - b)(b + c + d - a)}{4(ab + cd)^2}$

$1 - \cos^2 \theta = \dfrac{(b + c + d - a)(a + c + d - b)(a + b + d – c)(a + b + c - d)}{4(ab + cd)^2}$

$1 - \cos^2 \theta = \dfrac{(a + b + c + d - 2a)(a + b + c + d - 2b)(a + b + c + d – 2c)(a + b + c + d - 2d)}{4(ab + cd)^2}$
 

Note that a + b + c + d = P, the perimeter. Thus,

$1 - \cos^2 \theta = \dfrac{(P - 2a)(P - 2b)(P – 2c)(P - 2d)}{4(ab + cd)^2}$
 

Substitute 1 - cos2 θ to the equation of A2 above.

$A^2 = \frac{1}{4}(ab + cd)^2 \left[ \dfrac{(P - 2a)(P - 2b)(P – 2c)(P - 2d)}{4(ab + cd)^2} \right]$

$A^2 = \frac{1}{16}(P - 2a)(P - 2b)(P – 2c)(P - 2d)$

$A^2 = \left( \dfrac{P - 2a}{2} \right)\left( \dfrac{P - 2b}{2} \right)\left( \dfrac{P - 2c}{2} \right)\left( \dfrac{P - 2d}{2} \right)$

$A^2 = (\frac{1}{2}P - a)(\frac{1}{2}P - b)(\frac{1}{2}P – c)(\frac{1}{2}P - d)$
 

Recall that   $\frac{1}{2}P = \frac{1}{2}(a + b + c + d) = s$, the semi-perimeter. Thus,

$A^2 = (s - a)(s - b)(s – c)(s - d)$
 

Finally,

$A = \sqrt{(s - a)(s - b)(s – c)(s - d)}$

 

Derivation of Formula for Radius of Circumcircle

The formula for the radius of the circle circumscribed about a triangle (circumcircle) is given by
 

$R = \dfrac{abc}{4A_t}$

where At is the area of the inscribed triangle.
 

Derivation:
Figure for derivation of radius of circumcircleIf you have some questions about the angle θ shown in the figure above, see the relationship between inscribed and central angles.
 

From triangle BDO
$\sin \theta = \dfrac{a/2}{R}$

$\sin \theta = \dfrac{a}{2R}$
 

At = area of triangle ABC
$A_t = \frac{1}{2}bc \sin \theta$

$A_t = \frac{1}{2}bc \left( \dfrac{a}{2R} \right)$

$A_t = \dfrac{abc}{4R}$

$R = \dfrac{abc}{4A_t}$

 

Derivation of Formula for Radius of Incircle

The radius of incircle is given by the formula
 

$r = \dfrac{A_t}{s}$

 

where At = area of the triangle and s = semi-perimeter.
 

Derivation
 

Figure for derivation of radius of incircle

 

Let
At = Area of triangle ABC
At = Area of triangle BOC + Area of triangle AOC + Area of triangle AOB
 

$A_t = A_{BOC} + A_{AOC} + A_{AOB}$

$A_t = \frac{1}{2}ar + \frac{1}{2}br + \frac{1}{2}cr$

$A_t = \frac{1}{2}(a + b + c)\,r$
 

Let   $\frac{1}{2}(a + b + c) = s$,   the semi-perimeter
 

Thus,
$A_t = sr$

$r = \dfrac{A_t}{s}$

 

Derivation of Heron's / Hero's Formula for Area of Triangle

For a triangle of given three sides, say a, b, and c, the formula for the area is given by
 

$A = \sqrt{s(s - a)(s - b)(s - c)}$

 

where s is the semi perimeter equal to P/2 = (a + b + c)/2.
 

Derivation of Heron's Formula
Triangle ABC of given three sidesArea of triangle ABC
$A = \frac{1}{2}bh$       → equation (1)
 

From triangle ADB
$x^2 + h^2 = c^2$

$x^2 = c^2 – h^2$

$x = \sqrt{c^2 - h^2}$
 

From triangle CDB
$(b – x)^2 + h^2 = a^2$

$(b – x)^2 = a^2 – h^2$

$b^2 – 2bx + x^2 = a^2 – h^2$
 

Substitute the values of x and x2
$b^2 – 2b\sqrt{c^2 - h^2} + (c^2 – h^2) = a^2 – h^2$

$b^2 + c^2 – a^2 = 2b\sqrt{c^2 - h^2}$
 

Square both sides
$(b^2 + c^2 – a^2)^2 = 4b^2(c^2 - h^2)$

$\dfrac{(b^2 + c^2 – a^2)^2}{4b^2} = c^2 - h^2$

$h^2 = c^2 - \dfrac{(b^2 + c^2 – a^2)^2}{4b^2}$

$h^2 = \dfrac{4b^2c^2 - (b^2 + c^2 – a^2)^2}{4b^2}$

$h^2 = \dfrac{(2bc)^2 - (b^2 + c^2 – a^2)^2}{4b^2}$

$h^2 = \dfrac{[ \, 2bc + (b^2 + c^2 – a^2) \, ][ \, 2bc - (b^2 + c^2 – a^2) \, ]}{4b^2}$

$h^2 = \dfrac{[ \, 2bc + b^2 + c^2 – a^2 \, ][ \, 2bc - b^2 - c^2 + a^2 \, ]}{4b^2}$

$h^2 = \dfrac{[ \, (b^2 + 2bc + c^2) – a^2 \, ][ \, a^2 - (b^2 - 2bc + c^2) \, ]}{4b^2}$

$h^2 = \dfrac{[ \, (b + c)^2 – a^2 \, ] \cdot [ \, a^2 - (b - c)^2 \, ]}{4b^2}$

$h^2 = \dfrac{[ \, (b + c) + a \, ][ \, (b + c) - a \, ] \cdot [ \, a + (b - c) \, ][ \, a - (b - c) \, ]}{4b^2}$

$h^2 = \dfrac{(b + c + a)(b + c - a)(a + b - c)(a - b + c)}{4b^2}$

$h^2 = \dfrac{(a + b + c)(b + c - a)(a + c - b)(a + b - c)}{4b^2}$

$h^2 = \dfrac{(a + b + c)(a + b + c - 2a)(a + b + c - 2b)(a + b + c - 2c)}{4b^2}$

$h^2 = \dfrac{P(P - 2a)(P - 2b)(P - 2c)}{4b^2}$   note: P = perimeter

$h = \dfrac{\sqrt{P(P - 2a)(P - 2b)(P - 2c)}}{2b}$
 

Substitute h to equation (1)
$A = \frac{1}{2}b\dfrac{\sqrt{P(P - 2a)(P - 2b)(P - 2c)}}{2b}$

$A = \frac{1}{4}\sqrt{P(P - 2a)(P - 2b)(P - 2c)}$

$A = \sqrt{\frac{1}{16}P(P - 2a)(P - 2b)(P - 2c)}$

$A = \sqrt{\dfrac{P}{2} \left( \dfrac{P - 2a}{2} \right)\left( \dfrac{P - 2b}{2} \right)\left( \dfrac{P - 2c}{2} \right)}$

$A = \sqrt{\dfrac{P}{2} \left( \dfrac{P}{2} - a \right)\left( \dfrac{P}{2} - b \right)\left( \dfrac{P}{2} - c \right)}$
 

Recall that P/2 = s. Thus,

$A = \sqrt{s(s - a)(s - b)(s - c)}$