![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=1739615992-qeLnK0soklC89nLdJYp8VWn71YZjgRel-0-7b4a6c3143200be0708eaf384bda9ed9)
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=1739615992-2AcCJuKyrCpDeYdWIVqM1PhMiGq9xT02-0-81a4fbe29f54ab8bc1b742853352f6db)
We can rewrite this as an integral, in the following form:
![](https://epubservercos.yuewen.com/FF11E0/19470372701459106/epubprivate/OEBPS/Images/Chapter_308.jpg?sign=1739615992-3iAdUrwH3nnqcnvNATaSjOpcROhouR5e-0-6b2a9d83b1c86e0733fb9798425b4fa3)
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=1739615992-R7vF1s2XG1w3VnZZ1SWQvWapl2KTYaC2-0-b57cb9ac02466e06808e16b5e711eb2f)