In a plane, there are two families of lines y=x+k,y=−x+k, where k∈{0,1,2,3,4}. The number of squares with diagonal of length 2 units formed by the lines, is
Open in App
Solution
Consider the lines L1,L3.
The lines L1,L3 form square with diagonal of length 2 unit with lines M1,M3 and M2,M4 and M3,M5
So, for L1,L3, the number of such squares is 3
As there are 3 choices ((L1,L3),(L2,L4)(L3,L5)) for the family y=x+k,
the total number of such squares is 3×3=9