I am doing a bit of self-study in Linear Algebra and I am having difficulty understanding the following:
- If $S$ is a set, then $\textbf{F}^S$ denotes the set of functions from $S$ to $\textbf{F}$.
- For $f, g \in \textbf{F}^S$, the sum $f + g \in \textbf{F}^S$ is the function defined by $$(f + g)(x) = f(x) + g(x)$$ for all $x \in S$.
- For $\lambda \in \textbf{F}$ and $f \in \textbf{F}^S$, the product $\lambda f \in \textbf{F}^S$ is the function defined by $$(\lambda f)(x) = \lambda f(x)$$ for all $x \in S$.
Does this mean that, for sums and products defined as above, the set of all functions from any set $S\mapsto R$ is closed under addition and scalar multiplication?
If so, could I use this to quickly prove, for example, that the set of all continuous functions on $[0,1] \subset R$ is closed under addition and scalar multiplication?