Let M_1 and M_2 be finite automata with \mathcal {L}{\mathopen {}\left (M_i\right )\mathclose {}}=L_i ; without loss of generality, we assume these have disjoint sets of states. We shall describe an NFA\varepsilon M with \mathcal {L}{\mathopen {}\left (M\right )\mathclose {}}=\mathcal {L}{\mathopen {}\left (M_1\right )\mathclose {}}\cup \mathcal {L}{\mathopen {}\left (M_2\right )\mathclose {}} .
We define an accepting state of M above to be either an accepting state of M_1 or of M_2 . F_{M} = F_{M_1}\cup F_{M_2}
That \mathcal {L}{\mathopen {}\left (M\right )\mathclose {}}=\mathcal {L}{\mathopen {}\left (M_1\right )\mathclose {}}\cup \mathcal {L}{\mathopen {}\left (M_2\right )\mathclose {}} holds follows by a quick inspection: indeed, if u\in \mathcal {L}{\mathopen {}\left (M_i\right )\mathclose {}} then we have a path in M_i from \star {M_i} to an accepting state in M_i , which we can extend by means of either \varepsilon -transition to a path in M . Conversely, any from q_0 to an accepting state of M must either be a path to an accepting state of some M_i and must therefore pass through one of the two \varepsilon -transitions. Chop off that transition to get a valid path in either M_1 or M_2 .
That \mathcal {L}{\mathopen {}\left (M\right )\mathclose {}}=\mathcal {L}{\mathopen {}\left (M_1\right )\mathclose {}}\mathcal {L}{\mathopen {}\left (M_2\right )\mathclose {}} holds by inspection.