how does a quadratic function differ from a linear function