Let $F$ a field and $E$ a finite extension of $F$. I need to show that, if $D$ is a integral domain such that $F\subset D\subset E$ then, D is a field.
My attempt: As $E$ is a finite extension, it is a algebraic extension. Let $\alpha\in D$, it is sufficient to show that each element of $D$ has a inverse. So, take $\alpha\in D$ so $\alpha$ is algebraic over $F$. Suppose that $\deg(\alpha,F)=n$, then every element of $F(\alpha)$ can be written as $a_0+a_1\alpha+\cdots+a_{n-1}\alpha^{n-1}$ where $a_i\in F$. Therefore, $F(\alpha)\subset D$ and as $F(\alpha)$ is a field and it contains the inverse of $\alpha$.
I have troubles with my proof because a don't see where the fact that $D$ is integral domain is important.
$D$ is a finite-dimensional vector space over $F$. If $a\in D$, $a\ne0$ consider the map $\mu_a:D\to D$ defined by $\mu_a(x)=ax$. Then $\mu_a$ is an $F$-linear map. Its kernel is zero, so its image is all of $D$, by the rank nullity formula. There is $b\in D$ with $\mu_a(b)=1$, that is $ab=1$.