a) Ta có: -6 < x < 5
=> x = { -5;-4;-3;-2;-1;...;4}
=> S = (-5)+(-4)+(-3)+....+1+2+3+4
=> S = [(-4)+4)] + [(-3)+3]+....+0+(-5)
=> S = 0 + 0 + 0+...+0+(-5)
=> S = -5
b) Ta có: -9 < x < 9
=> x = { -8;-7;-6......7;8;9}
=> S = (-8)+(-7)+....+8+9
=> S = [(-8)+8] + [(-7)+7] +....+0
=> S = 0+0+...+0
=> S = 0