Math 40 8.2B Discriminant and applications