Place Cards in the Wind

A banquet hall has 31,415 31{,}415 assigned seats, each with a guest's place card. A gust scatters all the cards, and a rushed usher lays them back down in a uniformly random arrangement, one card per seat. Let A A count the cards that landed back on their own seat and B B count the cards that did not. What is Var(B−A) \mathrm{Var}(B - A) ?

Answer

Free accounts unlock one worked solution a day. Pro includes every answer.