Just say i have a finite set $A=\{a,b,\{c,d\}\}$
Naturally the power set of A would be $\{\{c,d\}\}$.
But I wonder how I would denote a set, say $B$ containing all elements of all subsets of $A$, so $A$ (some function)$=\{c,d\}$ and not $\{\{c,d\}\}$. Many thanks
Best Answer
If $A=\{a,b,\{c,d\}\}$, then the power set would be the set of all subsets of $A$, so it would be: $$\mathcal P(A)=\{\varnothing,\{a\},\{b\},\{\{c,d\}\},\{a,b\},\{a,\{c,d\}\},\{b,\{c,d\}\},\{a,b,\{c,d\}\}\}$$ I'm not sure how you arrived at $\{\{c,d\}\}$.
The set containing all elements of all subsets of $A$ is then $\bigcup \mathcal P(A)$: the union of all the subsets of $A$. Of course, if a set is a subset of $A$, then its elements are elements of $A$, so the set of all elements of subsets of $A$ is just $A$ itself. That is, $\bigcup\mathcal P(A)=A$.
If instead you want the elements of the sets in $A$, then this is $\bigcup A=\{c,d\}\cup a\cup b$, or in words, the set containing $c$ and $d$, and furthermore all the sets that are elements of $a$ or of $b$.
Just to be sure that we're on the same page, here is the definition of a subset:
For good measure, here is also the definition of union:
Finally, note that in set theory, usually, all the objects are sets. So the things called $a$, $b$, $c$ and $d$ in your set $A$ would all be sets.