Intersection formula for blowing up a surface
= Intersection formula for blowing up a surface
If $\pi:\widetilde X\to X$ blows up a smooth point with exceptional curve $E$, then
$$
\operatorname{Pic}(\widetilde X)=\pi^*\operatorname{Pic}(X)\oplus\mathbb ZE,
\qquad E^2=-1,
\qquad \pi^*D\cdot E=0.
$$
If a curve $C$ has multiplicity $m$ at the center, its strict transform is $\widetilde C=\pi^*C-mE$ and $\widetilde C^2=C^2-m^2$.