\(\Leftrightarrow\left(\sqrt{x+2022}-\sqrt{y+2022}\right)+\left(x^3-y^3\right)=0\)
=>\(\dfrac{x-y}{\sqrt{x+2022}+\sqrt{y+2022}}+\left(x-y\right)\left(x^2+xy+y^2\right)=0\)
=>x-y=0
=>x=y
P=2x^2-5x^2+x^2+12x+2023
=-2x^2+12x+2023
=-2(x^2-6x-2023/2)
=-2(x^2-6x+9-2041/2)
=-2(x-3)^2+2041<=2041
Dấu = xảy ra khi x=3