If a derivative is for "slicing" a function to find its instantaneous speed, an integral is for "summing" all those tiny slices back together to find a total amount.
Lesson 1.5: Calculus Review - Integrals (The "Sum")
Welcome! In our last lesson, we learned about derivatives (df/dt), which are the 'speed' of our function. Now, we'll learn about their 'opposite': integrals.
The "Why": The Summing Problem
In finance, we constantly need to find a "total" from a rate that changes over time.
- If you have a changing interest rate, what is your total interest earned over one year?
- If you have a changing risk exposure, what is your total risk cost over one month?
You can't just do Rate × Time because the rate itself is changing. You need to...
- ...slice time into a million tiny moments.
- ...find the tiny amount of interest/cost in each tiny moment.
- ...sum all those million tiny pieces together.
This "summing" process is called integration.
The Core Concept: The "Riemann Sum"
The easiest way to understand an integral is to visualize it as "finding the area under a curve." Let's say we have a function and we want to find the total area under it from point to point . It's a hard problem because the top is curvy. We can't just multiply width × height.
The Solution (The "Sum"):
We can approximate this area by "slicing" it into a bunch of simple, skinny rectangles.
- Slice: We cut the width (from to ) into tiny steps, each with a width of .
- Calculate: For each slice, we draw a rectangle. Its width is and its height is the function's value, . The area of one tiny rectangle is .
- Sum: We find the total area by summing up all the tiny rectangles. This is called a Riemann Sum.
(The symbol is the Greek letter "Sigma," which just means "sum.")
The "Calculus" Leap: Making the Sum Perfect
Our approximation (the sum of rectangles) has small errors, because of the "blocky" tops. How do we make the approximation perfect? We make the rectangles infinitely skinny. We let the number of slices go to infinity, which means our step size becomes "infinitesimally small."
When we do this, our notation changes:
- The "tiny step" becomes the infinitesimal .
- The "Sum" symbol (Sigma) gets stretched into the Integral symbol .
This gives us the Definite Integral:
This formula literally means: "the perfect sum () of all the tiny rectangle heights () times their infinitely skinny widths (), from to ."
This "normal" integral is the master tool for summing up predictable changes. But in stochastic calculus, we will need to answer a much harder question:
"How do we sum up random changes?"
This will lead us to our Itô Integral (in Module 2), which looks like this:
This formula means "the sum of a function () times a tiny random step ()." Before we can build this "random" integral, we must first define our random path . That is the goal of our next lesson.
Up Next: Taylor Expansion (Single Variable)