Set . Then , and subtraction of a constant leaves every edge difference unchanged:
The linear map
has determinant : its inverse is , because . The change of variables formula therefore shows that the new density is proportional to
on functions vanishing at . This is precisely the discrete Gaussian free field with Dirichlet boundary condition at .