Using Lebesgue measurable set which is uncountable, one can show that the cardinality of the set of all Lebesgue measurable functions is $2^\mathbb{R}$
I know that Borel $\sigma$-algebra on $\mathbb{R}$ is of cardinality $\mathbb{R}$ (even if I haven't read proof). Then how can I show that the cardinality of the set of all borel measurable functions is $\mathbb{R}$?
Since all constant functions are Borel measurable, the cardinality of the set of all real, Borel-measurable functions on $\Bbb R$ must be at least $|{\Bbb R}|=2^{\aleph_0}$. Going the other way, a real-valued function $f$ is determined by the sequence of sets $(f^{-1}(r,\infty)\mid r\in {\Bbb Q})$. If $f$ is Borel measurable, then each of these sets is Borel measurable, so there are only $2^{\aleph_0}$ possible choices for each $f^{-1}(r,\infty)$. Therefore, since there are only $\aleph_0$ rational numbers, the cardinality of the set of real, Borel-measurable functions on $\Bbb R$ is at most $(2^{\aleph_0})^{\aleph_0}=2^{\aleph_0}$.