![Hands-On Mathematics for Deep Learning](https://wfqqreader-1252317822.image.myqcloud.com/cover/81/36698081/b_36698081.jpg)
上QQ阅读APP看书,第一时间看更新
Areas between curves
We know that integration gives us the ability to find the area underneath a curve between two points. But now, suppose we want to find the area that lies between two graphs, as in the following screenshot:
![](https://epubservercos.yuewen.com/FF11E0/19470372701459106/epubprivate/OEBPS/Images/Chapter_974.jpg?sign=1739695119-eF4NzVFfNRLBilk8X3rr2pU1PpbHOiBw-0-eef1f6ba5b91321961c36f15ccdbecfd)
Our region S, as we can see, lies between the curves f(x) and g(x) in between the two vertical lines x = a and x = b. Therefore, we can take an approximation of the area between the curves to be the following:
![](https://epubservercos.yuewen.com/FF11E0/19470372701459106/epubprivate/OEBPS/Images/Chapter_1874.jpg?sign=1739695119-YlQJZdwoDQOKgLjZ5RA5acK2ZQApZnLe-0-0ee72abfa8ce645a53282dc95ae0cff7)
We can rewrite this as an integral, in the following form:
![](https://epubservercos.yuewen.com/FF11E0/19470372701459106/epubprivate/OEBPS/Images/Chapter_308.jpg?sign=1739695119-ImW6InvIoj9QiolXt5duQe9y8pEcadvU-0-ed365fff0d2bd85174d9d2e2ad743562)
To visualize this better and create an intuition of what is happening, we have the following image:
![](https://epubservercos.yuewen.com/FF11E0/19470372701459106/epubprivate/OEBPS/Images/Chapter_1647.jpg?sign=1739695119-nlDKl0xzIGTcSAgIKm7406LrrdbD8HEW-0-e7878f441ed5d852bca941c16f504eb1)