Problem Solving Using the Discriminant