1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Little Problem about rectangles

  1. Jan 1, 2010 #1
    Hey this is just a fun question that my teacher said. But havent got a clue.

    Suppose you draw a n x n grid on a piece of paper. how many squares could you draw in the diagram? how many rectangles can you contain.

    Its something to do with binomial coefficients, what you guys think?
  2. jcsd
  3. Jan 2, 2010 #2
    "how many rectangles can you contain."

    What do you mean by this?
  4. Jan 2, 2010 #3
    I'm not sure if this is correct but I'll throw it out there anyways.

    If we let n = 1, how many squares are we going to get? 1 right?

    If we let n = 2, how many squares are we going to get? 4 right?

    If we let n = 3, how many squares are we going to get? 9 right?

    Hmmmm... Can you see the pattern developping?

    As far as the rectangles question, I'm not entirely sure what you mean by that, we could make infinitely small rectangles couldn't we? There needs to be more clarification on that part of the question.

    EDIT: If a rectangle can only be made from combining "WHOLE" squares on our grid paper then the smallest rectangle would be generated from combining 2 squares, so if you're asking how many rectangles we can contain it would simply be HALF the number of squares.
  5. Jan 2, 2010 #4


    User Avatar
    Science Advisor
    Homework Helper

    I'm sure the question just means you make the squares or rectangles by combining whole 1x1 squares. For n=2 you get 5 squares, right? 4 1x1 and 1 2x2. n=3 I get 14.
  6. Jan 2, 2010 #5
    No, for nXn there are

    [tex]\sum_{i=0}^{n} (n-i)^2[/tex].

    Think of a 2x2 grid. there are 4 little squares and one big one, on a 3x3 grid you have 9 little squares, 4, 2x2 squares and 1 big one... see the pattern?

    (Though, I still don't know what the thing about rectangles is getting at.)
  7. Jan 2, 2010 #6


    User Avatar
    Science Advisor
    Homework Helper

    Let's try not to give the whole thing away here, but a rectangle is defined by choosing any two grid points which aren't in the same row or column. It's a combinatorics problem.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook