Let A, B are two sets, show that f : A × B → B × A. Show that f(a, b) = (b, a) is bijective function.
Given, f : A × B → B × A Such that f : (a, b) = f(b, a)
(a) f (a1, b1) = (b1, a1),f (a2, b2) = (b2, a2)
f (a1, b1) = f(b2, a2), ⇒ (b1, a1) = (b2, a2)
⇒b1 = b2, a1, a2 ⇒ f is one-one.
(b) Every element (p, q) belonging to its codomain has pre-image in its domain as (q, p). f is onto.