Efficient packings of unit squares in a large square

Similar documents
arxiv: v2 [math.co] 9 Apr 2016

Efficient packing of unit squares in a square

1 2 0 ERDŐS AND GRAHAM It is clear that one can inscribe k 2 squares into a unit square so that the sum of their circumferences is 4k. Erdös conjectur

Families of point-touching squares k-touching

Improving Dense Packings of Equal Disks in a Square

On a hypergraph matching problem

Packing Unit Squares in a Rectangle

Decomposing oriented graphs into transitive tournaments

Enumerating multiplex juggling patterns

Single processor scheduling with time restrictions

The CENTRE for EDUCATION in MATHEMATICS and COMPUTING cemc.uwaterloo.ca Cayley Contest. (Grade 10) Tuesday, February 27, 2018

Asymptotically optimal induced universal graphs

Unrolling residues to avoid progressions

Universal Juggling Cycles

Math ACT Slam. 3. The less difficult questions are at the of the test, and the questions typically get more difficult throughout the test.

Single processor scheduling with time restrictions

= 2 x. So, when 0 < x < 2 it is increasing but it is decreasing

Decomposition of random graphs into complete bipartite graphs

Edge-disjoint induced subgraphs with given minimum degree

Juggling card sequences

SET 1. (1) Solve for x: (a) e 2x = 5 3x

EGYPTIAN FRACTIONS WITH EACH DENOMINATOR HAVING THREE DISTINCT PRIME DIVISORS

THE KENNESAW STATE UNIVERSITY HIGH SCHOOL MATHEMATICS COMPETITION PART II Calculators are NOT permitted Time allowed: 2 hours

Maximum subsets of (0, 1] with no solutions to x + y = kz

**** NO CALCULATORS IN THIS ROUND ****

2012 Fermat Contest (Grade 11)

Asymptotically optimal induced universal graphs

Chemistry 801: Nanostructured Materials and Interfaces

Review 1. Andreas Klappenecker

Monotone Hamiltonian paths in the Boolean lattice of subsets

CSE 140: Components and Design Techniques for Digital Systems

Applications Using Factoring Polynomials

PUTNAM 2016 SOLUTIONS. Problem A1. Find the smallest positive integer j such that for every polynomial p(x) with integer coefficients

I.G.C.S.E. Area. You can access the solutions from the end of each question

This chapter covers asymptotic analysis of function growth and big-o notation.

Lecture 4: Four Input K-Maps

On the discrepancy of circular sequences of reals

Module 1. Probability

Summer Review for Students Entering AP Calculus AB

Intermediate Mathematics League of Eastern Massachusetts

1. (A) Factor to get (2x+3)(2x 10) = 0, so the two roots are 3/2 and 5, which sum to 7/2.

x n+1 = ( x n + ) converges, then it converges to α. [2]

MASSACHUSETTS MATHEMATICS LEAGUE CONTEST 4 JANUARY 2013 ROUND 1 ANALYTIC GEOMETRY: ANYTHING ANSWERS

Instructions. Do not open your test until instructed to do so!

Problems for Putnam Training

Computer Science Section 3.2

Catalan numbers Wonders of Science CESCI, Madurai, August

Algorithms: Background

D - E - F - G (1967 Jr.) Given that then find the number of real solutions ( ) of this equation.

GAPS BETWEEN FRACTIONAL PARTS, AND ADDITIVE COMBINATORICS. Antal Balog, Andrew Granville and Jozsef Solymosi

Constructions in Ramsey theory

GRE. Advanced GRE Math Questions

Pigeonhole Principle and Ramsey Theory

Math Circle at FAU 10/27/2018 SOLUTIONS

Areas of Polygons and Circles

CRYSTAL STRUCTURES WITH CUBIC UNIT CELLS

Baltic Way 2008 Gdańsk, November 8, 2008

Enumerating (Multiplex) Juggling Sequences

Word-representability of line graphs

Arithmetic with Whole Numbers and Money Variables and Evaluation (page 6)

Section 1.1. Chapter 1. Quadratics. Parabolas. Example. Example. ( ) = ax 2 + bx + c -2-1

EGMO 2016, Day 1 Solutions. Problem 1. Let n be an odd positive integer, and let x1, x2,..., xn be non-negative real numbers.

