Steply

How many ways can 7 photos be arranged in a row

Step by step, with the reason for every step · Factorials · Probability

Step by step

The question

Question: How many ways can 7 photos be put in a row?

1 Fill the places

2 Write it as a factorial

So the number of ways is 7 × 6 × 5 × 4 × 3 × 2 × 1.

ways = 7 × 6 × 5 × 4 × 3 × 2 × 1

7 times 6 times 5 times 4 times 3 times 2 times 1 has a short name: 7 factorial.

We write it 7!

7 × 6 × 5 × 4 × 3 × 2 × 1 = 7!
(7 factorial)

Careful!

A photo in one place cannot go in another.

So each place has one fewer.

Careful: not 7 × 7 × 7 × 7 × 7 × 7 × 7 ✗

3 Multiply

7 times 6 is 42.

42 times 5 is 210.

210 times 4 is 840.

840 times 3 is 2520.

2520 times 2 is 5040.

Times 1 changes nothing.

7 × 6 = 42
42 × 5 = 210
210 × 4 = 840
840 × 3 = 2520
2520 × 2 = 5040

So there are 5040 ways.

ways = 5040

4 Check

Let's check the other way round: 1 times 2 is 2, then 6, then 24, then 120, then 720, then 5040.

The same.

So the answer is right!

1 × 2 × 3 × 4 × 5 × 6 × 7: 2, 6, 24, 120, 720, 5040 ✓

Let's look back.

First: fill the places.

Then: write it as a factorial.

Then: multiply.

Last: check.

Answer
ways = 5040

Your turn

Try this one yourself, then check:

Show the answer
ways = 720

More from Factorials

The whole lesson: Factorials →