If A = {1, 2}, form the set A×A×A
We have,
A={1,2}
∴A×A={1,2}×{1,2}
={(1,1),(1,2),(2,1),(2,2)}
∴A×A×A=(1,2)×{(1,1),(1,2),(2,1),(2,2)}
={(1,1,1),(1,1,2),(1,2,1),(1,2,2),(2,1,1),(2,1,2),(2,2,1),(2,2,2)}
If A = { a, b } and B = { 1, 2 } be two sets , then the number of relations that can be formed from the set A to set B is