In the last equation, we have anticipated writing the distance remaining along the curve as a function of height ( ℓ ℓ ( y ) ) , recognized that the distance remaining must decrease as time increases (thus the minus sign), and used the chain rule in the form d ℓ ℓ = d ℓ ℓ d y d y .