Example 4.3.1. A Wedding Photo, Part I.
The families described above would like to line up to take a photograph together. In the spirit of the marriage and becoming one large family, there are no restrictions on the lineup and who is standing next to one another. In how many ways can the individuals in this photo be arranged from left to right?Answer.
Notice that there will be 9 total people in the photograph -- the five total members of the bride’s family and the four total members of the groom’s family. We can think of the photo lineup using the "picture" below.
\begin{gather*}
~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~
\end{gather*}
Because nobody has been positioned yet, there are 9 individuals who could be placed into the left-most position.
\begin{gather*}
~9~~\cdot~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~
\end{gather*}
Once that first person has been placed, there are only eight individuals left to position. That is, for any choice of the person to place into the leftmost position, there are eight choices of person to place next to them. The Fundamental Principle of Counting then suggests that there are \(9\cdot 8\) ways to arrange people into the two leftmost positions.
\begin{gather*}
~9~~\cdot~~8~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~\underline{~~~}~~
\end{gather*}
Continuing in this fashion, there are seven individuals to place in the next position, followed by six for the one after, continuing on until we are left with only the last person to place into that final position.
\begin{gather*}
~9~~\cdot~~8\cdot~~7~~\cdot~~6~~\cdot~~5~~\cdot~~4~~\cdot~~3~~\cdot~~2~~\cdot~~1
\end{gather*}
Multiplying, we obtain \(\boxed{~362,880~}\) total arrangements for that one photo!