Source: https://mathsfg.net.free.fr/terminale/TS2011/integration/integration.pdf