Surrounding.

Discussion in 'Physics & Math' started by TheFrogger, Sep 20, 2018.

  1. TheFrogger Banned Valued Senior Member

    Messages:
    2,175
    While sat on the toilet I look at the pattern on the floor. It is a sequence of squares:

    xxx
    x1x
    xxx

    I wondered, how many x's surround square one, and what is the relationship between the squares in the middle and the surrounding squares? For example what if I chose the length of the squares in the middle to be two?:

    xxxx
    x12x
    x12x
    xxxx

    How many x's would surround the four squares in the middle?

    I have come to the conclusion the equation is four times the length of the middle squares plus the four corners:

    4l+4

    A square with a middle length of three has sixteen surrounding squares: (4×3)+4.

    xxxxx
    x123x
    x123x
    x123x
    xxxxx

    Does anyone else agree that this is correct?
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. DaveC426913 Valued Senior Member

    Messages:
    18,960
    Yes. Now, can you generalize it?

    Modify the formula so it works for rectangles.

    Modify the formula so that border width is independent of interior dimensions.
     
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. TheFrogger Banned Valued Senior Member

    Messages:
    2,175
    I know not how to do that. Can you help me?
     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. DaveC426913 Valued Senior Member

    Messages:
    18,960
    Your formula includes 4 x L. But that's because a square is 4 L's of the same length.
    So, for a rectangle, you just break that out into L and W - only two of each. So:

    Perimeter = (2 x L) + (2 x W) + 4
    You can simplify this even more by gathering all the 2's:
    P = 2(L+W+2)
     
  8. TheFrogger Banned Valued Senior Member

    Messages:
    2,175
    Ahh, I see. Thanks!
     
  9. TheFrogger Banned Valued Senior Member

    Messages:
    2,175
    For a three-dimensional cube the formula would be 6 (4 l)+8 or 24l+8.

    If there were tiles covering the centre squares on a three-dimensional cube the formula would be 24l+6 (l^(2))+8?
     
    Last edited by a moderator: Oct 1, 2018

Share This Page