A function is concave up if , and concave down if .