Bài 2:
a: \(387+\left(-224\right)+\left(-87\right)\)
\(=\left(387-87\right)+\left(-224\right)\)
=300-224
=76
b: \(39+\left(13-26\right)-\left(62+39\right)\)
\(=39+13-26-62-39\)
\(=\left(39-39\right)+\left(13-26-62\right)\)
=0-75
=-75
c: \(32-34+36-38+40-42\)
\(=\left(32-34\right)+\left(36-38\right)+\left(40-42\right)\)
\(=\left(-2\right)+\left(-2\right)+\left(-2\right)\)
=-6
d: \(92-\left(55-8\right)+\left(-45\right)\)
\(=92-55+8-45\)
\(=\left(92+8\right)-\left(55+45\right)\)
=100-100
=0
e: -20<=x<=20
mà x nguyên
nên \(x\in\left\{-20;-19;-18;...;18;19;20\right\}\)
=>M={-20;-19;-18;-17;...;18;19;20}
Tổng các phần tử của M là:
\(\left(-20\right)+\left(-19\right)+\left(-18\right)+\left(-17\right)+...+18+19+20\)
\(=\left(-20+20\right)+\left(-19+19\right)+...+\left(-2+2\right)+\left(-1+1\right)+0\)
=0+0+...+0
=0