In formal language theory, and in particular the theory of nondeterministic finite automata, it is known that the union of two regular languages is a regular language. This article provides a proof of that statement.
Theorem
For any regular languages 
  
    
      
        
Proof
Since 
  
    
      
        
Let
Construct
where
In the following, we shall use 
  
    
      
        
Let 
  
    
      
        
Let 
  
    
      
        
Since 
  
    
      
        
Since 
  
    
      
        
We can therefore substitute 
  
    
      
        
  
    
      
        
Furthermore,
and
The above path can be rewritten as
Therefore, 
  
    
      
        
Note: The idea drawn from this mathematical proof for constructing a machine to recognize 
  
    
      
        
