Let $G_m= k^{*}=k-{0}$ be the multiplicative group. We know this is an Algebraic group also. How does one prove any algebraic group morphism $G_m \rightarrow G_m$ is of the form $t \mapsto t^{n}$ for some $n \in \mathbb Z$.
Note that an algebraic group morphism is a morphism of varieties which is also a group homomorphism.
Let $\varphi:G_m\to G_m$ be defined by $t\mapsto\frac{f(t)}{g(t)}$, where $f,g$ are polynomials. Assume $k$ is algebraically closed. If one of $f,g$ is not $t^n$ for some $n$,then it maps a nonzero element in $k$ to $0$. Thus for $\varphi$ to be well defined, the nonzero roots of $f$ and $g$ must be the same, meaning that $\varphi(t)=t^l$ for some $l$.