I was reading Algebraic Curves by Fulton, where I have doubt in applying Bezout's theorem. Let $$F:=x^2+y^2-z^2$$ $$ G:=x^2+y^2-2 z^2 $$ be two curves in $ \mathbb{P}^2$, $\deg F=\deg G=2$ $\therefore$ by Bezout's Theorem $$\sum_{p \in C \mathbb{P}^2} I(P, F \cap G)=2 \cdot 2=4.$$ Note that $[1, i, 0]$ lies on $F$ and $G$. Then how to find $I(P, F \cap G)$, where $p=[1: i: 0]$? $$ \begin{aligned} & I(p, F \cap G)=\frac{\mathcal{O}_p\left(\mathbb{P}^2\right)}{\left(F_*, G_*\right)} \\ & F_*=x^2+y^2-1 \\ & G_*=x^2+y^2-2 \end{aligned} $$ but I am getting $\left(F_*, G_*\right)=(1)$ which will give me $I(p, F\cap G)=0$ which is not true.
I am not getting how to find $ I(p, F \cap G)=\frac{\mathcal{O}_p\left(\mathbb{P}^2\right)}{\left(F_*, G_*\right)}$ for $p=[1:i:0]$.
I will appreciate any hints. Thanks.
In $\bar{\Bbb Q}[x,y,z]$ (or even ${\Bbb Q}(\sqrt{-1})[x,y,z]$) $$\langle x^2+y^2-z^2,x^2+y^2-2z^2 \rangle=\langle x^2+y^2,z^2 \rangle=\langle (x-\sqrt{-1}y)(x+\sqrt{-1}y),z^2 \rangle=\\\langle x-\sqrt{-1}y,z^2 \rangle\cap \langle x+\sqrt{-1}y,z^2 \rangle.$$
But you want the local ring around $p=[1:\sqrt{-1}:0].$
In the affine $x=1,$ localized at ${\mathfrak m}_p=\langle y-\sqrt{-1},z\rangle,$ that is in the local ring $k[y,z]_{{\mathfrak m}_p}$ the ideal in question is $\langle y-\sqrt{-1},z^2 \rangle.$
The latter corresponds to a line intersecting a double line resulting in a double point supported on $p$. For $q=[1:-\sqrt{-1}:0]$ it goes completely similarly, so there are two double points, and Bezout holds.