Let A and B be two sets such that n(A) = 3 and n(B) = 2. If (x, 1), (y, 2), (z, 1) are in A×B, find A and B, where x, y and z are distinct elements.
Here (x,1) ϵ A×B⇒x ϵA and 1 ϵ B
(y,2) ϵ A×B⇒y ϵ A and 2 ϵ B
(z,1) ϵ A×B⇒z ϵ A and 1 ϵ B
It is given that n (A) = 3 and n(B) = 2
∴A={x,y,z}
and B={1,2}