Fin Maverick
Foundations VocabularyAccounting & ReportingEconomics & MacroQuant Methods & ProgrammingBusiness & Company AnalysisCorporate Finance & ValuationBehavioural Finance
Banking & Market InfrastructureFixed Income & RatesDerivatives & Structured ProductsPublic EquitiesTransactions & DealsPortfolio ConstructionFunds & AMCs
Private Markets & AlternativesRisk, Treasury & ControlAI & Digital FinanceStochastic Calculus & PricingWealth & Personal FinanceIndian Markets & RegulationProfessional Practice
CalculatorComparison
Frameworks
Explore Bootcamps
Equity ResearchPortfolio ManagementMutual Fund MasteryFinancial LiteracyInvestment Banking Analyst
Private Equity AnalystHedge Funds AnalystBreaking Into VCBreaking Into QuantsAI For Finance
Financial Analyst ProgramRisk Management ProgramPrivate Wealth ManagementDebt Capital MarketsDerivatives Foundation
Explore Internships
Equity Research InternMutual Fund Intern
Portfolio Management InternFinancial Literacy Intern
Explore Micro Courses

Equity Research6

Writing an Investment ThesisBuilding a Discounted Cash FlowReading an Annual Report FastReading a Sector Before a CompanySpotting Quality of Earnings Red FlagsBuilding a Revenue Forecast From Drivers

Portfolio Management3

Rebalancing: When, Why and What It CostsStrategic and Tactical Asset AllocationMeasuring Risk in a Portfolio

Mutual Fund Mastery3

Comparing Funds Without Being FooledHow a NAV Is Struck and Which Day You GetReading a Fund Factsheet Properly

Derivatives Unlocked4

Hedging a Real ExposureThe Greeks, PracticallyFutures, the Basis and What Moves ItReading an Option Payoff

AI For Finance2

Retrieval and Grounding for FinanceDocument Extraction in Finance

Breaking Into Quants4

Backtesting a StrategyHypothesis TestingCleaning Financial DataRegression for Finance

Breaking Into VC3

Sizing a MarketReading a Term Sheet as a FounderHow a Venture Round Actually Works

Financial Analyst Program4

Common Size and Trend AnalysisReading a Cash Flow StatementRatio Analysis That Says SomethingBuilding a Working Capital Schedule

Risk Management Program2

Credit Exposure and How It Is ReducedValue at Risk and What It Hides

Investment Banking Analyst3

Precedent Transactions and Why They DifferReading a Term Sheet StructurallyBuilding a Comparable Companies Table

Private Wealth Management3

Tax Aware Portfolio DecisionsBuilding a Client Risk ProfileGoal Based Planning Arithmetic

Debt Capital Markets3

Analysing an Issuer's CreditDuration and What It Does Not Tell YouBond Pricing and Yield Mechanics

Private Equity Analyst2

Fund Waterfalls and CarryThe LBO in Structure

Hedge Funds Analyst2

