Step 1: Understanding Surjections
A surjection (or onto function) from a set \( A \) to a set \( B \) is a function where every element of \( B \) has at least one element from \( A \) mapping to it.
The number of surjections from a set \( A \) to a set \( B \) is given by the formula:
\[
\text{Number of surjections} = B^A - \text{(non-surjective functions)}
\]
For a set \( A \) with 4 elements and a set \( B \) with 2 elements, the total number of surjections can be computed using the formula for surjections.
Step 2: Applying the Formula
From the formula, we can calculate the number of surjections as \( 8 \).
Step 3: Conclusion
Thus, the number of surjections from \( A \) to \( B \) is 8.