Whenever you pack a lunchbox or open a fresh tray of cookies, you’re quietly running into one of geometry’s oldest puzzles: the circle-packing problem. Squares line up neatly, edge to edge, wasting almost no space. Circles, however, are far less cooperative. No matter how carefully you arrange them, tiny gaps always remain between them. Yet, these empty spaces aren't imperfections. Interesting puzzles and patterns arise in geometry that relate to circle-packing. The problems below are two such examples. Burgers in a box At first glance, it feels like there isn't enough horizontal information to solve for x . However, by mapping out the vertical empty space in the box, we can uncover a hidden right-angled triangle that gives us the exact horizontal offset of the two burgers. Observe the figure given below. The main idea is to note that the length of x is the sum of the line segments AE, EF and FB . The problem will be made easy to solve by breaking it into subproblems where we need to figure out the lengths of each of the above line segments. AE length : Note that this is equal to the radius of the larger burger. So, AE has a length of 8 \, \, cm . FB length : This is equal to the radius of the smaller burger. So FB has a length of 5 \, \, cm. EF length : This is where there is some interesting math! Continue reading below to get the answer as we workout the math together. Note that the segment BC has a length of 20 \, \, cm . Also, observe that the segments BG and HC have lengths 8 \,\, cm and 5 \,\, cm respectively. By subtracting these lengths from the total length of BC , we can get the length of the segment GH which is equal to 20-5-8=7 \,\, cm and the segment YZ has exactly length equal to GH which is 7 \,\, cm . The line XY joins the centers of both the burgers, so this has a length of 13 \,\, cm . Observe that XYZ is a right-angled triangle where we know the lengths of two sides. Using the Pythagoras Theorem, we can now find the length of XZ . We have XZ^2+ZY^2=XY^2 . So, XZ^2=XY^2-ZY^2=13^2-7^2=120 . So, XZ=\sqrt {120} . The length of XZ and EF are exactly the same! Therefore, we have EF = \sqrt{120} \,\, cm . Now that we have found the lengths of all three segments AE , FB , and EF , we can calculate x . It gives us x = 8+5+\sqrt{120} = 13+2\sqrt{30} \,\, cm . 3-Cookie problem Three identical chocolate chip cookies are packed tightly into a box. They touch each other perfectly, as well as the sides of the box. If each cookie has a radius of 1 unit, we are asked to find the area of the box. To find the area of the box, we need to determine its total width and total height. Because the cookies are perfect circles packed together, we can use the geometry of their centers to map out the dimensions of the box. Finding the width Look at the cookies sitting side-by-side at the top. The total width of the box is simply the distance across the edges of these two cookies that touch the box. As shown above, the distance across the cookies is exactly the diameter along both of the adjacent cookies. So, this gives us the width to be 4 units. Finding the height The vertical height is a bit trickier because the bottom cookie has fitted snugly into the gap between the top two. To make things easier, let’s use a diagram to proceed. The total height is the height of the line segment UV . Let’s denote the centers of each cookie as X , Y and Z . If we join these centers by line segments to make a triangle, each line is twice the radius of a cookie. So, each of these three lines have a length of 2 units each. Thus, the triangle XYZ is an equilateral triangle in which each interior angle is 60^\circ . Now, we can use trigonometry to get the height of XW . \sin 60^\circ = \frac{\sqrt 3}{2} = \frac{XW}{XZ} = \frac{XW}{2} Therefore, XW = \sqrt 3. Finally, note that the height of WV and the height of UX are exactly equal to the radius and therefore each has length 1 unit. So the total height is, UX+XW+WV = 1+1+ \sqrt 3= 2 + \sqrt 3 \,\, \text{units.} Now, we can calculate the area to be, \text{Area} = 4 \times (2+\sqrt 3) = 8+ 4 \sqrt 3 \,\, \text{square units.}