Short Selling MechanicsLong Short Mechanics
Courses
Explore Career Roadmaps
Investment Banking AnalystEquity Research AnalystVC AnalystPrivate Equity AnalystHedge Funds Analyst
Quant AnalystAI For FinanceFinancial Analyst ProgramPrivate Wealth ManagementDebt Capital Markets
Risk Management ProgramDerivatives FoundationPortfolio ManagementMutual Fund Mastery
PartnershipsShowdown
Log inSign up
Stochastic Calculus & Derivative Pricing Theory
1Probability Foundations
The Probability SpaceRandom VectorsSigma-AlgebraExpectationSample Space and EventsDensity and Distribution FunctionsRisk-Neutral ProbabilityState Price Density vs…
2Stochastic Processes and Jumps
Properties of a Stochastic ProcessMartingaleBrownian Motion and Its PropertiesBrownian Motion vs Geometric…Stopping TimeThe Markov PropertyState VariablesTransition ProbabilityQuadratic VariationQuadratic Variation vs Ordinary…Submartingale and SupermartingaleMartingale RepresentationMarkov Process vs MartingaleOptional StoppingFiltrationJump ProcessesThe Poisson ProcessLevy ProcessesJump Diffusion
3Ito Calculus
The Ito IntegralThe Ito Integral vs the Riemann IntegralInfinitesimals in Stochastic CalculusQuadratic CovariationIto's LemmaHow to Apply Ito's…The Infinitesimal GeneratorIto Calculus vs Ordinary Calculus
4Stochastic Differential Equations
Stochastic Differential EquationsStochastic Differential Equation vs…Drift and DiffusionStrong and Weak Solutions ComparedDiscretisationGeometric Brownian Motion
5Pricing Theory and No-Arbitrage
No-ArbitrageGirsanov, Radon-Nikodym and Change…Physical and Risk-Neutral Measures…The Fundamental Theorems of…The Law of One PriceThe Pricing KernelDiscount Factors and Zero-Coupon PricesReplication vs HedgingComplete Market vs Incomplete MarketClearing Margin Architecture
6Option Pricing Theory
European and American OptionsMonte Carlo European OptionThe Black-Scholes PDEBlack Scholes and the GreeksThe Payoff FunctionThe Binomial ModelBinomial Option PricingDelta Hedging in TheoryBoundary, Initial and Terminal ConditionsThe Exercise BoundaryHow to Check Put-Call…
7Volatility Models
Constant, Local and Stochastic…Vasicek Model vs CIR ModelThe Heston ModelThe SABR ModelThe Volatility ProcessImplied VolatilityVolatility Smile vs Skew vs Surface
8Interest Rate Models
Interest-Rate DerivativesMean ReversionThe Zero-Coupon BondThe Ornstein-Uhlenbeck ProcessThe Discount CurveZero RatesShort-Rate Model vs Market Model
9Numerical Pricing
Closed Form and Numerical…Monte Carlo PricingEuler and Milstein Schemes ComparedTree MethodsFinite Difference MethodsNumerical Error and StabilityVariance Reduction
10Calibration and Model Risk
Model OverrideMarket Price and Model PriceCalibrationHow to Document a Pricing ModelThe Educational Illustration LabelMarket ConventionsModel Uncertainty and LimitationsBacktesting a Pricing ModelIdentifiabilityCalibrated ParametersThe Calibration Loss Function

How to Apply Ito's Lemma Step by Step, in Seven Steps

Applying Ito's lemma is seven steps in a fixed order: write the process in drift and diffusion form, write the function and its arguments, take three derivatives, expand to second order, apply the multiplication table, collect the survivors into a drift and a diffusion, then run two checks. Each step consumes what the one before produced.

The result is already in hand. Ito's lemma itself, and the account of where its extra term comes from, are set out separately. The procedure is the order things are written in, what each step hands to the next, and the two checks that decide whether the answer is fit to use. Each of the seven steps says what to write. None of them says why the writing works.

A procedure and an explanation are different objects with different failure points, and the difference is worth stating plainly. An explanation fails when a reader does not believe it. A procedure fails when a step is skipped, done out of order, or fed something the step before it never produced. The seven steps here are written so that a person who has read the account once can run the calculation cold, at speed, on a function never seen before, and know at the end whether it came out right.

The everyday version is a tailor with a tape measure. Measure, mark, cut, sew: nobody argues about that order, and nobody needs the theory of textiles to follow it. The order is forced by what each step produces. Cloth cannot be marked to a measurement that was never taken, and it cannot be cut to a mark that is not there. The seven steps have exactly that character. There is no judgement anywhere in them once the process and the function are written down.

What makes the order of the seven steps fixed?

Each step takes the output of the one before it as its only input. Step three cannot begin until step two has named the function. Step four cannot begin until step three has produced three derivatives. Step five has nothing to act on until step four has produced products of the increment symbols, and step six has nothing to gather until step five has said which of those products survived. The order is forced by the material rather than chosen by convention, so skipping a step does not make the procedure shorter, it makes the next step empty.

The forced order is why the procedure is worth having as a written sequence rather than as an argument reconstructed each time. The reconstruction gets done under time pressure, on a function more awkward than the one in the account. Reconstructing an argument is slow, and it is where errors enter. A list that can be run straight down is faster and it is auditable: somebody else can look at the working, find the step it had reached, and see whether that step was fed what it needed.

Each step hands one object forward. The next step has no other input. 1 Write the process in drift and diffusion form the coefficient in dt and the coefficient in dW, written out HANDS TO THE NEXT STEP a drift coefficient and a diffusion coefficient 2 Write the function and name its two slots the level alone, or the level and time together HANDS TO THE NEXT STEP the function, and which of its two slots it actually uses 3 Take the three derivatives, and only three once by time, once by the level, twice by the level HANDS TO THE NEXT STEP three derivative expressions, written in a fixed order 4 Expand to second order, then stop the expansion is carried as far as the squared term HANDS TO THE NEXT STEP three written pieces, one of them carrying a squared increment 5 Apply the multiplication table to every product every product is looked up rather than worked out HANDS TO THE NEXT STEP the products sent to zero and the one replaced by dt 6 Collect the survivors into two brackets all the dt terms in one, all the dW terms in the other HANDS TO THE NEXT STEP one drift coefficient and one diffusion coefficient 7 Run the two checks before using the result zero volatility first, then a straight line function HANDS TO THE NEXT STEP a result fit to hand on, or a named step to go back to
Each of the seven steps hands exactly one object forward and the next step has no other input, so the order is forced by the material rather than chosen by convention.

