Đáp án+Giải thích các bước giải:
`A=x^2-4x+2021`
`a)` Để `A=2017`
`=>x^2-4x+2021=2017`
`=>x^2-4x+2021-2017=0`
`=>x^2-4x+4=0`
`=>x^2-2.x.2+2^2=0`
`=>(x-2)^2=0`
`=>x-2=0`
`=>x=2`
Vậy `x=2` để `A=2017`
`b)` Để `A=2021`
`=>x^2-4x+2021=2021`
`=>x^2-4x+2021-2021=0`
`=>x^2-4x=0`
`=>x(x-4)=0`
`=>x=0` hoặc `x-4=0`
`=>x=0` hoặc `x=4`
Vậy `x\in \{0;4\}` để `A=2021`
`c)` Để `A=2050`
`=>x^2-4x+2021=2050`
`=>x^2-4x+2021-2050=0`
`=>x^2-4x-29=0`
`=>x^2-4x+4-33=0`
`=>(x-2)^2-(\sqrt{33})^2=0`
`=>(x-2-\sqrt{33})(x-2+\sqrt{33})=0`
`TH1:x-2-\sqrt{33}=0`
`<=>x-2=\sqrt{33}`
`<=>x=\sqrt{33}+2`
`TH2:x-2+\sqrt{33}=0`
`<=>x-2=-\sqrt{33}`
`<=>x=-\sqrt{33}+2`
Vậy `x\in \{\sqrt{33}+2;2-\sqrt{33}\}` để `A=2050`
`d)` Ta có:`A=x^2-4x+2021`
`=x^2-4x+4+2017`
`=(x-2)^2+2017`
Vì:`(x-2)^2>=0` với mọi `x`
`=>(x-2)^2+2017>=2017`
`=>A>=2017`
Dấu "=" xảy ra khi và chỉ khi:
`(x-2)^2=0`
`<=>x-2=0`
`<=>x=2`
Vậy $MinA=2017$ khi `x=2`