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

Numerical Error and Stability: When Small Mistakes Grow

Stability is whether errors already inside a calculation grow or shrink as it proceeds. Convergence is whether the answer approaches the truth as the spacing is refined. Stability and convergence are different properties, and neither one implies the other. A scheme can be perfectly stable, converge cleanly, and settle on a figure that is simply not the answer.

A stable scheme that converges cleanly on the wrong figure is not a rare accident. Refining one source of error while a second one is left untouched produces a sequence of readings that settles beautifully on the wrong number, and this is the commonest way a numerical result comes to be trusted wrongly. The arithmetic below proves it rather than asserting it, using the grid method on the standard process, checked at every step against a figure that is known exactly.

Four methods have been opened one at a time: the closed form, the sampling method, the lattice and the grid. Each was measured against the closed form of Rs 10.450584/- for the at-the-money contract on the standard process, and each was shown to go wrong in its own particular way. What all four have in common is not a method at all. The common thread is the pair of questions to ask of any method before believing what it prints.

Convergence vs Stability: which of the two is a scheme failing?

Put a one kilogram weight on a kitchen scale. Two things can be wrong with the scale, and they are unrelated.

The first fault: the reading creeps. The weight goes down on the pan and the instrument reads 1.00, then 1.03, then 1.09, then 1.21, climbing away from itself while nothing on the pan has changed. Some tiny disturbance inside the mechanism is being amplified rather than absorbed. The instrument is unstable.

The second fault: the reading is rock steady, repeatable to three decimal places, and it says 1.05 kilograms. Nothing creeps. The weight goes on ten times and the reading is 1.05 ten times over. The instrument is entirely well behaved and entirely wrong, and no amount of staring at its own readings will ever reveal as much. Only a weight whose mass is already known catches it.

The creeping reading and the steady wrong reading are exactly what stability and convergence are about, and a numerical scheme can have either fault without the other. StabilityWhether errors already sitting inside a calculation grow or shrink as the calculation proceeds from one step to the next. asks whether the disturbances already present at one step get bigger or smaller by the next step. ConvergenceWhether the answer approaches the truth as the spacing of the calculation is made finer and finer. asks where the whole calculation is heading as its spacings are made finer.

The two properties, stated separately
$$ \text{stable:}\quad \bigl|e^{\,n+1}\bigr| \le \bigl|e^{\,n}\bigr| \qquad\qquad \text{convergent:}\quad \lim_{\Delta t\to 0,\ \Delta x\to 0} V^{\Delta} \;=\; V $$
\(e^{\,n}\)whatever error is sitting in the calculation after step \(n\), from rounding or from anything else
\(\Delta t\)the time step, the spacing of the calculation along time
\(\Delta x\)the space step, the spacing along the logarithm of the process, written \(x=\log S_t\)
\(V^{\Delta}\)the number the scheme prints at those two spacings
\(V\)the true value the scheme is meant to be finding
What it says in wordsThe left statement is about one step passing to the next and never mentions the truth at all. The right statement is about the limit as both spacings go to nought and never mentions any individual step. They are questions about two different things, which is why an answer to one is not an answer to the other.
Two questions, four answers. Only one cell is safe, and being well behaved is not it. HEADING FOR THE TRUTH HEADING SOMEWHERE ELSE ERRORS SHRINK ERRORS GROW STABLE AND CONVERGENT Both spacings refined together. Readings climb toward the truth and keep climbing when pushed. Rs 10.447316/- at a space step of 0.0125 STABLE AND NOT CONVERGENT Time step refined alone. Readings settle, smoothly, on a figure that is not the answer. Rs 10.394588/- at 1,000 time steps, and still falling UNSTABLE, HEADING THE RIGHT WAY The limit is correct and the calculation never reaches it, because it detonates on the way. Rs 5.541888/- at 14 time steps, one below the limit UNSTABLE AND NOT CONVERGENT Nothing about the output means anything. At least this one is obvious at a glance. minus Rs 495.898876/- at 10 time steps, a negative price
Crossing the two questions gives four outcomes, and the one that causes real damage is the top right cell, where the calculation is perfectly well behaved and heading for a figure that is not the answer.

