Ta có: \(\frac{2011\times2012-2}{2010\times2011+4020}=\frac{2011\times\left(2010+2\right)-2}{2010\times2011+4020}=\frac{2011\times2010+4022-2}{2010\times2011+4020}=\frac{2011\times2010+4020}{2010\times2011+4020}=1\)
Vậy \(\frac{2011\times2012-2}{2010\times2011+4020}=1\)
\(P=\frac{2011.2012-2}{2010.2011+4020}=\frac{2010.2011+2.2011-2}{2010.2011+4020}=\frac{2010.2011+4042-2}{2010.2011+4020}=\frac{2010.2011+4040}{2010.2011+4040}=1\)
Vậy P = 1