Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 4 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Three useful methods are antithetic variates, a control variate, and stratified sampling. Their purpose is to reduce sampling variance at comparable computational cost, rather than merely to take more samples.
For antithetic variates, generate independent pairs and average both payoffs. Since the call integrand is increasing, the two values have nonpositive covariance. Indeed, for an independent copy , twice that covariance is the expectation of , which is nonpositive pointwise. With evaluations, the paired average has varianceFor a control variate, use the same simulated discounted stock value , whose known mean is . Replace the discounted call payoff by , preserving its mean. Minimizing its quadratic variance givesA predetermined coefficient or an independent pilot estimate preserves exact unbiasedness; fitting the coefficient from the same observations requires care.
For stratified sampling, divide into equal intervals, sample independently and uniformly within each, and average their payoffs. If is the conditional variance in interval , this unbiased estimator has variance . The law of total variance gives , so this is at most the variance of ordinary independent samples. Stratification removes randomness in how many samples fall in each region, which is particularly valuable when conditional payoff means vary strongly.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 4 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Let denote the strike, , and suppose , , and . Under the Black-Scholes model and the risk-neutral measure, is normal withApplying risk-neutral valuation to the European call option payoff givesUse , whose differential is precisely the normal density times . The threshold is , soEquivalently, rescale the tail interval to obtain on .
For independent uniform inputs, the Monte Carlo estimator is . It is unbiased, converges by the strong law of large numbers, and has variance . The payoff has finite second moment because the lognormal stock has finite moments. Its estimated standard error is the sample standard deviation divided by .
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 4 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
One route is inverse transform sampling: if is the standard normal cumulative distribution function, then has the normal distribution with mean and variance .
Alternatively the Box-Muller transform uses two independent uniform inputs :To verify this, set and . The radial density is for , and the angle is independent and uniform. Their joint density is . Changing to Cartesian coordinates divides by the Jacobian determinant , givingThis factors into two standard normal densities, proving both normality and independence. Then provides the required means and variances. Implementations must avoid the zero input to the logarithm; ideal continuous uniforms hit it with probability zero.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 4 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
For an invertible continuous cumulative distribution function, monotonicity givesThus each transformed observation has the desired distribution. More generally use the quantile function ; the same event identity proves inverse transform sampling even when there are atoms. Independent uniform inputs give independent transformed samples; mere uniform marginal distributions do not imply independence between different samples.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 3 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The usual replication argument needs two hypotheses implicit in the pricing conclusion: the strategy must replicate the payoff, , and its discounted gains must be integrable. Bounded predictable risky holdings suffice for the latter. Under these conditions, the equivalent martingale measure and part (c) giveThus discounted wealth is a martingale, and repeated conditioning givesFor a normalized initial bank account, , deterministic terminal bank value, and trivial initial information, this reduces to the intended risk-neutral pricing formulaIf is random it must remain inside the expectation. If a claim is not replicable, the existence of an equivalent martingale measure alone does not make its arbitrage-free price unique.
The discounted wealth martingale integrability condition cannot simply be dropped. For a concrete counterexample, set , , , and , where is uniform on and an independent fair sign. These positive bounded prices form a martingale in the natural filtration. Start with zero holdings; at time one buy shares financed by borrowing . This is previsible and self-financing, but its terminal wealth is , whose absolute expectation is infinite. It is therefore not a martingale. The stated pricing proof applies to the standard integrable replication class, rather than all unconstrained previsible strategies.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 3 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
By the tower property of conditional expectation and the defining martingale identity,Iteration givesThe integrability in the definition ensures these expectations exist.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 3 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
A process is a -martingale relative to the filtration when it is adapted, each is integrable, andHere adapted means is -measurable, and integrable means . Thus its present value is the conditional mean of its next value given all present information.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 2 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The power-wealth investment with running utility objective is homogeneous of degree in wealth: scaling both wealth and positions by scales the reward by . Accordingly set . ThenFor completeness the remaining equation is , , whereThis confirms . The constant optimal risky fraction also makes wealth a positive geometric Brownian motion when started positive.
Financially the relative risk aversion coefficient is . Increasing reduces risk aversion, raises the risky fraction, and decreases the bond fraction: its derivative is . If the risky fraction is below one, some wealth is lent; at one, none is invested in bonds; above one, represents borrowing to leverage the risky position. As the risky fraction becomes unbounded, consistent with the absence of a finite unconstrained optimum for linear utility and positive excess drift. As the limiting fraction is , the logarithmic-utility allocation obtained by the appropriately rescaled power-utility limit; the literal objective at would be constant and would not select a unique strategy.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 2 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Use for current wealth and for the dollar position in the risky asset. Its controlled dynamics have drift and diffusion coefficient . Over a short time step , the dynamic programming principle givesApply Itô formula to the second term, divide by , and let . The Hamilton-Jacobi-Bellman equation isFor the increasing concave value function, and , so the expression is a strictly concave quadratic in the risky position. Its derivative vanishes atSubstitution of this maximizer yieldsThere is a running utility reward but no consumption withdrawal in the wealth dynamics. The required concavity is also verified explicitly by the positive coefficient in part (d), so this stationary point really is the maximum.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 2 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Constant relative risk aversion coefficient means that does not depend on wealth, for and . The defining differential equation integrates asA second integration therefore givesThe additive constant and positive scale do not affect expected utility preferences. Since , positive gives risk aversion, zero gives risk neutrality, and negative gives risk seeking. These are respectively concave, affine and convex utility functions. The usual CRRA utility class is the positive- case.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 2 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Indifference means equality of the risky expected utility and the utility of the sure reduced wealth. A second-order Taylor expansion, using , givesFor the sure alternative,Equating these and retaining the leading terms produces the small multiplicative risk premiumFor increasing concave utility functions this is positive. The approximation assumes genuinely small shocks with controlled Taylor remainders and positive final wealth; small variance alone would not justify it for rare large shocks.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 1 g Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
All three individual risky assets now have negative excess expected returns. The covariance matrix and the risky portfolio opportunity set remain unchanged, but the risk-free point moves above all three individual means. Solving the new tangency equations givesThe sign of the normalized tangency portfolio now matters. Normalizing to a unit risky budget givesand its Sharpe ratio is . This point touches the lower risky frontier, rather than being an efficient positive-premium market portfolio.
The positive-premium efficient direction is still , . It shorts the first two assets, holds a hedging long position in the third, and has negative total risky investment. Its risk-free investment exceeds its initial wealth: the net proceeds of short selling are lent. Equivalently it takes a negative position in the normalized tangency portfolio. ThusNegative excess means therefore do not eliminate efficient risky investments when unrestricted short selling is allowed. The second diagram shows both orientations; it would be incorrect to interpret the negative normalized ratio as a negative slope for the upper efficient ray.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 1 f Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The excess expected return is . Dividing it by the return standard deviation yields the Sharpe ratio and upper capital market line slope:
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 1 e Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The expected return of the market portfolio is the weighted mean of the asset returns:For its variance, use rather than expanding nine terms:Hence its return standard deviation isMeans and standard deviations here are both measured in percentage points, consistently with the given covariance matrix.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 1 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The risky weights of the normalized market portfolio must sum to one. Since , divide each component by this sum:Every weight is positive in this case, although the optimization permitted short selling.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 1 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Direct substitution into the three equations givesSince the covariance matrix is invertible, this identifies its unique solution:The original PDF has all three components; the converted TeX's damaged binomial notation should not be used.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 35 1 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Write and let denote the risky holdings as fractions of total wealth. The remaining fraction is in the risk-free asset. Consequently their excess expected return is and their variance is . The Cauchy-Schwarz inequality in the inner product defined by givesEquality with positive excess return holds precisely for , , where . Thus solving determines both the efficient risky direction and the upper capital market line slope. Provided , the normalized market portfolio and its Sharpe ratio areHere the excess means are , so the required equations areThe leading principal minors of are , and , so Sylvester's criterion verifies positive definiteness and the solution is unique.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





