This is question 7.2.3 in Liu's book Algebraic Geometry and Arithmetic Curves and I have been trying with this for some time now.
Let $f:X \rightarrow Y$ be a morphism of Noetherian schemes, and suppose that X and Y are integral and that f is finite surjective. We will let $Div(Y)$ resp. $Div(X)$ stand for Cartier Divisors on Y resp. X.
Associated to a Cartier divisor $D \in Div(Y)$ we have a notion of multiplicity at a point $y \in Y$, defined as $$\text{mult}_y D = \text{length } \mathcal{O}_{Y,y}/D_y \mathcal{O}_{Y,y}.$$
I am trying to show that for a Cartier Divisor $D \in Div(Y)$, we have that $$\text{mult}_x f^\ast(D) = \text{length } \mathcal{O}_{X,x}/(\mathcal{m}_y\mathcal{O}_{X,x}) \cdot \text{mult}_y(D)$$ where $m_y$ is the maximal ideal of $\mathcal{O}_{Y,y}$.
Now, it is quite easy to do this if f is a flat morphism, since we can simply use 50.13 of this document http://stacks.math.columbia.edu/download/algebra.pdf (Stacks, Algebra). But I don't see how to do it in the general case, and I have been trying for some time, so any hint would be nice.
Thank you!