f''(x) = 24x^2(x^2-1) + 6(x^2-1)^2

when is the graph of f concave upward?

It is concave upward when f''(x) is positive