Let $X$ be a surface with two divisors $D,E$. Suppose $D,E$ intersects at $P$, denote by $Z$ the scheme-theoretic intersection. Let $\mathcal{I}$ be the ideal sheaf corresponding to $Z$. Now we blow up $X$ at $P$, $\pi: \tilde{X} \to X$, with exceptional divisor $E$.
I am curious what $\pi^*\mathcal{I}$ would be. Since $Z$ is supported only at P, $\pi^*\mathcal{I}$ should have some relation with $\mathcal{O}_{\tilde{X}}(E)$. My first guess is $\pi^*\mathcal{I} = \mathcal{O}_{\tilde{X}}(-E)^{\otimes \mu}$, where $\mu$ is the local multiplicity of $Z$ at $P$. But I feel like this may not be correct because the local equations of $D,E$ may not generated the power of maximal ideal $\mathscr{m}_P^{\mu}$ (Or say, $Z \neq \mu P$ as subschemes).
So is there a clean expression of $\pi^*\mathcal{I}$ in this case, I mean write in terms of divisors on $\tilde{X}$?
Thanks!