Look at that top right cell for a moment. The other three failures announce themselves. A price of minus Rs 495.898876/- for a contract that cannot pay less than nothing is not a subtle problem, and a reading of Rs 5.541888/- against a cluster of neighbouring readings near Rs 10.40/- is not subtle either. But Rs 10.394588/- looks exactly like an answer. The figure is the right size, it has the right number of digits, and it agrees with the reading before it and the reading before that. Nothing about it looks wrong. Nothing about it is wrong, except the one thing that matters.

Try it out

What is stability about, and what is convergence about?

What makes a scheme unstable?

The grid method steps a whole row of values backward through time. Each new value at a point is built out of the three values around that point on the previous row. Writing down what happens to a disturbance sitting on that previous row gives the answer directly: the disturbance is multiplied by something, and the whole question is whether that something is bigger or smaller than one in size.

Take the roughest possible disturbance, one that flips sign at every neighbouring point. Feed it through one step of the explicit update and it comes out multiplied by a factor that depends only on the volatility, the two spacings and the rate.

The amplification factor at the roughest mode, and the condition that tames it
$$ g \;=\; 1 - r\,\Delta t - \frac{2\,\sigma^{2}\,\Delta t}{\Delta x^{2}} \qquad\Longrightarrow\qquad \frac{\sigma^{2}\,\Delta t}{\Delta x^{2}} \;\le\; 1 \qquad\Longleftrightarrow\qquad n \;\ge\; \frac{\sigma^{2}\,T}{\Delta x^{2}} $$
\(g\)the number a sign-flipping disturbance gets multiplied by in one step
\(\sigma\)the volatility of the standard process, 0.20 a year
\(r\)the risk-free rate, 0.05 a year, continuously compounded
\(T\)the horizon, one year
\(n\)the number of time steps over that horizon, so \(\Delta t = T/n\)
What it says in wordsOne step of the calculation multiplies the roughest disturbance by that factor. If the factor is larger than one in size, every step makes the disturbance bigger, and after enough steps it swamps everything. Keeping the factor inside one puts a floor under the number of time steps, and that floor is set by the space step: quartering the square of the space step quadruples the number of time steps the calculation is obliged to take.

Put the locked numbers in. The volatility is 0.20, so the variance rate is 0.04 exactly. At a space step of 0.05 the condition reads \(n \ge 0.04 / 0.0025\), giving sixteen. Sixteen time steps is not a rough guideline here; it is exactly where the factor reaches one, and the grid is usable at sixteen steps and useless at fifteen.

One step multiplies the roughest disturbance by this. Above one, every step makes it worse. 1.0 0.0 2.0 2.205 1.671 1.465 1.289 1.137 1.003 0.885 0.603 0.335 10 12 13 14 15 16 17 20 24 number of time steps, at a space step of 0.05 WHAT THE GRID ACTUALLY PRINTED AT EACH OF THOSE SETTINGS, IN RUPEES minus 495.90 minus 65.73 32.07 5.54 11.36 10.33 10.47 10.45 10.43 Educational illustration. Computed from the invented locked parameters, not observed anywhere.
The amplification factor crosses one exactly at sixteen time steps for a space step of 0.05, and the prices printed underneath show a clean set of readings on one side of that crossing and complete nonsense, including negative prices, on the other.

Notice how violent the failure is. Fourteen steps does not give a slightly worse answer than sixteen. Fourteen steps multiplies the roughest disturbance by 1.289286 fourteen times over, a growth of about thirty-five, and thirteen steps multiplies by 1.465385 thirteen times, a growth of about a hundred and forty. Ten steps grows it by roughly two thousand seven hundred, and the price comes out at minus Rs 495.898876/-. Instability is multiplicative, so it does not degrade an answer gently; it destroys it, and the destruction accelerates the further below the limit the calculation goes.

