Perhaps my Google game is weak, but I’m trying to find a mathematical treatment (and ideally a visual representation) of the largest regular hexagon that fits inside a regular pentagon.
It’s not hard to find the other way around, or to find squares inside pentagons or vice versa, but I can’t find anyone addressing the pentagon around the hexagon.
Given a pentagon with side lengths s, The hexagon will be inscribed such that its vertices touch the sides of the pentagon.
The apothem (distance from the center to a side) of the pentagon can be found using:
apothem = s x COS (36 degrees).
This apothem will also be the distance from the center of the hexagon to one of its vertices. Using this distance, we can find the side length of the hexagon, h, using the relation 2 x apothem x TAN (30 degrees).
The side length h of the largest regular hexagon that can fit inside a regular pentagon with side length
s is given by:
There are two obvious orientations for the hexagon inside the pentagon, one where they share a side (incompletely) and two or maybe four vertices, the other and one where maybe four vertices touch four sides of the pentagon. Any hints which way this is or how your solution works before I screw up attempting to figure this out myself? I assume one is larger, but no sure if those side and points would connect as I described.
I’m not sure that I accept that a hexagon with distance-from-center-to-vertex the same as apothem-of-the-pentagon is the largest hexagon that can fit in the pentagon. If I skew the hexagon, can’t I make it larger?
Yes, that’s what it looks like playing around in Paint. The distance between parallel sides of the hexagon seems to be the limiting factor. I was wondering about skewing also.
The location of the vertices for a regular hexagon and a regular pentagon can be calculated with simple trig (cos (360 i /6+skew) and sin (360i /6+skew) are the x and y coordinates for the hexagon (for i=0 to 5) and cos (360 i /5) and sin (360i /5) for the pentagon (you only need to skew one of them)). From that you can find the equation for the line segments that make up each figure, and go from there.
(I did this problem for circles, squares and triangles some years back. As I recall, there was a skew for the largest triangle in a square - they didn’t share a vertex or a side).
I think I made a mistake, let me double check my math.
It should be \frac{1+\sqrt{5}}{4}.
Consider a hexagon inscribed in the pentagon such that one of its sides is parallel to the base of the pentagon. The distance from the center of the pentagon to the midpoint of this side of the hexagon will be the radius of the hexagon.
I think that orientation is the largest regular hexagon that will fit inside a regular pentagon. What I see is the ‘height’ of the hexagon, IOW the distance between parallel sides must fit between to adjacent sides of the pentagon while one vertex touches the midpoint of one pentagon side. I don’t know how to do math with all those funny symbols so I’m trying to see how in your solution or any others here that works out.
Is that the largest hexagon that will fit though? The height of the hexagon oriented that way seems to be less than that with the orientation suggested above.
Dorjan, Chingon I don’t think it has to be centered. Taking a look at Dorjan’s diagram, the red hexagon can clearly be larger. If you scale it up ever so slightly while keeping the SSE segment parallel to its current orientation (so maintaining contact with the SE and SW sides of the pentagon) until the westernmost corner of the hexagon touches the western side of the pentagon, you will have a non-centered hexagon making contact on three sides of the pentagon.
IOW if you rotate the hexagon around one of its corners to make it fit, you’ve uncentered it relative to the hexagon.