1) How to prove that the mean minimizes the quadratic loss function?
2) How to prove that medium minimizes the linear loss option?
Thank you in advance for your help.
Something like this perhaps?