How to recognize a quadratic function in an equation?