Here is the whole procedure in one place. Each step below gets a section saying what is written down at it. The running example is the natural logarithm of the invented standard processThe single invented traded quantity this whole reading order runs on, written S with a time subscript, starting at Rs 100/- and watched for one year.. The standard process starts at Rs 100/-, drifts at 8 per cent a year and carries a volatility of 20 per cent a year.

  1. Write the process in drift and diffusion formCopy out the coefficient standing in front of dt and the coefficient standing in front of dW, each on its own line, before anything else is written down.
    Checking: are both coefficients written as expressions in the level, and does neither of them still contain the other symbol?
  2. Write the function and name its two slotsWrite the function with both of its slots shown, time and level, then record which of the two it actually uses.
    Checking: is the time slot present even where it is unused? Step three needs something to differentiate.
  3. Take the three derivatives, and only threeWrite the derivative by time, the first derivative by the level, and the second derivative by the level. In that order, and nothing beyond them.
    Checking: are there exactly three expressions written down, and is the third one a second derivative rather than a repeat of the first?
  4. Expand to second order, then stopWrite the time piece, the first order piece and the squared piece. The squared piece carries the squared increment of the process and must appear in writing.
    Checking: is there a term containing a squared increment anywhere in the working? If not, the expansion stopped one order too early.
  5. Apply the multiplication table to every productMultiply out the squared increment, then look up each product in the table and write down what it becomes. Look up, do not derive.
    Checking: has every product been replaced by either zero or dt, with none left standing in its original form?
  6. Collect the survivors into two bracketsPut everything carrying dt inside the first bracket and everything carrying dW inside the second. Cancel whatever cancels within each bracket.
    Checking: are there exactly two brackets, and does the second one contain no dt at all?
  7. Run the two checks before using the resultSet the volatility to zero and read the drift. Then replace the function with a straight line and read both coefficients.
    Checking: does the first return the ordinary chain rule, and does the second return the process itself scaled by the slope?

What gets written down before touching the lemma at all?

Two things, and both are written before a single derivative is taken. The first is the process in drift and diffusion formWriting a process as a term in dt plus a term in dW.. The second is the function, with a note saying which of its arguments it actually depends on. Neither of these is a calculation, and that is exactly why they get skipped. A procedure with no judgement anywhere in it still manages to go wrong at the very first step.

Step one, what gets written down
$$ dS_t \;=\; \mu\,S_t\,dt \;+\; \sigma\,S_t\,dW_t, \qquad \mu = 0.08, \qquad \sigma = 0.20 $$
\(S_t\)the standard process at time \(t\), invented, starting at Rs 100/-
\(dS_t\)the increment of the process over the next instant
\(\mu\)the drift parameter, here 0.08 a year, read off the specification of the process
\(\sigma\)the volatility parameter, here 0.20 a year, read off the same place
\(dW_t\)the increment of Brownian motion under the physical measure P
\(dt\)the increment of clock time
What it says in wordsEvery later step reaches for the two coefficients by name. Write the process as one coefficient standing in front of the time increment and one standing in front of the Brownian increment, then copy those two out where they can be seen.

For the standard process the drift coefficient is 0.08 times the level and the diffusion coefficient is 0.20 times the level. Write those two down as expressions, not as numbers. Steps four and six will multiply them by derivatives, and a number written where an expression belongs is the reason the level fails to cancel later on a function where it should.

Step two, what gets written down
$$ Y_t \;=\; f\bigl(t,\, S_t\bigr), \qquad f(t,x) \;=\; \ln x $$
\(Y_t\)the new process, being the function evaluated along the old one
\(f\)the function, written with both of its slots shown
\(t\)the first slot, clock time, present here and unused
\(x\)the second slot, standing for the level of the process
What it says in wordsWrite the function with both slots shown, time and level, then state which of the two it actually uses. The answer determines whether the first of the three derivatives is zero or something that has to be worked out.

