Intermediate Topic 31 of 51 Math for Computing
Derivatives
Rate of change of a function.
How it works
The derivative of a function measures its instantaneous rate of change, defined as the limit of the difference quotient, and geometrically gives the slope of the tangent line. Rules include the power, product, quotient and chain rules, with known derivatives for exponentials, logarithms and trigonometric functions. The sign of the derivative shows where a function increases or decreases, zeros of the derivative find candidate maxima and minima and the second derivative gives concavity.
Where it is used
Optimization of cost functions, gradient descent in machine learning, physics of motion, sensitivity analysis, backpropagation through automatic differentiation and numerical solution of differential equations use derivatives.
Common pitfall
Applying the chain rule incorrectly, forgetting inner derivatives, is the usual slip. Derivatives do not exist at corners or discontinuities. Numerical differentiation by finite differences suffers from rounding and truncation errors, so choose step sizes carefully or use automatic differentiation. A zero derivative does not guarantee an extremum.
Where it fits in the course
Derivatives is topic 31 of 51 in Math for Computing, rated Intermediate. It follows Orthogonality and Projections. The next topic is Partial Derivatives and Gradients.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Math for Computing quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Math for Computing quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Derivatives?
Where do people use Derivatives?
What is the most common mistake with Derivatives?
What should I learn before this topic?
How can I practice it?
Is Derivatives hard to learn?
How long does it take to learn Derivatives?
Which topics are related to Derivatives?
What should I study after Derivatives?
Related topics
- Orthogonality and Projections (Math for Computing)
- Partial Derivatives and Gradients (Math for Computing)
- Singular Value Decomposition (Math for Computing)
- Integrals (Math for Computing)