Let the straight line be ax+by+c=0 such that p1+p2+p3+____+pn=0
∴P1=ax1+by1+c√(a2+b2),p2ax2+by+c√(a2+b2)
∴p1+p2+p3+____ pn=0
⟹1√a2+b2[aΣxi+bΣyi+cc]=0
or aΣxin+Σyin+c=0
Above shows that given line passes through the point (Σxin,Σyin), i.e. centroid of the given points.