method of eliminating arbitrary constants