Bài làm:
Ta có: \(x=2019\Rightarrow2020=x+1\)
Thay vào ta được:
\(f\left(2019\right)=x^{99}-\left(x+1\right)x^{98}+\left(x+1\right)x^{97}-\left(x+1\right)x^{96}+...-\left(x+1\right)x^2+\left(x+1\right)x-1\)
\(f\left(2019\right)=x^{99}-x^{99}-x^{98}+x^{98}+x^{97}-x^{97}-x^{96}+...-x^3-x^2+x^2+x-1\)
\(f\left(2019\right)=x-1\)
Thay \(x=2019\)vào ta được:
\(f\left(2019\right)=2019-1=2018\)
Vậy f(2019) = 2018
\(f\left(x\right)=x^{99}-2020x^{98}+2020x^{97}-2020x^{96}+...-2020x^2+2020x-1\)
\(f\left(2019\right)=2019^{99}-2020.2019^{98}+2020.2019^{97}-...+2020.2019-1\)
Xét \(2020.2019^{98}=2019^{99}+2019^{98};2020.2019^{97}=2019^{98}+2019^{97}\)
\(2020.2019^{96}=2019^{97}+2019^{96};...;2020.2019=2019^2+2019\)
\(\Rightarrow f\left(2019\right)=2019^{99}-2019^{99}-2019^{98}+2019^{97}-2019^{97}-...+2019^2+2019-1\)
\(\Rightarrow f\left(2019\right)=2019-1=2018\). Vậy \(f\left(2019\right)=2018\)