The question comes from Liu's book :
2.9. Let $X$, $Y$ be locally Noetherian integral schemes. Let $f : X \to Y$ be a dominant morphism of finite type. We say that $f$ is generically separable (resp. generically étale) if $k(X)/k(Y)$ is a separable (resp.finite separable) extension.
(a) Show that if $f$ is generically separable (resp. generically étale), then there exists a non-empty open subset $U$ of $X$ such that $f|_{U} : U \to Y$ is smooth (resp. étale).
First we say that a finitely generated extension $K$ of $k$ (i.e. $K = k(f_{1}, ..., f_{n})$ for some $f_{i} \in K$) is separable if K is finite separable over a purely transcendental extension of k. This is equivalent of saying that Then $\Omega_{K/k}^{1}$ is a K-vector space of dimension $\operatorname{trdeg}_{k}K$.
Now what I've done .
Let $\xi, \xi'$ the respective generic points of de $X, Y$. Let $n := \operatorname{trdeg}_{K(Y)}K(X)$. We can suppose $X = Spec(A)$ and $Y = Spec(B)$. Being generically separable (respectively generically étale) is equivalent to $\dim_{K(X)}\Omega^{1}_{K(X)/K(Y)} = n$ (respectively $\dim_{K(X)}\Omega^{1}_{K(X)/K(Y)} = 0$ ). If I show $f$ is smooth at $\xi$ (respectively étale at $\xi$) it would be ok since the set of points where $f$ is smooth (respectively étale) is open. But we have, $\Omega^{1}_{K(X)/K(Y)} = \Omega^{1}_{\mathcal{O}_{X, \xi}/\mathcal{O}_{Y, \xi'}}$. So,being generically separable (respectively generically étale) implies $\Omega^{1}_{X/Y}$ is a locally free in a neighborhood of $\xi$ of rank $n$ (respectively is a locally zero in a neighborhood $\xi$). This comes from exercise $1.12.$ $(a)$ page $173$ of the book and from the coherence of $\Omega_{X/Y}^{1}$ (since $f$ is of finite type). Hence for all $x \in X_{\xi'}$, $\Omega^{1}_{\mathcal{O}_{X, x}/\mathcal{O}_{Y, \xi'}} \simeq \Omega^{1}_{X_{\xi'}/k(\xi'), x} \otimes k(x)$ by the exercice $2.5.$ $(b)$ page $226$. Now I don't know what to do?