I have to prove that $P(A\times B)\neq P(A)\times P(B)$
My approach:
I am showing that the cardinality of $P(A\times B)$ and $P(A)\times P(B)$ is not the same. I think this method works because powerset of a set is a set and for equality of two sets, it is mandatory for the sets to have the same elements.
Let, $A, B$ be two finite sets with $x,y$ elements respectively.
Thus no of elements in $P(A\times B)$ is $2^{xy}$ and no of elements in $P(A)\times P(B)=2^{x+y}$.
Let,$x=1,y=2$. Clearly, $2^{x+y}\neq 2^{xy}$.
Thus the two sets don't have the same number of elements. So we have successfully built a counterexample that the two sets contain some dissimilar elements (since their cardinality is different).
Is this a proper rigorous mathematical proof?
Thanks for any help!!
As stated the problem is too obvious. An element of $P(A)\times P(B)$ is an ordered pair $(E,F)$ where $E\subset A$ and $F\subset B$, and that ordered pair is simply not a subset of $A\times B$. If the problem wasn't supposed to be that trivial, surely you're actually supposed to show that $$P(A\times B)\ne\{E\times F: E\in P(A), F\in P(B)\}.$$(It's very easy to simply write down an element of one of those sets that's not an element of the other...)