What is the difference between the derivative of a function and the slope of a ranger line?

1. What is the difference between the derivative of a function and the slope of a ranger line?2. When do we “have” to use “logarithmic differentiation”?3. A typical differentiation in problems known as “related rates” is with respect to which variable?