Relation between blowing up at a point and at a variety maybe this is an idiot question, but I have to ask it. Usually, in the classical background, one defines the blow up $Bl_Y(X)$ at a variety $Y$ in as the closure of the graph of the function $f: X/Z(f_1, f_2, ...f_m) \longrightarrow \mathbb{P}^{m-1}$ where $f$ evaluate the polynomials. However, when one blow up at a point, the definition seens kinda different, it's the subvariety of $X \times \mathbb{P}^{n - 1}$ determined by $x_i t_j = x_j t_i$ where $t_i$ is the homogeneous coordinate. The definitions seems to not match each other.
Thanks in advance.
 A: The two definitions match in the following sense:
Let $X\subset \mathbb{A}^n$ be an affine variety. Let $f_0,\cdots,f_r\in k[x_1,\cdots,x_n]$ where they don't vanish identically on $X.$ Then $U=X \setminus Z(f_0,\cdots,f_r)$ is a non-empty open subset of $X.$ Define the well-defined morphism 
$$f:U \to \mathbb{P}^r \; \text{given by}\; p \mapsto [f_0(p):\cdots,f_r(p)]$$ 
Now the closure of the graph of $f$ inside $X \times \mathbb{P}^r$ is the blow up of $X$ in $(f_0,\cdots,f_r).$ 
In particular, let $X=\mathbb{A}^2$ with coordinates $x,y$ and take $f_0=x,f_1=y.$ The blow up of $\mathbb{A}^2$ in $(x,y)$ or at zero is then the following. The morphism 
$$f:U \to \mathbb{P}^1 \; \text{given by} \; (x,y) \mapsto [x:y]$$ 
is well defined, where $U=\mathbb{A}^2 \setminus \{(0,0)\}.$ The graph of $f$ on $U$ is 
$$\{((x,y),[s:t])|xt=sy \} \subset U \times \mathbb{P}^1$$ 
and its closure is simply $\{((x,y),[s:t])|xt=sy\} \subset \mathbb{A}^2 \times \mathbb{P}^1.$ The reason for the existence of the relation $xt=sy$ is to make sure that $[s:t]$ is in the image of $f.$ 
