### Packing and Filling

May 17, 2012 I wrote about packing in a previous article (Packing, November 30, 2010). When my wife and I were first married, one of the first problems we faced was a packing problem. We needed to combine all our possessions into a single small apartment. After the initial condition, the situation was self-regulating, since students never have much money to buy additional household items. Secure transmission of data without the encumbrance of key transfer is an important part of the Internet. We wouldn't want our financial information zipping along through multiple routers unprotected. The packing process was viewed as an early means for public key encryption of data. The Merkle–Hellman knapsack cryptosystem is a public key cipher that's based on the knapsack problem, the idea of which is the optimal packing of items in a knapsack (backpack, rucksack). The knapsack problem a "one-way" problem; that is, it's easier to take items out of an optimally packed sack than putting them back in. It can be idealized mathematically as the subset sum problem of building a subset whose sum is zero from a set of integers. For example,Set: {-22, -5, -3, -2, 1, 3, 4, 7, 9, 14, 18)In the end, the system that was actually used was the different one-way problem that it's easier to multiply large numbers than factor them. This encryption method is used on the web browser that you're using to view this article, even if you're using certain versions of the Lynx web browser. An optimal packing of pennies on a plane occurs when their centers are on an hexagonal lattice, giving an areal density of (π/2√3) = 0.9069 (see figure). This was proven mathematically by Carl Friedrich Gauss for such a lattice packing; and László Fejes Tóth showed that this is the optimal packing, lattice or otherwise.[1]

Subset: {-22, -5, -2, 4, 7, 18}

*Lattice packing of pennies in a plane.These are Wikipedia pennies, the payment I get for writing Wikipedia articles.(Based on a Wikimedia Commons image))*

The idea of arranging circles so that they have a maximum areal density can be extended to filling geometrical figures; and there's a similar problem of filling geometrical figures with overlapping circles of selected diameters to fill as much of the area as possible (see figure). This filling problem is discussed in a recent paper in Physical Review Letters by an interdisciplinary team of scientists from the University of Michigan and the University of Connecticut.[2-5]

*(Illustration by author, rendered with Inkscape)*

Filling is an intermediate problem between packing and covering. Covering is the problem of completely covering the surface area of an object with appliqués of a given shape and size. Filling differs from the covering problem, since the applied shapes can't extend over the shape's perimeter.[5] An example of the filling problem was given in a synopsis of this paper on the American Physical Society web site.

"Imagine you have a square window and you want to block out as much light as possible by taping some opaque circular tiles to the glass. You can use a mixture of tiles with any radius, and they can overlap with each other, but you only have money to buy five."[4]More technically, filling can be describes as the way you can place N overlapping circles of any size within a bounded area to best fill its area. In looking at the filling example of the triangle in the figure, above, you get the idea that there are special lines on which such circles should be placed. These are called the medial lines. Sharon Glotzer, an author of the study, describes the medial line as the "backbone" of the polygon. Said Glotzer, "Every shape you want to fill has a backbone that goes through the center of the shape, like a spine."[5] An example of the medial lines for a concave polygon and its filling by twenty-one discs are shown in the following figure.

*Fig. 2 of reference 3, modified, showing the medial lines for a concave polygon and an optimal filling with twenty-one discs. (Via arXiv Preprint Server).[3)]*

It's always nice when research provides a tangible benefit. There are quite a few applications for an effective filling algorithm. The equipment used for radiation treatment of tumors allows control of the beam diameter, so this may be a method for effective treatment with the lowest number of beam shots.[2-3] It would also allow optimal mapping of cell telephone towers for best coverage, and programming of ion beams for the best definition of a shape in ion-milling or ion-deposition.[2-3] The research team is polishing an algorithm that will take as an input a desired shape and the number of discs, and it will output the best disc pattern.[5]

### References:

