Out of 16 Squares on a Board, Two Squares Are Chosen at Random. The Probability That They Have No Side in Common Is

ProbabilityJEE Main 2025Moderate

JEE Main 2025 — 23 January, Evening Shift. Previous Year Question.

Problem

A board has 16 squares (arranged as a $4\times4$ grid). Out of these 16 squares, two squares are chosen at random. The probability that they have no side in common is:

(A) $\dfrac{7}{10}$
(B) $\dfrac{4}{5}$
(C) $\dfrac{23}{30}$
(D) $\dfrac{3}{5}$

Key insight. Rather than trying to directly count all the ways two squares don’t share a side, it’s far easier to count the pairs that do — each row and each column of the grid contributes a small, fixed number of side-adjacent pairs — and subtract that count from the total.

Watch this explained step by step →  ·  More on the Shiwam’s Classes channel

Approach

Find the total number of ways to choose any 2 squares out of 16. Then count the number of pairs that do share a side, by counting horizontally-adjacent pairs (within each row) and vertically-adjacent pairs (within each column) separately. Subtract this count from the total, and divide by the total to get the probability.

Solution

Step 1 — Find the total number of ways to choose 2 squares

$$\binom{16}{2} = \frac{16\times15}{2} = 120$$

Step 2 — Count horizontally adjacent pairs

Each row has 4 squares in a line, giving 3 adjacent pairs per row (squares 1-2, 2-3, 3-4). With 4 rows:

$$4 \text{ rows} \times 3 \text{ pairs per row} = 12$$

Step 3 — Count vertically adjacent pairs

By the same logic, each column contributes 3 adjacent pairs, with 4 columns:

$$4 \text{ columns} \times 3 \text{ pairs per column} = 12$$

Step 4 — Total pairs sharing a side

$$12+12 = 24$$

Step 5 — Find pairs with no side in common

$$120-24 = 96$$

Step 6 — Compute the probability

$$P(\text{no side in common}) = \frac{96}{120} = \frac{4}{5}$$

Answer

$$\frac{4}{5}$$

Common mistakes

  • Forgetting diagonal neighbours don’t count as “sharing a side.” Two squares that touch only at a corner are not excluded by this problem — only squares sharing a full edge count as adjacent.
  • Double-counting or missing edge-of-grid effects. It’s tempting to think each of the 16 squares has up to 4 adjacent neighbours, but corner and edge squares have fewer — counting adjacent pairs row-by-row and column-by-column avoids this trap entirely, since each pair is counted exactly once.

Practise next

  • A board has 9 squares arranged as a $3\times3$ grid. Two squares are chosen at random. Find the probability that they share no side, using the same row-and-column counting method.
Show answer

$\dfrac23$. Two squares are chosen from nine in $\binom92=36$ ways.

Count the adjacent pairs by direction: each of the $3$ rows contributes $2$ horizontally adjacent pairs, and each of the $3$ columns contributes $2$ vertically adjacent pairs — $6+6=12$ in all.

So pairs sharing no side number $36-12=24$, and the probability is $\dfrac{24}{36}=\dfrac23$. Counting the bad cases by rows and columns is far safer than trying to count the good ones directly.

More problems from Probability
Aman and Bhuvan Throw a Pair of Dice Alternately. In Order to Win They Have to Get a Sum of 8. Find Their Respective Probabilities of Winning if Aman Starts the GameIn a Class of 60 Students, 30 Opted for NCC, 32 Opted for NSS and 24 Opted for Both. If One Student Is Selected at Random, Find the Probability That the Student Opted for NCC or NSS, for Neither, and for NSS but Not NCCSuppose a Girl Throws a Die. If She Gets 5 or 6 She Tosses a Coin Three Times and Notes the Number of Heads; if She Gets 1, 2, 3 or 4 She Tosses a Coin Once. If She Obtained Exactly One Head, What Is the Probability That She Threw 1, 2, 3 or 4 With the DieA Box Contains 4 Red and 5 Black Marbles. Find the Probability Distribution of the Red Marbles in a Random Draw of Three Marbles. Also Find the Mean, Variance and Standard Deviation
Keep track of what you have finished — create a free account.

Similar Posts

Doubts are answered by Shiwam, usually within a day. Ask about this question specifically — a general question about the chapter is better asked in class.

Ask your doubt

Stuck on this question? Ask Shiwam directly.

A free account lets you post a doubt on any question, keep track of the exercises you have finished, and come back to the answer later.

Create a free accountI already have one