UNC Charlotte 2004 Algebra with solutions

THE KENNESAW STATE UNIVERSITY HIGH SCHOOL MATHEMATICS COMPETITION PART I MULTIPLE CHOICE (A) 0 (B) 1 (C) 2 (D) 3 (E) 4

Inserting plus signs and adding

Eves Equihoop, The Card Game SET, and Abstract SET

Bucket-Sort. Have seen lower bound of Ω(nlog n) for comparisonbased. Some cheating algorithms achieve O(n), given certain assumptions re input

***** NO CALCULATORS IN THIS ROUND *****

M08/5/MATSD/SP1/ENG/TZ2/XX/M+ MARKSCHEME. May 2008 MATHEMATICAL STUDIES. Standard Level. Paper pages

Multicolour Ramsey Numbers of Odd Cycles

Worst-case analysis of the LPT algorithm for single processor scheduling with time restrictions

Oblivious and Adaptive Strategies for the Majority and Plurality Problems

QUIZ PAGE 7 KS3, KS4, Non-Calculator, with Answers/Solutions A. 0 B. -1 C. 2 D. 3 E. 1

D. 6. Correct to the nearest tenth, the perimeter of the shaded portion of the rectangle is:

Symmetry Groups 11/19/2017. Problem 1. Let S n be the set of all possible shuffles of n cards. 2. How many ways can we shuffle n cards?

b = 2, c = 3, we get x = 0.3 for the positive root. Ans. (D) x 2-2x - 8 < 0, or (x - 4)(x + 2) < 0, Therefore -2 < x < 4 Ans. (C)

Packing Ferrers Shapes

Chapter 4. Recurrences

MCR3U - Practice Mastery Test #6

On Two Class-Constrained Versions of the Multiple Knapsack Problem

Research Problems in Arithmetic Combinatorics

1993 AP Calculus AB: Section I

2007 Fermat Contest (Grade 11)

Chapter 5. Understanding and Comparing. Distributions

Block 2 ~ The Pythagorean Theorem Self-Assessment. Progress (shade this in) Name Per. Track your understanding. Lesson #

RMT 2014 Power Round February 15, 2014

Math Day at the Beach 2018

Solution Week 68 (12/29/03) Tower of circles

Polynomial and Rational Functions. Copyright Cengage Learning. All rights reserved.

2009 Euclid Contest. Solutions

SSAT Advantage ( A ) 6 ( B ) 2 ( C ) 9 ( D ) 5 ( E ) 4 ( A ) 5 ( B ) 9 ( C ) 7 ( D ) 6 ( E ) 8. SSAT Practice Test Upper Level Advanced Math

Instructions. Do not open your test until instructed to do so!

X. Numerical Methods

MATH 521, WEEK 2: Rational and Real Numbers, Ordered Sets, Countable Sets

Chapter 8 Time Order and Cause-and-Effect Organization (2)

1983 FG8.1, 1991 HG9, 1996 HG9

RMT 2014 Power Round Solutions February 15, 2014

3.1 Inequalities - Graphing and Solving

UNIVERSITY OF NORTH CAROLINA CHARLOTTE 1995 HIGH SCHOOL MATHEMATICS CONTEST March 13, 1995 (C) 10 3 (D) = 1011 (10 1) 9

Finding patterns avoiding many monochromatic constellations

Transcription:

Efficient packings of unit squares in a large square Fan Chung Ron Graham Abstract How efficiently can a large square of side length x be packed with non-overlapping unit squares? In this note, we show that the uncovered area W (x) can be made as small as O(x 3/5 ). This improves an earlier estimate which showed that W (x) = O(x 3+ 2 7 log x). 1 Introduction Given a large square S(x) of side length x, let W (x) denoted the minimum possible amount of uncovered area in any packing of S(x) with nonoverlapping unit squares. When x = N is an integer, then of course W (N) = 0. However, when x is not an integer, then some waste (= uncovered area) is inevitable. In we naively pack the square in the obvious way, (see Fig. 1), then the wasted area will be proportional to x(x x ), which is linear in x when (x x ) is bounded away from 0.. During the past 40 years, better upper bounds for W (x) have been obtained. Beginning with the estimate W (x) = O(x 7 11 ) = O(x 0.63636... ) from [3], this was improved by 3 Montgomery [7] to W (x) = O(x 3 2 ) = O(x 0.63397... ) and then most recently 2 to W (x) = O(x 3+ 7 log x) by the authors [2] where 3+ 2 = 0.63060.... 7 Dept. of Mathematics, University of California, San Diego, fan@ucsd.edu Dept. of Computer Science and Engineering, University of California, San Diego, graham@ucsd.edu. 1

