Source: https://documents.epfl.ch/groups/l/la/lastro-unit/www/PhysGenI/cours/physmathf04large.pdf