Let ABC be a triangle and $P$ be any point in complex plane. Then show that $$1.BC^2+CA^2+AB^2 \le 3 (PA^2+PB^2+PC^2)$$ $$2.BC^2+CA^2+AB^2 = 3 (PA^2+PB^2+PC^2) \iff \text {P is centroid of} \space\Delta ABC$$
I tried to solve it by assuming point $A(x_1,y_1),B(x_2,y_2),C(x_3,y_3),P (x,y)$ $$2({x_1}^2+{x_2}^2+{x_3}^2)+2({y_1}^2+{ y_2}^2+{y_3}^2)-2({x_1}{x_2}+{x_2}{x_3}+{x_1}{x_3})-2({y_1}{y_2}+{y_2}{y_3}+{y_1}{y_3})=3({x_1}^2+{x_2}^2+{x_3}^2+{y_1}^2+{ y_2}^2+{y_3}^2+3x^2+3y^2-2x({x_1}+{x_2}+{x_3})-2y({y_1}+{y_2}+{y_3}))$$ I am not able to conclude anything from this.
Hint: with the usual notation where $z \in \mathbb{C}$ corresponds to point $Z$ in the complex plane, expand the squares e.g. $AB^2 = |a-b|^2 = (a-b)(\bar a - \bar b)$ then collect and regroup. The inequality reduces to:
$$RHS - LHS = |3 p - (a+b+c)|^2 \ge 0$$
which always holds true, with equality iff $p=\frac{a+b+c}{3}$ $\iff$ $P$ is the centroid of $\triangle ABC$.
Sketch of the proof: let for brevity the sums $\sum$ mean the sums for cyclic permutations of $(a,b,c)$ so that for example $\sum b \bar c = b \bar c + c \bar a + a \bar b$ and $\sum |p|^2 = 3 |p|^2$. Then:
$$ \begin{align} RHS - LHS & = 3 \sum |p-a|^2 - \sum |b-c|^2 \\ & = 3 \sum (p-a)(\bar p - \bar a) - \sum (b-c)(\bar b - \bar c) \\ & = 9 |p|^2 - 3 \sum (p \bar a+ \bar p a) + 3 \sum |a|^2 - 2 \sum |a|^2 + \sum (b \bar c + \bar b c) \\ & = 9 |p|^2 - 3 \sum (p \bar a+ \bar p a) + \sum (b \bar c + \bar b c) + \sum |a|^2 \\ & = (3p - \sum a)(3 \bar p - \sum \bar a) \\ & = \left|3p - \sum a\right|^2 \quad \ge \quad 0 \end{align} $$