What is the Size of the Largest Hexagon Inside Square?
Here's an easier one for you 
What is the size of the largest regular hexagon that can be constructed inside a square with sidelength 's'?
Crack it fast, please.
Solution:
Problem Analysis: To determine the size of the largest regular hexagon that can be constructed inside a square with sidelength 's', we need to find the maximum size of the regular hexagon while keeping it fully contained within the square.
Solution: A regular hexagon is a polygon with six equal sides and six equal angles. Let's analyze the problem step by step:
Determine the side length of the regular hexagon: Since the hexagon is regular, all six sides are equal in length. Let's denote the side length of the hexagon as 'h'.
Find the distance from the center of the hexagon to one of its vertices: The distance from the center of the hexagon to any of its vertices is equal to the side length of the hexagon (h).
Determine the distance from the center of the hexagon to one of its sides: The distance from the center of the hexagon to one of its sides is equal to the apothem (a). The apothem is the perpendicular distance from the center of the hexagon to one of its sides.
Calculate the length of the apothem: To find the apothem (a), we can divide the hexagon into two congruent triangles. Each of these triangles has a base equal to one side of the hexagon (h) and a height equal to the apothem (a). The angle between the base and the height in each triangle is 30 degrees, as the hexagon has interior angles of 120 degrees. Using trigonometry, we can calculate the apothem (a) as:
a = h sin(30 degrees) = h (1/2) = h / 2
Determine the side length of the square: Since the hexagon must be fully contained within the square, the distance from the center of the hexagon to one of its vertices (h) should be less than or equal to half the side length of the square (s/2).
Solve for the side length of the hexagon in terms of the square's side length: Using the previous step, we can set up the inequality:
h β€ s/2
Calculate the maximum side length of the hexagon: By substituting a = h / 2 from step 4, we have:
h β€ s/2 h/2 β€ s/4 a β€ s/4
So, the maximum length of the apothem (a) is equal to s/4. Since the distance from the center to the vertex is twice the apothem, the maximum side length of the hexagon is 2 * (s/4), which simplifies to s/2.
Example: Let's take a square with a side length of 10 units (s = 10). To find the size of the largest regular hexagon that can be constructed inside this square, we can use the formula derived above:
Maximum side length of hexagon = s/2 = 10/2 = 5 units
Therefore, the largest regular hexagon that can be constructed inside a square with a side length of 10 units has a side length of 5 units.
Note: The same approach can be applied to squares of different sizes by substituting the corresponding value of 's' in the formula.
Replies

shalini_goel14Hexagon side will be half of the side of square. i.e s/2 .Am I right ??

sauravgoswamii think it should be s/3....pls contradict

shalini_goel14So easy to contradict over my answer.It was asked largest regular hexa gon so i think hexagon with side s/2 > s/3 .Am i right??

Kaustubh KatdareHow'd we know if your answer is right or wrong? You have to provide an explanation along with your answer.

durga chassuming the side of the regulr polygon to be x
assuming the size of the square to be a
any corner of the hexagon should not be concurrent with the corner of the square ,, as angle =90 which is not in a case of regular hexagon
hence working upon the right agnle trigaingle at one corner of the square which cannot be the part of the hexagon
since the polygon is aregular hexagon .. the internal angles are 120 degrees
thus considering one of the rigth corner tirangles
cos 60=((ax)/2 )/x
x/2=(ax)/2
x=a/2
now since x is the base of 6 equilateral triangles formed within the hexagon
the altitue being sqrt(3)/2*a/2=(sqrt(3)*a)/4
area of any triangle =1/2*b*h
1/2* (a/2) *((sqrt(3)*a)/4)
(sqrt(3)a^2)/16
since 6 such triangles are formed
6*(sqrt(3)a^2)/16
:rolling eyes:
i guess there is something i miseed.. its 1"30 AM here , so relatively no fuctionality of brian 
Vidhya24X cannot be a/2...

Kaustubh KatdareThis is why I love this section π !
Don't look at me for the right answer fellas. When you are sure, you know you've gotten the right answer. 
durga chI dotn say I am correct, But I need a proof to say I am wrong...
I guess I can prove x=a/2
length os side of sq =a
max length of side of hexagon =a
since internal angle =120 degress
consider a point a on the side of the sq.. where the corner of a hexagon meets the sq side
internal angles 120 degrees
so sum of two external angles =60 degress
with the congruency of trinagles.. it can be proved that each extranl angle =30 degrees
and
as well....
the side oft he hexagon coincides with that of the side of sq
ie 180120 degress is internal angle of the rt angle trinagle at the corner of the sq..
hence cos 60 =((ax)/2)/x
ie x=a/2 
Vidhya24But try constructing it. U've considered a side of the square which coincides with a side of the hexagon. Now consider any two sides whose common edge lies on one of the sides of the square( but these two sides of hexagon do not lie on a side of the square).
So now, if x=a/2, these tho sides of the hexagon would lie on the side of the square... Think about it and contradict me if i'm wrong. 
durga chhmmm π
I understadn what you are saying...
I guess thats the same point 'a' what i talked about in the previous psot..
i mean even if two sides dont lie on one side of sq.. and opp two sides also dont lie on the sq...
you still ahve two side which can( and need) to lie on the sq...
Vidya..
may be you can try uplaoding an image if what you are trying to depict...
what if finally we both land up doing the same analysis!!! π 
Vidhya24In one of your previous posts, you have mentioned 'a' as a side, not a point...

shalini_goel14Hey, i am changing my answer.My answer is s/sqrt(3). I will give explanation with figure.You need to wait for that.But you can tell either if it is right or wrong π .

