Quoted from this question.
We called an integral domain $R$ a Euclidean domain if there exists a function $f$ from $R$ to strictly positive integers such that:
1) For $a,b$ non zero in $R$, $f(ab)\ge f(a)$.
2) If $a,b\in R$, $b\neq 0$, then we can write $a=bq+r$ with $q,r\in R$ such that either $r=0$ or $f(r)<f(b)$.
One of the answers below say that the definition is equivalent if we remove 1) above. To prove this, we take $$ g(a)=\min_{x\in R^* a} f(x), R^*=R\backslash \{0\}. $$
Obviously $g$ satisfies 1). Now I am struggling to show that the new function $g$ satisfy 2), given that $f$ satisfies 2). Any hints?