I have found coursed that has prerequisite of math for learning machine learning and also they provide an introduction to these but are unable to cover it entirely.
The in-depth mathematical foundation required for machine learning cannot be learned from a single book, because machine learning utilizes concepts from different fields of mathematics e.g.
Linear Algebra (https://www.amazon.com/Introduction-Linear-Algebra-Gilbert-Strang/dp/0980232775)
Probability Theory and Statistics (https://www.amazon.com/Probability-Statistics-Engineers-Scientists-Anthony/dp/1111827044)
Mathematics of Machine learning by MITopencourseware; This course I would definitely recommend as it increased my in-depth understanding of ML via Maths.