Let A and B be sets. Show that f:A×B→B×A such that f(a,b)=(b,a) is bijective function.
Here, f:A×B→B×A is defined as f(a,b)=(b,a)
Let (a1,b1),(a2,b2)∈A×B
Such that f(a1,b1)=f(a2,b2)⇒(a1,b1)=(a2,b2)
Therefore, f is one-one. Now, let (b,a)∈B×A of any element.
Then, there exist (a,b)∈A×B such that f(a,b)=(b,a)[definition of f]
Therefore, f is onto. Hence, f is bijective.