I am currently working through my course text and one of the examples for a unital, commutative Banach algebra is the space of continuous functions $C([a,b])$. Further, in the text, there is a theorem stating:
$\sigma(a) \neq 0$ $\forall a \in \mathcal{A}$, for $\mathcal{A}$ being a unital algebra.
This theorem is also closely related to the Gelfand Mazur Theorem.
Trying a few examples I came across the linear function $f(x) = x$, which is obviously in $C([0,1])$, and for which $\lambda id - f$ seems to be invertable for all $\lambda \in \mathbb{C}$. Thus f must have the resolvent $\rho(f) = \mathbb{C}$ and therefore $\sigma(f) = \mathbb{C} \setminus \mathbb{C} = \emptyset$ contradicting the theorem stated before. Does anyone see my mistake?