Quadratic functions and their properties