I am trying to prove that, for a field extension $\mathbf{K}/k$ and $a$ an algebraic element over $k$, $$k(a)=k[a],$$ where $k(a)$ is the subfield of $\mathbf{K}$ generated by $a$ and $k[a]$ is the subring of $\mathbf{K}$ generated by $a$.
I know (please correct me if I am wrong) that $k[a]$ consists of all elements of $\mathbf{K}$ that can be expressed as polynomials in $a$ with coefficients in $k$, while $k(a)$ consists of all elements of $\mathbf{K}$ that can be expressed as the quotient of two such polynomials. What we want to show, I guess, amounts to proving that if $f(x)$ and $g(x)$ are two polynomials with coefficients in $k$ then $\frac{f(a)}{g(a)}$ is also a polynomial (in $a$) with coefficients in $k$. I am not sure how to prove this. What I did is, I considered the minimal polynomial $m$ of $a$ over $k$. Then we have that $f(a)$ and $g(a)$ can both be reduced "modulo $m$" to give polynomials of degree at most $\deg{m}-1$. But then, how can I see what their quotient looks like?
When we want to prove this result considering the extension $\mathbb{R}/\mathbb{Q}$ and the algebraic number $\sqrt{2}$, a quotient of polynomials in $\sqrt{2}$ with coefficients in $\mathbb{Q}$ can be viewed as a polynomial in $\sqrt{2}$ with coefficients in $\mathbb{Q}$ by multiplying both the numerator and denominator with the "conjugate" of the denominator. Is this the idea that has to be used here? If yes, what plays the role of the conjugate? Thanks for any help.