Consider the function y(x)=x4x3+2. It holds that

  1. y(x)=4x33x2;
  2. y(x)=12x26x.

Solving y(x)=0 gives
12x26x=012x(x12)=0x=0 or x=12.
We distinguish the following cases:

  1. y(x)0 for every x0;
  2. y(x)=0 for x=0;
  3. y(x)0 for every 0x12;
  4. y(x)=0 for x=12;
  5. y(x)0 for every x12.

Conclusion: y(x) is concave on the interval [0,12], y(x) is convex on the intervals (,0] and [12,), and x=0 and x=12 are inflection points.