Linear relations amongk sets of variables