In the other direction, a seminal result of Roth and Vaughan [8] shows that if x(x x ) > 1 then 6 W (x) > 10 100 x x (1) where x denote the distance from x to the nearest integer. In particular, this shows that W (x) > cx 1/2 for some absolute constant c provided x is bounded away from an integer. In this note, we improve the upper bound for W (x). Theorem 1. W (x) = O(x 3 5 ). To prove Theorem 1, we will describe the packing procedure in three stages. In the first stage, we partition the square S(x) into a perfect square (of integral side) and two rectangles. In second stage, the rectangles are packed by stacks of unit squares but some trapezoids are still left uncovered as well as some tiny triangles along the edges. At the last stage, we pack the trapezoids in a careful way. We note that in the first and second stages, the strategy for packing S(x) will be similar to that used in [2], although the parameters are chosen differently. In each stage, there are a number of steps to pack unit squares into the regions. During this process, we will keep track of the waste in each step of the way. All together, we will consider nine types of waste, denoted by W i (x) for i = 1,..., 9. We will show that for each i, W i (x) = O(x 3/5 ). Summing the W i (x) for i = 1,..., 9, then yields the claimed upper bound for W (x). 2 Packing rectangles with unit squares. Since we are only proving asymptotic bounds on W (x), we will omit floor and ceiling functions when they are not essential. In order to simplify the notation, we are first going to assume that x = N + 1/2 for some integer N. The modifications needed for general x should be clear. 2

For the first stage of the construction, we will pack most of S(x) in the naive way but leaving two unpacked rectangles with short side lengths equal to x 4/5 (see Fig. 1), In particular, we can take this length to be of the form M + 1/2 for some integer M which makes M + 1/2 closest to x 4/5. Note that the figures are not drawn to scale. S(x) x 4 5 x... x Figure 1: Packing most of S(x) with axis-aligned stacks of unit squares. Next we are going to take stacks of M + 1 unit squares, tilt them slightly and pack most of the two rectangles with these stacks. x 2 5 W 1 x 4 5 T... Figure 2: Packing the rectangles with stacks of squares. 3

There are now two questions. How much of the rectangles do we pack this way, and how must waste do we generate? θ θ = arctan ( M +1+ tanθ) 2 ( M + 1 2 )2 M + 1 2 1 M 1 x 2 5 + O( 1 ) x 4 5 Figure 3: The angle of a stack. Referring to Fig. 3, a computation shows that the angle θ in the small right triangle is asymptotic to 1 M (since tan θ θ as M.) Hence, the area of each of the shaded right triangle is (asymptotic to) 1 M = O(x 2/5 ). Since there are at most 4x such triangles, then this waste W 1 (x) is bounded by W 1 (x) = O(x 3/5 ). 3 Packing the trapezoids with unit squares. We will fill the rectangles with the aforementioned stacks until we have empty trapezoids with top edges of length x 2/5. Hence, the bottom sides have length 2x 2/5 (see Fig. 4). We will focus on a single trapezoid T (we treat the other three in the same way). We subdivide T into t + 1 trapezoids B i, 0 i t, as follows. Let b 0 denote the length of the top edge of T. Then go down the left-hand side of T by steps of size 1 until the horizontal line going to the right-hand side of T has length b 1 exceeding b 0 + 1 but no more than b 0 + 1 + O(x 2/5 ). 4

