How do you determine the concavity of a quadratic function?

For a quadratic function ##f(x)=ax^2+bx+c##, if ##a>0##, then ##f## is concave upward everywhere, if ##a<0##, then ##f## is concave downward everywhere.