Inscribed Circle
As a part of this derivation,
we got a formula for the radius of a circle drawn around a triangle.
In this derivation, we will find a formula for a circle drawn inside a triangle.
Consider any triangle with any side lengths , and ,
and draw a circle inside it so that it touches each side as in the picture below.
A circle like this is called the inscribed circle of the triangle.
Our goal is to find its radius .

Let's split the triangle into 3 smaller triangles by connecting the corners to the center of the circle:

Because the radius is perpendicular to the side with length ,
the area of the green part is .
Areas of the other parts are similarly and .
Letting denote the area of the whole triangle, we get
Multiplying both sides by and dividing by gives the following result.
Consider any triangle.
Let , and denote its side lengths, let denote its area,
and let denote the radius of the inscribed circle. Then