x 2 5 x 4 5 T θ 2x 2 5 Figure 4: The trapezoid T. This will happen when the horizontal line has come down for a distance of h 0 x 2/5 where h 0 is an integer. We now draw this horizontal line which will form the bottom edge of the first sub-trapezoid B 0. Now we repeat this process starting from the bottom edge of B 0. Namely, we go down until we find that the horizontal line to the right-hand side of T has length b 2 which exceeds b 1 + 1 but is less than b 1 + 1 + O(x 2/5 ). Again, this will happen when the left-hand side has come down a distance h 1 x 2/5. Drawing the horizontal line at this point will form the bottom edge of the sub-trapezoid B 1. We keep doing this until we reach the bottom of T. In general, B i will have a top edge of length b i between b 0 + i and b 0 + i + O(x 2/5 ), a left-hand edge of integer length h i x 2/5 and a bottom edge of length b i+1 between b 0 + i + 1 and b 0 + i + 1 + O(x 2/5 ) (see Fig. 5). The exception occurs with the last trapezoid B t. For this sub-trapezoid, h t = O(x 2/5 ) may not be an integer. In this case, we just pack B t trivially with axis-aligned stacks of squares, leaving a waste altogether of W 2 (x) = O(x 2/5 ). In the next section, we describe how to pack squares into the B i. 5

b 0 = x 2 5 h 0 B 0 b 1 = b 0 +1+ O(x 2 5 ) h 1 B 1 x 4 5... θ W 2 (x) h t B t 2x 2 5 Figure 5: Subividing T into sub-trapezoids B i. 4 Packing the B i. The first step in packing B i is to place i stacks of unit squares of height h i along the left-hand edge of B i (see Fig. 6). Since h i is an integer, no wasted space is created here. By construction, the remaining portion of B i is a subtrapzoid essentially isomorphic to B 0, having a top edge length of b i i = b 0 + O( 1 x 2/5 ). The next step will be to remove x 1/5 small right triangles from the righthand edge of B i as shown in Fig. 7. Each triangle has height x 1/5. The area of such a triangle is O((x 1/5 ) 2 θ) = O(1). Hence, the total area of all these triangles is O(x 3/5 ) since there are x 2/5 B i s and each B i has O(x 1/5 ) such triangles. These triangles will be left empty so the waste introduced here is W 3 (x) = O(x 3/5 ). Now define m to be the integer closest to b 0 + 1. All of the remaining square packing of the B i will be done with stacks of unit squares of height 6

x 2 5 h 0 B 0 h 1 B 1 x 4 5... h t 1... B t 1 θ 2x 2 5 Figure 6: Filling the ends of the B i with stacks of squares. x 1 5 x 1 5 W 3 B i x 1 5... x 1 5 x 1 5 Figure 7: Creating serrated B i s. 7

m. In particular, all of the stacks will have their left-hand ends touching the left-hand edges of the modified B i (see Fig. 8). W 4 Bi W 4 Figure 8: Filling B i with tilted stacks of height m. Also, these stacks will always be placed as close to the top as possible, so that each stack will touch the stack above it. We continue placing stacks of height m in the B i, allowing stacks to cross from B i to B i+1 when necessary. Doing this will create a certain amount of wasted space, which we now estimate. First, the waste W 4 (x) created by the small triangles at the ends of the stack (see Fig. 8). The tilt of any stack is at most O(x 1/5 ) so that the area of such a triangle is O(x 1/5 ). Since there are O(x 4/5 ) such triangles, then we see that W 4 (x) = O(x 3/5 ). Next, we examine what happens when consecutive stacks touch different parts of the serrated B i (see Fig. 9). A simple calculation shows that the difference in the tilts of the two stacks can be estimated as follows. The tilt of the upper stack is c + O(x 2/5 ) x 1/5 for some constant c between 2 and 2 (which depends on the fractional part of b 0 ). The tilt of the lower stack is c. Thus, by ignoring the x 2/5 +x 1/5 8

W 5 B i Figure 9: A wasted triangle between two stacks within B i. lower-order terms, the difference of the two tilts is c x c 1/5 x 2/5 + x = 1/5 = c ( ) 1 1 = O(x 4/5 ) x 1/5 1 + x 3/5 so that the area of the elongated triangle between the two stacks is ( x 2/5 ) 2 x 4/5 = O(1). Since there are at most O(x 3/5 ) such transitions inside the B i s over all i, then this waste W 5 (x) is bounded by W 5 (x) = O(x 3/5 ). In addition, there is a small unpacked region above the lower of the two stacks which has area O(x (1/5) ) (see Fig. 10). These altogether contribute a waste of at most W 6 (x) = O(x 2/5 ). Finally, we have to consider what happens when the stacks cross the boundaries between consecutive B i s (see Fig. 11). As we can see in Fig. 11, there is an elongated triangle between the last stack (of length m) in B i and the first stack (also of length m) in B i+1. We note that the tilt of the first stack in B i and the tilt of the first stack in B i+1 are asymptotically the same since b i+1 1 = b i + O(x 2/5 ) x 2/5. We have 9

B i W 6 Figure 10: Additional wasted space between stacks with slightly different tilts. shown previously that within B i, there are x 1/5 gaps each of which has an angle of order O(x 4/5 ). Therefore the difference of the tilts of the first stack and the last stack in B i is at most O(x 4/5 ). This implies the difference in the tilts between the the last stack in B i and the first stack in B i+1 is O(x 3/5 ). Thus the area of the region between the two stacks is O((x 2/5 ) 2 x 3/5 ) = O(x 1/5 ). Since there are just O(x 2/5 ) such transitions between the B i s, then the waste W 7 (x) here is just W 7 (x) = O(x 3/5 ). There is still a small uncovered area of area at most 1 to the left of the first stack of B i+1 which we call waste W 8 (as seen in Fig. 12). Altogether, there are x 2/5 such transitions, so W 8 (x) = O(x 2/5 ). There is also an uncovered area above the first stack in B 0 as well as an uncovered area below the last stack in B t 1. Both can be packed trivially with a waste at most W 9 (x) = O(x 2/5 ). Adding up all the W i (x), for i = 1,..., 9, we see that the wasted space in our packing is O(x 3/5 ) as claimed. This completes the proof of Theorem 1. 10

B i B i+1 W 7 Figure 11: Space wasted when the stacks end up in different B i s. B i W 8 B i+1 Figure 12: Small uncovered area to the left of the first stack of B i+1.. 11

5 Concluding remarks. Of course, the basic problem is to determine the correct order of growth of W (x). On one hand, because of the result of Roth and Vaughan [8], one might be tempted to guess that W (x) = O(x 1/2 ). (The authors don t believe this.) On the other hand, the best upper bound currently available is W (x) = O(x 3/5 ). Challenge 1. ($ 100), Show that W (x) = o(x 3/5 ). Challenge 2. ($ 250). Show that W (x) = O(x 3/5 c ) for some fixed c > 0. Challenge 3. ($ 500). Show that W (N +1/2) N 1/2+c for some fixed c > 0. Of course, the rewards are also given for disproving the above assertions (but only to the first claimants). We observe that the techniques used in the preceding results can be applied with minor changes to the question of covering a square of side x with a minimum number of unit squares (as was done on [2]). This results in the following. Theorem 2. It is possible to cover a square of side x with x 2 + C(x) nonoverlapping unit squares where C(x) = O(x 3/5 ). Earlier results on this variation also appear in [5, 6, 9]. We point out that there has been a fair amount of work on optimally packing a small number (e.g., less than 100) of unit squares into the smallest possible square. A good survey of these results in can be found in [1] and [4]. 6 Acknowledgement We would like to express our appreciation for the energetic enthusiasm we found at the 33rd Bellairs Winter Workshop on Computational Geometry in 12

Barbados where some of this research was carried out. References [1] P. Brass, W. Moser and J. Pach, Research Problems in Discrete Geometry, Springer, New York (2005), 499 pp. + xii. [2] Fan Chung and Ron Graham, Packing equal squares into a large square, J. Combin. Th.(A) 116 (2009), 1167 1175. [3] P. Erdős and R. L. Graham, On packing squares with equal squares, J. Combin. Th. 19 (1975), 119 123. [4] E. Friedman, Packing unit squares in squares: A survey and new results, Electronic J. Combinatorics, Dynamic Surveys (#DS7) http://www.combinatorics.org/files/surveys/ds7/ds7v5-2009/ds7.html. [5] D. Karabash and A. Soifer, A sharp upper bound for cover-up squares, Geombinatorics 16, (2006), 219 226. [6] D. Karabash and A. Soifer, Note on covering a square with equal squares, Geombinatorics 18 (2008), 13 17. [7] H. Montgomery, personal communication. [8] K. F. Roth and R. C. Vaughan, Inefficiency in packing squares with unit squares, J. Combin. Th. (A) 24 (1978), 170 186. [9] A. Soifer, Covering a square of side n + ɛ with unit squares, J. Combin. Th. (A), 113 (2006), 380 388. 13