Representing information / 3 of 7
Calculus: measuring change
What you’ll learn
- Explain the main idea of “Calculus: measuring change” in your own words.
- Trace a concrete example and identify the assumptions behind it.
- Apply the principle in a practice problem and recognize a common failure.
The idea, intuitively
Calculus describes how quantities change and accumulate. For AI, the derivative tells us how a small change in a parameter affects a loss. It is a local description, so a large step may behave differently from the predicted small-step change.
Use small numbers first and work one operation at a time. Track the shape and units of every quantity before doing algebra. The equations here describe idealized objects; implementing them on a computer introduces finite precision and resource constraints. You can understand the mechanism before learning every proof.
Under the hood
The derivative is the limit of a difference quotient as the input change approaches zero. Integration accumulates quantities over an interval. Optimization mainly uses derivatives to choose directions that reduce an objective.
A derivative is a local slope, not a guarantee about distant points.
A worked example
For f(x)=x², the slope at x=3 is 6. Moving by 0.01 changes the value by approximately 0.06.
How to use this way of thinking
Check a symbolic result with a numeric example, then consider an edge case such as zero, a very large value, or an incompatible shape. Explain what each symbol means rather than memorizing the equation. If a result surprises you, inspect the assumptions and the units first.
Try it yourself
Differentiate f(x)=3x² and evaluate at x=2.
Key takeaways
- Local rate of change
- A derivative is a local slope, not a guarantee about distant points.
- Check the assumptions with a small example before applying this idea to a larger system.
Check your understanding
Use feedback to learn. Quiz scores and lesson completion are tracked separately.
Go to lesson completionFurther reading
Original papers and reference material for this school. External resources may be in English and require internet access.
Mathematics for Machine Learning (open textbook) (opens a new tab)Finish this lesson
Mark this lesson complete when you’re ready to continue.