Need some help with this problem. A carousel has eight seats each representing a different animal. Eight children are seated on the carousel but facing inward, so each child is staring at another. In how many ways can they change seats so that each faces a different child.
Was thinking P(8,8) for the total positions, but not sure where to go from there.
Let the children be $ABCDEFGH$ around the circle. As the animals are different, I assume we consider rotations distinct. First seat $A$ in one of the $8$ seats. We have $6$ choices of children (all but $E$) that we can seat opposite $A$. Now seat $E$ in one of the remaining seats, which is $6$ choices. This is $8 \cdot 6 \cdot 6=288$ choices so far. There are now two cases to consider.
First, we can seat the partner of the child facing $A$ across from $E$, which is unique. For example, if $C$ is facing $A$, we would seat $G$ facing $E$. We are left with two pairs of children who were facing each other previously, so there are two ways to pair them up. We have two choices for the pair of seats for the first pair, and two ways to orient each pair for a total of $16$ configurations.
Second, we can seat somebody else facing $E$, which gives $4$ choices. This leaves two children who were facing each other previously and two whose mates are already taken. We will next seat the earlier letter of the remaining pair in one of the $4$ seats. We have two choices to face this child, and two arrangements of the remaining two children, for a total of $4 \cdot 4 \cdot 2 \cdot 2=64$ configurations.
Putting it all together, we have $288(16+64)=23,040$ ways to scramble them. If rotations are not distinct, we divide by $8$ to get $2,880$ ways to arrange them.