Fix a field $k$. Let $X,Y$ be normal integral $k$-schemes of finite type and $h: Y \to X$ a proper birational $k$-morphism. Moreover, assume that $X$ is Gorenstein, i.e. it admits a canonical divisor $K_X$ which is Cartier.
Let $K_X$ be a Cartier canonical divisor of $X$ and $K_Y$ a canonical divisor of $Y$, so the divisor $$K_Y-h^*K_X$$ can be considered. Its linear class is independent of the choices of $K_X$ and $K_Y$.
This in mind, the relative canonical divisor of $h$ is usually defined to be the unique divisor in $Y$ supported on the exceptional locus of $h$ which is linearly equivalent to $K_Y-h^*K_X$. My question is:
How do we prove the existence and uniqueness of such divisor?
I'm a bit stuck trying to prove this (especially uniqueness) and I can't find any reference in the literature...
I also have two side questions about the relative canonical divisor:
- When is it effective?
- Is it related to $\Omega^d_{Y/X}$? Here, $d=\dim X = \dim Y$.
Thank you in advance for your time! Any help will be appreciated!