Growing Grapes in Egypt

Geometry Level 5

Grapes can grow in almost any part of Egypt. When grapes vines are planted they should stand at least 2 2 meters away from one another whilst growing.

What is the maximum number of vines that can be planted in a square of side length 1 1 km.


The answer is 289290.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Ossama Ismail
Jan 12, 2017

To get the best arrangements, each tree must occupy the same area as two equilateral triangles as shown

The best arrangement is a triangular matrixو By applying the Pythagorean to the green triangle, 1 2 + w 2 = 2 2 1^2 + w^2 = 2^2
hence the smallest distance between rows w = 3 m e t e r s w = \sqrt{3} \ meters .

That is, each tree occupies 2 × 2 s i n ( 60 ) = 2 3 m 2 2 \times 2 \ sin(60) = 2 \sqrt{3} \ m^2 . As 1 k m 2 = 1000 × 1000 = 1 0 6 m 2 1 \ km^2 = 1000 \times 1000 = 10^6 \ m^2 , the maximum number of trees that can be planted is 1000000 / 2 3 = 288675 1000000/ 2 \sqrt{3} = 288675 trees.

I created a configuration similar to this but the maximum i can fit is 289289. This is because the vines at corners and edges of the 1 sq.km need not occupy the 2 equilateral triangles you have mentioned. In my configuration, there are 578 rows, each 3 \sqrt{3} distance from the nearest neighbour, And half the rows have 500 vines, half the rows have 501 vines which gave me a total of 289289 vines

Ajinkya Shivashankar - 4 years, 4 months ago

How do you know that this is the most optimal configuration?

Pi Han Goh - 4 years, 4 months ago

Log in to reply

Pi Han Goh, I've got a configuration where 289290 vines can be planted, and I think that's probably the optimum. Consider 2 consecutive rows of 501 and 500 trees, all spaced 2 meters apart. Repeat these 2 rows 288 times, all the vines still spaced 2 meters apart. Then finish it off with 2 more rows of 501 vines, all the vines STILL spaced "at least" 2 meters apart. That works out to

288 ( 501 + 500 ) + 2 ( 501 ) = 289290 288(501+500)+2(501)=289290

The key is noting that there's enough room for a double row of 501 vines somewhere, more easily seen at one end or other, since

1000 288 ( 2 3 ) = 2.33873.. > 2 1000-288(2\sqrt{3})=2.33873..> 2

This solution is similar to Ajinkya Shivashankar's with a total of 578 rows, except that I can stuff 1 more vine into the 1000m square plot.


Michael Mendrin - 4 years, 4 months ago

The best arrangement is a triangular matrixو By applying the Pythagorean to the green triangle, 1 2 + w 2 = 2 2 1^2 + w^2 = 2^2
hence the smallest distance between rows w = 3 m e t e r s w = \sqrt{3} \ meters . Check out my solution ...

Ossama Ismail - 4 years, 4 months ago

Log in to reply

How do you know that the best arrangement is a "triangular matrix"?

Pi Han Goh - 4 years, 4 months ago

Log in to reply

@Pi Han Goh It's actually not a trivial problem to prove that a equitriangular array aligned with one side of the square offers the densest packing, but it does. This problem reminds me of another I posted a while ago Ball Packing Wars

Michael Mendrin - 4 years, 4 months ago

Log in to reply

@Michael Mendrin Really I am enjoying your solutions... thanks to all of you and sorry for any inconvenience ...

Ossama Ismail - 4 years, 4 months ago

I think the answer is correct for highest number of trees on average per k m 2 km^2 . I got the same result as Ajinkya Shivashankar for triangular lattice in square shaped area. I am still not 100% sure that it is the maximum. I think different positions of triangular lattice within the square should be considered.

The answer will be different depending on a shape of the given area. If you take rectangle shaped area of dimension 2 m × 500000 m 2m \times 500000 m , the answer will be 2 × 500001 = 1000002 2 \times 500001 =1000002

Maria Kozlowska - 4 years, 4 months ago

Log in to reply

I think you should of divided the length of the rectangle over 2 so the result would be 250000 and that is not the optimal solution

Ahmed Mongy - 2 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...