The logarithm uses the level slot alone. The time slot is written anyway. Leaving it off saves one symbol now and costs a whole term later on any function that does depend on time, and the whole point of a written procedure is that it runs the same way on every function fed to it.

Two panels are filled before a single derivative is taken. PANEL ONE, THE PROCESS drift coefficient 0.08 times the level diffusion coefficient 0.20 times the level starting level Rs 100/- PANEL TWO, THE FUNCTION the function natural logarithm time slot present, unused level slot present, used Nothing else goes on the desk. Steps three to seven read only these two panels.
Only two panels are filled before step three begins, the process in drift and diffusion form and the function with both of its slots named, and every later step reads from these two alone.
Try it out

Before the lemma is touched at all, what two things must already be written down?

Derivatives Foundation Bootcamp — Fin Maverick

Which derivatives are needed, and in what order?

Three, in a fixed order, and never a fourth. The derivative by time, the first derivative by the level, and the second derivative by the level. Naming all three up front, before any of them is used, is what stops the expansion at step four sprawling into terms nobody asked for. Each of the three has a destination: the first two are consumed by step four, and the third is consumed by step four and again by step six.

Step three, what gets written down
$$ \frac{\partial f}{\partial t} \;=\; 0, \qquad \frac{\partial f}{\partial x} \;=\; \frac{1}{x}, \qquad \frac{\partial^{2} f}{\partial x^{2}} \;=\; -\frac{1}{x^{2}} $$
\(\partial f/\partial t\)the derivative by the time slot, zero here because the logarithm does not use it
\(\partial f/\partial x\)the first derivative by the level slot
\(\partial^{2} f/\partial x^{2}\)the second derivative by the level slot
\(x\)the level slot, standing empty until the level of the process is substituted in at step six
What it says in wordsWrite exactly three derivatives, in this order: once by time, once by the level, and twice by the level. Nothing beyond these three is ever written down, whatever the function turns out to be.

A partial derivativeThe rate of change with respect to one variable, holding the others fixed. by time is written even when it is zero. A written zero is different from a zero that was never considered. Coming back to the working a week later, the written zero shows that the time slot was checked. Nothing shows that if the line is missing.

The sheet has three rows. The fourth is never opened. SLOT WHAT IS WRITTEN ON THE LOGARITHM by time the time derivative 0 by the level, once the first derivative 1 over the level by the level, twice the second derivative minus 1 over the level squared by the level, three times never written not required by any step Row one and row two are consumed at step four. Row three is consumed at step four and again at step six.
Three derivatives are written and only three, with the third derivative row struck out because no step of the procedure ever asks for it.
Try it out

How many derivatives does the procedure need?

Risk Management Program Bootcamp — Fin Maverick

How far does the expansion go?

To second order, and then it stops. Write the time piece, the first order piece and the squared piece, and put the pen down. The second order expansionCarrying the expansion as far as the squared term and no further. is the one place in the seven steps where a reader has to override a habit rather than follow one. Every expansion performed before this one was safely stopped one order earlier.

Step four, what gets written down
$$ df \;=\; \frac{\partial f}{\partial t}\,dt \;+\; \frac{\partial f}{\partial x}\,dS_t \;+\; \tfrac{1}{2}\,\frac{\partial^{2} f}{\partial x^{2}}\,\bigl(dS_t\bigr)^{2} $$
\(df\)the increment of the new process, the object the whole procedure produces
\(dS_t\)the increment of the process, taken unexpanded from step one
\(\bigl(dS_t\bigr)^{2}\)the squared increment, the term that must appear in writing
\(\tfrac{1}{2}\)the coefficient the squared piece carries, written before the second derivative
What it says in wordsWrite three terms and stop: the term carrying the time derivative, the term carrying the first derivative against the increment, and the term carrying half the second derivative against the squared increment.

The check at this step is a count. There should be a term containing a squared increment in the working. If there is not, the expansion stopped one order too early and the rest of the procedure will run to completion anyway, producing something that looks exactly like an answer. A silent failure of that kind is the whole reason step four carries a check and steps one and two do not.

Going further than second order is not an error in the same sense, but it is wasted writing. A third order piece carries a cubed increment, and step five sends every cubed increment to zero. The truncationStopping an expansion, which here must happen at second order and not first. point is not a matter of taste. One order lower loses a term that survives. One order higher adds terms that do not.

