a) \(\left(a-2009\right)^2+\left(b+2010\right)^2=0\)
vì \(\left(a-2009\right)^2\ge0\) \(\left(b+2010\right)^2\ge0\)
suy ra \(a-2009=0\Rightarrow a=2009\)
\(b+2010=0\Rightarrow b=-2010\)
b) \(\left|a-2010\right|=2009\)
* Nếu \(a-2010\ge0\Rightarrow a>2010\)
\(a-2010=2009\)
\(a=4019\)(TMĐK)
* Nếu \(a-2010< 0\Rightarrow a< 2010\)
\(-\left(a-2010\right)=2009\)
\(a=1\)(TMĐK)
Vậy \(a=4019\) hoặc \(a=1\)