[Math] Kernel of ring homomorphism is an ideal

ring-theory

I am asked to show that if f is a ring homomorphism from R to R' then kernel of f is an ideal of R.

According to definition of ideal : A non empty subset of R is an ideal for any two elements of ideal their substraction must be in that ideal and
the product of any element of R and an element of ideal must be in ideal,
I am not able to prove second condition. Please help

Best Answer

Let $f: R\rightarrow R'$ be a ring homomorphism. We assume that $R$ and $R'$ both have an identity. Since $0 \in\ker(f)=\{x\in R\mid f(x)=0\}, \ker(f)$ is non-empty.

Let $u,v \in \ker(f), r \in R$, then $f(ru)=f(r)f(u)=0,\ f(ur)=f(u)f(r)=0,\ f(u-v)=f(u)-f(v)=0$.