![Hands-On Mathematics for Deep Learning](https://wfqqreader-1252317822.image.myqcloud.com/cover/81/36698081/b_36698081.jpg)
上QQ阅读APP看书,第一时间看更新
Chain rule
The chain rule applies to functions that take in another function as input. Let's consider , which is often written as
and read as f of g of x. This means that the output of g(x) will become the input to the function f.
The derivative of this will be written as follows:
![](https://epubservercos.yuewen.com/FF11E0/19470372701459106/epubprivate/OEBPS/Images/Chapter_1578.jpg?sign=1738816463-abP3MruFGDG6OVEJr2enfAVyuDRemqyV-0-97ab0e82d8a28ebf785b2fc104a9fb37)
This is the same as .
For example, suppose we have and
. We then differentiate the two functions and get
and
.
By plugging this into the preceding formula, we get .