One stop too early loses a term. One stop too late writes terms that vanish. the squared piece is never written down a term is lost everything that will survive is written down nothing lost or wasted every extra piece is sent to zero at step five writing with no effect FIRST ORDER SECOND ORDER THIRD ORDER too few stop here adds nothing On the logarithm the stop point is worth 0.020000 of drift.
Stopping one order early loses a term that survives and going one order further writes terms that step five sends to zero, so second order is the only stop point that is neither lossy nor wasteful.
Try it out

How far does the expansion go?

How is the multiplication table applied to the expansion?

By looking things up. Multiply out the squared increment into its three products, then read each product off the table and write down what it becomes. The multiplication tableThe rule turning each product of the two increment symbols into what survives. is a lookup with four entries, and step five is only ever reading a cell. The step that looks like the hardest part of the procedure is the one part of it requiring no thought at all.

Step five, the lookup table
$$ (dt)^{2} = 0, \qquad dt\,dW_t = 0, \qquad dW_t\,dt = 0, \qquad (dW_t)^{2} = dt $$
\((dt)^{2}\)the time increment against itself, which is written as zero
\(dt\,dW_t\)the time increment against the Brownian increment, written as zero
\(dW_t\,dt\)the same product in the other order, also written as zero
\((dW_t)^{2}\)the Brownian increment against itself, replaced by the time increment
What it says in wordsThree of the four cells are replaced by zero and the fourth is replaced by the time increment, so every product in the expansion is rewritten by reading a cell rather than by working anything out.

Applied to the squared increment of the standard process, the multiplication runs like this. The squared increment expands into three products, one carrying the squared time increment, one carrying the cross product, and one carrying the squared Brownian increment. The table sends the first two to zero and turns the third into a time increment, leaving one surviving expression.

Step five, what gets written down
$$ \bigl(dS_t\bigr)^{2} \;=\; \mu^{2} S_t^{2}\,(dt)^{2} \;+\; 2\mu\sigma S_t^{2}\,dt\,dW_t \;+\; \sigma^{2} S_t^{2}\,(dW_t)^{2} \;=\; \sigma^{2} S_t^{2}\,dt $$
\(\mu^{2} S_t^{2}\)the coefficient on the squared time increment, sent to zero by the table
\(2\mu\sigma S_t^{2}\)the coefficient on the cross product, sent to zero by the table
\(\sigma^{2} S_t^{2}\)the coefficient on the squared Brownian increment, which survives
\(\sigma^{2} S_t^{2}\,dt\)the one expression step five hands to step six
What it says in wordsSquare the increment of the process, look up each of the three products in the table, and write the single expression that survives, being the squared volatility times the squared level times the time increment.

There is a conversion chart on the wall of every workshop that deals in two systems of units, and nobody derives a conversion from first principles while standing at the bench. The bench worker reads the cell. Step five has the same character, and treating it as anything more elaborate is how a straightforward substitution becomes an argument that has to be got right.

Four cells. Three vanish, one survives. No judgement anywhere in the step. multiplied by dt dW dt 0 vanishes 0 vanishes dW 0 vanishes dt the only survivor On the standard process the surviving cell turns the squared increment into 0.04 times the squared level, times dt. Step five is a lookup. Nothing in it is derived at the desk.
Three of the four cells in the table send their product to zero and one replaces it with the time increment, so the step that looks hardest is the one requiring no judgement.
Try it out

Which step of the seven requires no thought at all?

How are the surviving terms collected into a drift and a diffusion?

By sorting. Everything carrying dt goes into the first bracket, everything carrying dW goes into the second, and whatever cancels inside each bracket is then cancelled. The word for this step is collectGrouping the surviving terms into the coefficient of dt and the coefficient of dW., and it is a sorting operation rather than a calculation: nothing new is created here, and every symbol in the two brackets arrived from an earlier step.

Step six, what gets written down
$$ df \;=\; \underbrace{\Bigl( \frac{\partial f}{\partial t} + \mu S_t \frac{\partial f}{\partial x} + \tfrac{1}{2}\sigma^{2} S_t^{2} \frac{\partial^{2} f}{\partial x^{2}} \Bigr)}_{\text{drift}} dt \;+\; \underbrace{\sigma S_t \frac{\partial f}{\partial x}}_{\text{diffusion}} dW_t $$
first bracketthe drift of the new process, everything that came out carrying the time increment
second bracketthe diffusion of the new process, everything carrying the Brownian increment
\(\mu S_t\)the drift coefficient of the process, copied from step one
\(\sigma^{2} S_t^{2}\)the squared diffusion coefficient, arriving from the surviving cell at step five
What it says in wordsPut every term carrying the time increment inside one bracket and every term carrying the Brownian increment inside another, and the two brackets are the drift and the diffusion of the new process.

