Example 7.1
How many triangles can be formed by connecting vertices in a regular octagon?
- 1
You could do casework on the type of triangle, but there is a much slicker way. How many vertices define a triangle?
Predict first:
Count triangles, rectangles, squares, paths and polyhedron edges without listing them: choose the lines or points that define each shape, then let combinations and Euler's formula do the work.
In this section you will be able to count triangles by choosing their 3 corners, and subtract the choices that fall on one line.
How many triangles can you draw using the corners of a stop sign? Listing them by shape is slow. There is a one-line answer.
A triangle is set by its 3 corners. So counting triangles means counting groups of 3 points. That’s a combination.
The catch: 3 points on one line make no triangle. Count every group of 3, then subtract the collinear ones. The same trick works for any shape: ask what defines it, then choose those pieces.
How many triangles can be formed by connecting vertices in a regular octagon?
You could do casework on the type of triangle, but there is a much slicker way. How many vertices define a triangle?
Eight points are chosen on a circle, and chords are drawn connecting every pair of points. No three chords intersect in a single point inside the circle. How many triangles with all three vertices in the interior of the circle are created?
Look at one triangle inside the circle. Each side lies along a chord. How many chords does the triangle use?
How many triangles with positive area have all their vertices at points in the coordinate plane, where and are integers between and , inclusive?
There are points. How many ways can you pick 3 of them?
A set of 25 square blocks is arranged into a square. How many different combinations of 3 blocks can be selected from that set so that no two are in the same row or column?
From a regular octagon, a triangle is formed by connecting three randomly chosen vertices of the octagon. What is the probability that at least one of the sides of the triangle is also a side of the octagon?
In this section you will be able to count every rectangle in a grid by choosing 2 horizontal and 2 vertical lines.
A grid has 15 small rectangles. How many rectangles of all sizes are hiding in it? Guess before you scroll.
Four corner points don’t always make a rectangle. But two horizontal lines and two vertical lines always do, and every rectangle comes from exactly one such choice. So you count pairs of lines, not shapes.
The number of rectangles of all sizes in a rectangular grid of size is
Each combination of two horizontal lines and two vertical lines creates a unique rectangle. An grid has horizontal lines and vertical lines, so there are ways to choose the two horizontal lines and ways to choose the two vertical lines.
How many rectangles are in a grid of rectangles?
Tedious casework would work, but there is a slick solution. What defines a rectangle in a grid?
In this section you will be able to count squares size by size, including tilted squares and squares that must cover a given cell.
A chessboard has 64 small squares. How many squares does it have in total? Much more than 64.
Squares don’t come from free choices of lines: the sides must match. So go size by size. A square slides into a row of cells in positions, so it fits in places in an grid.
Look: squares can also be tilted. A side from one dot to another that goes 1 across and 2 up has length .
The number of squares in an grid of squares is
A square can start in any of columns and any of rows, so there are of them. As runs from to , the counts are . Their sum is the sum of the first squares, .
How many squares of all sizes can be formed from a grid of unit squares?
There are 16 unit squares. Is the answer 16?
How many rectangles, which are not squares, are in a grid of squares?
Squares are rectangles too, so count all rectangles first. The grid has 6 vertical and 5 horizontal lines. How many rectangles?
How many squares with side length can be found in a by grid of points?
Can a side of length be horizontal?
The grid shown contains a collection of squares with sizes from to . How many of these squares contain the black center square?
Count by size again. How many squares contain the black square?
How many rectangles formed by the gridlines in this grid contain the black center square?
A rectangle is fixed by its top, bottom, left and right gridlines. For the rectangle to contain the black square, where must its top line be?
As shown in the figure below, a regular dodecahedron (the polyhedron consisting of 12 congruent regular pentagonal faces) floats in space with two horizontal faces. Note that there is a ring of five slanted faces adjacent to the top face, and a ring of five slanted faces adjacent to the bottom face. How many ways are there to move from the top face to the bottom face via a sequence of adjacent faces so that each face is visited at most once and moves are not permitted from the bottom ring to the top ring?
Your first move goes from the top face into the top ring. How many choices?
How many ways are there to place 3 indistinguishable red chips, 3 indistinguishable blue chips, and 3 indistinguishable green chips in the squares of a grid so that no two chips of the same color are directly adjacent to each other, either vertically or horizontally?
In this section you will be able to count shortest grid paths as words of R's and U's, and handle blocked points, pens and colorings.
A rabbit at wants the carrot at . It only hops right or up. How many different routes can it take?
Write each route as a word: R for a right hop, U for an up hop. Every route is a 10-letter word with five R’s and five U’s, and every such word is a route. So counting routes is counting word rearrangements.
When the rules get stranger (blocked spots, moves down, colored cells), look for what really decides the route. Then count those choices.
The number of ways to get from to a point moving only up and right is
Imagine any arrangement string of R's and U's. Each string corresponds to a unique path, so to count the paths we can use the word rearrangement formula: .
A rabbit is walking in a coordinate plane and has to get from to the carrot at the point . If the rabbit can only move 1 unit up or 1 unit right on any given move, how many ways are there for the rabbit to get to the carrot?
Casework would be tedious. Write R for a right move and U for an up move. How many right moves does the rabbit need?
How many ways to go from to moving only right or up if you cannot visit all of , , and because there is a monster that will eat you if you visit all 3 locations?
Ignore the monster for now. How many right/up paths go from to ?
Sally is inside a pen consisting of points such that . If she is currently on the point , she can move to either , , or . Given that she cannot revisit any point she has visited before, find the number of ways she can reach from .
Sally can never move left. Once she steps right into a new column, can she ever come back to the old one?
A game board consists of 64 squares that alternate in color between black and white. The figure below shows square in the bottom row and square in the top row. A marker is placed at . A step consists of moving the marker onto one of the adjoining white squares in the row above. How many 7-step paths are there from to ? (The figure shows a sample path.)
Each step moves up one row onto a white square diagonally above. How many ways can the marker reach a given white square?
The cells of a grid are each colored red, white, or blue. Sam starts at the bottom-left cell of the grid and walks to the top-right cell by taking steps one cell either up or to the right. Thus, he passes through 9 cells on his path, including the start and end cells. Compute the number of colorings for which Sam is guaranteed to pass through a total of exactly 3 red cells, exactly 3 white cells, and exactly 3 blue cells no matter which route he takes.
How must the grid be colored so that the condition is satisfied?
In this section you will be able to count faces, edges and vertices of a polyhedron by counting everything twice and using Euler's formula.
A cube has 6 faces and 8 corners. Saw off every corner. How many edges does the new solid have?
You can’t see the back of a solid, so don’t count edges one by one. Count them twice: once from the faces, once from the vertices. Every edge borders 2 faces and joins 2 vertices.
Then one formula ties the three numbers together. Look: for every convex polyhedron, .
In a polyhedron, if you add up the number of sides on every face, you get 2 times the number of edges of the polyhedron. This is because each edge is part of 2 faces.
If you add up the number of edges connected to every vertex, you also get 2 times the number of edges, since each edge is counted at 2 different vertices.
For example, a cube has 4 sides per face and 6 faces, so it has edges. Also, there are 3 edges per vertex and 8 vertices, so there are edges.
If you ever forget this theorem, just think of a cube and remember that it has 6 faces, 8 vertices, and 12 edges: .
A classic application: if a polyhedron has 12 hexagonal faces and 10 pentagonal faces, how many vertices does it have? Find the number of faces () and the number of edges,
(we divide by 2 since each edge is part of 2 faces). Finally, apply Euler's Polyhedron Formula: .
(A sharp eye: every vertex needs at least 3 edges, so . Here , so no real polyhedron has exactly these faces. The method is what matters; a soccer ball, with 20 hexagons and 12 pentagons, works.)
A convex polyhedron has vertices , and edges. The polyhedron is cut by planes in such a way that plane cuts only those edges that meet at vertex . In addition, no two planes intersect inside or on . The cuts produce pyramids and a new polyhedron . How many edges does have?
Essentially, we are cutting off every corner of the polyhedron (try Cut every corner on the cube). According to Euler's Polyhedron Formula, how many faces did the original polyhedron have?
A rhombic dodecahedron is a convex polyhedron where each of the 12 faces is a rhombus, and all of the faces are congruent to each other. The number of edges that meet at a vertex is either 3 or 4, depending on the vertex. What is the number of vertices at which exactly 3 edges meet?
Each face of a regular tetrahedron is painted either red, white, or blue. Two colorings are considered indistinguishable if two congruent tetrahedra with those colorings can be rotated so that their appearances are identical. How many distinguishable colorings are possible?
If and are vertices of a polyhedron, define the distance to be the minimum number of edges of the polyhedron one must traverse in order to connect and . For example, if is an edge of the polyhedron, then , but if and are edges and is not an edge, then . Let , , and be randomly chosen distinct vertices of a regular icosahedron (regular polyhedron made up of 20 equilateral triangles). What is the probability that ?
In this section you will be able to mix every tool from this chapter on two harder contest problems.
Two harder counting problems where symmetry does the heavy lifting. Each has three hints if you get stuck.
Want every problem from this chapter on one page? Open the problem set.
There is an unlimited supply of congruent equilateral triangles made of colored paper. Each triangle is a solid color with the same color on both sides of the paper. A large equilateral triangle is constructed from four of these paper triangles. Two large triangles are considered distinguishable if it is not possible to place one on the other, using translations, rotations, and/or reflections, so that their corresponding small triangles are of the same color.
Given that there are six different colors of triangles from which to choose, how many distinguishable large equilateral triangles may be formed?
Square in the coordinate plane has vertices at the points , , , and . Consider the following four transformations:
Each of these transformations maps the square onto itself, but the positions of the labeled vertices will change. For example, applying and then would send the vertex at to and would send the vertex at to itself. How many sequences of transformations chosen from will send all of the labeled vertices back to their original positions? (For example, is one sequence of transformations that will send the vertices back to their original positions.)