Which of the following subsets are dense in the given spaces?
(a) The set of trigonometric polynomials in the space of continuous functions on $[−\pi, \pi]$ which are $2\pi$-periodic (with the sup-norm topology).
(b) The subset of $C^ ∞$ functions with compact support in $\mathbb{R}$ in the space of bounded real-valued continuous functions on $\mathbb{R}$ (with the sup-norm topology).
(c) $GL(n;\mathbb{R})$ in $M(n;\mathbb{R})$ (with its usual topology after identification with $\mathbb{R}^{n^2}$ ).
$GL(n;\mathbb{R})$ maps $\mathbb{R}^*$ by determinant function which is dense, so (c) is true. But how can I able to verify (a) and (b)?
