I want to prove that when $F:K\rightarrow K[X]/\langle f\rangle $ is a map such that $F(a)=a+\langle f \rangle$, then $F$ is an embedding from $K$ to $K[X]/\langle f \rangle$, when $f\in K[X]\backslash K$.
To show the function is an embedding do I need to check that, for $a,b\in K$:
$$F(a+b)=F(a)+F(b)$$
Which seems straightforward in this case: $$F(a+b)=I+a+b=I+a+I+b=F(a)+F(b)$$
And the same for multiplication... And in addition check that the map is an injection?
A quick way of seeing that $F$ is a morphism is to note that $F = \pi \iota$ with $\pi : k[X] \to k[X]/(f)$ the canonical projection and $\iota : k \hookrightarrow k[X]$ the inclusion. Both are morphisms, hence their composition $F$ will be.
As for injectivity, we can equivalently prove that $\ker F = 0$. Take $a \in k$ such that $$ a + (f) = [a] = F(a) = (f) = [0]. $$ Then $a - 0 \in (f)$, which implies $a = fg$ for some $g \in k[X]$. By degree considerations, it must be that $g = 0$ because otherwise we would have
$$ 0 = \deg a = \deg fg = \deg f + \deg g \geq \deg f \geq 1. $$