Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I have been having problems finding the way to minimize the sum of absolute values. Specificaly im looking for the value of X that will minimize the sum|Xi-V|<-- i=1,....n . I know that V should be equal to the mean value of X. But I do not know the correct aproach to finding this minimum.

Can I square the Xi-V and differentiate? or is there another approach?

Thanks....

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Least absolute minimization

**Physics Forums | Science Articles, Homework Help, Discussion**