Q. Consider the fourteen lines in the plane given by $y = x + r,\ y = - x + r,\$ where $r \in \{ 0,\ 1,\ 2,\ 3,\ 4,\ 5,\ 6\}$. The number of squares formed by these lines, whose sides are of length $\sqrt{2}$, is

A) 9
B) 16
C) 25
D) 36
Explanation

(c)
The given lines are perpendicular to each other.
$\therefore Perpendicular\ distance = \frac{\left| r_{1} - r_{2} \right|}{\sqrt{2}} = \sqrt{2}$
$\Rightarrow \ r_{1} - r_{2} = 2$
The difference between the $y$-intercepts $= 2$
This can happen for five combinations {(0, 2), (1, 3), (2, 4), (3, 5), (4, 6)}.
The difference between the $x$-intercepts $= 2$
This can happen for five combinations.
Hence, total number of squares $= 5 \times 5 = 25$

Dr. Abubacker
Reviewed by Dr. Abubacker

Physics Educator & NEET/JEE Specialist

Ph.D. in Physics with 19+ years of teaching experience.