The chain rule states that the derivative of a composite function is the derivative of the outer function times the derivative of the inner function. In this case, our outer function is $f(u)=u^2$ and our inner function is $g(x)=\tanh x$. So we
Show more…