I have some doubts with this task:
Find cardinality of a) $X = \left\{ A : A \subset \mathbb R \wedge \text{c}(A) \right\} $
b) $X = \left\{ A : A \subset \mathbb Q \wedge \text{c}(A) \right\} $
where $\text{c}(A)$ means that set contains maximum and minimum element
I think that the result is $ \mathfrak{c} $, so I have decided to show two injectives:
$$f:\mathbb R \rightarrow X $$
and
$$g:X \rightarrow \mathbb R $$
If it comes to $f$ it may be $$ f = \lambda x.\left\{x \right\} $$ and that set contains maximum and minimum element so I think that it is good example (both in a) and b) ).
But I am trying to show example of function $g$ and I have stuck there. One idea was to take $$ g = \lambda A. \frac{1}{2}(\min+\max) $$ but it is not injective :(
thanks for your time
For (a) let $H:\mathbb R\to(0,1)$ be bijective.
Then define $f:2^{\mathbb R}→ X$: $f(A)=H[A]∪\{0,1\}$, because $H$ is bijective $f$ is injective so $2^{\frak{c}}≤|X|$, and $X⊆ 2^{\Bbb R}$ so $|X|≤2^\frak c$.
For (b) let $H:\mathbb Q\to \mathbb Q\cap (0,1)$ be bijective.
Then define $f:2^{\mathbb Q}→ X$: $f(A)=H[A]∪\{0,1\}$, because $H$ is bijective $f$ is injective so ${\frak c}≤|X|$, and $X⊆ 2^{\Bbb Q}$ so $|X|≤\frak c$.