There is one genuinely awkward reading in that set. At fourteen steps the grid prints Rs 5.541888/-. Rs 5.541888/- is a positive number of a plausible size for a price. An analyst who had never computed the closed form might have accepted it. Only the neighbours give it away.

Try it out

What does an unstable scheme do to an error that is already sitting in the calculation?

Derivatives Foundation Bootcamp — Fin Maverick

What makes a scheme converge?

Convergence is a completely separate question, and answering it starts somewhere else entirely: with what the scheme threw away when it was written down.

Every discrete scheme replaces something continuous with something finite. A derivative becomes a difference between neighbouring values. An integral becomes a sum. An expectation becomes an average over a finite set of outcomes. Each of those replacements leaves a remainder, and the size of that remainder is a power of the spacing that was used. The remainders are the whole content of convergence. The scheme converges when every remainder it created goes to nought as the spacings do.

For the grid on the standard process there are two spacings and therefore two remainders. Stepping forward in time with a single forward difference leaves a remainder proportional to the time step itself. Because the odd-powered terms cancel between the point on the left and the point on the right, approximating the two space derivatives with centred differences leaves a remainder proportional to the square of the space step.

The error of the grid, written as its parts
$$ V^{\Delta} - V \;=\; C_{t}\,\Delta t \;+\; C_{x}\,\Delta x^{2} \;+\; \varepsilon_{\text{span}} \;+\; \text{higher order} $$
\(C_{t}\,\Delta t\)the time part, first order, so halving the time step roughly halves it
\(C_{x}\,\Delta x^{2}\)the space part, second order, so halving the space step roughly quarters it
\(\varepsilon_{\text{span}}\)the part left by cutting the grid off at a highest and a lowest value of \(x\) instead of running it forever
\(C_{t},\,C_{x}\)constants that depend on the contract and the process but not on the spacings
What it says in wordsThe gap between what the grid prints and the truth is a sum of separate parts, one for each thing that was approximated. Shrinking one spacing shrinks only the part attached to that spacing. Every other part sits there untouched, and the sum can only reach nought when all of them do.

There is a third condition beyond consistency and stability, and it ties the other two together. A scheme that is consistent, meaning every remainder goes to nought as the spacings do, and also stable, meaning disturbances do not grow, is convergent. Without stability, consistency alone buys nothing. The calculation never survives long enough to reach its own limit. Without consistency, stability alone buys nothing either. The calculation proceeds serenely toward a limit that was never the right one.

Stability without consistency is not a curiosity. Stability makes a promise about the steps and no promise at all about the destination, so a scheme can be flawlessly stable and still be heading somewhere other than the truth.

Try it out

Can a method be perfectly stable and still give the wrong answer?

Why is converging not the same as being right?

Here is the everyday version. A room is being measured with a folding ruler held against the wall, and the length is wanted to the millimetre. The ruler looks too coarsely marked, so it is replaced by one marked in half millimetres, then quarter millimetres, then eighths. The reading stops changing. The steady reading establishes one thing: the markings on the ruler are no longer what limits the measurement.

The same steady reading says nothing whatever about the ruler having been held at a slight slant the entire time.

RefinementMaking one of the spacings in a calculation smaller. Shrinking it removes only the error belonging to that spacing and leaves every other error exactly where it was. along one axis buys information about that axis and nothing else. The statement sounds obvious written down. In practice it is not obvious, and the reason is how the evidence presents itself. What appears is a column of numbers that stops moving, and a column of numbers that stops moving feels like an answer arriving. The stillness feels like the calculation announcing that it is done.

The stillness says something much narrower. The stillness says that the parameter that was changed has stopped mattering. A settled sequenceA run of readings that agree with one another closely. Such a run is evidence about the spacing that was refined and about nothing else. is evidence about the parameter that was moved, and about no other parameter anywhere in the calculation.

