Past exam of the mathematical methods II course of the University of Oxford 2019 resit 9 c Solution 2026-10-25
Set , so . The negative binomial series gives for . Hence the exact Taylor series isThe initial terms are . Equivalently the coefficient of is , obtained by differentiating repeatedly and evaluating at .
The radius of convergence is three, set by the pole at . At either endpoint , the terms fail to tend to zero, so neither endpoint is included.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 35 1 Solution Created 2026-10-03 Updated 2026-10-14
Condition on the claim count. The empty random sum of independent claims is zero, and independence gives . Therefore the random-sum transform identity iswherever the composition is finite. This follows directly from the law of total expectation, rather than replacing the random count by its mean.
Put . For the specified negative binomial distribution, the negative binomial series gives . A rate- exponential distribution has moment-generating function . HenceThe last expression is exactly the moment-generating function of a compound binomial distribution with independent count and severitiesThe moment-generating function exists in a neighborhood of zero, so its uniqueness identifies the distributions. In particular, the new claim sizes have mean , not , and both aggregate distributions have an atom at zero. This is the negative-binomial sum of exponential claims representation with the severity rate explicitly retained.
Conditional on , the aggregate has Erlang distribution with density on . Repeated integration by parts of its tail givesIndeed, after substituting , the integral reduces recursively to the corresponding integral with exponent , terminating at . Applying the law of total probability yields the original infinite mixture distribution tailApplying the same argument to the compound binomial distribution gives instead the finite Erlang-mixture tail for a negative-binomial exponential aggregate:The two tails are equal. The binomial representation replaces an infinite sum by a finite exact calculation, eliminating the need to choose a claim-count truncation and control its omitted tail. The inner sums can be evaluated recursively, using for their exponential-weighted terms.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 35 4 Solution Created 2026-10-03 Updated 2026-10-14
Only routes with need a per-flow rate: absent flows contribute no utility and have no completion events. Interpret the proportional-change sum and the logarithmic objective on these active routes. With positive capacities and finitely many nonempty routes, a strictly positive feasible active-rate vector exists. Define its weighted logarithmic utility by , with value if an active rate is zero.
For positive feasible , the elementary concavity inequality givesThe last sum is nonpositive by proportional fairness. Feasible competitors with a zero active rate have utility , so they cannot improve it either. Thus a proportionally fair allocation maximizes weighted logarithmic utility. Conversely, if maximizes this utility, the feasible line segment has nonpositive right derivative at , giving precisely . This also covers a competitor with zero coordinates, since stays positive for sufficiently small . The strictly concave function makes the active-rate optimizer unique.
For the linear flow network, put and . If and resource is not saturated, its local per-flow rate could be increased without affecting any other resource. This would strictly increase weighted logarithmic utility. HenceIf and , substitute on all active local routes into the utility. The terms depending on areIts derivative vanishes when , so . Its second derivative is negative, giving the unique maximizer. If , utility increases up to the capacity endpoint . If , each active local route uses its entire local resource. Altogether the proportionally fair allocation on a linear flow network isAbsent-route rates may be set to zero, and departures are zero at the empty state . Notice that these are per-flow rates: the aggregate through service is , while each active local route gets aggregate service .
In the document-transfer flow-level network model, let be the unit vector for route . Independent Poisson processes of flow arrivals give transitions at rate . An active document on route receives service at rate and has an exponential distribution of size with parameter . By the memoryless property, its instantaneous completion rate is . Summing over the active documents gives the continuous-time Markov chain intensitiesThus through-route departures have rate , and active local departures have rate . All other off-diagonal intensities vanish. The diagonal intensity is the negative of the sum of the outgoing intensities. Each route's aggregate service is at most one, so the total jump rate is bounded by ; the process is a nonexplosive continuous-time Markov chain.
Set , assume , and define the balance function of a flow-level network byThe adjacent-state ratios of this binomial coefficient areThey equal the aggregate service rates just obtained. Therefore, with ,These are the detailed balance for a continuous-time Markov chain equations on every adjacent pair. Summing incoming and outgoing pairs proves stationarity whenever the weights can be normalized. Hence the stationary law of a linear flow network isThe coefficient here is a binomial coefficient, not merely the total number of flows. Both it and the denominator in are visible in the original PDF but missing from the converted TeX.
We can also determine exactly when the normalizing constant is finite. For , summing first over with local counts fixed and applying the negative binomial series givesThe remaining sums are independent geometric series. Thusprovided for every . These inequalities are also necessary: if , the states with every local count zero already give a divergent sum; otherwise any local ratio at least one makes its geometric series diverge. Thus the stationary formula requires strict offered load below capacity at every resource. With positive arrival rates, the process is irreducible, and these normalizable detailed balance weights give its unique stationary distribution. Outside these inequalities, the displayed weights are not a probability distribution. Zero arrival rates can be handled on the reachable class by setting the corresponding population to zero.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 35 5 Solution Created 2026-10-03 Updated 2026-10-14
For a network with link-route incidence matrix , a per-flow rate vector is feasible when and for every resource. A proportionally fair allocation has strictly positive rates on active routes and satisfiesfor every feasible competing allocation . Equivalently it maximizes the weighted logarithmic utility subject to the capacity constraints. The equivalence follows from the first-order condition for this concave objective; strict concavity gives uniqueness on active routes. Rates on absent routes have no operational effect and may be set to zero.
Use labels for the routes , and put , , , , . The two-resource linear flow network has constraintsWhen and , write for aggregate through service. Every active local route uses the remainder of its resource, since increasing its rate increases utility. Up to additive constants, the objective becomes . Its derivative is , so its unique maximum is . This argument remains valid if only one local route is active: the unused local resource adds only the constraint . The resulting proportionally fair allocation on a two-resource linear network isIf , each active local route receives its resource equally, or , as the same formulas prescribe. If , only the through route is active and . At all rates may be set to zero. In particular no displayed expression is applied to an absent route with a zero denominator.
For independent Poisson processes of flow arrivals and independent exponential document sizes of parameters , the memoryless property makes a continuous-time Markov chain. Each active flow completes with instantaneous rate , so the flow-level network model has transitionsThus for the aggregate service rates areThey vanish at the empty state. The total transition rate is bounded by , so the process is nonexplosive.
Put and define the balance function of a flow-level networkThe elementary binomial coefficient ratios areHence whenever that departure is possible. Weights satisfy detailed balance for a continuous-time Markov chain, sinceWhen summable they therefore give the stationary law of a two-resource linear flow network,
It remains to determine exactly when these weights normalize. First, summing only the terms requires . For such , the negative binomial series, or the supplied identity with parameter , givesAll weights are nonnegative, so the Tonelli theorem permits this order of summation. The normalizing sum is thenThe two geometric series converge precisely under the stability conditions for a two-resource linear flow network, and evaluating them yieldsThese are exactly the strict offered-load constraints on the two unit-capacity resources; equality already makes a geometric sum diverge. For positive arrival rates the chain is irreducible, so the normalized law is its unique stationary probability and the chain is positive recurrent. Nonnegative arrival rates are also allowed with in the weights: a zero-arrival route is absent in the closed stationary class, and the same normalization conditions and formula remain valid there.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 30 5 Solution Created 2026-10-03 Updated 2026-10-14
Here is the rate per individual active flow, and is its route's aggregate rate. On routes with , a proportionally fair allocation is a feasible positive rate vector satisfyingfor every feasible competitor , where feasibility means . This is equivalent to maximizing weighted logarithmic utility : its gradient gives the displayed inequality, and the supporting-tangent inequality proves sufficiency. The objective is strictly concave on active rates. Rates assigned to absent flows are irrelevant and may be set to zero.
For the linear flow network, an active local route can increase its rate if its link constraint has slack, improving the objective without affecting any other link. ThusPut and . If and , eliminate the active local rates by . Up to constants, the utility becomesIts derivative is , which vanishes exactly atStrict concavity proves this is the optimum, and unused local links impose no stronger constraint because . If , maximizing gives , the same formula. If , each active local route has . These are the proportionally fair allocation on a linear flow network. When , there is no service to allocate.
The memoryless property of exponential document sizes makes a flow transmitting at rate complete with intensity . Summing over its flows gives the flow-level network model transition ratesand, for nonempty states,All absent-route departure intensities, including those at the empty state, are zero. In particular the local completion rate is the aggregate rate , not . Total rates are bounded by , so the continuous-time Markov chain is nonexplosive.
Set and consider the weightsThe binomial coefficient is the balance function of a flow-level network. For a through-route arrival, its adjacent-weight ratio isThe reverse departure rate is , so . For a local-route arrival,and the reverse departure rate is , giving the same detailed balance identity. This includes arrivals from the empty state.
To normalize, first fix all local counts and sum over . The negative binomial series givesThe remaining geometric series factor, soThis is finite precisely under the stated strict load inequalities for each resource. Thus detailed balance proves the stationary law of a linear flow network:With positive arrival rates this is the unique stationary distribution of the irreducible chain. Zero arrival rates are handled by restricting to the accessible class with their counts zero, interpreting .
Summing this distribution over gives local-count independence in a linear flow network:These are independent geometric distributions. Differentiating a geometric series, or summing its mean directly, givesThis independence concerns the local counts at one stationary time; their evolving processes share the through route and are not independent processes.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 38 1 b Solution Created 2026-10-03 Updated 2026-10-14
The original PDF specifies a geometric distribution on , with probabilities . Its probability generating function is . By independence, the total original claim count hasThe coefficient follows from the negative binomial series. Thus one representation uses independent unit-rate exponential distribution steps and a negative binomial distribution count .
There is a second useful random sum of independent claims representation. For one policy, the random-sum transform identity givesThis is the mixture distribution of zero with probability and a rate- exponential distribution with probability . Consequentlywith the binomial distribution count independent of the independent steps. Equality follows by multiplying the moment-generating functions. This is a negative-binomial sum of exponential claims.
When , the three values of giveThus the zero mass is , and the conditional positive probability density function isIts integral is . Equivalently the positive-component cumulative distribution function isso . For , .
Past exam of the mathematics course of the University of Cambridge 2011 ia Paper 2 10F b Solution Created 2026-09-24 Updated 2026-10-14
Each waiting time has the geometric distribution on with success probability : a wait of length consists of failures followed by the prescribed success, so its probability is . HenceDisjoint successive blocks of independent tosses give independent waiting times. More explicitly, any specified list of block lengths determines exactly one allowed sequence of heads and tails and has probability , the product of the individual block probabilities.
There are waiting times. Multiplication of their probability generating functions and addition of their expectations giveTo recover its probability mass function, expand by the negative binomial series:The coefficient of is thereforeand it is zero below . Equivalently there are compositions of into positive block lengths, each with probability . This is the negative binomial distribution for a sum of geometric waiting times, even though the desired outcome alternates between blocks.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 37 5 Solution Created 2026-10-03 Updated 2026-10-07
Let be the rate of each individual flow on route , so its aggregate rate is . The feasible allocations satisfy . An allocation has proportional fairness if, for every feasible ,Equivalently it maximizes over positive active-route rates. This is the first-order optimality condition for a concave objective on a convex set. Rates for absent flows can be set to zero.
For the linear flow network, put and . If , unused capacity on link could increase , soWhen , write . For active local routes their aggregate rates are , and the objective, up to constants independent of , isFor , differentiation gives , hence ; when the maximizing endpoint is , giving the same answer. Thus the proportionally fair allocation on a linear flow network isIf and , this gives on every active local route, as expected. No departure occurs at the empty state.
Independent Poisson processes of flow arrivals and independent exponential distributions of document sizes make the count vector a continuous-time Markov chain. By the memoryless property, a surviving residual size with exponential distribution still has rate per unit of transferred data, so each route- flow completes at instantaneous rate . The transition intensities areHence the through-route departure rate is and each active local route's rate is .
To obtain the stationary law of a linear flow network, defineFor a through departure ; for an active local departure . These are exactly the aggregate service rates, so the detailed balance identities hold. This also shows why the binomial coefficient is essential; a factor would not have the required ratios.
For fixed local counts with total , the negative binomial series givesSum the remaining independent geometric series to findThe given load conditions make every series converge. Setting provesThe chain has bounded total departure rate, finite arrival rate and no explosion. With positive arrival rates it is irreducible, and this normalized invariant law gives the positive recurrent Markov chain property; zero arrival rates restrict the stationary support to the corresponding reachable class.
Summing out shows local-count independence in a linear flow network: the local counts have independent geometric distributions on with ratios . ThereforeThey are independent of one another under the stationary marginal, despite sharing the random through-flow population. The through count is generally dependent on them.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 39 5 Solution Created 2026-10-03 Updated 2026-10-06
A feasible per-flow allocation satisfies for each active route and . It has proportional fairness if every feasible competitor obeysBy the first-order inequality for the strictly concave logarithm, this is equivalent to maximizing weighted logarithmic utility over the feasible allocations. Inactive-route rates are immaterial; set them to zero as a convention.
Write , , , and . The capacity constraints are and . For , put . Each active local route uses its remaining capacity . Omitting constants, the utility isIts maximum has ; when , the maximum is the endpoint . Hence for active routesThese formulas also give and when . When there is no allocated service. Equivalently, the aggregate route rates for areThis is the proportionally fair allocation on a two-resource linear network for a two-resource linear flow network.
For independent Poisson processes of documents and independent document sizes with exponential distribution of rate , the memorylessness of the exponential distribution makes the population a continuous-time Markov chain. Its transition intensities areThe departure intensity sums the independent completion hazards . There is no departure on an inactive route. Set , with .
To prove the proposed stationary distribution, define the balance function of a flow-level networkFor an active local route, , while for the through route this ratio is . Thus . The weightssatisfy detailed balance on every arrival-departure pair:Each total jump rate is bounded by , so the chain is a nonexplosive Markov chain; normalized detailed-balance weights therefore give its stationary distribution, the stationary law of a two-resource linear flow network.
Use the negative binomial series to sum first over :The remaining two geometric series giveAll summands are nonnegative. Consequently the sum is finite exactly under the stability conditions for a two-resource linear flow networkThese say that the offered load on each unit-capacity resource is strictly below one. Equality is insufficient: at least one geometric series then diverges. If all arrival rates are positive, the chain is irreducible and the normalizable law is its unique equilibrium law.
Finally put , . Summing over yieldsThus the two local-route counts are independent, each with geometric distribution on the nonnegative integers. The conditional through-route count has negative binomial distributionFor positive traffic rates this depends on the local counts, so all three route counts are not independent. More quantitatively, , and likewise for . If zero arrival rates are allowed, the exceptional independent cases are , or , when the relevant counts are deterministic zero. This distinction is local-count independence with through-flow dependence.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 213 5 Solution Created 2026-10-03 Updated 2026-10-06
Only routes with contribute to proportional fairness or to the weighted logarithmic utility; omit inactive routes from expressions with a rate in the denominator. Active routes have positive rates whenever a positive feasible allocation exists. For a feasible competitor , the elementary logarithm inequality givesA zero competitor rate on an active route has utility and also cannot improve the objective. Therefore a proportionally fair allocation maximizes the logarithmic objective. Conversely, the feasible set is a convex set, and differentiating the objective along at shows that an optimizer satisfies the proportional fairness inequality. Strict concavity gives uniqueness on active coordinates; rates assigned to nonexistent flows are immaterial.
In the linear flow network, put and for active routes. A local route uses only resource . If and , increasing increases the objective without violating any other constraint. Thus each active local route saturates its resource:Write and . For and , substitute into the objective. Apart from constants its dependence on isIts derivative vanishes when , and its second derivative is negative. Hence the per-flow through-route rate isIf , the optimal through-route aggregate rate is one, so still holds. If , each active local route has , also given by the displayed local formula. When there are no flows and no departures. Inactive coordinates need not be assigned these undefined per-flow formulas.
Independent arrivals and exponential document sizes make this a flow-level network model. A document of type has residual-size hazard per unit of data transmitted; when its transmission speed is , its completion hazard per unit time is . Thus the continuous-time Markov chain of flow counts has transition intensitiesFor these departure intensities are for the through route and for an active local route. Total arrival intensity is constant and total departure intensity is bounded by , ensuring a nonexplosive Markov chain.
Set , the offered traffic, and define the balance function of a flow-level networkThe binomial coefficients satisfyThese identities also cover states with only one kind of active route. They show that the weight satisfiesThus detailed balance for a continuous-time Markov chain proves that this is a reversible Markov chain and reduces the stationary distribution calculation to normalization.
Sum over first. The negative binomial series gives, for fixed local counts and ,All summands are nonnegative, so the Tonelli theorem permits exchanging the sums. The partition sum is thereforeIt is finite exactly when for every , for . These are the resource-load conditions: resource receives the through-route offered traffic plus its local offered traffic. The normalized stationary distribution isWith positive arrival rates this is the unique stationary distribution of the irreducible feasible flow-count chain. Zero arrival rates restrict its closed class to the corresponding zero coordinates.
Summing out also shows that the local counts are independent, with geometric distributions on :Hence their mean flow counts areThe binomial balance factor is essential: independent geometric counts for all routes would not give these departure rates or the correct resource-load normalization.
For route offered loads , the balance function of a flow-level network gives the stationary distributionThe negative binomial series sums over , and two geometric sums give under the stability conditions for a two-resource linear flow network.