Now substitute the three derivatives into the two brackets. The process carries the level in both of its coefficients. On the logarithm the first derivative is one over the level and the second is minus one over the level squared. Every level in the first bracket meets a level in a denominator, and the same happens in the second. The cancellationTerms in the level dividing out, which is what makes the logarithm case clean. is why the logarithm is the case every treatment opens with. What comes out the far side carries no level at all.

Step six, run on the logarithm
$$ d\bigl(\ln S_t\bigr) \;=\; \Bigl( 0 + 0.08\,S_t \cdot \frac{1}{S_t} + \tfrac{1}{2}(0.20)^{2} S_t^{2} \cdot \Bigl(-\frac{1}{S_t^{2}}\Bigr) \Bigr) dt \;+\; 0.20\,S_t \cdot \frac{1}{S_t}\, dW_t $$
\(0.08\)what the first order piece leaves once the level cancels
\(-0.020000\)what the second order piece leaves, being half the squared volatility
\(0.060000\)the drift of the new process, the two above added
\(0.200000\)the diffusion of the new process, the volatility with the level cancelled
What it says in wordsOn the logarithm the level cancels out of both brackets, leaving a drift of 0.060000 and a diffusion of 0.200000, neither of which carries the level of the process anywhere in it.
Every level meets a level in a denominator. Nothing carrying a level survives. WHAT STEP FIVE HANDED OVER 0.08 S times 1 over S, in dt 0.02 S squared times minus 1 over S squared, in dt 0.20 S times 1 over S, in dW every line carries the level twice CANCEL WHAT STEP SIX COLLECTED 0.080000 dt minus 0.020000 dt 0.200000 dW no line carries the level at all DRIFT OF THE NEW PROCESS 0.060000 0.080000 less 0.020000 DIFFUSION OF THE NEW PROCESS 0.200000 the volatility, with the level cancelled
On the logarithm every term carries the level twice, once from the process and once in a denominator from the derivative, so the collected drift of 0.060000 and diffusion of 0.200000 carry no level at all.
Try it out

On the logarithm, why does the level disappear from the answer?

What check confirms the result before it is used?

Two checks, run in order, and each one catches a different class of error. The first sets the volatility to zero. The second replaces the function with a straight line. Both are limiting caseA setting where the answer is already known, used as a check. tests, meaning the answer is already known before they are run, and a failure names which step to go back to rather than merely reporting that something is wrong.

Set the volatility to zero in the collected drift. The second order piece carries a squared volatility, so it must disappear, and what remains must be the ordinary chain rule. On the logarithm that is 0.080000, and anything else means the fault is in the collection at step six: a coefficient was copied wrongly or a term went into the wrong bracket. Check one catches sorting mistakes.

Now put the function back and make it a straight line in the level instead. A straight line has a second derivative of zero, so the second order piece is zero whatever the volatility is, and the procedure has to return the process itself scaled by the slope. If it does not, the fault is upstream in step three: the derivatives were taken against the wrong slot, or the second derivative was written where the first belonged. Check two catches differentiation mistakes.

The habit this mirrors is the one every laboratory has. A scale that reads a known weight wrongly will read an unknown one wrongly too, and the unknown reading alone never shows it. So a known weight goes on the scale before the weight that matters. Both checks here are known weights, and they weigh differently on purpose.

Two known weights. They fail on different mistakes, so both are run. THE COLLECTED RESULT 0.060000 dt plus 0.200000 dW CHECK ONE set the volatility to zero must give 0.080000 which is the ordinary chain rule if it does not: go back to step six CHECK TWO make the function a straight line must give the process back scaled by the slope of the line if it does not: go back to step three catches a sorting mistake catches a differentiation mistake Neither check catches what the other catches, which is why the step has two.
The two checks at step seven fail on different classes of mistake, one on a sorting error at step six and one on a differentiation error at step three, so passing both localises any remaining fault.
Try it out

The volatility is set to zero and the procedure does not return the ordinary chain rule. What does that show?

What does the whole procedure look like run end to end?

Run cold, on the logarithm of the standard process, it fits on a single sheet. Both parameters of the process are stated at the outset rather than measured, and every figure below is a computed consequence of the two.

