A brief summary of the self-consistent field method leading to a four-
index matrix dielectric function (DF), as the one of the random phase
approximation (RPA), for a quasi-two-dimensional electron gas is revie
wed. Calculation of matrix elements of screened interactions through t
hose corresponding to bare interaction requires the inversion of this
matrix. A method to invert such a four-index matrix is explained. Gene
ral expressions for the form factor (FF) concerning electron-electron
interaction in single heterostructures (SH) and quantum wells (QW) are
derived when different dielectric constants at each side of an interf
ace are considered. These problems are tightly connected with numerica
l calculations for multisubband transport in such a systems. (C) 1997
Acta Metallurgica Inc.