Jokodo
Veteran Member
I recently had to find a general formula for the area of an n-sided regular polygon with a circumcircle of radius r. I refused to google the solution and came up with a working formula myself. That's about as much trigonometry as I can take (and that's all the more reason to work it out myself).
Did have a practical application too, at least I thought so. I needed to adjust the radius of polygons with varying n, created by drawing them inside a circle, such as to give them the same area. At least I thought so. I ended up using only triangles and squares, so I might as well have hardcoded the ratios.
Feel free to laugh at me.
Consider that an n-sided polygon is made up of n triangles, each covering the area between two adjacent corners and the centre.
The angle at the center is \(\frac{2\pi}{n}\)
Each of those triangles is in turn made up of two rectangular triangles, cutting the far side in half.
The angle at the center for those is \(\frac{\pi}{n}\)
The area of each of those rectangular triangles is thus \(r^2\frac{\cos{\frac{\pi}{n}}\sin{\frac{\pi}{n}}}{2}\)
Given that there are 2n of those triangles in the polygon, the area of the polygon is \(r^2n\cos{\frac{\pi}{n}}\sin{\frac{\pi}{n}}\)
The ratio radius_of_a_circle/radius_of_a_larger_circle_such_that_n-sided_polygon_drawn_into_it_has_same_area is thus \(\sqrt{\frac{\pi}{n\cos{\frac{\pi}{n}}\sin{\frac{\pi}{n}}}}\)
Did have a practical application too, at least I thought so. I needed to adjust the radius of polygons with varying n, created by drawing them inside a circle, such as to give them the same area. At least I thought so. I ended up using only triangles and squares, so I might as well have hardcoded the ratios.
Feel free to laugh at me.
Consider that an n-sided polygon is made up of n triangles, each covering the area between two adjacent corners and the centre.
The angle at the center is \(\frac{2\pi}{n}\)
Each of those triangles is in turn made up of two rectangular triangles, cutting the far side in half.
The angle at the center for those is \(\frac{\pi}{n}\)
The area of each of those rectangular triangles is thus \(r^2\frac{\cos{\frac{\pi}{n}}\sin{\frac{\pi}{n}}}{2}\)
Given that there are 2n of those triangles in the polygon, the area of the polygon is \(r^2n\cos{\frac{\pi}{n}}\sin{\frac{\pi}{n}}\)
The ratio radius_of_a_circle/radius_of_a_larger_circle_such_that_n-sided_polygon_drawn_into_it_has_same_area is thus \(\sqrt{\frac{\pi}{n\cos{\frac{\pi}{n}}\sin{\frac{\pi}{n}}}}\)
Last edited: