https://d2l.ai/chapter_appendix-mathematics-for-deep-learning/integral-calculus.html

I’m trying to solve exercise 4 and could use some help with 2 things: 1) the best way to reparametrize and 2) how to determine the limits of integration. Here’s what I have so far (see the bottom of the notebook for solutions). Also, in case it is useful to anyone else, I’ve compiled solutions to the exercises for the all the math review chapters in the github repo linked above.

Any help will be greatly appreciated!