\(\left(x+2y\right)^2\ge0;\left(y-1\right)^2\ge0;\left(x-z\right)^2\ge0\)
\(\Rightarrow\left(x+2y\right)^2+\left(y-1\right)^2+\left(x-z\right)^2\ge0\)
theo đề:\(\left(x+2y\right)^2+\left(y-1\right)^2+\left(x-z\right)^2=0\)
\(\Rightarrow\left(x+2y\right)^2=\left(y-1\right)^2=\left(x-z\right)^2=0\)
+)y-1=0=>y=1
ta có:x+2y=0=>x+2=0=>x=-2
Mà x-z=0=>x=z=>z=-3
Vậy x+2y+3z=(-2)+2+3.(-3)=3.(-3)=-27