Two axes of error. Travelling down one of them arrives at a wall, not at the answer. time step refined, coarse on the left and fine on the right space step refined, upward THE WALL the time step has stopped mattering the space step never moves off 0.05 arrives at Rs 10.393513/- both spacings refined together and the time steps quadrupled each rung Rs 10.450584/- the closed form, where both spacings vanish the coarsest setting Educational illustration. Both routes are computed from the same scheme on the same invented parameters.
Travelling along the time axis alone reaches a wall where the time step has stopped mattering and the space error is untouched, while travelling diagonally reduces both errors at once and reaches the corner where the closed form sits.

The wall in that picture has a number attached to it, and the number can be computed rather than guessed. Hold the space step at 0.05 and push the time step toward nought, and the grid heads for Rs 10.393513/-. Rs 10.393513/- is the value the grid has when its time error is gone entirely and only its space error remains. The reading sits Rs 0.057070/- below the closed form, and the time steps were never what was holding it there, so no amount of extra time steps will ever move it.

Try it out

One parameter is refined until the answer stops moving. What has been established?

Risk Management Program Bootcamp — Fin Maverick

What happens when the time step alone is refined?

Now the worked instance, and it is the most ordinary thing anybody does with a numerical method. There is a grid. The time step is suspected of being too coarse. The step is refined, several times over, and the answer is watched.

The space step is held at 0.05 throughout, putting the stability limit at sixteen time steps, so the sequence starts exactly there and works upward.

Time stepsWhat the grid printsDistance from the closed formMove from the reading before
16Rs 10.331273/-minus Rs 0.119311/-the starting reading
50Rs 10.415025/-minus Rs 0.035558/-plus Rs 0.083752/-
100Rs 10.404265/-minus Rs 0.046319/-minus Rs 0.010761/-
252Rs 10.397779/-minus Rs 0.052805/-minus Rs 0.006486/-
1,000Rs 10.394588/-minus Rs 0.055996/-minus Rs 0.003191/-

The second column read on its own is all there would be without a closed form to check against. Rs 10.404265/-, Rs 10.397779/-, Rs 10.394588/-. The three readings sit inside a single paisa of one another. The last two differ by Rs 0.003191/-, a third of a paisa. Each move is smaller than the move before it. There is no oscillation, no wobble, no sign of anything wrong. By every internal test available, this sequence has converged.

The third column tells a different story. The error at sixteen steps is minus Rs 0.119311/-. At fifty steps it is minus Rs 0.035558/-, the smallest error in the whole table. And then, as refinement continues, it gets worse: minus Rs 0.046319/-, minus Rs 0.052805/-, minus Rs 0.055996/-. Refining the time step past fifty makes the answer less accurate, monotonically, and it will keep doing so however far it is pushed.

The reversal is not a paradox and it is not a bug. At fifty steps the grid has a positive time error and a negative space error, and they happen to be partly cancelling. Refining the time step removes the positive one and leaves the negative one standing alone. The reading was closer to the truth when it was wrong in two directions at once.

Try it out

The grid readings at a hundred, two hundred and fifty two and a thousand time steps sit inside a single paisa of each other and each move is smaller than the last. Before the benchmark is shown: has it converged to the right answer?

Play with it

Refine one spacing, watch it settle, then refine both and watch where it should have gone

Held fixed throughout: starting value Rs 100/-, strike Rs 100/-, rate 5 per cent, volatility 20 per cent, one year, and the same explicit grid scheme in every reading. The control walks up the ladder of refinements. The two buttons choose which ladder is being walked. Both ladders stay drawn at all times, the active one in bold and the other one faint, and the two destinations are visible at once.

coarsest rungrung 5finest rung
One ladder stops short of the line. The other reaches it. Both look settled while they climb. THE CLOSED FORM, Rs 10.450584/- where the time ladder is heading, Rs 10.393513/- 10.20 10.30 10.40 10.394588 16 50 100 252 1,000 time steps, space step held at 0.05 throughout THE SAME READING AS A DISTANCE FROM THE TRUTH, ON A SCALE OF NOUGHT TO Rs 0.25/- now Rs 0.055996/- rung before Rs 0.052805/-
What the grid prints
10.394588
Distance from the truth
0.055996
Grid points times time steps
41,000

