Ta có:
\(\dfrac{x}{2014}+\dfrac{x+1}{2015}+\dfrac{x+2}{2016}+\dfrac{x+3}{2017}+\dfrac{x+4}{2018}=5\)
\(\Leftrightarrow\left(\dfrac{x}{2014}-1\right)+\left(\dfrac{x+1}{2015}-1\right)+\left(\dfrac{x+2}{2016}-1\right)+\left(\dfrac{x+3}{2017}-1\right)+\left(\dfrac{x+4}{2018}-1\right)=0\)\(\Leftrightarrow\dfrac{x-2014}{2014}+\dfrac{x-2014}{2015}+\dfrac{x-2014}{2016}+\dfrac{x-2014}{2017}+\dfrac{x-2014}{2018}=0\)\(\Leftrightarrow\left(x-2014\right)\left(\dfrac{1}{2014}+\dfrac{1}{2015}+\dfrac{1}{2016}+\dfrac{1}{2017}+\dfrac{1}{2018}\right)=0\) (1)
Mà \(\dfrac{1}{2014}+\dfrac{1}{2015}+\dfrac{1}{2016}+\dfrac{1}{2017}+\dfrac{1}{2018}>0\) (2)
Từ (1) và (2) => \(x-2014=0\) \(\Leftrightarrow x=2014\)