Abstract: We give new bounds for ∑a,m,nαmβnνae(am‾n) where αm, βn and νa are arbitrary coefficients, improving upon a result of Duke, Friedlander and Iwaniec [7]. We also apply these bounds to problems on representations by determinant equations and on the equidistribution of solutions to linear equations.