Refining the time step alone, at rung 5 of 5: 1,000 time steps on a space step held at 0.05 gives Rs 10.394588/-, which is Rs 0.055996/- below the closed form. The move from the previous rung was Rs 0.003191/-, a third of a paisa, so the sequence looks finished. It is not finished; it is arriving at Rs 10.393513/-, which is the wrong place.

Educational illustration. Every reading is a locked figure computed once from the scheme on the invented locked parameters and read back from a table, so nothing is sampled and nothing changes on reload. Refining the time step alone, at a space step of 0.05: Rs 10.331273/- at 16 steps, Rs 10.415025/- at 50, Rs 10.404265/- at 100, Rs 10.397779/- at 252 and Rs 10.394588/- at 1,000, with distances from the closed form of Rs 0.119311/-, Rs 0.035558/-, Rs 0.046319/-, Rs 0.052805/- and Rs 0.055996/-. Refining both spacings together, with the time steps held at sixteen times the stability minimum: Rs 10.229948/- at a space step of 0.10 and 64 time steps, Rs 10.397712/- at 0.05 and 256, Rs 10.437483/- at 0.025 and 1,024, Rs 10.447316/- at 0.0125 and 4,096, and Rs 10.449767/- at 0.00625 and 16,384, with distances of Rs 0.220636/-, Rs 0.052872/-, Rs 0.013100/-, Rs 0.003268/- and Rs 0.000817/-. The closed form is Rs 10.450584/-. The first sequence has converged and it has converged to the wrong number. Assumptions on screen: starting value Rs 100/-, strike Rs 100/-, rate 5 per cent, volatility 20 per cent, one year, no income, all invented.

What happens when both spacings are refined together?

Same scheme, same process, same contract. The only change is that the space step now moves as well, and the time steps are raised alongside it to keep the calculation on the stable side of the limit. Each rung halves the space step, and halving quadruples the number of time steps the stability condition demands. Here the time steps are set at sixteen times that minimum on every rung, so the comparison is like for like.

Space stepTime stepsWhat the grid printsDistance from the closed form
0.1064Rs 10.229948/-minus Rs 0.220636/-
0.05256Rs 10.397712/-minus Rs 0.052872/-
0.0251,024Rs 10.437483/-minus Rs 0.013100/-
0.01254,096Rs 10.447316/-minus Rs 0.003268/-

The distances fall 0.220636, 0.052872, 0.013100, 0.003268. Dividing each by the next gives 4.1730, 4.0360 and 4.0086. Halving the space step quarters the error, and the ratios are tightening toward exactly four as the higher-order terms fade. Ratios tightening on four are the signature of a second-order method behaving as it should.

A genuine order of convergenceHow fast the error falls as a spacing is refined. Second order means halving the spacing quarters the error, and the grid behaves exactly so. looks like, and the table above is worth setting beside it. There the readings settled and the error grew. Here the readings move a long way on every rung and the error collapses. A sequence that is still moving substantially can be far healthier than one that has gone quiet.

The accuracy is not free. Halving the space step doubles the number of grid points and quadruples the number of time steps required for stability, so the arithmetic multiplies by roughly eight. Counting grid points multiplied by time steps: 1,344 units on the first rung, 10,496 on the second, 82,944 on the third and 6,59,456 on the fourth. The ratios of those counts are 7.81, 7.90 and 7.95, tightening toward eight.

