I'm not entirely sure how this is formally shown. The proposition is that, for the ring of formal power series $R[[x]] = \{\sum\limits_{k=0}^{\infty} r_kx^k | r_k \in R\}$, show that $U(R[[x]]) = \{ u + xf(x) | u \in U(R), f(x) \in R[[x]]\}$.
Any help is appreciated.
Let $f,g$ be two power series, with leading coefficients $a_0$ and $b_0$. It is easy to see the leading coefficient of $fg$ is $a_0b_0$. Therefore, in order to have $fg=1$, you need $a_0b_0=1$, implying $a_0$ is a unit.
On the other hand, suppose $f=u+xh$ for some unit $u$. Then you can show $f$ is a unit in $R[[x]]$ by exhibiting its inverse. Namely, $$ \frac1f = \frac{1}{u+xf'}=u^{-1}\cdot\frac1{1+xhu^{-1}}=u^{-1}\sum_{k=0}^\infty(-xhu^{-1})^k $$ This is using the classic expansion $1/(1+z)=1-z+z^2-z^3+\cdots$.
In general, it is not allowed to take an infinite sum of elements of $R[[x]]$. However, in this case, it is OK. Letting $[x^i]g$ denote the coefficient of $[x^i]$ in $g$, then $$ [x^i]\sum_{k=0}^\infty(-xhu^{-1})^k=\sum_{k=0}^i[x^i](-xhu^{-1})^k $$ The reason that the upper limit of $\infty$ can be replaced with $i$ is because whenever $k>i$, all of the powers of $x$ appearing in $(-xf'u^{-1})^k$ are greater than $i$. Therefore, each coefficient of $\sum_{k=0}^\infty(-xhu^{-1})^k$ is a finite sum, so this infinite sum is well defined.