Expand f(a^2+b)-f(a+b^2) where f(x) = 0.5 x(x-1)