Each halving of the space step buys four times the accuracy and costs eight times the work. DISTANCE FROM THE CLOSED FORM, IN RUPEES, ON A STRAIGHT SCALE 0.10 0.220636 0.05 0.052872 0.025 0.013100 0.0125 0.003268 space step each bar is almost exactly a quarter of the one above it GRID POINTS MULTIPLIED BY TIME STEPS, ON A SCALE OF POWERS OF TEN 0.10 1,344 units 0.05 10,496 units 0.025 82,944 units 0.0125 6,59,456 units the three cost ratios are 7.81, then 7.90, then 7.95, tightening toward eight the three accuracy ratios are 4.17, then 4.04, then 4.01, tightening toward four Educational illustration. Every figure computed from the invented locked parameters.
Each halving of the space step cuts the distance from the closed form by a factor close to four while multiplying the arithmetic by a factor close to eight, so accuracy on this scheme is bought at a steeply rising price.
Try it out

Halving the space step does what to the error, and what to the cost?

Investment Banking Analyst Bootcamp — Fin Maverick

How many sources of error does one method have?

More than one, always, and that is the sentence to carry away. A source of errorOne thing the method has approximated. Every method compared here has approximated more than one thing, and each approximation leaves its own remainder. is simply one thing the method replaced with something finite, and counting them is the discipline that would have caught the failure above before it happened.

The grid has three. The scheme approximated time with a step, so there is a time error. The scheme approximated the space derivatives with differences, so there is a space error. And it cut off the range of values it covers at a highest and a lowest point instead of running out to nought and infinity, so there is an error from the cut.

The error from the cut is worth measuring rather than assuming away, and here it is genuinely negligible. Running the grid over a range from Rs 36.79/- to Rs 271.83/- gives Rs 10.394588053/-. Widening it enormously, to a range from Rs 13.53/- to Rs 738.91/-, gives Rs 10.394588055/-. The difference is two thousand millionths of a paisa. The cut is not the problem here. Knowing which source is innocent is worth as much as knowing which is guilty, and either one identifies which of the three deserves the effort.

Now split the total error at the finest reading of the first table into its parts. At a space step of 0.05 and a thousand time steps the grid printed Rs 10.394588/-, a distance of Rs 0.055996/- from the truth. Where did that come from?

Part of the errorWhat it isSize
Spacethe space step is 0.05 and has never movedminus Rs 0.057070/-
Timewhat is left of the time error at a thousand stepsplus Rs 0.001075/-
The cutending the range at Rs 36.79/- and Rs 271.83/-under Rs 0.000001/-
Totalthe whole distance from the closed formminus Rs 0.055996/-

Ninety eight per cent of the remaining error belongs to the one spacing that was never touched, and the effort went entirely into the spacing that was already contributing almost nothing. The mismatch is not bad luck. Refining along one axis has that consequence with arithmetic certainty, and anyone who had written down the list of three would have seen it in advance.

No method here has one source of error. Refining one of them leaves the rest exactly where they were. THE GRID the time step the space step the cut off range three sources THE LATTICE the number of steps where the strike falls between two nodes, which is what makes it oscillate two sources A SAMPLING METHOD how many outcomes how the path was stepped more outcomes never remove the stepping error two sources THE GRID ERROR AT 1,000 TIME STEPS AND A SPACE STEP OF 0.05, SPLIT INTO ITS PARTS SPACE, minus Rs 0.057070/- time, plus 0.001075 The two parts net to minus Rs 0.055996/-, and the cut off range adds under Rs 0.000001/- on top. A thousand time steps was effort spent on the small green sliver. Educational illustration. Every figure computed from the invented locked parameters.
Each method carries at least two separate approximations, and splitting the grid error at its finest time step shows almost all of it belonging to the space step that was never refined.
Try it out

How many sources of error does the grid method have?

Breaking Into Quants Bootcamp — Fin Maverick

How to Check Monte Carlo Convergence, and every other method's convergence too?

A sampling method looks like a special case and is not one. Its accuracy scales with the square root of the number of outcomes, a relationship set out under the Monte Carlo method. The answer there never quite stops moving at all, so a check based on watching the answer stop moving is even weaker on a sampling method than on a grid.

