Derivatives: Rates of Change
The derivative is the mathematical tool for measuring change. If limits are about “approaching,” derivatives are about “moving.”
1. The Instantaneous Rate of Change
We define the derivative as the limit of the average rate of change as the interval goes to zero:
Instead of jumping to rules, let’s calculate the slope of at by making smaller and smaller. This is exactly what your computer does when it performs Numerical Differentiation.
2. Linear Approximation
Around a point , we can approximate a complex function with a simple line defined by the derivative:
This is why derivatives are so powerful: they turn complex, curvy problems into simple, linear ones.
3. The Rules of Calculus
To avoid numerical limits, we use rules. The Chain Rule is particularly vital for modern AI, as it powers backpropagation.
What is the derivative of f(x) = sin(x^2)?
4. Optimization: Finding Extremes
If a smooth function reaches a peak or valley, its slope must be zero. These are Critical Points.