Question
Question: In a 8 x 8 chess board, let P be the probability of selecting two squares such that a white queen an...
In a 8 x 8 chess board, let P be the probability of selecting two squares such that a white queen and a black knight can be placed there in non attacking position. The value of 36 P is (Note: Queen can attack in the same row, column and diagonally. A knight can attack by moving 2 squares horizontally and one square vertically and vice- verse in a single move)

36
Solution
Let the total number of squares on the 8x8 chessboard be N=8×8=64.
The question asks for the probability of selecting two squares such that a white queen and a black knight can be placed there in non-attacking positions.
The phrasing "selecting two squares" typically implies an unordered selection. The subsequent phrasing "a white queen and a black knight can be placed there in non attacking position" implies that for the selected pair of squares, there exists an assignment of the queen and knight to these squares such that they are non-attacking.
This leads to the interpretation that total outcomes are (264) pairs of squares, and favorable outcomes are pairs {s1,s2} such that (Q on s1, K on s2 is non-attacking) OR (K on s1, Q on s2 is non-attacking).
Let s1=(r1,c1),s2=(r2,c2).
Q on s1 attacks K on s2 iff r1=r2 or c1=c2 or r1−c1=r2−c2 or r1+c1=r2+c2.
K on s1 attacks Q on s2 iff ∣r1−r2∣=1 and ∣c1−c2∣=2, or ∣r1−r2∣=2 and ∣c1−c2∣=1.
We need to find pairs {s1,s2} such that Q at s1 attacks K at s2 AND K at s1 attacks Q at s2. We will show this number is 0.
Suppose K at s1 attacks Q at s2. Then ∣r1−r2∣=1,∣c1−c2∣=2 or ∣r1−r2∣=2,∣c1−c2∣=1.
Case 1: ∣r1−r2∣=1,∣c1−c2∣=2.
Is r1=r2? No, ∣r1−r2∣=1.
Is c1=c2? No, ∣c1−c2∣=2.
Is r1−c1=r2−c2? r1−r2=c1−c2. ±1=±2. Impossible.
Is r1+c1=r2+c2? r1−r2=−(c1−c2). ±1=∓2. Impossible.
Case 2: ∣r1−r2∣=2,∣c1−c2∣=1.
Is r1=r2? No.
Is c1=c2? No.
Is r1−c1=r2−c2? r1−r2=c1−c2. ±2=±1. Impossible.
Is r1+c1=r2+c2? r1−r2=−(c1−c2). ±2=∓1. Impossible.
So, it is indeed true that if K at s1 attacks Q at s2, then Q at s1 does not attack K at s2.
This means the set of squares attacked by a queen at (r,c) and the set of squares attacked by a knight at (r,c) are disjoint.
This means for any square s1, there is no square s2 that is attacked by both Q and K placed at s1.
So the event (Q on s1 attacks K on s2) AND (K on s1 attacks Q on s2) is impossible for any pair of squares {s1,s2}.
The complementary event (Q on s1 is non-attacking K on s2) OR (K on s1 is non-attacking Q on s2) is always true for any pair {s1,s2}.
The number of ways to select two squares is (264)=2016.
For each of these 2016 pairs, it is possible to place the queen and knight in a non-attacking position.
The probability P=20162016=1.
The value of 36P=36×1=36.