# 1.4: Beware of Patterns!

- Page ID
- 9824

The “Look for Patterns” strategy can be particularly appealing, but you have to be careful! Do not forget the “and Explain” part of the strategy. Not all patterns are obvious, and not all of them will continue.

Start with a circle.

If I put two dots on the circle and connect them, the line divides the circle into two pieces.

If I put three dots on the circle and connect each pair of dots, the lines divides the circle into four pieces.

Suppose you put one hundred dots on a circle and connect each pair of dots, meaning every dot is connected to 99 other dots. How many pieces will you get? Lines may cross each other, but assume the points are chosen so that three or more lines never meet at a single point.

After you have worked on the problem on your own for a while, talk through your ideas with a partner (even if you have not solved it). What strategies did you try? What did you figure out? What questions do you still have?

The natural way to work on this problem is to use smaller numbers of dots and look for a pattern, right? If you have not already, try it. How many pieces when you have four dots? Five dots? How would you describe the pattern?

Now try six dots. You will want to draw a big circle and space out the six dots to make your counting easier. Then carefully count up how many pieces you get. It is probably a good idea to work with a partner so you can check each other’s work. Make sure you count every piece once and do not count any piece twice. How can you be sure that you do that?

Were you surprised? For the first several steps, it seems to be the case that when you add a dot you double the number of pieces. But that would mean that for six dots, you should get 32 pieces, and you only get 30 or 31, depending on how the dots are arranged. No matter what you do, you cannot get 32 pieces. The pattern simply does not hold up.

Mathematicians love looking for patterns and finding them. We get excited by patterns. But we are also very skeptical of patterns! If we cannot explain why a pattern would occur, then we are not willing to just believe it.

For example, if my number pattern starts out: 2, 4, 8, ... I can find lots of ways to continue the pattern, each of which makes sense in some contexts. Here are some possibilities:

- 2, 4, 8, 2, 4, 8, 2, 4, 8, 2, 4, 8, ...

This is a a repeating pattern, cycling through the numbers 2, 4, 8 and then starting over with 2.

- 2, 4, 8, 32, 256, 8192, ...

To get the next number, multiply the previous two numbers together.

- 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, ...
- 2, 4, 8, 14, 22, 32, 44, 58, 74 ...

- For the last two patterns above, describe in words how the number sequence is being created.
- Find at least two other ways to continue the sequence 2, 4, 8, . . . that looks different from all the ones you have seen so far. Write your rule in words, and write the next five terms of the number sequence.

So how can you be sure your pattern fits the problem? You have to tie them together! Remember the “Squares on a Chess Board” problem? You might have noticed a pattern like this one:

If the chess board has 5 squares on a side, then there are

- 5 × 5 = 25 squares of size 1 × 1.
- 4 × 4 = 16 squares of size 2 × 2.
- 3 × 3 = 9 squares of side 3 × 3.
- 2 × 2 = 4 squares of size 4 × 4.
- 1 × 1 = 1 squares of size 5 × 5.

So there are a total of

\[1^{2} + 2^{2} + 3^{2} + 4^{2} + 5^{2} = 55 \nonumber \]

squares on a 5 × 5 chess board. You can probably guess how to continue the pattern to any size board, but how can you be absolutely sure the pattern continues in this way? What if this is like “Dots on a Circle,” and the obvious pattern breaks down after a few steps? You have to tie the pattern to the problem, so that it is clear why the pattern must continue in that way.

The first step in explaining a pattern is writing it down clearly. This brings us to another problem solving strategy.

## Problem Solving Strategy 11 (Use a Variable!).

*One of the most powerful tools we have is the use of a variable. If you find yourself doing calculations on things like “the number of squares,” or “the number of dots,” give those quantities a name! They become much easier to work with. *

For now, just work on describing the pattern with variables.

- Stick with a 5 × 5 chess board for now, and consider a small square of size
*k*×*k*. Describe the pattern: How many squares of size*k*×*k*fit on a chess board of size 5 × 5? - What if the chess board is bigger? Based on the pattern above, how many squares of size
*k*×*k*should fit on a chess board of size 10 × 10? - What if you do not know how big the chess board is? Based on the pattern above, how many squares of size
*k*×*k*should fit on a chess board of size*n*×*n*?

Now comes the tough part: explaining the pattern. Let us focus on an 8 × 8 board. Since it measures 8 squares on each side, we can see that we get 8× 8 = 64 squares of size 1× 1. And since there is just a single board, we get just one square of size 8 × 8. But what about all the sizes in-between?

Using the Chess Board video in the previous chapter as a model, work with a partner to carefully explain why the number of 3 × 3 squares will be 6 · 6 = 36, and why the number of 4 × 4 squares will be 5 · 5 = 25.

There are many different explanations other than what is found in the video. Try to find your own explanation.

Here is what a final justification might look like (*watch the Chess Board video as a concrete example of this solution*):

**Solution**(Chess Board Pattern).-
Let

*n*be the side of the chess board and let*k*be the side of the square. If the square is going to fit on the chess board at all, it must be true that*k*≤*n*. Otherwise, the square is too big.If I put the

*k*×*k*square in the upper left corner of the chess board, it takes up*k*spaces across and there are (*n*–*k*) spaces to the right of it. So I can slide the*k*×*k*square to the right (*n*–*k*) times, until it hits the top right corner of the chess board. The square is in (*n*–*k*+ 1) different positions, counting the starting position.If I move the

*k*×*k*square back to the upper left corner, I can shift it down one row and repeat the whole process again. Since there are (*n*–*k*) rows below the square, I can shift it down (*n*–*k*) times until it hits the bottom row. This makes (*n*–*k*+ 1) total rows that the square moves across, counting the top row.So, there are (

*n*–*k*+ 1) rows with (*n*–*k*+ 1) squares in each row. That makes (*n*–*k*+ 1)^{2}total squares.Thus, the solution is the sum of (

*n*–*k*+ 1)^{2}for all*k*≤*n*. In symbols:\[\text{number of squares on an n} \times \text{n board} = \sum_{k = 1}^{n} (n - k + 1)^{2} \ldotp \nonumber \]

Once we are sure the pattern continues, we can use it to solve the problem. So go ahead!

- How many squares on a 10 × 10 chess board?
- What calculation would you do to solve that problem for a 100 × 100 chess board?

There is a number pattern that describes the number of pieces you get from the “Dots on a Circle” problem. If you want to solve the problem, go for it! Think about all of your problem solving strategies. But be sure that when you find a pattern, you can explain *why it is the right pattern for this problem*, and not just another pattern that seems to work but might not continue.