Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2016-01-23 01:26:41

anna_gg
Member
Registered: 2012-01-10
Posts: 232

Square ceiling

On a square ceiling 3.5 x 3.5 meters we want to place spot lights with minimum 1 m distance from each other. What is the maximum number of lights we can place?

Offline

#2 2016-01-23 01:56:40

Relentless
Member
Registered: 2015-12-15
Posts: 631

Re: Square ceiling

Hi

This is a packing problem with a twist. If the spotlights had to be at least 1m from the sides of the ceiling as well, it would be like the common problem of how many unit circles can fit in a square (in this case, the answer is two).

In this problem, however, only the centre of the non-overlapping circles must be inside the square.

Interesting smile

Offline

#3 2016-01-24 15:58:54

Relentless
Member
Registered: 2015-12-15
Posts: 631

Re: Square ceiling

Hi,

I have been experimenting with this problem.  I have got a maximum of 16 (12 around the sides and 4 in the middle). I am confident that the answer is 16 or 17, and that there are multiple ways to arrange them.
For a distance of 2m the answer is 5

The problem is equivalent to the following:

What is the maximum number of non-overlapping circles of radius 1/2 with a centre inside a square of side length 3.5?

Interestingly, perhaps, I roughly calculated that the 16 circles cover only about 60% of the square's area.

Last edited by Relentless (2016-01-24 18:20:54)

Offline

#4 2016-01-25 04:07:34

Relentless
Member
Registered: 2015-12-15
Posts: 631

Re: Square ceiling

Hi,

I found a way to fit 17 lights. There is enough space available for 18, but I would be astonished if it was usable.
I'm not really sure how to describe the (my) solution without an image. Basically:
There is a light at each corner.
Two of the corner lights opposite each other have 1.5m gaps on either side, and then there are three lights in a row 1m apart on each side (including the other corner).
There is a light as close as possible to both corner lights with a gap on either side. It looks like these lights are sqrt(2)/2 metres up/down and sqrt(2)/2 metres across from the corner lights, but that is just a guess based on physical measurement.
There is a light as far across as possible from the two corner section lights, i.e. 1m across and 1m up from one of the other corners.
Finally, there is room for two more lights as close as possible to each corner section light (those lights have a calculable distance that is about 2.95m)

Last edited by Relentless (2016-01-25 04:12:09)

Offline

#5 2016-01-29 09:04:04

anna_gg
Member
Registered: 2012-01-10
Posts: 232

Re: Square ceiling

It doesn't seem to be correct sad

Relentless wrote:

Hi,

I found a way to fit 17 lights. There is enough space available for 18, but I would be astonished if it was usable.
I'm not really sure how to describe the (my) solution without an image. Basically:
There is a light at each corner.
Two of the corner lights opposite each other have 1.5m gaps on either side, and then there are three lights in a row 1m apart on each side (including the other corner).
There is a light as close as possible to both corner lights with a gap on either side. It looks like these lights are sqrt(2)/2 metres up/down and sqrt(2)/2 metres across from the corner lights, but that is just a guess based on physical measurement.
There is a light as far across as possible from the two corner section lights, i.e. 1m across and 1m up from one of the other corners.
Finally, there is room for two more lights as close as possible to each corner section light (those lights have a calculable distance that is about 2.95m)

Offline

#6 2016-01-29 18:19:31

Relentless
Member
Registered: 2015-12-15
Posts: 631

Re: Square ceiling

Why is that?

Offline

#7 2016-01-30 08:29:12

anna_gg
Member
Registered: 2012-01-10
Posts: 232

Re: Square ceiling

It seems we can put more...

Relentless wrote:

Why is that?

Offline

#8 2016-02-01 13:37:48

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,877

Re: Square ceiling

Hi;

I've found 20:

Last edited by phrontister (2017-02-26 23:20:15)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#9 2016-02-01 15:11:45

Relentless
Member
Registered: 2015-12-15
Posts: 631

Re: Square ceiling

Well that's quite intuitive! Thank you

Offline

#10 2016-02-01 22:27:35

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,877

Re: Square ceiling

From the way I've spaced the circles vertically, the image shows the top row of lights right at the top of the square. However, if spaced at the minimum amount there is a vacant strip of 4√0.75 across the top. Too small to do anything with, I suppose...but I did have a look to see if I could combine it somehow with other unused spaces to conjure up another spotlight, just in case this puzzle came from some sneaky puzzle setter!

For that I tried diamond shapes and equilateral triangles, but gave up after a while.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#11 2016-02-10 10:16:12

anna_gg
Member
Registered: 2012-01-10
Posts: 232

Re: Square ceiling

Genius!!

phrontister wrote:

From the way I've spaced the circles vertically, the image shows the top row of lights right at the top of the square. However, if spaced at the minimum amount there is a vacant strip of 4√0.75 across the top. Too small to do anything with, I suppose...but I did have a look to see if I could combine it somehow with other unused spaces to conjure up another spotlight, just in case this puzzle came from some sneaky puzzle setter!

For that I tried diamond shapes and equilateral triangles, but gave up after a while.

Offline

#12 2016-02-10 11:39:18

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,877

Re: Square ceiling

Hi Anna;

Thanks! smile

However, ignore what I said about unused spaces. There are none, which is easily proved by drawing 1m-radius circles at every light.

I must have had my dunce cap on when that brainwave came to mind!

Last edited by phrontister (2016-02-10 11:40:32)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

Board footer

Powered by FluxBB