Taylor Series and Approximation
How much is ≈ worth? Local polynomial models, their error, and the money they explain.
| Mastery | After this module you should be able to: |
|---|---|
| 1construct the Taylor polynomial of order of a smooth function about a point, and interpret its terms as level, slope and curvature | |
| 2derive the expansions of , and , and state where each one converges | |
| 3bound the truncation error with the Lagrange remainder, and decide when a truncated expansion can be trusted | |
| 4relate simple and log returns, and arithmetic and geometric means, through second-order expansions, and quantify volatility drag | |
| 5decompose the long-run return of a daily-reset leveraged ETF into a power of the index, a variance drag and a residual, and estimate each term from data | |
| 6apply first- and second-order approximations to bond prices (duration and convexity), and recognise the same structure in option delta–gamma and in Itô's lemma | |
| 7implement and verify Taylor approximations in Python |
1Introduction
Almost every formula a trader uses daily is an approximation in disguise. Examples are “log return ≈ simple return”, “geometric mean ≈ arithmetic mean − σ²/2” and “bond price return ≈ −duration × yield change”. Each is the first or second term of a Taylor expansion. This module shows where they come from, how wrong they are and when they break, and then uses them on real money.
From the close of 31 October 2014 to 8 October 2026, Yuanta Taiwan 50 (0050) returned +902% including dividends: one unit grew to 10.02. Over the same days the daily-reset 2× fund on that index, Yuanta Taiwan 50 Bull 2X (00631L), returned +4,354%: one unit grew to 44.54. “Twice the index's return” would have been +1,804%. The leveraged fund delivered about 2.4 times twice the index.
Then take calendar 2022 in the US. QQQ lost 32.6%; the 3× fund TQQQ lost 79.1%. Three times QQQ's loss is −97.7%, so TQQQ lost less than three times the index.
Yet every regulator and textbook warns that leveraged ETFs decay. How can a fund decay and beat its multiple at the same time? How large is the decay, and what sets its size? By Section 7 you will split each fund's return into three numbers: a power of the index, a variance drag and a residual.
Exhibit 1 collects the numbers.
| Period | Index fund | Leveraged fund | “Multiple × index return” |
|---|---|---|---|
| 2014-10-31 → 2026-10-08 (11.94 years) | 0050: +902.25% | 00631L (2×): +4,354.5% | 2 × 902.25% = +1,804.5% |
| Annualized | 21.3% | 37.4% | — |
| Calendar 2022 | QQQ: −32.58% | TQQQ (3×): −79.09% | 3 × (−32.58%) = −97.7% |
TaiwanStockPrice, TaiwanStockDividendResult and USStockPrice, retrieved 10 October 2026. 0050 includes reinvested cash dividends and is adjusted for its 4-for-1 split (18 June 2025). 00631L is adjusted for its 22-for-1 split (31 March 2026); QQQ and TQQQ use adjusted closes. Every 0050 and 00631L figure in this module uses the 2,902 days on which both funds traded. They span 4,360 calendar days, so returns a year. 0050 was halted from 11 to 17 June 2025 for its split, and 00631L from 25 to 30 March 2026 for its own. The returns dated 18 June 2025 and 31 March 2026 therefore span six and five sessions. Computations: companion notebook LM03_lab.ipynb.The tool that resolves the paradox is a second-order Taylor expansion of . Sections 2–4 build the tool and its error bound. Sections 5–7 apply it to returns, means and leverage. Section 8 shows the same idea in bond pricing, option hedging and, as a preview of LM28, Itô's lemma.
As throughout the book, is a simple return for one period, (plus income), and is the corresponding log return. and are the mean and standard deviation of in a model. and are their sample values, with dividing by . counts returns, indexes them (and serves as a variable of integration), and is a span in years.
is a log growth rate per period and a growth factor (end value ÷ start value). is realized variance and the number of returns per year. is a fund's daily multiple, a price, a cash dividend, a periodic interest rate and a yield.
Local symbols: is a generic real variable. In the purely mathematical Sections 2–4 and the problems, summary points and glossary entries on them, is a generic smooth function of . It is expanded about the point , a generic constant, with Taylor polynomial of order , remainder and intermediate point . is a general polynomial with coefficients ; indexes the terms of a series, counts derivatives and is an exponent.
Later sections add (geometric mean return), (inflation), (an asset, with weight ) and (a fund's growth factor). and are modified duration and convexity. Section 8 alone uses an option's value on an underlying price , with Greeks , and . It also uses a standard normal shock , steps and , the book's symbol for a standard Brownian motion.
before a variable denotes a change. We write only for exact statements, for approximations whose neglected order is stated, and for definitions.
2The Taylor Polynomial: A Local Model
Tangent line, then curvature
Near a point , a smooth function looks like a straight line: its tangent. The tangent line is the first-order model
For at , and , so . That is the familiar “log return ≈ simple return”. It is exact at and drifts away as grows, because bends downward. A better model adds the bend, measured by the second derivative:
With and this gives . The term is the curvature correction, and it is the source of every “” in this book.
Let have derivatives at . The Taylor polynomial of order of about is
Why the coefficients are
is built so that it agrees with at in value, slope, curvature and every higher derivative up to order . Write a general polynomial and differentiate it times. Every term with disappears, every term with still contains a factor and vanishes at , and the term becomes . So
Requiring for forces . The factorial is not decoration: it undoes the factorial that repeated differentiation of produces.
Each term has a job. The constant fixes the level, the linear term the slope, the quadratic term the curvature, and higher terms correct asymmetry and tails. In finance the terms through second order usually suffice, which is why “level, slope, curvature” recurs in duration–convexity, delta–gamma and the volatility drag.
A stock returns +5% in a month. Approximate its log return and the growth factor of a 5% continuously compounded rate. Use Taylor polynomials of order 1, 2 and 3 about 0, and report each error.
For with : , , . The exact value is , so the errors are , and .
For : , , against the exact , with errors , and .
The error after is roughly the first omitted term, so each extra order shrinks it by the ratio of successive terms. For that ratio is , here about 1/30 and 1/27. For it is , about 1/60 and 1/80, because the factorials make its terms shrink faster. That ratio is the practical rule for how many terms you need.
把一個彎曲的函數,在某一點附近用多項式來近似:常數項對準高度,一次項對準斜率,二次項對準彎曲程度。在收斂範圍內,階數越高、離展開點越近,近似得越好。金融裡最重要的是二次項,因為 往下彎,所以「對數報酬 ≈ 簡單報酬」永遠有一個 的修正,後面所有的 都從這裡來。
In , which coefficient would you change to make the approximation bend upward instead of downward, and what property of does it encode?
Answer
The quadratic coefficient . Its sign is the sign of the curvature: (convex) bends up, (concave) bends down. is concave, so its quadratic term is negative.
3Four Expansions That Run Finance
Three Maclaurin series, plus the geometric series they all lean on, generate most approximations in this book.
The exponential. Every derivative of is , so for all and
The logarithm. Differentiate repeatedly: , , , and in general . At this gives , so
A second derivation explains the range. For the geometric series gives . Integrating from to term by term yields (3.3) for . At the alternating series still converges, to (by Abel's theorem), which is why the range is .
The binomial series. For any real exponent , has , so
where . With it is the alternating geometric series . With it gives . When is a positive integer the series stops and (3.4) is the ordinary binomial theorem.
Exhibit 2 collects the four series with their ranges and typical uses.
| Function | Series about 0 | Converges for | Typical use |
|---|---|---|---|
| all | continuous compounding, | ||
| log returns, growth rates, Kelly | |||
| annualizing, real rates, leverage | |||
| annuities and perpetuities (LM6) |
The radius of convergence has a financial meaning
The series (3.3) diverges for and the function itself does not exist at . Both edges matter. At , a return of −100%, the log of wealth is : that is ruin. It is why log-utility investors such as Kelly bettors (LM41) never accept a position that can lose everything.
For , is perfectly finite, but no number of series terms will reach it. A truncated series is a local tool; for large moves, compute the exact function.
For a +150% year, , while . Adding terms makes it worse, because the series diverges for . Use itself whenever is not small. A rough working limit for the second-order formula is , where its error stays below 4 bp of log return (Section 4).
A one-year time savings deposit at Bank of Taiwan pays a fixed nominal rate , the rate posted in October 2026. Expected inflation is , an illustrative figure. Using the exact relation of LM1, here , compute the real rate exactly and with first- and second-order approximations.
Exactly, .
Expanding gives . To first order . Keeping the next term, , which matches the exact value to within 0.0001 percentage points. The first-order rule is the familiar Fisher approximation.
Using (3.4), write the second-order approximation of and use it to convert an annual return of 9% into a monthly geometric return.
Answer
. With : , so about per month; the exact value . The neglected third-order term is positive, which is why the approximation is slightly low.
4How Good Is “≈”? The Remainder Term
An approximation without an error estimate is a guess. Taylor's theorem supplies the estimate.
Let have continuous derivatives on an interval containing and . Then
Read (3.5) as: the error is the next term of the series, evaluated at an unknown point . We rarely know , but we usually know how large can be on the interval, and that bounds the error. In big-O notation we write : halve the distance to and an order- error shrinks by a factor of about .
The error of “log return ≈ ”
For , , so with and
For , gives , and the error lies in . For , gives , and the error is negative with size at most . Losses are approximated less accurately than gains of the same size, because bends harder on the left. Exhibit 3 compares the actual errors with these bounds.
| Error | Lagrange bound | |||
|---|---|---|---|---|
| −0.20 | −0.223144 | −0.220000 | −0.003144 | 0.005208 |
| −0.10 | −0.105361 | −0.105000 | −0.000361 | 0.000457 |
| −0.05 | −0.051293 | −0.051250 | −0.000043 | 0.000049 |
| −0.01 | −0.010050 | −0.010050 | −0.0000003 | 0.0000003 |
| +0.01 | 0.009950 | 0.009950 | +0.0000003 | 0.0000003 |
| +0.05 | 0.048790 | 0.048750 | +0.000040 | 0.000042 |
| +0.10 | 0.095310 | 0.095000 | +0.000310 | 0.000333 |
| +0.20 | 0.182322 | 0.180000 | +0.002322 | 0.002667 |
| +0.50 | 0.405465 | 0.375000 | +0.030465 | 0.041667 |
On 5 August 2024, 0050 fell 9.130%. On 7 April 2025, after the US tariff announcement, it fell the full daily limit of 10.000%. For each day, compute the log return exactly and with and , and check the error against the Lagrange bound.
5 August 2024, : exact . is off by 44.4 bp; is off by 2.7 bp; the bound is bp.
7 April 2025, : exact . is off by 53.6 bp; is off by 3.6 bp, inside the bound of 4.6 bp.
Even on record crash days, the second-order formula is good to a few basis points of log return. The first-order formula is not: treating a −10% day as a −10% log return understates the damage by more than half a percentage point.
The title claims 0050's whole history, although the data start in October 2014. Before 1 June 2015 Taiwan's daily price limit was 7%, so no earlier day could fall this far. The next-worst day in the data is −7.03% (11 October 2018).
Money growing at rate per year doubles in years. Expand the denominator to explain where 72 comes from and why it works best near 8%.
From (3.3), . Inverting the bracket with the geometric series of Exhibit 2 and keeping terms of first order in :
Deep DiveProof of Taylor's theorem with the Lagrange remainderoptional · click to expand
Step 1 (integral form). By the fundamental theorem of calculus, . Integrate by parts, differentiating and taking as the antiderivative of 1:
泰勒定理說:誤差=「下一項」,只是導數要在某個不知道的點 上取值。我們不知道 在哪,但能估出導數的上限,所以能給出誤差上界。以二階的 為例,連 2025/4/7 跌停(−10%)這種極端日,誤差也只有 3.6 bp;但若用一階的「對數報酬 ≈ 簡單報酬」,誤差會超過 50 bp。另外注意:同樣幅度,下跌的誤差比上漲大,因為 在左邊彎得更厲害。
The fourth-order Taylor polynomial of about 0 is used to compute . Bound the error.
Answer
with , so and . The actual error is , inside the bound.
5Simple Returns and Log Returns
A holding-period (simple) return and a log return describe the same price move:
From (3.3) and (3.2), each is a series in the other:
Because is concave, it lies below its tangent line at the origin, which is itself. Hence for every , with equality only at (Practice Problem 5 proves it with (3.5)). So the log return is always the smaller number, by about (Exhibit 4).
| Simple return | Log return | Gap | Second-order gap |
|---|---|---|---|
| −50% | −69.31% | 19.31% | 12.50% |
| −20% | −22.31% | 2.31% | 2.00% |
| −10% | −10.54% | 0.54% | 0.50% |
| −1% | −1.005% | 0.005% | 0.005% |
| +1% | +0.995% | 0.005% | 0.005% |
| +10% | +9.53% | 0.47% | 0.50% |
| +20% | +18.23% | 1.77% | 2.00% |
| +50% | +40.55% | 9.45% | 12.50% |
| +100% | +69.31% | 30.69% | 50.00% |
Two aggregation rules, two return types
Each definition is additive along a different dimension, which is why both are needed.
- Across time, log returns add. Over periods the growth factor is , so , because the log of a product is a sum. Simple returns compound instead: .
- Across assets, simple returns add. A portfolio with weights earns exactly. Log returns do not: .
The working rule follows. Use log returns for research along the time axis — trends, volatility, cross-asset comparisons. Use simple returns whenever money is aggregated across positions — portfolio accounting, settlement, drawdown in currency.
The gap in real data
The sample is the 2,902 days on which both 0050 and 00631L traded, from November 2014 to October 2026. Each fund was halted for a few sessions around its split, so two of these returns span several sessions.
Over these days, 0050's mean daily simple return was 0.0871% and its mean daily log return 0.0794%. The difference, 0.0077% (0.77 bp) a day, is what (3.6) predicts. Half the mean squared return is 0.771 bp, and half the variance is 0.767 bp. Summed over the sample's returns a year, this “small” daily gap is roughly 1.9 percentage points of annual return.
import numpy as np
# ret: the lab's daily total returns (columns date, R_0050, R_00631L)
# on the 2,902 days when both funds traded; Part 2 of the lab builds it
# from the FinMind files in its data/ folder
R = ret["R_0050"].to_numpy()
r = np.log1p(R) # exact log returns
gap = (R.mean() - r.mean()) * 1e4 # in bp
half_m2 = (R**2).mean() / 2 * 1e4 # in bp
print(f"mean R = {R.mean():.6%}") # 0.087120%
print(f"mean r = {r.mean():.6%}") # 0.079422%
print(f"gap = {gap:.3f} bp") # 0.770 bp
print(f"mean(R^2)/2 = {half_m2:.3f} bp") # 0.771 bp, eq. (3.6)
A portfolio holds 60% in asset A, which rose 10%, and 40% in asset B, which fell 10%. Compute the portfolio's simple return and log return, and the weighted average of the two log returns. Which aggregation is wrong?
Answer
exactly, so . The weighted average of log returns is , which is wrong. Log returns do not aggregate across assets.
6Arithmetic Mean, Geometric Mean and Volatility Drag
Given returns , three averages answer three different questions.
is the average one-period outcome. is the constant return that produces the same ending wealth. is the same thing on the log scale, where it adds up over time. Wealth compounds, so and , not , describe what a buy-and-hold investor actually earned.
Deriving the drag
Apply (3.3) to each period and average:
The mean of squares needs no probability theory. With the population variance , expanding the square gives the identity
Substituting and stopping at second order:
Converting back with (3.2), , and to this order, so the terms cancel:
This is the familiar rule of thumb “geometric mean ≈ arithmetic mean − σ²/2”. The gap is called volatility drag. Equations (3.8) and (3.9) differ: (3.9) approximates the geometric simple return, while (3.8) approximates the log growth rate and keeps an extra . Both drop third- and higher-order terms, so both are approximations.
To second order, the geometric mean return equals the arithmetic mean minus half the variance, , and the log growth rate is . The neglected terms are of third order in the returns. They grow with the length of the period and the size of the moves. They depend on the mean of the returns and on their skewness, the asymmetry of moves around the mean (LM19).
How accuracy depends on the measurement period
The approximation error depends on how large the per-period returns are, so it depends on the sampling frequency. Exhibit 5 measures it on the same 0050 history at five frequencies.
| Period | exact | Error (bp) | exact | Error (bp) | |||||
|---|---|---|---|---|---|---|---|---|---|
| Daily | 2,902 | 0.087120% | 1.2385% | 0.0795% | 0.0795% | −0.00 | 0.0794% | 0.0794% | −0.00 |
| Weekly | 615 | 0.40652% | 2.4953% | 0.3755% | 0.3754% | −0.01 | 0.3748% | 0.3746% | −0.02 |
| Monthly | 144 | 1.7683% | 5.6489% | 1.6135% | 1.6087% | −0.5 | 1.6006% | 1.5931% | −0.7 |
| Quarterly | 49 | 5.3673% | 10.953% | 4.816% | 4.767% | −4.9 | 4.704% | 4.623% | −8.0 |
| Annual | 11 | 18.606% | 20.173% | 16.72% | 16.57% | −14.9 | 15.46% | 14.84% | −62.1 |
At daily frequency the approximation is exact to the displayed precision. At annual frequency, where single observations reach +48.7% and −21.3%, the error of (3.9) is 15 bp and that of (3.8) is 62 bp. The rule: second-order formulas are reliable when per-period standard deviations are a few percent, and need checking when they approach 20%.
0050's calendar-year total returns for 2020–2024 were 31.08%, 21.97%, −21.34%, 27.40% and 48.67%. Compute the arithmetic mean, the exact geometric mean and the approximation (3.9).
. The population variance of the five returns is (), so (3.9) gives .
Exactly, . The approximation is 10 bp low. An investor who quoted the 21.6% arithmetic mean as “what 0050 earned” would overstate the realized compound return by 2.6 percentage points a year.
Take the bet of LM2, which returns +2% or −1% of the stake with equal probability. Stake the whole capital on every trade, reinvesting gains. Capital then rises 2% or falls 1% per trade. Compute the arithmetic mean, the exact geometric return, the log growth rate, and both approximations.
and . Exactly, and .
Equation (3.9) gives , off by 0.006 bp. Equation (3.8) gives , off by 0.011 bp. With small moves both are excellent, but the drag is real: about 2.2% of the arithmetic edge disappears to compounding.
Take returns of +100% and −50% with equal probability. The arithmetic mean is +25%, but exactly: wealth goes nowhere. The approximation gives . With moves this large the neglected third- and fourth-order terms dominate.
For position sizing, compute directly rather than plugging into — that is exactly the empirical-Kelly procedure of LM45.
同樣的算術平均報酬,波動越大,複利後實際賺到的(幾何平均)越少,差額約等於 ,這就是「波動拖累」。它來自 的二次項,所以是二階近似:日報酬時幾乎完全精準;年報酬(單年 +48.7%、−21.3% 這種大波動)時就會有 15 到 62 bp 的誤差。要決定部位大小時,請直接算 ,不要只套 。另外記得:(3.9) 近似的是「幾何平均簡單報酬」,(3.8) 近似的是「對數成長率」,兩者差一個 。
Two funds have the same arithmetic mean annual return of 10%. Fund A has annual volatility 10%, fund B 30%. Estimate each fund's geometric mean return with (3.9). Over 20 years, roughly how many times as much wealth as B does A produce?
Answer
A: . B: . Over 20 years, : about twice the wealth, from identical arithmetic means. At 30% volatility the estimate for B is rough, beyond the 20% guide above, but the conclusion survives: with (3.8) the ratio is .
7Leveraged ETFs: Power, Drag and Residual
The daily-reset identity
A daily-reset fund with leverage promises times the index's daily simple return. Ignore costs for now and write the fund's daily return as . Its log return minus times the index's log return is, by (3.3),
The series converges when and , which daily moves satisfy by a wide margin. The first-order terms cancel exactly — that is what “ daily” buys you. What remains starts at second order.
Now sum over the days of a holding period and keep terms to second order. With the index's growth factor, the fund's and the index's realized variance, this gives
Before costs, an daily fund returns approximately the -th power of the index's growth factor, multiplied by a variance drag of . For the drag factor is ; for it is . The drag depends on the path only through realized variance, plus small third-order terms in . Those terms reflect both the trend and the skewness of daily moves.
This dissolves the paradox. “Twice the index's return” means , but for the power satisfies , with equality only at . This is Bernoulli's inequality, itself a statement that lies above its tangent line at . So the fund has two forces: compounding of the trend, versus , which favours the fund, and variance drag, which hurts it.
Strong trends with low volatility favour the fund; choppy markets with high volatility punish it. Practice Problem 9 makes this precise. Before costs, a 2× fund beats twice the index's simple return roughly when the trend exceeds the realized volatility .
Twelve years of 00631L
Exhibit 6 compares three quantities built from the same 2,902 days. They are 0050's total-return growth, an exact daily 2× of 0050, , and the Taylor formula along the path. 00631L's market price is plotted alongside.
| Component | Log points | Growth factor |
|---|---|---|
| 2 × log growth of 0050 () | 4.6097 | ×100.45 () |
| Variance drag, exact daily rebalancing | −0.44729 | ×0.639 |
| — second-order Taylor term | −0.44735 | |
| — third-order Taylor | −0.44461 | |
| — fourth-order Taylor | −0.44728 | |
| Residual: fees, financing, replication basis, price vs NAV | −0.3659 | ×0.694 |
| 00631L log growth | 3.7965 | ×44.54 |
Three conclusions follow from Exhibit 7. First, over the full sample the second-order term comes within 0.0001 log points of the exact rebalancing effect. That is partly luck: the third-order term and the fourth-order term cancel. The same cancellation explains why the third-order row alone lands farther away.
Single calendar years differ by up to 0.0025 log points (2026 to date), and the running gap reached 0.0046 on 9 April 2025. So (3.11) is accurate to a few thousandths of a log point, which against a drag of 0.447 still makes it an excellent model.
Second, the drag averaged log points a year, essentially 0050's annualized variance, ; the small difference is . Third, 00631L still grew 44-fold against 10-fold for 0050, because is a very large factor: the trend term overwhelmed the drag.
The year-by-year view in Exhibit 8 shows the two forces trading places.
| Year | 0050 total return | 00631L | 2 × 0050 | Taylor drag | Exact rebalancing effect | Residual |
|---|---|---|---|---|---|---|
| 2014 (part) | 2.374% | 6.58% | 4.75% | −0.0032 | −0.0032 | +0.0200 |
| 2015 | −6.309% | −16.54% | −12.62% | −0.0266 | −0.0265 | −0.0239 |
| 2016 | 19.644% | 39.18% | 39.29% | −0.0224 | −0.0224 | −0.0058 |
| 2017 | 18.134% | 39.82% | 36.27% | −0.0088 | −0.0087 | +0.0106 |
| 2018 | −4.951% | −10.38% | −9.90% | −0.0270 | −0.0280 | +0.0200 |
| 2019 | 33.516% | 70.87% | 67.03% | −0.0152 | −0.0150 | −0.0273 |
| 2020 | 31.084% | 68.07% | 62.17% | −0.0528 | −0.0527 | +0.0306 |
| 2021 | 21.971% | 62.22% | 43.94% | −0.0311 | −0.0308 | +0.1174 |
| 2022 | −21.342% | −36.44% | −42.68% | −0.0476 | −0.0477 | +0.0747 |
| 2023 | 27.398% | 62.93% | 54.80% | −0.0194 | −0.0191 | +0.0230 |
| 2024 | 48.671% | 58.96% | 97.34% | −0.0611 | −0.0627 | −0.2670 |
| 2025 | 36.853% | 50.99% | 73.71% | −0.0595 | −0.0603 | −0.1552 |
| 2026 (part) | 78.709% | 147.95% | 157.42% | −0.0727 | −0.0702 | −0.1830 |
- 2017, a steady uptrend with the lowest variance of any full year, is the textbook case for the power term. An exact daily 2× of 0050 would have returned 38.3% against twice the index's 36.3%.
- 2022 is the mirror image in a falling market. An exact daily 2× of 0050 would have lost 41.0%, less than twice 0050's 21.3% loss (42.7%). Compounding a downtrend also helps, because each day's 2× loss is taken on a smaller base. 00631L itself lost only 36.4%, helped by a positive residual.
- 2015, a choppy, slightly negative year, is where drag wins. An exact daily 2× would have lost 14.5% and 00631L lost 16.5%, against twice the index's −12.6%.
What Taylor cannot see: the residual
Over the whole sample the residual averaged log points a year, about −3.0% of value. Exhibit 8 shows it swinging from +0.117 (2021) to −0.267 (2024), and January to 8 October 2026 alone contributed −0.183. Over the eleven full years 2015–2025 the average was −0.018. It is not a constant fee.
The residual contains management and trading costs, the financing embedded in the leverage, any gap between market price and NAV, and replication basis. 00631L builds most of its exposure with TAIEX futures rather than Taiwan 50 instruments. On 19 May 2026 it held TAIEX futures equal to 160.87% of net assets plus TSMC shares equal to 39.63%. TSMC's weight was then 43.7% in TAIEX and 60.9% in the Taiwan 50 index.
When TSMC leads, as in 2024–2026, a futures-heavy fund lags twice the Taiwan 50. In years when the broader market does relatively better, the residual can turn positive. A model explains only the terms it contains. Equation (3.11) prices the variance drag to within a few thousandths of a log point; the residual needs its own model.
In 2022 QQQ's adjusted close fell from 386.63 to 260.68 (−32.58%) and TQQQ's from 39.55 to 8.27 (−79.09%). QQQ's daily returns had realized variance , a realized volatility of 32.1%. Decompose TQQQ's log return with (3.10) for , measuring the residual against both the second-order drag and the exact effect. Use the lab's daily QQQ returns for the third-order term and the exact rebalancing effect.
Index power: and , so .
Variance drag: the second-order term is ; adding the third-order term gives . The exact rebalancing effect is .
Residual: TQQQ's actual log return was . Against the second-order drag the residual is ; against the exact rebalancing effect it is , about 6.7% of value.
Roughly three-fifths of it is cost, about . The first term is the expense ratio of 0.86% after fee waivers (summary prospectus of 1 October 2022). The second is the cost of financing two extra units of exposure at 2022's average effective federal funds rate of 1.68%. Policy rates rose steeply during the year: the Federal Reserve lifted its target range from 0–0.25% to 4.25–4.50%.
Most of the rest, about , is a benchmark difference. QQQ's adjusted close includes its dividends, worth 0.0074 log points in 2022. TQQQ, however, targets three times the daily return of the Nasdaq-100 Index (NDX), a price index without dividends. Against QQQ's unadjusted close the residual is −0.047, about 0.005 beyond fees and financing: swap spreads, trading costs and other tracking differences.
The paradox resolves cleanly: “3 × −32.6% = −97.7%” compares the fund to the wrong benchmark. The right benchmark is , a 77.5% loss before costs (77.6% with the exact rebalancing effect). On QQQ's unadjusted closes (397.85 to 266.28), which approximate the index TQQQ targets, it is , a 78.0% loss.
“Leveraged ETFs decay” is true relative to : for a given index growth , more realized variance means less money. In fact, by Bernoulli's inequality every day, so before costs a daily fund can never beat . “Leveraged ETFs can beat ” is true relative to , because of the convexity of .
Arguments about leveraged funds usually go wrong because the two sides use different benchmarks. Neither statement says whether holding one is wise; that is a sizing question, answered by the Kelly analysis of LM42 and LM46.
The variance term in (3.11), per unit time, will reappear in LM42 as the curvature of the Kelly growth curve. A position held at a constant multiple of equity and rebalanced continuously gives up times the square of that multiple in log growth. A fund's leverage and a Kelly investor's exposure are the same variable seen from two sides.
每日重設的 倍基金,長期成長倍數 ≈ 指數成長倍數的 次方,再乘上變異數拖累 。所以「正二會耗損」和「正二打敗兩倍報酬」都對,只是比較的基準不同:前者跟 比,後者跟 比。以 0050 這 12 年的日報酬計算,二階泰勒項 −0.44735 與精確的每日再平衡效果 −0.44729 幾乎一樣(部分要歸功於三階與四階項剛好互相抵銷),平均每年拖累約 0.0375 個對數點,接近 0050 的年化變異數 0.0373。00631L 剩下的殘差平均每年約 −0.031 個對數點(約 −3.0%),不是泰勒能解釋的,來自費用、槓桿融資、市價與淨值的差距,以及「用台指期複製台灣50」造成的基差。台積電在台灣50權重 60.9%、在加權指數只有 43.7%(2026/5/19),所以台積電領漲的年份(2024–2026)正二就會落後兩倍台灣50。
An index ends a year exactly where it started () after a year with realized variance . Before costs, what does a 2× daily fund return? A 3× fund? What does “ times the index's return” predict?
Answer
By (3.11), to second order the 2× fund returns , and the 3× fund . “ times 0%” predicts 0% for both. In a flat, volatile market, drag is all that remains.
8The Same Second-Order Idea Elsewhere
Bond prices: duration and convexity
A bond's price is a smooth, convex function of its yield. A second-order expansion about the current yield gives the standard approximation
Modified duration is the slope term and convexity the curvature term: the same level–slope–curvature structure as Section 2.
A 10-year bond pays a 2% annual coupon and trades at par (yield 2%). It is the bond of LM2, priced per 100 of face value by . Its modified duration is 8.9826 and its convexity 93.995. For yield changes of +100, −100 and +300 bp, compute the percentage price change exactly, by duration alone and by duration plus convexity.
| Exact | Duration only | Duration + convexity | |
|---|---|---|---|
| +100 bp | −8.5302% | −8.9826% | −8.5126% |
| −100 bp | +9.4713% | +8.9826% | +9.4526% |
| +300 bp | −23.1652% | −26.9478% | −22.7180% |
Duration alone is symmetric and misses the convexity gain on both sides. The second-order term cuts the error at ±100 bp from 0.45–0.49 points to about 0.02. At +300 bp the second-order error grows to 0.4472 points, against 0.0176 at +100 bp. Three times the shock gives about 25 times the error, close to the factor of 27 that an remainder implies.
Exhibit 9 shows the same comparison across all yields from 0% to 6%: the tangent line misses the curvature that the second-order term restores.
Options: delta and gamma
An option's value expanded to second order in the underlying price and first order in time gives the trader's daily P&L approximation
where , and . A delta-hedged book removes the first term and keeps the gamma term: it earns from realized moves and pays for the privilege. LM31 develops this for TXO and warrants.
A preview of Itô's lemma
Apply a second-order expansion to when the price follows a random walk with per-period return , with a standard random shock:
In ordinary calculus the squared term is negligible, because is much smaller than . Here it is not: is of the same order as the drift , and averages to . As the shocks become the increments of a standard Brownian motion (LM27), and keeping the squared term yields
This is Itô's lemma for the logarithm, and the in it is the volatility drag of Section 6. In discrete time the drag was an approximation; in continuous time it becomes exact, because every higher-order term vanishes as . LM28 makes this rigorous, and LM29 uses it to solve geometric Brownian motion.
Deep DiveWhy behaves like optional · click to expand
Here is a horizon in years and a number of steps. Let with standard normal. Then and . Split into steps and add the squared increments: the sum has mean and variance , which goes to as .
The sum of squared increments therefore converges to the deterministic number : the quadratic variation of Brownian motion. A smooth path has quadratic variation , because its squared increments are of order . That single difference is why stochastic calculus keeps the second-order Taylor term and ordinary calculus discards it.
Why does a long-only bond portfolio with positive convexity gain from a large yield move in either direction, relative to the duration-only estimate?
Answer
The convexity term is positive whatever the sign of . Rates up: the loss is smaller than duration predicts. Rates down: the gain is larger. It is the bond-market analogue of a long-gamma option position.
9Taylor Approximations in Python
Two habits make approximations safe in code. First, compute the exact quantity alongside the approximation and report the gap. Second, prefer numerically stable library functions: np.log1p(x) and np.expm1(x) are accurate for tiny x, where np.log(1 + x) loses digits to rounding.
import math
def taylor_log1p(x, n):
"""Order-n Maclaurin polynomial of ln(1+x), eq. (3.3)."""
return sum((-1) ** (k + 1) * x**k / k for k in range(1, n + 1))
def lagrange_bound_log1p(x, n):
"""Upper bound on |ln(1+x) - T_n(x)| from eq. (3.5)."""
base = 1.0 if x >= 0 else 1.0 + x
return abs(x) ** (n + 1) / ((n + 1) * base ** (n + 1))
for x in (-0.10, -0.0913, 0.05, 0.50):
err = math.log1p(x) - taylor_log1p(x, 2)
bound = lagrange_bound_log1p(x, 2)
print(f"x={x:+.4f} error={err:+.2e} bound={bound:.2e}")
The decomposition of Section 7 takes a few vectorized lines for any index–fund pair with aligned daily simple returns:
import numpy as np
def leverage_decomposition(R, RF, L):
"""Split a daily-reset fund's log growth into power, drag and residual
(eqs. 3.10-3.11). R, RF: aligned daily simple returns of the index and
the fund, as NumPy arrays."""
power = L * np.log1p(R).sum() # ln G^L
exact_drag = (np.log1p(L * R) - L * np.log1p(R)).sum() # exact effect
taylor2 = -L * (L - 1) / 2 * (R**2).sum() # to 2nd order
taylor3 = taylor2 + (L**3 - L) / 3 * (R**3).sum() # to 3rd order
taylor4 = taylor3 - (L**4 - L) / 4 * (R**4).sum() # to 4th order
actual = np.log1p(RF).sum()
return {"power": power, "exact_drag": exact_drag,
"taylor2": taylor2, "taylor3": taylor3, "taylor4": taylor4,
"residual": actual - power - exact_drag, "actual": actual}
# ret: the lab's aligned daily returns, built in its Part 2
# from the files in its data/ folder
R, RF = ret["R_0050"].to_numpy(), ret["R_00631L"].to_numpy()
d = leverage_decomposition(R, RF, L=2)
print({name: round(float(v), 5) for name, v in d.items()})
# power 4.60966, exact_drag -0.44729, taylor2 -0.44735, taylor3 -0.44461,
# taylor4 -0.44728, residual -0.36588, actual 3.79649
The Polars-first notebook LM03_lab.ipynb rebuilds every exhibit and computational example in this module, and the numbers in its knowledge checks. The data-driven ones use FinMind price files: Exhibit 1, Exhibit 5, Exhibit 6 to Exhibit 8, Example 3, Example 5 and Example 7. Along the way it handles the 0050 split and dividends and the 00631L split. It also solves the computational practice problems and ends with an extension exercise on an inverse fund.
The notebook reads FinMind files that you download once with your own token. From the repository root, run uv run python data/fetch_finmind.py, then uv run python data/make_lab_data.py. FinMind's licence does not allow the book to redistribute the data. After that, the notebook runs offline.
Summary
- A Taylor polynomial (3.1) matches a function's value and first derivatives at one point. Its coefficients are because differentiating times produces .
- The expansions of , and generate most financial approximations. The series for converges only on ; for large moves, use the exact function.
- The Lagrange remainder (3.5) makes every “≈” checkable: the error is the next term at an unknown point. For the error stays below 4 bp of log return for daily moves up to 10%, including the 2024 and 2025 crash days.
- Log returns add across time; simple returns add across assets. The log return is smaller than the simple return by about .
- Volatility drag: and . Both are second-order approximations whose error grows with the size of per-period moves.
- A daily-reset fund earns approximately before costs. On 0050 over the full 2014–2026 sample, the Taylor term (−0.44735) came within 0.0001 of the exact rebalancing effect (−0.44729). Cancelling third- and fourth-order terms helped; single calendar years differ by up to 0.0025. 00631L's further residual of −0.031 log points (about −3.0%) a year reflects costs and futures-based replication.
- Duration–convexity, delta–gamma and Itô's lemma share the level–slope–curvature structure. In Itô's lemma the squared term survives because is of order .
Practice Problems
-
The second-order Maclaurin polynomial of is:
- A.
- B.
- C.
-
For a simple return of +8%, the second-order approximation gives a log return closest to:
- A.7.68%
- B.7.70%
- C.8.00%
-
Approximate with the second-order Taylor polynomial about 0. Compute the Lagrange bound on the error and the actual error.
-
A fund's annual returns over three years are +30%, −20% and +10%. Its geometric mean return is closest to:
- A.3.5%
- B.4.6%
- C.6.7%
-
Use the Lagrange form of the first-order remainder to prove that for every , with equality only at .
-
A strategy returns +60% or −40% per period with equal probability. Compute the arithmetic mean, the exact geometric mean and the approximation . Explain the size of the approximation error.
-
An index rises 10% on day 1 and falls 10% on day 2. Compute the two-day return of the index and of a 2× daily fund (before costs). Then compute and the approximation (3.11), and comment on the result.
-
Over a year an index's growth factor is and its realized variance is . Before costs, a 3× daily fund's annual return is closest to:
- A.+32%
- B.+60%
- C.+73%
-
Show that, before costs and to first order in , a 2× daily fund beats twice the index's simple return exactly when . Check the condition for 0050 in 2017 (, ) and 2015 (, ).
-
A bond has modified duration 7.5 and convexity 70. Estimate its percentage price change if its yield rises by 150 bp.
-
Which statement about the Maclaurin series of is correct?
- A.It converges for every real .
- B.It converges for only.
- C.It converges for only.
-
Derive the doubling-time approximation and use it for . Compare with the exact value and the rule of 72.
-
Nominal return is 3% and inflation is 2.5%. Compute the real return exactly, with the first-order Fisher approximation, and with the second-order correction.
-
(Python) Apply
leverage_decompositionfrom Section 9 to the lab's aligned return frameret, restricted to the years 2020–2023 combined, to decompose 00631L's log growth. Which term changes sign compared with the full-period result?
Solutions
-
B is correct. , and , so . Equivalently, substitute into (3.2).
-
A is correct. . B is the exact , which the question does not ask for; C is the first-order value . The exact value exceeds the approximation by 0.016 points, close to the third-order term points.
-
; exactly, . The error is . For the bound is , so the actual error is about 83% of the bound.
-
B is correct. ; as a check, with and population variance , (3.9) gives . C is the arithmetic mean. A uses the sample variance, which divides by instead of as (3.7) does: .
-
At both sides are 0; for , has a continuous second derivative on , which contains 0 and . So (3.5) with and gives for some strictly between 0 and . Since and , the remainder is strictly negative and . Hence for every , with equality only at .
-
, , so . Exactly, . The error of 0.48 percentage points is large because the two outcomes, +60% and −40%, sit ±50% around the mean. At that distance, third- and fourth-order terms are not negligible (compare Exhibit 3 and Exhibit 4).
-
Index: ; the fund, , lost four times as much. , and , so (3.11) gives , a −3.93% return against the exact −4.00%. Of the fund's −0.0408 log return, −0.0201 is the power term and −0.0207 is drag. The second-order term captures the drag almost entirely, even with 10% daily moves.
-
A is correct. , about +32%. B is three times the index's simple return; C is without drag.
-
Before costs the fund's growth factor is ; twice the index's simple return gives . The fund wins when , i.e. , i.e. . For 2017: , so the fund should win; indeed exact daily 2× returned 38.3% against 36.3%. For 2015: , so the fund should lose; exact daily 2× returned −14.5% against −12.6%.
-
.
-
C is correct (Section 3). At the series converges to , which B misses; at the function is undefined and the series diverges. For the terms grow without bound, which rules out A.
-
See Example 4. At : years (11.897 with the rounded constants 0.693 and 0.347); exact ; the rule of 72 gives 12.
-
Exact: . First order: . Second order: .
-
Over 2020–2023 the power term is and the exact rebalancing effect (second-order , third-order ). The residual is , so the actual log growth is (00631L +182.4%). The residual equals the sum of the four yearly residuals in Exhibit 8 (0.2457 at that table's rounding).
Against the full period (residual −0.3659) only the residual changes sign. The drag stays negative, as it must; the residual is driven largely by replication basis, which can help as well as hurt.
Glossary
| Term | 中文 | Meaning |
|---|---|---|
| Taylor polynomial | 泰勒多項式 | Polynomial matching a function's value and first derivatives at a point, (3.1). |
| Maclaurin series | 馬克勞林級數 | Taylor series about . |
| Lagrange remainder | 拉格朗日餘項 | Error term of an order- approximation, (3.5). |
| Radius of convergence | 收斂半徑 | Distance from the expansion point within which a power series converges. |
| Big-O notation | 大O符號 | : a quantity bounded by a constant times as . |
| Simple return | 簡單報酬 | ; adds across assets. |
| Log return | 對數報酬 | , the continuously compounded return; adds across time. |
| Geometric mean return | 幾何平均報酬 | Constant per-period return producing the same terminal wealth. |
| Volatility drag | 波動拖累 | Arithmetic minus geometric mean, to second order. |
| Realized variance | 實現變異數 | over a holding period. |
| Daily-reset leveraged ETF | 每日重設槓桿型 ETF | Fund targeting times the index's daily return. |
| Replication basis | 複製基差 | Return gap from tracking an index with different instruments, such as TAIEX futures for Taiwan 50. |
| Modified duration | 修正存續期間 | : first-order price sensitivity to yield. |
| Convexity | 凸性 | : second-order price sensitivity to yield. |
| Delta, gamma | Delta、Gamma | First and second derivatives of an option's value with respect to the underlying price. |
| Quadratic variation | 二次變分 | Limit of the sum of squared increments of a path; for Brownian motion on . |
References
- Stewart, J., D. K. Clegg, and S. Watson (2021). Calculus: Early Transcendentals, 9th ed. Cengage (ISBN 9781337613927). Chapter on infinite sequences and series (Taylor and Maclaurin series).
- Cheng, M., and A. Madhavan (2009). “The Dynamics of Leveraged and Inverse Exchange-Traded Funds.” Journal of Investment Management 7 (4).
- Avellaneda, M., and S. Zhang (2010). “Path-Dependence of Leveraged ETF Returns.” SIAM Journal on Financial Mathematics 1: 586–603.
- 姚惠茹 (26 May 2026). “00631L 曝台積電權重落差!決議增持權值股現貨「貼近指數兩倍報酬」.” TechNews 科技新報, 財經, 26 May 2026.
- 三立新聞網 (27 May 2026). “狂飆3311%!這檔正二增持「台積電」現貨 投信操作戰術曝光.” SETN, news 1844764.
- Taiwan Stock Exchange. Company history: the daily price fluctuation limit was raised from 7% to 10% on 1 June 2015. TWSE, company history, accessed 11 October 2026.
- Bank of Taiwan. New Taiwan dollar deposit rates: one-year time savings deposit, fixed rate 1.725%, in force since 1 August 2024. Bank of Taiwan, deposit rates, accessed 11 October 2026.
- ProShares Trust. Summary prospectus of ProShares UltraPro QQQ (TQQQ), 1 October 2022: objective of three times the daily return of the Nasdaq-100 Index (Bloomberg ticker NDX); total annual operating expenses 0.98% before and 0.86% after fee waivers. SEC EDGAR, summary prospectus.
- Nasdaq, Inc. NDX index versions: the Nasdaq-100 (NDX) is the price-return version, which leaves cash dividends out; the total-return version, XNDX, reinvests them on the ex-date. Nasdaq, NDX index versions (PDF), accessed 11 October 2026.
- Board of Governors of the Federal Reserve System. Open market operations: changes in the federal funds target range, 2022. Federal Reserve, open market operations, accessed 11 October 2026.
- Federal Reserve Bank of St. Louis. Effective federal funds rate, monthly, series FEDFUNDS; the twelve monthly values of 2022 average 1.68%. FRED, FEDFUNDS, accessed 11 October 2026.
- FinMind open data:
TaiwanStockPrice,TaiwanStockDividendResult(0050, 00631L) andUSStockPrice(QQQ, TQQQ), retrieved 10 October 2026.