Question:

In how many ways can cells in a $3 \times 3$ grid be shaded, such that each row and each column have exactly one shaded cell? An example of one valid shading is shown. \includegraphics[width=0.25\linewidth]{image1.png}

Show Hint

"Exactly one per row and per column" \Rightarrow think of permutation matrices or non-attacking rooks; count with $n!$ for an $n\times n$ grid.
Updated On: Aug 30, 2025
  • 2
  • 9
  • 3
  • 6
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation


Step 1: Model the constraint.
Each row must contain exactly one shaded cell and each column must contain exactly one shaded cell.
This is equivalent to placing $3$ non-attacking rooks on a $3\times3$ board—one per row and one per column.

Step 2: Interpret as a permutation.
Choose, for each row $i\in\{1,2,3\}$, the column $j$ where its single shaded cell goes.
Because columns cannot repeat, this assignment is a permutation of the three columns.

Step 3: Count the permutations.
Number of permutations of $3$ distinct columns $= 3! = 6$.
\[ \boxed{6} \]

Was this answer helpful?
0
0