Minimizing

Minimizing C2 leads to . This gives which is the weighted mean.