How the sampling band narrows, and what it does not touch
$$ \mathrm{SE}(n) \;=\; \frac{s}{\sqrt{n}} \qquad\Longrightarrow\qquad \mathrm{SE}(4n) \;=\; \tfrac{1}{2}\,\mathrm{SE}(n) $$
\(\mathrm{SE}(n)\)the width of the band around the answer after \(n\) outcomes
\(s\)the spread of the discounted payoff itself, which is a property of the contract and not of the method
\(n\)how many outcomes were used
What it says in wordsFour times as many outcomes halve the width of the band, and that is the only thing more outcomes do. Any error introduced by the way the path itself was stepped forward sits outside this expression entirely and is unaffected by every additional outcome generated.

For the at-the-money contract on the standard process the spread of the discounted payoff is 14.719404 in rupees, a computed property of that contract. Ten thousand outcomes therefore give a band of about Rs 0.147194/-. To pull that band inside a paisa takes about 21,66,609 outcomes. Every one of those outcomes narrows the band and does nothing whatever to any error introduced by how the path was stepped. The stepping error is a separate source sitting quietly outside the band.

So the check cannot be internal, on any method. Here is what internal evidence can and cannot establish, and it applies identically to the grid, the lattice and the sampling method.

The readings have stopped moving. What has actually been learned? THE READINGS HAVE STOPPED MOVING COMPARE THE SETTINGS TO EACH OTHER Catches: a spacing that is still contributing, and instability. Cannot catch: an error that is the same at every setting compared. Verdict here: Rs 10.394588/-, wrong. COMPARE AGAINST A KNOWN ANSWER Catches: everything the method got wrong, in one number. Needs: one case where the answer is already known exactly. Verdict here: off by Rs 0.055996/-. THE KNOWN ANSWER USED BY EVERY METHOD IN THIS READING ORDER Rs 10.450584/- The closed form for the at-the-money contract on the standard process. Exact, so it settles every argument. Grid, off by 0.055996. Lattice at twelve steps, off by 0.164734. Slicing at 200 midpoints, off by 0.018480. Educational illustration. Every figure computed from the invented locked parameters.
Comparing settings to one another detects a spacing that is still contributing but is blind to any error common to all of them, so only a comparison against a known answer can settle whether a settled sequence is also a correct one.

So the benchmark checkRunning the method on a case whose answer is already known exactly, and comparing. The only check that can detect an error present at every setting. is not one option among several. The benchmark check is the only check that can see this failure at all. All four methods were measured against Rs 10.450584/- for exactly that reason: the lattice at twelve steps prints Rs 10.285850/-, and slicing the probability scale into two hundred midpoints prints Rs 10.432104/-, and neither of those distances could have been known from the method alone.

The practical procedure that follows is short. The analyst finds a case with a known answer that exercises the same machinery, runs the method on it and records the distance. Every spacing and every approximation the method contains is listed, and each is refined separately to show how much it contributes. Refining them together then confirms whether the distance falls at the order expected. If it falls more slowly than the order predicts, something not on the list is contributing.

Try it out

Why is internal consistency not enough as a check?

Bond Pricing and Yield Mechanics — free micro-course from Fin Maverick

Who actually does this check, and what do they do with it?

Anybody who has written a numerical calculation and now has to decide whether to believe what it printed. The list runs from a student rebuilding a published figure, to somebody reproducing a result from a working paper, to somebody rewriting an old calculation in a new language and needing to know the two versions agree for the right reason rather than by luck.

All three do the same thing, and it is what a workshop does with a set of scales. Nobody trusts a scale because its readings are repeatable. The workshop trusts a scale because somebody put a known weight on it. The known weight does not establish that the scale is good at everything; it establishes that the scale is right at that weight, on that day. Everything else is inference.

The habit that follows is small and worth naming precisely. Before running anything, write down the list of things the method has approximated. Not one thing. The whole list. For the grid that is three items, and the exercise takes a minute. Then, whenever a sequence of readings stops moving, the list answers which single item has just been proved to have stopped mattering, and how many items remain on it.

