Xet x≤2010 thi: -(x-2010)-(x-2011)=2012
=> -x+2010-x+2010-2012=0
=> -2x+2008=0
=> x=1004(TM)
Xet 2010≤x<2011 thi : (x-2010)-(x-2011)=2012
=> x-2010-x+2011-2012=0
=> 0x=2013
=> pt vo nghiem
Xet x>2011 thi: x-2010+x-2011=2012
=> 2x-4021-2012=0
=> 2x-6033=0
=> x=6033/2(TM)