Skip to content

Commit e95d135

Browse files
michrzanfifthist
authored andcommitted
fix chapter 1 problem 11 solution
1 parent 77b5577 commit e95d135

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • src/chapters/1/sections/counting/problems
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
\begin{enumerate}[label=(\alph*)]
2-
\item Each of the $n$ inputs has $m$ choices for an output, resulting in
2+
\item Each of the $n$ inputs has $m$ choices for an output, resulting in
33
$$m^{n}$$ possible functions.
44

5-
\item If $n < m$, at least two inputs will be mapped to the same output,
5+
\item If $n \geq m$, at least two inputs will be mapped to the same output,
66
so no one-to-one function is possible.
77

8-
If $n \geq m$, the first input has $m$ choices, the second input has $m - 1$
8+
If $n < m$, the first input has $m$ choices, the second input has $m - 1$
99
choices, and so on. The total number of one-to-one functions then is
10-
$$m(m-1)(m-2)\dots(m-n+1)$$
10+
$$m(m-1)(m-2)\dots(m-n+1) = \frac{m!}{(m-n)!} $$
1111
\end{enumerate}

0 commit comments

Comments
 (0)