The pacing example makes the shape of the mistake vivid. Measuring a coastline by walking it with a metre stick gives one length. Because the shorter stick follows detail the longer one cut across, walking it again with a stick half as long gives a longer one. Halving continues and the number keeps growing rather than settling. The coastline is a case where refining one thing does not settle at all. The grid did the opposite, settling promptly and convincingly, and the settling was the misleading part.

The error that gets made, and what it costs

Taking a settled sequence as a correct answer. The grid at a hundred, two hundred and fifty two and a thousand time steps reads Rs 10.404265/-, Rs 10.397779/- and Rs 10.394588/-. The three readings sit inside a single paisa of each other, each move is smaller than the last, and there is no oscillation anywhere in the sequence. Every internal sign says the calculation is finished.

The readings are settling on Rs 10.393513/-, a figure Rs 0.057070/- from the truth, and the reading at a thousand steps is already Rs 0.055996/- away. The space step was never refined, so the space error was never touched, and the whole exercise of pushing the time step from sixteen to a thousand removed an error that was worth Rs 0.001075/- by the end.

A reader who refines one parameter until the answer stops moving has established that this parameter no longer matters, and has established nothing at all about the others. The cost is a wrong answer wearing every outward sign of a converged one, which is worse than an obviously broken answer, because an obviously broken answer gets investigated. The settled wrong answer gets used.

Worse still, the sequence was at its most accurate early and got steadily less accurate as it was refined. The reading at fifty time steps was Rs 0.035558/- from the truth. The reading at a thousand was Rs 0.055996/- from it. Two errors of opposite sign had been partly cancelling at fifty steps, and the refinement removed one of them, so twenty times the arithmetic bought an answer that was further away.

What this changes about how any numerical output is read

Three questions, asked in this order, before a printed number is believed.

First, is the scheme stable at these settings? For the explicit grid that is a single arithmetic check, and here it puts a hard floor of sixteen time steps under a space step of 0.05. Below the floor the output is not slightly wrong; it is unrelated to the question.

Second, what has been approximated, and how many separate things are on that list? If the answer is one, check again. The answer is almost never one.

Third, what known answer has this been measured against? If the honest answer is none, then whatever the readings have done, nothing has yet been established about whether the number is right. Repeatability is a property of the instrument, and correctness is a property that only a known weight can demonstrate.

A careful reader will spot one last thing about the arithmetic. The closed form to nine decimals is Rs 10.450583572/-, and it is quoted throughout as Rs 10.450584/-. Every distance in the tables is taken from the nine decimal figure rather than the rounded one. A subtraction done on the rounded figures can therefore disagree with the tables in the sixth decimal place. The distance at a space step of 0.025 is Rs 0.013100/- and not Rs 0.013101/- for exactly that reason.

The mathematics carries no jurisdiction. A stability condition is a statement about arithmetic, and it holds identically wherever the calculation is run, so no rule anywhere changes a single figure of it. The conduct expected of anyone presenting a computed number as a basis for a decision does vary by place, and that duty is covered under professional conduct.

The grid is opened in detail under the finite difference method, the lattice under tree methods, the sampling method under the Monte Carlo method and the closed form under analytical and numerical solutions. Variance reduction is about needing fewer outcomes for the same width of band. Fitting a model to observed prices belongs to the material on calibration. What any contract pays is covered separately: the contract arrives already known and is used here only as the function whose value the arithmetic is chasing.
Anybody deciding whether to believe a printed figure runs it. See the numerical error.

References

SourceDocumentWhere
arXiv, Quantitative FinancePreprints on stability and convergence of finite difference schemes for option valuationarxiv.org
Social Science Research NetworkWorking papers on error analysis and benchmark testing of numerical valuation methodsssrn.com
Black, Scholes and Merton, 1973The closed form solution used throughout as the known answer every reading is measured againstJournal of Political Economy; Bell Journal of Economics and Management Science

The standard process and the at-the-money contract used throughout are invented.
Educational material. Not advice on any investment, tax, budget or market position.

Covered in this topic

Subtopics

How to Check Monte Carlo ConvergenceConvergence vs Stability
← 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.