StepWhat is writtenWhat comes out
1the process in drift and diffusion form0.08 times the level, 0.20 times the level
2the function, both slots shownnatural logarithm, level slot only
3the three derivatives0, one over the level, minus one over the level squared
4the expansion to second ordera time piece, a first order piece, a squared piece
5the table applied to every product0.04 times the level squared, times dt
6the survivors sorted into two brackets0.080000 less 0.020000, and 0.200000
7the two checksdrift 0.060000, diffusion 0.200000
The finished result
$$ d\bigl(\ln S_t\bigr) \;=\; \Bigl(\mu - \tfrac{1}{2}\sigma^{2}\Bigr)dt \;+\; \sigma\,dW_t \;=\; 0.060000\,dt \;+\; 0.200000\,dW_t $$
\(\mu - \tfrac{1}{2}\sigma^{2}\)the drift of the logarithm, being 0.08 less 0.02
\(\sigma\)the diffusion of the logarithm, being 0.20 with the level cancelled
\(0.060000\)the drift figure the seven steps produce, an educational illustration
\(0.200000\)the diffusion figure the seven steps produce, an educational illustration
What it says in wordsThe logarithm of the standard process moves with a drift of 0.060000 a year and a diffusion of 0.200000 a year, both of them constant and neither of them carrying the level of the process.

Now the same seven steps on three other functions. The comparison shows which parts of the working change and which do not. Only step three changes. Steps one, four, five and seven are word for word identical whatever the function is, and step six is the same sorting operation applied to different symbols.

The functionBy timeBy the level, onceBy the level, twiceDriftDiffusion
natural logarithm of the level01 over the levelminus 1 over the level squared0.0600000.200000
the level itself0108.00000020.000000
the square of the level0twice the level22000.0000004000.000000
three times the level plus twenty03024.00000060.000000

The three lower rows are read in units of the function a year, taken at a level of Rs 100/-. The top row is level free and needs no such reading. Only one column in that table depends on the function at all. The procedure is fixed, and the function only ever enters at step three.

Try it out

The function is about to be a straight line in the process. Before the switch: what should the procedure return?

Play with it

Send four different functions through the same seven steps

The process never changes and neither does the frame. Move the control and only the three derivatives change, and everything below them follows from those three. The two bars at the bottom show the drift the procedure produces against the drift a first order stop would have produced.

Only step three depends on the function. Everything below follows from it. the natural logarithm of the level BY TIME 0 BY THE LEVEL, ONCE 1 over the level BY THE LEVEL, TWICE minus 1 over the level squared FIRST ORDER PIECE 0.080000 SECOND ORDER PIECE minus 0.020000 DIFFUSION 0.200000 STOPPED AT FIRST ORDER 0.080000 CARRIED TO SECOND ORDER 0.060000 The second order piece takes 0.020000 away from the first order reading. STEP SEVEN, CHECK ONE At zero volatility this returns 0.080000, which is the ordinary chain rule.
The function at step two
natural logarithm
Drift
0.060000
Diffusion
0.200000
Running the seven steps on the natural logarithm of the level gives a drift of 0.060000 and a diffusion of 0.200000. The level cancels out of both brackets, which is why nothing in the answer carries a level at all.
Educational illustration. The process is the invented standard process throughout, with a drift of 0.08 a year and a volatility of 0.20 a year, starting at Rs 100/-. Every reading here is computed from the collected formula at step six rather than sampled, so the default reproduces the worked example on every reload. The three lower settings are read in units of the function a year at a level of Rs 100/-. The logarithm setting is level free.

The two bars respond to the control. A second derivative of zero means step five hands step six nothing at all. On the two straight line settings the bars are the same length. On the logarithm the second bar is shorter, and on the square of the level it is longer. The second order piece is not a correction that always shrinks the answer: it moves the drift in whichever direction the second derivative points, and on the square of the level it adds 400.000000 to a first order reading of 1600.000000.

Breaking Into Quants Bootcamp — Fin Maverick Rebalancing: When, Why and What It Costs — free micro-course from Fin Maverick

Where does the procedure usually go wrong?

At step four, and it is done from habit rather than from confusion. The expansion is stopped at first order because every expansion the reader has performed before this one was safely stopped at first order, and the hand does it before the mind objects.

The error that gets made, and what it costs

The first order piece is written, the squared piece is not, and the procedure carries on. Step five is reached with nothing to look up, so it takes no time at all and feels like a step that was always going to be easy. Step six sorts what it was given into two brackets. Step seven, if it is run at all, is run against a result that has already lost a term.

