OK, I have read two different proofs of the following theorem both of which I can't quite wrap my mind around. So, I tried to write a proof that makes sense to me, and hopefully to others with the same difficulty. Please let me know if this is an accurate proof an how I might fix it. Sorry, about the length I have been thinking about this proof all day! Thanks for your time.
Cantor's Theorem: $|A|< |\mathscr{P}(A)|$. Or, in particular there exists no surjection from $A$ onto $\mathscr{P}(A)$.
First, we show that $|A|\leq |\mathscr{P}(A)|$ by showing that there exsists a injective function from $A$ to $\mathscr{P}(A)$. Let, $f:A\to \mathscr{P}(A)$ be defined by the function $a\mapsto \{a\} $ that is that every element $a \in A$ is mapped to the singleton set in $\mathscr{P}(A)$ containing the element $a$. Thus we have found an injection from $A$ to $\mathscr{P}(A)$ and therefore $|A|\leq |\mathscr{P}(A)|$.
Now, in order to show that $|A|<|\mathscr{P}(A)|$ we must show that there does not exist a surjective function from $A$ to $\mathscr{P}(A)$. Let, us suppose that there does exist a surjective function $f:A\to \mathscr{P}(A)$ then it is implied (by the nature of this mapping) that $(\forall a\in A)(f(a) \subseteq A)$. Now, let us define a set $B:=\{x\in A : x\notin f(x)\}$. We want to show two things: first we want to show that $B\subseteq A$, and secondly we want that $B \not\subseteq\mathscr{P}(A)$. If the set $B=\emptyset$ then $B\subseteq A$ since the empty set is a subset of all sets. If $B\not =\emptyset$ then $B\subseteq A$ by the definition of $B$. Consequently, there must be an element $x'\in A$ such that $f(x')=B$ or otherwise $B\not\subseteq \mathscr{P}(A)$. In other words there must exist an an element $x'$ in $A$ such that the image of $x'$ under $f$, $f(x')$ , belongs to $B$ in order for $B \subseteq \mathscr{P}(A)$, or otherwise the opposite is true. Since we have already determined that $B \subseteq A$ then it must be true that $x'\in B$ or that $x \notin B$. If $x'\in B$ then $x' \notin f(x')$ which means that $x' \notin B$ since $f(x')=B$. Likewise, if $x' \notin B$ then $x' \in f(x) = B$. So, either way we arrive at a contradiction, and therefore it must be true that $B \not\subseteq \mathscr{P}(A)$. Hence, $f$ is not surjetive.
In conclusion, we showed that $|A|\leq |\mathscr{P}(A)|$, and since the function $f$ was arbitrary mapping it must be true that there does not exist a surjective mapping from $A$ to $\mathscr{P}(A)$. And therefore we have that $|A|< |\mathscr{P}(A)|$ is always true.
I am not sure, if there are any flaws in my logic please let me know. I would like to edit the post so that a detailed proof will be available for other who have struggled with this proof.