Source: https://mathematoques.weebly.com/uploads/1/2/0/3/12036729/ch11_produit_scalaire_cours_lhg_1ere_s_2011-12.pdf