Given a polynomial $p$ in one variable with complex coefficients, not identically zero, show that there is a unique smooth map $\widetilde p : \mathbb C \mathbb P^1 \to \mathbb C \mathbb P^1$ (complex projective space) sucht that the following diagram commutes, where $G: \mathbb C \to \mathbb C \mathbb P^1$ is given by $G(z) = G(x, y) = [x, y, 1, 0]$ (identifying $[z] \leftrightarrow (x, y)$, as in problem 1.9 of the same book): $\require{AMScd}$ \begin{CD} \mathbb C @>G>> \mathbb C \mathbb P^1\\ @V p V V @VV \widetilde p V\\ \mathbb C @>>G> \mathbb C \mathbb P^1 \end{CD}
What I have done:
We know $p$: $$ p(z) = a_0 + a_1 z + \ldots a_n z^n, \quad z = x + iy \in \mathbb C. $$ Therefore, we can obtain an expression for $\widetilde p|_{G(\mathbb C)}$: $$ \widetilde p \circ G(x + iy) = \widetilde p([x, y, 1, 0]) = G(p(z)) = [\text{Re} (p(z)), \text{Im} (p(z)), 1, 0], $$ which can be given in terms of the coefficients $a_i$ of the polynomial $p$, $x$ and $y$: both $\text{Re}(p(z))$ and $\text{Im}(p(z))$ are polynomials in the two real variables $x$ and $y$ and whose coefficients are in terms of the coefficients $a_i$ of $p$.
Now, my I am a bit lost. Should we define $\widetilde p$ on the whole space $\mathbb C \mathbb P^1$ or only on the image of $G$? If it is the latter, we can write an expression for $\widetilde p$ depending only on the coefficients of $p$ and $x, y$, and it only remains to show smoothness (which I believe follows easily once one writes the coordinate representation of $\widetilde p$). If not, how to proceed?
Thanks in advance.
EDIT
From the previous exercise we learn that the image of $G$ is an open dense subset of $\mathbb C \mathbb P^1$. Then we can extend $\widetilde p$ in an unique way to the whole $\mathbb C \mathbb P^1$, by smoothness, and we are done. Correct?