Let a ring $R$ be a finite union of fields all having the same unit. I want to prove that $R$ is itself a field.
I wrote $R=\bigcup _{i=0}^{n}F_i$, with $F_0=\{0,1\}$ and $F_i$'s are fields. Since we deal with a finite union, there must exist $j\geq 1$ such that $F_k\subseteq \bigcup _{i=k+1}^nF_i$ for $k<j$, but $F_j\nsubseteq \bigcup _{i=j+1}^nF_i$ . Then I put $B=\bigcup _{i=j+1}^nF_i$. Certainly, we have $R=\bigcup _{i=j}^nF_i$. I tried to show that $R=F_i$, for one of the latter $F_i$'s. Suppose not, so we could choose $b\in B-F_j$ (because $F_j\neq R$) and $a\in F_j-B$. The element $ab\in R$ is either in $F_j$ or in $B$. In the first case, $b=a^{-1}ab\in F_j$, which is a contradiction. In the other case, could we deduce that $a=abb^{-1}\in B$ to reach a contradiction? In fact, $b$ and $b^{-1}$ are both in $B$. But, we are not sure whether $B$ is multiplicatively closed to reach the desired contradiction.
Any help is appreciated!