Just as the angles of the sun, moon and Earth affect tidal heights over the course of a lunar month, so do their distances to one another. Because the moon follows an elliptical path around the Earth, the distance between them varies by about 31,000 miles over the course of a month.
A direct proportionality means a linear relationship between two variables and rate of change means an application of derivatives. Hence, the mathematical model is: