# Does a birational map of an affine variety extend uniquely to a birational map of its projective closure?

Let $V \subset \mathbb{A}^n$ be an affine variety, and $\varphi: V \to V$ a birational map. Does there exist a unique birational map $\varphi' : V' \to V'$ of the projective closure $V' \subset \mathbb {P}^n$ of $V$ that agrees with $\varphi$ on $V \subset V'$?

A rational map is an equivalence class of morphisms $U \to V$ with $U \subset V$ nonempty open, where two are equivalent if they agree on the intersection of their domains.

I'm thinking the answer is affirmative because $V \subset V'$ is a nonempty open subset under the usual embedding, and a rational map is uniquely determined by any single representative.

If $\varphi$ is locally given in coordinates by rational functions, how does one compute $\varphi'$? I'm thinking one can clear the denominators and homogenize to arrive at a map of the projective closure locally given by homogeneous polynomials of the same degree (which locally gives a morphism).

If necessary: I'm most interested in the case $n=2$ where $V$ is a curve $Z(f)$ for an irreducible $f$, so $V' = Z(f^*)$ where $f^*$ is the homogenization of $f$.

-