Thinking Mathematically (6th Edition)

The number of possible permutations if r items are taken from n items is: nPr = $\frac{n!}{(n-r)!}$ The above formula makes sense because the order matters for the batting lineup, so all possible 9 player combinations must be considered.