silverscorpionThe area of the hexagon will be maximum when the diagonal of the hexagon is equal to the side of the square.
ie, if x is the side of the hexagon, then 2x is it's diagonal. So,
2x=a
x=a/2.
so the largest hexagon that can fit into a square of length a is of side a/2.
It must be oriented in such a way that two of it's sides coincide with the opposite sides of the square and two corners of the hexagon coincide with the midpoints of the other two sides of the square.
I hope I'm clear... 
sauravgoswamiwell i think someone shud draw both s/2 and s/3 figures and post it....well i am sticking to my ans

durga ch
hehe!!!πshalini_goel14Hey, i am changing my answer.My answer is s/sqrt(3). I will give explanation with figure.You need to wait for that.But you can tell either if it is right or wrong π .
we have all very unique answers... no one can say what they have said is 100% the answer..
lets wait for some more entiresπ 
Naveen89If the side of the square is s, then the side of hexagon would be
s/(2+β2)
. Considering the hexagon made would be regular 
Naveen89If the side of the square is s, then the side of hexagon would be
s/(2+β2)
. Considering the hexagon made would be regular. 
sauravgoswamishow with diagram!!!

Naveen89Note: For Image see my avatar ( I dont know how to add image)
Y is the side of regular polygon (in red)
And x will be sy;
X=y/β2 since the white portion forms a right triangle.
And x+y=s (given)
Putting the values
(y/β2)+y=s
Or y=β2s/(1+β2) 
Kaustubh Katdare
Adding image is simple. Upload your image to #LinkSnipped# and then, copy the complete image path [obtained by right clicking on the image and selecting 'Copy Image Location' option] in the dialog box presented once you click button in CE post editorNaveen89Note: For Image see my avatar ( I dont know how to add image)
Y is the side of regular polygon (in red)
And x will be sy;
X=y/Γ’ˆš2 since the white portion forms a right triangle.
And x+y=s (given)
Putting the values
(y/Γ’ˆš2)+y=s
Or y=s/(1+Γ’ˆš2) 
Ashraf HZ
*psst* Flickr does not allow hotlinking πThe_Big_KAdding image is simple. Upload your image to #LinkSnipped# and then, copy the complete image path [obtained by right clicking on the image and selecting 'Copy Image Location' option] in the dialog box presented once you click button in CE post editor 
Kaustubh Katdare
[offtopic]ash*psst* Flickr does not allow hotlinking π
It does. All our images are hosted there π.
Here's an example 
[CE's 3[sup]rd[/sup] Birthday Cake ] 
Ashraf HZI know it does. But I stress "not allow" as in policy wise π

Naveen89but was my answer right?

Kaustubh KatdareHow about " sqrt(2sqrt(3)) s " or ~ 0.518 s?

@ Ash  I think the Flickr TOS says a 'visible link' should be provided along with the image. I'll remember that. Thanks π 
Jim WrenholtThis is an old thread, and there was already a correct answer. But, it is a nice problem and the previous discussion left me unsure who was correct and why? So, with a little scratching...
If the hexagon has a radius of R and aligned so that a diameter of the hexagon is parallel to the bottom side of the square, then the correct answer is R = S/2. But if you rotate the hexagon a little you will be able to get a slightly larger polygon. By symmetry if you rotate the hexagon by 60 degrees you're right back where you started. If you rotate it 30 degrees you will have a diameter that is now perpendicular to the bottom side and you are still touching the square at R = S/2. It turns out that rotating it by 15 degrees will give you the maximum hexagon. So the correct answer is R = (S/2)/Cos(15) ~ 0.518*S.
You can use the fact that the Cos(15) = Cos(45  30) and the formula for the Cos(A  B) = Cos(45)Cos(30) + Sin(45)Sin(30) and much simplification to get the Sqrt(2  Sqrt(3)) * S as already posted by The_Big_K. 
Gary Truesdale

Gary Truesdale
This is a/2 in sketchup. Not quite right.Gary Truesdale 
Gary Truesdale.518S is sill not quite right.

Shashank MogheThis might be previously answered based on intuition (drawing a hexagon inside a square) and I have to say that the intuition of drawing a hexagon  with its vertices on the sides of the square is wrong (I spent a lot of time doing the same, then realized the trigonometry does not give me the correct result  something very basic must be wrong). You can only draw such a polygon (n sides) for cases where n is a proper multiple (1,2,3..) of 4 (since for a square, n = 4). For a hexagon, such a sketch will bring us to wrong conclusions. And that is to say that the maximum sized hexagon inside the square will be tilted (no sides of the hexagon will coincide with that of the square). Please correct me if you find something wrong.
Therefore, this becomes a problem of optimization. I immediately thought about the Brachistochrone Problem  from Wolfram MathWorld. This problem literally led to the birth of a branch of mathematics called the Calculus Of Variations
I have grown to be increasingly drawn to this offshoot of calculus, since it was very recently that I learned about the Brachistochrone Problem. Now with this post, I started wondering if this optimization problem could be solved using calculus of variations. I understood the basics (very basic concepts) of the theory (that I learned online, a lot of literature is available), but the point where I am stuck is: how to find the "functional" to be optimized in this case.
During the course of our education, we learn to find the optima of a function (the procedure of finding the first derivative and equating it to 0, afterwards finding the second derivative and deciding if it is a local minima/maxima  is based on the calculus of variations. I did not know that.). It is easy if one is given the textbook problems, with boundary conditions. Here, I am thinking about the possible boundary conditions. A lot of unknowns.
I will continue to fight with this problem. Thus far, this thread has been highly rewarding.
You are reading an archived discussion.