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 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 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 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.