This question arises from my somewhat frustrating attempts to understand what etale means (in the world of algebraic varieties for now) and marry the more advanced algebraic geometry references and the ones from differential geometry. The particular example I am studying, is the Lyasko-Looijenga morphism.
Say that $f:X\rightarrow Y$ is a finite map of affine varieties with zero-dimensional fibers. Finiteness of the map means that the coordinate ring $A(X)=S$ is a finitely generated $A(Y)=R$ module. Now say the point $y\in Y$ corresponds to the maximal ideal $P\subset R$.
I understand how the ideal $PS$ in $S$ cuts the variety $f^{-1}(y)$ but might not be radical, so we define $S/PS$ to be the algebraic fiber but we know it is not exactly the coordinate ring of $f^{-1}(y)$. Evenmore, we know that $S/PS$ is an $R/P$-vector space of dimension $k$ at most as big as the rank of $S$ as an $R$-module (and equal if in particular $S$ is a free $R$-module).
This in turn implies that the fiber $f^{-1}(y)$ will contain at most $k$-many points (the coordinate ring of a finite variety is a vector space of dimension as big as its cardinality). I am trying to understand when this number is achieved:
The approach in Shafarevich is to consider the extension $f^{*}k(Y)\subset k(X)$ and define $\operatorname{deg}f$ to be its degree; when the cardinality of the fiber equals that degree: $$\#f^{-1}(y)=\operatorname{deg}f$$ we say that $f$ is unramified at $y$. The differential geometry approach is just to check the Jacobian at $y$; $f$ is unramified at $y$ precisely when $$J_f\ (y)\neq 0.$$
Question 1: I am asking for some help to understad the equivalence here. How does the Jacobian of $f$ affect the cardinality of $f^{-1}(y)$ in relation to the degre of the extension $f^{*}k(Y)\subset k(X)$?
Question 2: What about the ring $S/PS$? It encodes all the information we need for $f^{-1}(y)$. How can we understand here which points are fatter than others? What is the situation for $\operatorname{Spec}S/PS$?
Question 3: Is it apparent that the degree of the extension $f^{*}k(Y)\subset k(X)$ is equal to the rank of $S$ as an $R$-module, when $S$ is free over $R$? What happens when $S$ is not free?
Remark: The reason that I am not just satisfied with the Jacobian definition (the fiber has full cardinality when $J_f\ (y)\neq 0$ ) is because it is easier to compute the generic size of the fiber via $S/PS$. In particular, when -as in my case- $S$ can be shown to be a free $R$-module, the rank can be calculated via the Hilbert series of the two rings.
On the other hand, it is much easier to actually find the ramification locus using the Jacobian definition. Therein lies my current conundrum...