TITLE: Categorical viewpoint of $k[x]^\ast\cong k[[x]]$
QUESTION [7 upvotes]: An exam question which I have found on the internet asks for a "categorical" explanation of $k[x]^\ast\cong k[[x]]$. Could someone help me here? Maybe we have some functorial isomorphism but I don't see how, after all the dual space functor is contravariant.

REPLY [6 votes]: Zhen writes "The notation is terrible." In fact, this is because most of the notation is missing. Some forgetful functors are involved here, and because they are not written at all, the isomorphism is just wrong or at least very confusing: "Why should the unit group of the polynomial ring be the power series ring?!" was my first thought.
So let me make clear what is really going on here, using the language of forgetful functors: Let $U : \mathsf{Alg}(k) \to \mathsf{Vect}(k)$ be the forgetful functor from $k$-algebras to $k$-vector spaces. We have a contravariant functor $\mathsf{Vect}(k) \to \mathsf{Vect}(k)$ which takes $V$ to its dual vector space $V^*$. In his answer, Zhen explains why $(k^{\oplus \mathbb{N}})^* \cong k^{\mathbb{N}}$. We have $k^{\mathbb{N}} \cong U(k[ [x] ])$ and $k^{\oplus \mathbb{N}} \cong U(k[x])$ (essentially by definition of these $k$-algebras $k[x]$ and $k[[x]]$). Hence, we have $U(k[x])^* \cong U(k[[x]])$. Please don't write this as $k[x]^* \cong k[[x]]$!