Question
Let $A = \left \{ 1, 2, 3, 4, 5, 6, 7, 8 \right \}$. How many functions $ f : A \rightarrow A$ can be defined such that $\text{f(1) < f(2) < f(3)?}$
My Approach
I selected $f(3)$ from range-: $\text{8 choice}$
I selected $f(2)$ from range-: $\text{7 choice}$
I selected $f(1)$ from range-: $\text{6 choice}$
Remaining range of the function can be mapped to $5^8$ ways
so # functions possible =$8 \times 8 \times 7 \times 5^{8}$
I think i am making mistake.Please help me out.
There are fewer than $8$ options for $f(3)$. For example, you cannot choose $f(3)=1$, because then $f(2)$ cannot be defined so that $f(2)<f(3)$ is satisfied.
Instead, think about it this way: