Morphisms between affine algebraic sets
Let $X\subseteq \mathbb{A}^n$, $Y\subseteq \mathbb{A}^m$ be affine algebraic sets.
A morphism is a function $f: X\to Y$ of the form $f = (f_1, \ldots, f_m)$ where $f_1, \ldots, f_m\in{}$$A(X)$.
Write $\mathrm{Mor}(X,Y)$ for the set of morphisms $X\to Y$.
An isomorphism is a morphism with a two-sided inverse which is also a morphism.
Composition of morphisms is a morphism.
A morphism is a continuous function with respect to the Zariski topology: if $Z = Z(g_1, \ldots, g_r) \subseteq Y$, then $$ \begin{align*} f\inv(Z) = Z(f^\ast g_1, \ldots, f^\ast g_r) \end{align*} $$ where $f^\ast$ is the pullback.
A bijective morphism is not necessarily an isomorphism. (Example)
Let $f: X\to Y$ be a morphism between affine algebraic sets.
The pullback associated to $f$ is the $k$-algebra homomorphism $$ \begin{align*} f^\ast: A(Y) &\to A(X) \\ g &\mapsto g \circ f. \end{align*} $$
$(g \circ f)^\ast = f^\ast \circ g^\ast$ if $f: X\to Y$ and $g: Y\to Z$ are morphisms.
Let $X\subseteq \mathbb{A}^x$ and $Y\subseteq \mathbb{A}^n$ be affine algebraic sets. The pullback gives bijections $$ \begin{align*} \set{\text{morphisms $X\to Y$}} &\leftrightarrow \set{\text{$k$-algebra homomorphisms $A(Y) \to A(X)$}} \\ \set{\text{isomorphisms $X\to Y$}}&\leftrightarrow \set{\text{$k$-algebra isomorphisms $A(Y) \to A(X)$}} \\ f &\mapsto f^\ast \\ (λy_1, \ldots, λy_n) &\mapsfrom λ \end{align*} $$ where $y_1, \ldots, y_n$ are coordinates in $\mathbb{A}^n$.
Let $f: X\to Y$ be a function between irreducible affine varieties. The following are equivalent:
-
$f$ is a morphism.
-
For any $x\in X$, the pullback extends to a ring homomorphism between local rings $$ \begin{align*} O_{Y,f(x)} &\to O_{X,x} \\ ϕ = \frac{g}{h} &\mapsto f^\ast ϕ := \frac{g \circ f}{h \circ f}. \end{align*} $$