Difference between revisions of "2001 AIME II Problems/Problem 9"
Line 17: | Line 17: | ||
There are <math>2^9=512</math> ways to paint the <math>3 \times 3</math> square with no restrictions, so there are <math>512-95=417</math> ways to paint the square with the restriction. Therefore, the probability of obtaining a grid that does not have a <math>2 \times 2</math> red square is <math>\frac{417}{512}</math>, and <math>417+512=\boxed{929}</math>. | There are <math>2^9=512</math> ways to paint the <math>3 \times 3</math> square with no restrictions, so there are <math>512-95=417</math> ways to paint the square with the restriction. Therefore, the probability of obtaining a grid that does not have a <math>2 \times 2</math> red square is <math>\frac{417}{512}</math>, and <math>417+512=\boxed{929}</math>. | ||
+ | |||
+ | ==solution 2== | ||
+ | We consider how many ways we can have 2*2 grid | ||
+ | |||
+ | <math>(1)</math>: All the girds are red--<math>1</math> case | ||
+ | <math>(2)</math>: One unit square is blue--The blue lies on the center of the bigger square, makes no 2*2 grid <math>9-1=8</math> cases | ||
+ | <math>(3)</math>: Two unit squares are blue--one of the squares lies in the center of the bigger square, makes no 2*2 grid, <math>8</math> cases. | ||
+ | Or, two squares lie on second column, first row, second column third row; second row first column, second row third column, 2 extra cases. <math>\binom 9 2-8-2=26</math> cases | ||
+ | <math>(4)</math> Three unit squares are blue. We find that if a 2*2 square is formed, there are 5 extra unit squares can be painted. But cases that three squares in the same column or same row is overcomunted. So in this case, there are <math>4\cdot (\binom 5 3)-4=36</math> | ||
+ | <math>(5)</math> Four unit squares are blue, no overcomunted case will be considered. there are <math>4\cdot \binom 5 4=20</math> | ||
+ | <math>(6)</math> Five unit squares are blue, <math>4</math> cases in all | ||
+ | |||
+ | Sum up those cases, there are <math>1+8+26+36+20+4=95</math> cases that a 2*2 grid can be formed. | ||
+ | |||
+ | In all, there are <math>2^9=512</math> possible ways to paint the big square, so the answer is <math>1-\frac{95}{512}=\frac{417}{512}</math> leads to <math>\boxed{929}</math> | ||
== See also == | == See also == |
Revision as of 12:54, 15 May 2022
Contents
Problem
Each unit square of a 3-by-3 unit-square grid is to be colored either blue or red. For each square, either color is equally likely to be used. The probability of obtaining a grid that does not have a 2-by-2 red square is , where and are relatively prime positive integers. Find .
Solution
We can use complementary counting, counting all of the colorings that have at least one red square.
- For at least one red square:
- There are four squares to choose which one will be red. Then there are ways to color the rest of the squares.
- For at least two squares:
- There are two cases: those with two red squares on one side and those without red squares on one side.
- The first case is easy: 4 ways to choose which the side the squares will be on, and ways to color the rest of the squares, so 32 ways to do that. For the second case, there will by only two ways to pick two squares, and ways to color the other squares.
- For at least three squares:
- Choosing three such squares leaves only one square left, with four places to place it. This is ways.
- For at least four squares, we clearly only have one way.
By the Principle of Inclusion-Exclusion, there are (alternatively subtracting and adding) ways to have at least one red square.
There are ways to paint the square with no restrictions, so there are ways to paint the square with the restriction. Therefore, the probability of obtaining a grid that does not have a red square is , and .
solution 2
We consider how many ways we can have 2*2 grid
: All the girds are red-- case : One unit square is blue--The blue lies on the center of the bigger square, makes no 2*2 grid cases : Two unit squares are blue--one of the squares lies in the center of the bigger square, makes no 2*2 grid, cases. Or, two squares lie on second column, first row, second column third row; second row first column, second row third column, 2 extra cases. cases Three unit squares are blue. We find that if a 2*2 square is formed, there are 5 extra unit squares can be painted. But cases that three squares in the same column or same row is overcomunted. So in this case, there are Four unit squares are blue, no overcomunted case will be considered. there are Five unit squares are blue, cases in all
Sum up those cases, there are cases that a 2*2 grid can be formed.
In all, there are possible ways to paint the big square, so the answer is leads to
See also
2001 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 8 |
Followed by Problem 10 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.