I'm confused with Cartesian product and Relation.
As in Cartesian product, the number of ordered pair possible are $n(A)n(B)$.
In relation the number of relation possible are $2^{n(A) n(B)}$.
Also, it is said that Relation is a subset of the Cross Product. But what I see is the opposite.
Ex: if $n(A) = 2$, $n(B) = 3$.
then $n(A \times B) = 6$.
Relation is $2^6 = 64$
Reiterating what was already said with a concrete example
Take a slightly smaller example of $A=\{a,b\}$ and $B=\{1,2\}$
One has $A\times B=\{(a,1),(a,2),(b,1),(b,2)\}$
A relation is a subset of $A\times B$, for example the relation $\{(a,1),(b,2)\}$
One will always have a specific relation having cardinality at most that of $|A\times B|$.
Now... the set of all relations (which is itself not a relation in this context) for this example would be:
$$\left\{\emptyset,\{(a,1)\},\{(a,2)\},\{(b,1)\},\{(b,2)\},\{(a,1),(a,2)\},\{(a,1),(b,1)\},\{(a,1),(b,2)\},\{(a,2),(b,1)\},\dots \{(a,1),(a,2),(b,1),(b,2)\}\right\}$$ and for this specific example would have $2^4=16$ elements, elements in this context meaning relations like $\{(a,1),(a,2)\}$