Classify the quadratic form using Sylvester criterion and identify the curve