There is a lot of math behind linear regression that involves machine learning
Advanced math such as linear algebra and multivariable calculus is used for this