On the logarithm the output is a drift of 0.080000 and a diffusion of 0.200000. The output has a drift and it has a diffusion, and it is written in exactly the shape a finished answer is written in. The error survives review for that reason. It is wrong by 0.020000, which is half the variance rate, and nothing in the shape of the result marks the gap. There is no leftover symbol, no dimension that fails to match, no term standing unpaired at the end of a line.

The cost is a wrong answer that reads as a right one, and a second cost that is easier to miss: a reader who skipped step four finds step five trivial and concludes the procedure is easier than advertised. The false conclusion is then carried to the next function, where the same term goes missing again. The only reliable defence is the count at step four. The count asks one question and takes one second: is there a squared increment written anywhere in the working?

Both outputs are shaped like finished answers. One of them is missing a term. STOPPED AT FIRST ORDER drift 0.080000 diffusion 0.200000 looks finished CARRIED TO SECOND ORDER drift 0.060000 diffusion 0.200000 is finished first order second order 0.020000 the piece that was never written, being half the variance rate No leftover symbol. No dimension that fails to match. Nothing to notice.
Stopping the expansion at first order gives a drift of 0.080000 rather than 0.060000, and the output still carries both a drift and a diffusion so nothing in its shape marks the missing term.
Try it out

Somebody stops the expansion at first order. What does the procedure give for the logarithm?

The second derivative term is the step usually dropped. See where the procedure slips.

How does somebody checking another person's working use this?

Whoever reviews a derivation, whether that is a supervisor reading a research note, a quantitative analyst inheriting somebody else's model documentation, or a student marking their own working from a week ago, has the same problem: the output looks fine and there is no time to redo the whole thing. The seven steps turn that problem into four questions that take under a minute between them.

First, are both panels of step one and step two actually written down? A derivation that opens straight into derivatives has skipped them, and the coefficients it uses later were carried in somebody's head. Second, the derivatives are counted: there should be three, and one of them should be a second derivative. Third, a squared increment should appear somewhere in the working. If there is not one, the expansion stopped at first order and the answer is wrong by half the variance rate times the second derivative, whatever the function was. Fourth, check one can be run directly: setting the volatility to zero in the stated drift should bring the ordinary chain rule back.

Of the four, the third is the one that pays. One glance runs it, and it catches the only error in this procedure that leaves no trace in the output. The other three catch faults that usually announce themselves in some other way: a missing panel shows up as an unexplained symbol, a wrong derivative usually breaks the units, and a sorting mistake usually leaves a dt somewhere it should not be. A missing second order term does none of those things.

The same habit is worth keeping in one's own working, and the cheapest place to keep it is the margin. The count goes in the margin at step four: three pieces, one of them squared. The margin count is the same discipline as writing the tare weight on a jar before filling it. The number is trivial and it is never needed on the occasions when everything went right. Writing it every time, rather than only when something feels off, is what makes the count work.

One last note on how the procedure travels. Nothing above depended on the function being the logarithm or on the process being this particular one. Steps one, two, four, five, six and seven are written the same way for any function of any process in drift and diffusion form, and step three is the only place where the specific function enters at all. A person who has run the seven steps twice can run them on a function they have never seen. A written sequence makes that possible. An argument reconstructed each time does not.

Why Ito's lemma holds and where its extra term comes from are set out under Ito's lemma. The version for several processes at once, and the version for processes that jump, are covered separately. Pricing models are a separate subject, as is what any contract pays. No rule maker anywhere sets the form of a chain rule, and the procedure above is the same wherever it is run.

References

SourceDocumentWhere
arXiv Quantitative FinancePreprint repository for stochastic calculus and its applications in pricing theoryarxiv.org
Social Science Research NetworkWorking paper repository for the same material, including expositional treatments of the lemmassrn.com
Hull, Shreve and WilmottStandard texts on stochastic calculus setting out the lemma and the order in which it is appliedprint editions

The standard process is invented, as are its parameters and its starting level of Rs 100/-.
Educational material. Not advice on any investment, tax, budget or market position.

← PreviousNext →
Fin Maverick Micro CoursesExplore Micro Courses
Fin Maverick BootcampsExplore Bootcamps
Fin Maverick

Finance education that ends in a job, not a certificate that gathers dust. Built for young India.

LEARN
CalculatorsFrameworksComparisonsCareersShowdown
RESOURCES
All CoursesMicro CoursesBootcampsInternships
COMPANY
AboutJob openingPartnership
LEGAL
Privacy PolicyTerms & ConditionsContent LicenseReturn & Refund Policy
© 2026 FIN MAVERICK / BUILT FOR INDIA.DO FINANCE, DO NOT JUST READ ABOUT IT.