Suppose $X \subseteq \mathbb{A}^2$ is defined by the equations $f: x^2 + y^2 =1$ and $g: x= 1$. Find the ideal $I_X$ of all the regular functions that vanish on $X$. Is it true that $I_X= (f,g)$?
My attempt : The only common solution of the system composed by $f=0$ and $g=0$ is the point $(1,0)$ and $I_X = \left\{ F \in k[x,y] : F(1,0) =0 \right\}$. So $I_X \neq (f,g)$, because $x^2 - 1 \notin (f,g)$. Is it correct? Is there a more explicit expression of the ideal $I_X$?