I'm reading the lecture notes of my algebraic geometry course and I'm stuck at an exercise:
Let $\phi: \mathbb{P}^1\rightarrow \mathbb{P}^1$ be an isomorphism of algebraic varieties such that $\phi([0 : 1]) = [0 : 1], \phi([1 : 1]) = [1 : 1], \phi([1 : 0]) = [1 : 0]$. Show that $\phi$ is the identity map.
My attempt: I'm trying to prove that $\phi|_{U_i}$, $i=0,1$ is identity and that they agree on $U_{01}=U_0\cap U_1$.
By assumption that $\phi([0 : 1]) = [0 : 1], \phi([1 : 0]) = [1 : 0]$, we know that $\phi|_{U_i} : U_i \rightarrow U_i $ for both $i=0,1$. (since, for example, $\phi([1:a]) \not= [0:1]$ so $\phi([1:a]) \in U_0$). Note that since $U_i$ is $\mathbb{A}^1$, the isomorphism $\phi|_{U_i}$ can be represented by linear polynomials $a_ix+b_i \in k[x] $, i.e, $\phi|_{U_0}([1:u])=[1:a_1u+b_1]$ and $\phi|_{U_1}([v:1])=[a_2v+b_2:1]$. Now $\phi([0 : 1]) = [0 : 1], \phi([1 : 1]) = [1 : 1], \phi([1 : 0]) = [1 : 0]$ imply that $a_1=a_2=1$ and $b_1=b_2=0$.