I am confused by an exercise from Tom Marley which is:
Let $R$ be an arbitrary $\mathbb Z$-graded domain:
$1)$ Prove that all units in $R$ are homogeneous.
$2)$ By using $1$, if $R$ is a field, then $R_0=R$ and $R_n=0$ for all $n\neq 0$.
If we remove the domain condition, I know $1$ is not true, but I cannot find the counter example.
Any comments and guidance would be highly appreciated.
If $a$ is a nonzero element in your ring, you write $a=a_n+a_{n+1}+\cdots+a_m$ for some homogeneous $a_i$, with $n\leq m$ and $a_n\neq0$ and $a_m\neq 0$. Call the number $m-n$ the width of $a$ and write it $w(a)$.
Now show that if $a$ and $b$ are nonzero, then $w(ab)=w(a)+w(b)$.
Show using that that a unit has width $0$, so it is homogeneous.