- Weisstein, Eric W. "Circle Packing." From MathWorld--A Wolfram Web Resource.
- Carolyn L. Phillips, Joshua A. Anderson, Greg Huber and Sharon C. Glotzer, "Optimal Filling of Shapes," Physical Review Letters, vol. 108, no. 19 (May 11, 2012), Document No. 198304, 5 pp..
- Carolyn L. Phillips, Joshua A. Anderson, Greg Huber and Sharon C. Glotzer, "Optimal Filling of Shapes," arXiv Preprint Server, February 11, 2012.
- Jessica Thomas, "Thinking Inside the Box," Synopsis of Ref. 2, American Physical Society.
- Katherine McAlpin, "New twist on ancient math problem could improve medicine, microelectronics," University of Michigan Press Release, May 10, 2012.

*Permanent Link to this article*

Linked Keywords: Wife; marriage; married; apartment; initial value problem; initial condition; student; household; secure transmission; key; cryptography; Internet; router; public key encryption; Merkle–Hellman knapsack cryptosystem; cipher; knapsack problem; knapsack; "one-way" problem; mathematics; subset sum problem; subset; set; integer; multiplication; factor; web browser; Lynx; penny; plane; hexagonal lattice; Carl Friedrich Gauss; Fejes Tóth; Wikimedia Commons; circle; areal density; geometry; geometrical; Physical Review Letters; University of Michigan; University of Connecticut; Inkscape; appliqué; perimeter; synopsis; American Physical Society; triangle; Sharon Glotzer; polygon; spine; concave polygon; arXiv Preprint Server; radiation therapy; radiation treatment; tumor; beam diameter; cell telephone tower; ion beam; ion-milling; ion-deposition; algorithm.

### Google Search

Latest Books by Dev Gualtieri

Thanks to Cory Doctorow of BoingBoing for his favorable review of Secret Codes!

Other Books

- Fizzy Graphene - September 25, 2017

- The First Angiosperm - September 18, 2017

- Noise Thermometry and the Boltzmann Constant - September 11, 2017

- Walking in the Rain - September 4, 2017

- Agitated Atoms - August 28, 2017

- Partial Solar Eclipse at New Jersey - August 24, 2017

- Magnetocapacitive Tunnel Junctions - August 21, 2017

- Tardigrades - August 14, 2017

- Roman Concrete - August 7, 2017

- Solar Spicules - July 31, 2017

- Schroeder Diffuser - July 24, 2017

- Rough Microparticles - July 17, 2017

- Robot Musicians - July 10, 2017

- Walter Noll (1925-2017) - July 6, 2017

- cosmogony - July 3, 2017

- Crystal Prototypes - June 29, 2017

- Voice Synthesis - June 26, 2017

- Refining Germanium - June 22, 2017

- Granular Capillarity - June 19, 2017

- Kirchhoff–Plateau Problem - June 15, 2017

- Self-Assembly - June 12, 2017

- Physics, Math, and Sociology - June 8, 2017

- Graphene from Ethylene - June 5, 2017

- Crystal Alignment Forces - June 1, 2017

- Martian Brickwork - May 29, 2017

- Carbon Nanotube Textile - May 25, 2017

- The Scent of Books - May 22, 2017

- Patterns from Randomness - May 18, 2017

- Terpene - May 15, 2017

- The Physics of Inequality - May 11, 2017

- Asteroid 2015 BZ509 - May 8, 2017

- Fuzzy Fibers - May 4, 2017

- The Sofa Problem - May 1, 2017

- The Wisdom of Composite Crowds - April 27, 2017

- J. Robert Oppenheimer and Black Holes - April 24, 2017

- Modeling Leaf Mass - April 20, 2017

- Easter, Chicks and Eggs - April 13, 2017

- You, Robot - April 10, 2017

- Collisions - April 6, 2017

- Eugene Garfield (1925-2017) - April 3, 2017

- Old Fossils - March 30, 2017

- Levitation - March 27, 2017

- Soybean Graphene - March 23, 2017

- Income Inequality and Geometrical Frustration - March 20, 2017

- Wireless Power - March 16, 2017

- Trilobite Sex - March 13, 2017

- Freezing, Outside-In - March 9, 2017

- Ammonia Synthesis - March 6, 2017

- High Altitude Radiation - March 2, 2017

### Deep Archive

Deep Archive 2006-2008

**Blog Article Directory on a Single Page**