In linear algebra, a constrained generalized inverse is obtained by solving a system of linear equations with an additional constraint that the solution is in a given subspace. One also says that the problem is described by a system of constrained linear equations.
In many practical problems, the solution 
  
    
      
        
is acceptable only when it is in a certain linear subspace 
  
    
      
        
In the following, the orthogonal projection on 
  
    
      
        
has a solution if and only if the unconstrained system of equations
is solvable. If the subspace 
  
    
      
        
An example of a pseudoinverse that can be used for the solution of a constrained problem is the Bott–Duffin inverse of 
  
    
      
        
if the inverse on the right-hand-side exists.
