Let 

 be a rectangular 

 matrix with column vectors 

, i.e.

Then we have

and the product of the two is

Because the columns of 

 are orthonormal, we have

which means 

 reduces to an 

 matrix with ones along the diagonal and zero everywhere else, i.e.

where 

 denotes the identity matrix. This means the solution to 

 is given by
