It is a well-known fact that any open interval $(a,b)$ has the same cardinality as $\mathbb R$; that is, there exists a bijection $f\colon(a,b)\mapsto \mathbb R$. What about the closed interval $[a,b]$?
I figured since $[a,b]=\{a\}\cup(a,b)\cup\{b\}$, and since $\{a\}\cup(a,b)\cup\{b\}$ are all disjoint, $$\text{card}\,[a,b] = \text{card}\,\{a\} + \text{card}\,(a,b) + \text{card}\,\{b\}=\text{card}\,(a,b) + 2$$ But if $\text{card}\,(a,b)=\text{card}\,\mathbb R=\mathfrak c$, then $\text{card}\,(a,b) + 2=\mathfrak c+2=\mathfrak c$. So then that means $\text{card}\,[a,b]=\text{card}\,\mathbb R$. A contradiction. (Because there is no possible bijection $g\colon[a,b]\mapsto \mathbb R$.)
Which of my assumptions is faulty?