• wolframhydroxide@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    201
    ·
    edit-2
    1 month ago

    For the uninitiated: this is the current most-efficient method found of packing 17 unit squares inside another square. You may not like it, but this is what peak efficiency looks like.

    (Of course, 16 squares has a packing coefficient of 4, compared to this arrangement’s 4.675, so this is just what peak efficiency looks like for 17 squares)

    Edit: For the record, since this blew up, a tiny nitpick in my own explanation above: a smaller value of the packing coefficient is not actually what makes it more efficient (as it is simply the ratio of the larger square’s side to the sides of the smaller squares). The optimal efficiency (zero interstitial space) is achieved when the packing coefficient is precisely equal to the square root of the number of smaller squares. Hence why the case of n=25, with a packing coefficient of 5, is actually more efficient than this packing of n=17, with a packing coefficient of 4.675. Since sqrt(25)=5, that case is a perfectly efficient packing, equal to the case of n=16 with coefficient of 4. Since sqrt(17)=4.123, this packing above is not perfectly efficient, leaving interstices. Obviously. This also means that we may yet find a packing for n=17 with a packing coefficient closer to sqrt(17), which would be an interesting breakthrough, but more important are the questions “is it possible to prove that a given packing is the most efficient possible packing for that value of n” and “does there exist a general rule which produces the most efficient possible packing for any given value of n unit squares?”

    • red_bull_of_juarez@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      13
      ·
      2 months ago

      Isn’t this only true if the outer square’s size is not an integer multiple of the inner square’s size? Meaning, if you have to do this to your waffle iron, you simply chose the dimensions poorly.

      • AnarchistArtificer@slrpnk.net
        link
        fedilink
        English
        arrow-up
        10
        ·
        2 months ago

        The optimisation objective is to fit n smaller squares (in this case, n=17) into the larger square, whilst minimising the size of the outer square. So that means that in this problem, the dimensions of the outer square isn’t a thing that we’re choosing the dimensions of, but rather discovering its dimensions (given the objective of "minimise the dimensions of the outer square whilst fitting 17 smaller squares inside it)

        • wolframhydroxide@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          Specifically, the optimal side length of the larger square for any natural number of smaller squares ‘n’ is the square root of n (assuming the smaller squares are unit squares). The closer your larger side length gets to sqrt(n), the more efficient your packing.

  • AnarchistArtificer@slrpnk.net
    link
    fedilink
    English
    arrow-up
    68
    ·
    2 months ago

    Oh my God, I fucking love this. I mean, I absolutely hate that this is the optimal way to pack 17 squares into a larger square such that the size of the larger square is minimised. However, I love that someone went to the effort of making a waffle iron plate for this. High effort shitposts like this give me life

    • Hossenfeffer@feddit.uk
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 months ago

      I fucking love this. I mean, I absolutely hate that this is the optimal way to pack 17 squares into a larger square such that the size of the larger square is minimised.

      There’s a brain echo in here.

    • Fizz@lemmy.nz
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 month ago

      Where does this picture come from? Is it real? Ive just thought at how absurd an orangutan on a bike chasing a kid actually is.

      • wolframhydroxide@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        Since a link to a wiki article does not an explanation make:

        The optimal efficiency (zero interstitial space) is achieved when the ratio of the side length of the larger square to the sides of the shorter squares (let’s call it the “packing coefficient”) is precisely equal to the square root of the number of smaller squares. Hence why the case of n=25, with a packing coefficient of 5, is actually more efficient than the packing of n=17 given in the waffle iron, with a packing coefficient of 4.675. Since sqrt(25)=5, that case is a perfectly efficient packing, equivalent to the case of n=16 with coefficient of 4. Since sqrt(17)=4.123, the waffle packing (represented by the orangutan) above is not perfectly efficient, leaving interstices. However, the packing coefficient of the suboptimal solution (represented by the girl) is actually 4.707, slightly further from sqrt(17), and thus less efficient, leaving greater wasted interstitial space.

        • cornshark@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          Trying to understand what this actually means. Since these two diagrams have the same number of squares, does this mean the inefficient packing squares are actually slightly smaller in a way that’s difficult to observe?

          • wolframhydroxide@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            1 month ago

            Ah, no, it’s that the more efficient packing takes up less space, so the less efficient square is actually slightly larger than the other, compared to the smaller squares.

            If the smaller squares are identical in both sets, then the larger square in the less-efficient set will be slightly bigger than the larger square in the more efficient set.

  • bitjunkie@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    2 months ago

    It’s only more efficient when the containing square is large enough that there would be wasted space on the edges if the inner squares were lined up as a grid. The outer square of the waffle iron is almost but not quite large enough to fit a 4x5 grid. People losing their minds over this weird configuration being “more efficient” think it’s because it’s more efficient than a grid where all the space is used, which is not what this would be.

    • Buddahriffic@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 months ago

      Yeah, there’s a lot of unused space there. Or just look at the gap in the middle of that row of 4. A slightly smaller square could have fit a 5x5, even.

      It’s a novelty, not an optimization.

    • kkj@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 months ago

      Yeah, if you have extra space but not enough for another row or column, just adjust the size of the inner squares.

  • UltraGiGaGigantic@lemmy.ml
    link
    fedilink
    English
    arrow-up
    17
    ·
    2 months ago

    Im a dipper. You put the syrup where you want it yourself. Do not rely on some fancy designed skillet to feed you the way you deserve.

  • Jax@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 month ago

    I’m pretty sure that waffle could easily fit 5 rows of 5, am I crazy?

    It’s still funny