Calculus Basics
The sequence is organized around one idea: describe change locally, then accumulate it globally.
- Limits establish local behavior and continuity.
- Derivatives measure instantaneous change.
- Integrals accumulate quantities and connect back to derivatives.
- Gradients and Gradient Descent extend change to several variables.
- Optimization turns derivatives into decisions.
- Optimization in Neural Networks applies the machinery to learning systems.
Before starting
Be comfortable rearranging equations, reading function domains and graphs, and using powers, logarithms, and trigonometric functions (with angles in radians). Single-variable calculus is the starting point; vectors and linear algebra become useful when moving to gradients and many parameters.
One calculation connecting the topics
Let position be metres, with measured in seconds. The difference quotient is
Taking gives velocity metres per second. Over the interval from 1 to 3 seconds, integrating this velocity gives displacement metres. This is signed displacement, not necessarily total distance; distance would integrate if direction changed.
The fundamental theorem connects these operations: if is continuous on , then has derivative in the interior, and any antiderivative gives . Continuity is a sufficient condition here, not a claim that every function is differentiable or integrable.
For optimization, a zero derivative is only a candidate: has but no extremum there. On a closed interval, also check endpoints and points where a derivative fails to exist.