Lời giải:
Ta có: \(x^2+y^2+z^2=xy+yz+xz\)
\(\Leftrightarrow x^2+y^2+z^2-xy-yz-xz=0\)
\(\Leftrightarrow \frac{(x-y)^2+(y-z)^2+(z-x)^2}{2}=0\)
\(\Leftrightarrow (x-y)^2+(y-z)^2+(z-x)^2=0\)
Vì \((x-y)^2; (y-z)^2;(z-x)^2\geq 0\), do đó để tổng của chúng bằng $0$ thì:
\((x-y)^2=(y-z)^2=(z-x)^2=0\Rightarrow x=y=z\)
\(\Rightarrow 3x^{2017}=3y^{2017}=3z^{2017}=x^{2017}+y^{2017}+z^{2017}=9\)
\(\Rightarrow x=y=z=\sqrt[2017]{3}\)
\(\Rightarrow \left(\frac{2017x+2018y-4023z}{3}\right)^{2017}=\left(\frac{12x}{3}\right)^{2017}=(4x)^{2017}=3.4^{2017}\)
Từ \(x^2+y^2+z^2=xy+yz+zx\)
\(\Rightarrow2x^2+2y^2+2z^2=2xy+2yz+2zx\)
\(\Rightarrow2x^2+2y^2+2z^2-2xy-2yz-2zx=0\)
\(\Rightarrow\left(x^2-2xy-y^2\right)+\left(y^2-2yz+z^2\right)+\left(z^2-2zx+x^2\right)=0\)
\(\Rightarrow\left(x-y\right)^2+\left(y-z\right)^2+\left(z-x\right)^2=0\)
Mà \(\left(x-y\right)^2;\left(y-z\right)^2;\left(z-x\right)^2\ge0\)
\(\Rightarrow\left\{{}\begin{matrix}\left(x-y\right)^2=0\\\left(y-z\right)^2=0\\\left(z-x\right)^2=0\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x-y=0\\y-z=0\\z-x=0\end{matrix}\right.\Leftrightarrow x=y=z\)
Với \(x^{2017}+y^{2017}+z^{2017}=9\)
\(\Leftrightarrow3x^{2017}=9\Leftrightarrow x^{2017}=3\Leftrightarrow x=\sqrt[2017]{3}=y=z\)
\(\Rightarrow\left(\dfrac{2017x+2018y-4023z}{3}\right)^{2017}=\left(\dfrac{2017x+2018x-4032x}{3}\right)^{2017}=\left(\dfrac{9x}{3}\right)^{2017}=\left(3x\right)^{2017}=\left(3\sqrt[2017]{3}\right)^{2017}=3^{2017}\cdot3=3^{2018}\)