![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=1739282399-F44fOgr3zShSLCXhVcNq4Ns8AhosCovD-0-f8cc81b1ac5d151a34273bbe1bf4fd09)
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=1739282399-tUIwbYtGSOoMMsrsvP1RdoNXLhUDcw8w-0-a70e3c05586fd8243dc6d00af0b42ccf)
We can rewrite this as an integral, in the following form:
![](https://epubservercos.yuewen.com/FF11E0/19470372701459106/epubprivate/OEBPS/Images/Chapter_308.jpg?sign=1739282399-DTZCvFX88XXoS7DtZZuxhnzSGnJKHnWE-0-3917792a75aa8e0aa190cd27436cdbf0)
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=1739282399-138KhJkFHGxJiuBaiPKa3OlB3VhdQBGL-0-cc7b9a02e42a74ded88c60785db77df8)