Ta có |x+1| \(\ge0\forall x\inℤ\)
=> 5-|x+1|\(\ge5-0\)=5 hay M \(\ge5\)
Dấu "=" xảy ra khi |x+1|=0
<=> x+1=0
<=> x=-1
\(|x+1|\)\(\ge0\)với \(\forall x\)
\(\Rightarrow5-|x+1|\)\(\le5\)với \(\forall x\)
\(\Rightarrow M\le5\)
\(\Rightarrow Max\)\(M=5\)
Dấu "=" xảy ra khi \(|x+1|=0\) \(\Rightarrow x+1=0\Rightarrow x=-1\)
Vậy \(Max\)\(M=5\)khi x = -1
Hok tốt !