Source: https://mathopo.ca/documents/derive-Gateau.pdf