![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=1738968138-QBBAQLSLqvxLT60aituTbRk2HeK8GBhL-0-90242613b2c9e83449b2029247b6425a)
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=1738968138-9byMSTgY96Nrk1TpFqAGzMGIzfE8jOP5-0-50f634b403e50c7b57b6ab5bb571e8ff)
We can rewrite this as an integral, in the following form:
![](https://epubservercos.yuewen.com/FF11E0/19470372701459106/epubprivate/OEBPS/Images/Chapter_308.jpg?sign=1738968138-0Itq6uci5mdr5aSTpiyyPEyItkZpGNhM-0-707072b63baf7cc1dc5c0c6df9db13a3)
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=1738968138-jkXnGDq4yVW1Mf8ZMfar8K1YpXmzb2Zw-0-a3bcb6ad117f04d38e1827ae82c76505)