Let $R$ be a commutative ring with unity and $K$ a subring of $R$. I want to prove that If $K$ is a field and $R$ has no zero-divisors, then $1_R=1_K$ (in particular $1_R \neq 0$, so $R$ is an integral domain an a K-vector space).
Also I want a counterexample for when $R$ has zero-divisors.
I don't know how to show the claims that are mentioned about. Any idea would be apprieciated.
It's sufficient to assume only that $R$ has no zero divisors. This is because if $0\neq 1_K\neq 1_R$, then $1_K$ is an idempotent of $R$, hence $$(1_K-1_R)1_K=1_K1_K-1_R1_K=1_K-1_K=0$$ This contradicts the assumption that $R$ has no zero divisors.
This also allows for relatively easy construction of your counterexample. If you want something explicit, we can take $R=\mathbb{Z}_2\times \mathbb{Z}_2$ and $K=\mathbb{Z}_2\times\{0\}$.
Edit: There's a bit of a subtlety both of us missed: If you don't require that $R$ have unity distinct from the additive identity, our proofs won't work. In that case the assumption that $K$ is a field comes in, because in a field $1\neq 0$.