Ta có: \(\left|x+\frac{1}{2021}\right|\ge0\) ; \(\left|x+\frac{2}{2021}\right|\ge0\) ; ... ; \(\left|x+\frac{2020}{2021}\right|\ge0\) \(\left(\forall x\right)\)
\(\Rightarrow\left|x+\frac{1}{2021}\right|+\left|x+\frac{2}{2021}\right|+...+\left|x+\frac{2020}{2021}\right|\ge0\left(\forall x\right)\)
\(\Rightarrow2021x\ge0\Rightarrow x\ge0\)
Từ đó ta được: \(x+\frac{1}{2021}+x+\frac{2}{2021}+...+x+\frac{2020}{2021}=2021x\)
\(\Leftrightarrow2020x+\frac{1+2+...+2020}{2021}=2021x\)
\(\Leftrightarrow x=\frac{\left(2020+1\right)\left[\left(2020-1\right)\div1+1\right]}{2021}\)
\(\Leftrightarrow x=\frac{2021\cdot2020}{2021}=2020\)
Vậy x = 2020
\(\left|\frac{x+1}{2021}\right|+\left|\frac{x+2}{2021}\right|+...+\left|\frac{x+2020}{2021}\right|=2021x\)
Ta có:\(\left|\frac{x+1}{2021}\right|\ge0;\left|\frac{x+2}{2021}\right|\ge0;....;\left|\frac{x+2020}{2021}\right|\ge0\forall x\)
\(\Rightarrow\left|\frac{x+1}{2021}\right|+\left|\frac{x+2}{2021}\right|+...+\left|\frac{x+2020}{2021}\right|\ge0\forall x\)
\(\Rightarrow2021x\ge0\Rightarrow x\ge0\)
\(\Rightarrow\frac{x+1}{2021}+\frac{x+2}{2021}+...+\frac{x+2020}{2021}=2021x\)
\(\Rightarrow x+\frac{1}{2021}+x+\frac{2}{2021}+...+x+\frac{2020}{2021}=2021x\)
\(\Rightarrow2020x+\frac{1+2+...+2020}{2021}=2021x\)
\(\Rightarrow x=2020\)