Taylor Approximation of Expectations
Context: FIT2086_MOC · the repair for ➔ approximates the mean and variance of a transformed RV from and alone · consumes the derivative rules in Mathematics for Modelling (Log, Exp, Calculus)
Quick Revision
- 🎯 Objective: given only , and a twice-differentiable :
- 📦 Core Components: 2nd-order expansion for the mean (the term dies) ➔ 1st-order expansion for the variance (2nd order would need ).
- ⚡ Key Constraint: the derivatives are evaluated at , not at — is a number. Differentiate first, substitute second.
📝 How It Works
1. The problem it solves
- Non-linearity breaks the swap ➔ in general; equality holds only when is linear in (then linearity applies exactly).
- Firing preconditions ➔ (i) and both exist and are finite; (ii) is twice differentiable in . State both before applying — the result is void without them.
- Approximate, not exact ➔ the error is the truncated Taylor remainder; accuracy degrades as grows or curves sharply near .
2. Notation — Leibniz vs Lagrange
- Same object, two scripts ➔ and .
- Read Leibniz as an instruction ➔ differentiate w.r.t. the dummy variable , then evaluate the resulting function at ; the bracket-then-subscript order is what the notation encodes.
- Why Leibniz ➔ it extends cleanly to multiple variables (partial derivatives), which Lagrange’s prime does not.
- Squaring trap ➔ — square the evaluated number, never differentiate .
3. Formal Proof Blueprint —
Theorem. . Strategy. Second-order Taylor expansion of about , then take expectations term by term and kill the linear term.
Sealing move: the first-derivative contribution vanishes because , and is precisely .
4. Formal Proof Blueprint —
Theorem. . Strategy. First-order expansion about , then take variances using and .
Why only first order here ➔ a second-order expansion would introduce , a quantity the assumptions ( and only) do not supply.
⚖️ Core Decision Matrix
| Target | Expansion order used | Terms that survive | Why the other order fails |
|---|---|---|---|
| second | and | first order alone gives — no correction at all | |
| first | second order needs , unknown under the assumptions |
When It Flips: the correction is what separates the approximation from the naive . When (locally linear at ) the two coincide; the larger , the worse plugging in the mean becomes.
📊 Exam Execution Trace & Applied Exercises
Applied Exercise — quadratic transform
Problem: has mean and variance . Approximate and .
Final Extracted Output: the mean picks up an extra over the naive , and the variance of a squared RV grows with the square of the mean of that RV.
⚠️ Common Mistakes
- 💡 Evaluating derivatives at , not ➔ the formulas need numbers ; leaving in the answer means the expectation was never taken.
- 💡 Using second order for the variance ➔ tempting for symmetry, but it demands which is outside the assumptions; the first-order result is the examinable one.
- 💡 Applying it without checking the preconditions ➔ if or does not exist (heavy tails), or is not twice differentiable, the approximation is invalid — state both conditions when you invoke it.
- 💡 Reporting as ➔ these are approximations; only a linear makes exact.
🧠 Active Recall
Derive and explain why the first-derivative term disappears.
Answer
- Short answer: expand about , then take expectations of the right-hand side.
- Why: by definition of the mean ➔ the linear term vanishes identically, while by definition of variance, leaving . The constants pass through by linearity.
Why is only a first-order expansion used for , when the mean gets a second-order one?
Answer
- Short answer: a second-order expansion would require the variance of , i.e. — a quantity the stated assumptions (finite and only) do not give.
- Why: First order suffices because and ➔ drops the constant entirely and pulls out squared, yielding using nothing beyond .