I am working through one of the exercises in Rordam's book Introduction to $K$-Theory for $C^{*}$-algebras. Exercise 1.8:
Let $A$ and $B$ be $C^{*}$-algebras, and let $\varphi\colon A\to B$ be a unital $^{*}$-homomorphism. I need to show that $\operatorname{sp}(\varphi(a))=\operatorname{sp}(a)$ for all $a\in A$ provided $\varphi$ is injective.
Using the standard properties of unital $^{*}$-homomorphisms, I was able to prove that if $a-\lambda 1_{A}$ is invertible, then so is $\varphi(a)-\lambda 1_{B}$. Hence, $\operatorname{sp}(\varphi(a))\subseteq\operatorname{sp}(a)$. However, I don't know how to use the injectivity of $\varphi$ to prove the reverse containment.
I tried thinking about how I could maybe use the Continuous Functional Calculus in some way, but I wasn't sure how to proceed. Furthermore, I need to prove the result for all $a\in A$, not just for normal elements in $a$, so I'm not even sure if this is the correct approach.
Any help would be much appreciated. Thank you.