By the chain rule, along the exact solution. Applying Taylor's theorem to the exact increment and the two arguments of givesThe assumed differentiability makes the remainders uniform on . Subtracting gives the consistency errorHere denotes Big O notation. The general order of a numerical method is therefore one for and at least two for . For example, on with unit initial value, . Expanding its logarithm gives , so the first-order term is actually nonzero when .
To control accumulation, the mean value theorem and the bound on givePut , and . The exact and numerical updates yield , with . Iterating this recurrence, as in the Lipschitz one-step error bound, givesBecause for , the prefactor is bounded independently of the mesh. When , the consistency error is , hence the maximum global error is . This proves at least second-order numerical convergence of the explicit midpoint method.
Choose each factor with its argument between zero and in the upper half-plane. On an interval between consecutive real prevertices, each factor has a constant boundary argument, so has constant argument and the image is a straight side. Crossing from left to right decreases by , hence increases by , giving the prescribed exterior turn. Locally,so an upper half-disc maps to angle , the required interior angle. The overall constant rotates and scales the polygon; integration adds translation. For a general prescribed polygon, the prevertex positions must also satisfy the side-length conditions: the derivative formula fixes angles but arbitrary choices do not fix arbitrary side lengths.
For the slit domain, the slit tip has interior angle , so its exterior parameter is . The two vertices at infinity give the factors at , leading to proportional to . Integrating and imposing the tip value givesThe square root is the principal one: for , never lies on the nonpositive real axis. Thus . Boundary points map to the two banks of the slit, with at the tip; the outside intervals map to the imaginary axis. The derivative is nonzero in the open half-plane. Conversely each point of the slit domain determines exactly one root of with positive imaginary part, proving bijectivity.
The Möbius map takes the upper half-plane to itself, so its principal argument lies in . The imaginary part of its analytic logarithm is harmonic, equals on and zero on the other real intervals. ThusIt lies between zero and one and has the required boundary limits away from the two discontinuities. Pulling this harmonic function back by the inverse conformal map yieldsThis specifies all branches and remains bounded even as tends to either end at infinity.
To exhibit nonuniqueness without the growth restriction, putThis is harmonic in the domain. On its boundary the corresponding is real and the rational expression is real, except at , which represent infinity. At , representing , the expression tends to zero. Thus has zero finite boundary data. It is nonzero, since for its value is , and it is unbounded as approaches either pole non-tangentially. Therefore gives distinct solutions with the same finite boundary data when boundedness at infinity is removed.
Prevertices, the slit domain, and the bounded harmonic boundary values
. Details. The function is strictly decreasing from infinity to zero on , so there is a unique positive root, which tends to infinity. Let . Taking logarithms givesFirst . Put with , expand, and cancel :The leading balance gives . Substitution leaves a residual ; the derivative of is of order , so the root error is . ThusThe second term is logarithmic rather than a constant multiple of . This is logarithmic inversion of a Gaussian divided by its argument.
To supply nonzero channel flux while letting the speed decay in the large upper region, take a logarithmic velocity potential:Use the logarithm analytic on the upper half-plane, with argument between zero and . Its complex velocity isAt upper infinity it tends to zero. At the channel end , it tends to , which means , as required. The streamfunction is constant on each real boundary interval, and differs by two between the two channel walls. That flux equals the channel width two times the unit upward speed, providing an independent normalization check.
On the fluid free boundary write , with : the lip has and the downstream limit has . ThenSubstitution into the relation from part (ii) givesThe surface lies on the top of the velocity potential strip, so its logarithm has imaginary part , givingFinally , and thereforeThe source's typeset is interpreted as , as the derivation requires.
First state the normalization needed for the displayed logarithmic factorization: choose a continuous holomorphic function branch in the strip that tends to zero at both horizontal ends and has sufficient decay for its Cauchy integrals. In particular the index of the kernel along a horizontal line must be zero.
Choose and let , both oriented from left to right. PutThe first is analytic above the lower line and the second below the upper line. On the region between the lines, closing a rectangle gives : the lower horizontal side is traversed forward and the upper side backward. HenceThe equation becomes on the overlap region. With the canonical bounded factors normalized at infinity, these two products glue to a bounded entire function. Part (a) givesThis is Wiener-Hopf factorization with the quotient convention used in this question.
The source hypotheses require a qualification: nonvanishing in the strip and do not by themselves force index zero or a logarithm tending to zero at both ends. For exampleis analytic and nonzero for , tends to one at both ends, but winds once around zero along the real line. A logarithm continued along that line changes by , so it cannot have the stated normalization at both ends. One must first separate the index factor, or allow appropriately subtracted factors and a correspondingly different common-function growth class. The displayed constant conclusion follows under the canonical zero-index assumptions above; it is not an unconditional consequence of the two printed properties of . This is the issue measured by the Index of a Wiener-Hopf kernel.
Over the plotted range, approximate the surface tension by with constant positive , and take . A reversible adiabat hasIntegrating givesThe arbitrary fixed reference temperature makes the logarithm dimensionless; changing it only shifts the integration constant. This is the dimensionally precise version of writing as constant. Each term has units of entropy. Between two states,If the graph had substantial curvature, the entropy differential would still hold, but this particular constant- exponential would no longer follow.
Past exam of the physics B course of the University of Cambridge 2019 Paper 2 Section C C10 Solution 2026-10-18
Pressure and its physical terms. Solving the molar Van der Waals equation for pressure givesThe excluded-volume parameter reduces the volume available for translational motion, raising the kinetic pressure relative to . The attraction parameter lowers the pressure because attractive interactions reduce the momentum transferred to the boundary. This mean-field model treats as temperature-independent material constants. For one mole, is the sample volume with the molar amount already fixed; has units of that volume and of pressure times volume squared.
volume dependence of entropy. The Helmholtz free energy has differential . Equality of mixed derivatives yields the Maxwell relationFor this derivative is , givingEquivalently, with a common reference volume understood inside the logarithm. The equation of state fixes this volume dependence, not the otherwise unspecified function of temperature.
Excess entropy at fixed volume and temperature. The ideal gas has . ThereforeIntegrate from infinite volume, where the entropy difference is specified to vanish:It is negative because excluding configurations reduces the accessible state count. It tends to zero as and has leading dilute limit . This is the entropy excess of a van der Waals gas.
Effect of attraction. Restoring a temperature-independent changes the pressure by , but not its derivative with respect to temperature. With the same infinite-volume entropy reference, it therefore does not change at fixed . This can also be seen fromThe attraction affects internal energy and the equilibrium volume, so it can affect entropy indirectly when different state points are compared. If were temperature dependent, its derivative would contribute directly to the entropy; that is outside the stipulated constant-parameter model.
Coexistence isotherm. Below the Van der Waals critical point, the formal homogeneous isotherm has a local minimum and maximum. Its middle branch has , hence negative isothermal compressibility, and is mechanically unstable. Portions of the negative-slope branches can be metastable rather than globally stable. The equilibrium isotherm replaces the loop between liquid volume and vapour volume by a constant saturation pressure . The two volume are fixed byThe Maxwell equal-area construction expresses equality of the two phases' chemical potentials. Intermediate total volume are mixtures: changing the vapour fraction changes total volume at the same pressure, rather than following the unstable homogeneous curve. The spinodals are the turning points of the formal isotherm; they are distinct from the coexistence endpoints.
Original subcritical van der Waals isotherm showing the equal-area plateau, coexistence volumes and spinodals
. Details. Dense-phase volume at low temperature. At a general subcritical temperature, the two coexistence equations above must be solved together. For this equation of state the area condition is explicitlyThis supplies an exact implicit determination of the liquid volume even when a simple closed form is unavailable.
For the asymptotically low-temperature limit, put . The liquid is dense, , while the vapour is dilute, and . The area condition then givesThus the vapour volume grows exponentially in , and the saturation pressure is exponentially small. It is consequently consistent to neglect in the liquid equation to algebraic order in :Choose the root near , not the large-volume zero-pressure root:Expanding gives the leading requested dense-phase behavior,This is the low-temperature liquid volume of a van der Waals gas. Setting is an asymptotic approximation, not an exact coexistence condition at every temperature below . The figure illustrates generic subcritical coexistence; its finite-temperature liquid volume is determined by the full equal-area equations. The van der Waals liquid also ceases to be a realistic description at sufficiently low physical temperature, where other phases or quantum effects can matter.
Past exam of the physics B course of the University of Cambridge 2019 Paper 2 Section C C12 Solution 2026-10-18
Configuration count. Choose the end-to-end direction as positive and let count rightward and leftward links. ThenA configuration is determined by choosing the positions of its leftward links, soThe counts must be nonnegative integers; in particular, allowed signed extensions occur in steps of . If distance means with neither direction selected, there are two corresponding sets for , adding a factor of two. That constant does not affect the tension. There is no excluded-volume penalty in this one-dimensional idealized count.
Entropy from the multiplicity. Put , so . Applying the leading Stirling's approximation to all three large factorials givesTerms subleading in , including logarithmic factorial prefactors, have been omitted consistently. Expanding near zero extension givesStretching reduces the number of available configurations and hence the entropy.
Tension and the range of Hooke's law. The model assigns no extension-dependent internal energy. At fixed temperature, the externally applied tension is . Differentiating the full leading entropy givesIt is the external force needed to oppose the chain's restoring entropic force. Only when can one put , yieldingThe paper's displayed linear law therefore requires this small-extension approximation, which is not explicitly stated in its premise . It is not the exact force law up to full extension. The entropic spring constant grows with temperature because stronger thermal disorder makes a given reduction in configurational entropy cost more free energy. This is the one-dimensional entropic chain force-extension relation.
A sparse number of backward links. Write , so and . Exactly,For fixed and large , each numerator factor approaches , givingMore precisely, the logarithm of the product is . A small relative error in the multiplicity requires ; merely need not make the omitted product close to one. The weaker sparse-link condition does suffice for the leading entropy density and leading high-extension tension. These are sparse backward links near full chain extension.
Tension in that limit. In the overlap regime , use Stirling also for :ThusThe full leading entropy would give , which has the same dominant logarithm when .
Approaching full extension. The continuum force law diverges logarithmically as , or . One must not literally apply Stirling to a zero factorial: at the discrete endpoint there is exactly one directed configuration, , and its entropy is zero. A continuous fixed-extension derivative is not defined at that endpoint.
An independent force-ensemble calculation makes the limiting physical statement precise. For applied tension , a link has partition function , giving the exact mean extensionIt approaches only as at positive temperature, and inversion reproduces the logarithmic force law for mean extension. In a real chain, bond extension or failure eventually replaces the ideal inextensible-link model.
Past exam of the physics B course of the University of Cambridge 2019 Paper 2 Section C C13 Solution 2026-10-18
Temperature as an equilibrium relation. Classical thermodynamics begins with the zeroth law of thermodynamics: thermal equilibrium is transitive. A thermometer can therefore assign a common empirical temperature to systems in mutual thermal equilibrium. Different thermometer properties initially give different monotone empirical scales; a resistance reading by itself does not define the absolute scale.
The Second law of thermodynamics provides a substance-independent thermodynamic scale. A reversible engine operating between reservoirs has a heat ratio depending only on their temperatures. One chooses absolute temperature so that , with the positive heat magnitudes. Its reversible efficiency is . Equivalently, reversible heat defines entropy through . For an equilibrium simple compressible system,Classical thermodynamics uses this relation without needing a microscopic account of entropy. A dilute-gas thermometer realizes an empirical scale approaching the thermodynamic scale after corrections for nonideal behavior.
Statistical meaning of the same derivative. In the microcanonical description, an equilibrium energy shell containing accessible states has . Its statistical temperature is consequentlyTo see why this is an equilibrium temperature, let two weakly coupled systems exchange a small energy while their total energy stays fixed. The combined multiplicity is . Maximizing its logarithm giveswhich is equality of the two inverse temperatures. Stability requires the total entropy maximum, not only stationarity. The overwhelmingly dominant macrostate in a large system therefore realizes the thermodynamic equilibrium condition.
A large reservoir gives a small subsystem the canonical probabilities , with . In that ensemble, and agree with macroscopic thermodynamic relations in their usual equilibrium regime. The equipartition identity for a classical dilute monatomic gas, , is a useful operational connection between microscopic motion and temperature, but is not a universal definition: quantum modes need not obey equipartition, and a system away from equilibrium need not have one temperature at all.
For finite systems one must specify the entropy convention and energy resolution; surface and fluctuation corrections can distinguish definitions that agree in the ordinary thermodynamic limit. Bounded-energy population-inverted systems can also have a negative entropy derivative and hence a negative statistical temperature. That possibility lies outside an ordinary positive-temperature ideal-gas thermometer; it does not mean temperature is merely an arbitrary average kinetic energy.
Obtaining the energy–temperature conversion. The Boltzmann constant connects entropy measured in with the dimensionless logarithm of a state count. Historically it could be determined from the ideal gas law : measure the molar gas constant and independently determine the Avogadro constant , then obtain . The independent particle-number determination matters; using alone would not fix energy per particle.
An electrical method uses Johnson-Nyquist noise. A resistor of resistance at known temperature has, in the classical range , a one-sided open-circuit voltage-noise spectrum . Over a calibrated flat bandwidth ,A practical measurement uses an equilibrium resistor, a calibrated low-noise amplifier and a known transfer function, subtracts or independently characterizes amplifier noise, and replaces a nominal bandwidth by the actual effective noise bandwidth. Varying temperature and fitting the mean-square voltage is more informative than treating one amplified voltage sample as the thermal variance. Other primary methods relate temperature to sound speed in a dilute gas or to calibrated particle diffusion and mobility.
There is a historically relevant unit-definition qualification: by the date of this exam, the revised SI had already taken effect on 20 May 2019. The kelvin is now defined by fixingThe same experiments now realize or compare thermodynamic temperatures using this fixed constant, whereas historically they measured the conversion constant on an independently defined temperature scale. The physical distinction between equilibrium temperature and microscopic state counting is unchanged.[ref]
https://www.bipm.org/en/measurement-units/. BIPM, SI definitions effective from 20 May 2019 and fixed Boltzmann constant
For , the event says that each of the independent random variables is at most . Hence, for all sufficiently large ,Since and as , taking logarithms gives the limit . For the probability is zero. ThereforeThis is the Fréchet limit for a reciprocal integer tail, with a Fréchet distribution of shape one. Its cumulative distribution function is continuous even at zero, so the pointwise calculation establishes convergence in distribution.
Taking logarithms of the product givesBy part (d)(i), in probability distribution, where has the exponential distribution of rate one. Thus and . The strong law of large numbers givesIf , choose . Eventually , so . If , choose ; eventually . ThereforeIn particular, the second range cannot have almost sure convergence to zero. This is the almost-sure growth rate of independent products. At the logarithmic limit is zero, which by itself decides neither behavior; that boundary case is not requested.
Evaluate the source's printed logarithm using the numerical magnitude value 21.0, with base-ten logarithms:This is the literal printed-fit convention identified above. Convert the mean visual surface brightness to a linear luminosity per projected area. At 10 parsecs, one square arcsecond subtends . The definition of absolute magnitude consequently givesThe constant is the conversion between the angular and physical projected area. Since the effective radius encloses half the total luminosity,For the stipulated stellar population of Solar-type stars, approximate the stellar mass-to-light ratio by . Summing 100 such galaxies then givesThis assumes negligible interstellar extinction and that the supplied surface brightness is an intrinsic or already corrected value; an observed cosmological surface brightness requires additional dimming and passband corrections before this conversion.
For comparison only, if the empirical coefficients and intercept were instead meant for , substituting in that fit would give , , and . Those are conditional alternative results, not an unannounced correction of the printed units.
Write . The target Poisson distribution and proposal geometric distribution have probability mass functions and . Their ratio isThe successive ratio shows that a maximizing integer is , with a tie at when is an integer. Thus the tight envelope isFor any fixed , draw using (ii)'s inversion formula with this new parameter, and draw an independent from the uniform distribution on . Accept whenotherwise restart. The acceptance probability is and the expected number of proposals is .
To minimize that expected count, set . The exact answer isHere is a proof that includes the changes of maximizing integer. Each is a convex function of , since its second derivative is . Their pointwise maximum is also a convex function. When is fixed its derivative isIf , take , where changes from on the left to on the right. The left derivative is nonpositive because ; the right derivative is nonnegative because . This is a minimum. If , take . There and the active branch has except for the endpoint tie; its derivative vanishes. Convexity again proves the global minimum. The formulas agree at the boundary.
For a fully specified optimal algorithm, compute and once, then use the preceding acceptance test with and . At an integer tie either maximizing integer gives the same test. In code, factorials can be evaluated through the logarithm of the gamma function:and acceptance is . This avoids overflowing factorials.
The optimum minimizes expected trials, the usual idealization of time when each proposal and test has constant cost. Actual runtime also depends on the implementation of discrete inversion and factorial evaluation. Simply minimizing an upper bound for would not necessarily give the exact optimum above; see optimal geometric envelope for a Poisson distribution.
Solving gives . Hence the quantile function isFor such , , making the logarithm's argument lie in and the output positive. Its endpoint limits are and . Substitution into (i)'s cumulative distribution function recovers .
Taking the logarithm of the normalized probability density function, then summing over the independent observations, gives the log-likelihoodBoth and are parameters being inferred, so their contributions to the normalizing constant must be retained. The following R implementation validates the arguments and returns one number:
ll_f <- function(p, beta, x) {
scalar <- function(v) {
is.numeric(v) && !is.complex(v) && length(v) == 1L &&
is.finite(v)
}
if (!scalar(p) || p <= 0 || p >= 1)
stop("p must lie strictly between 0 and 1")
if (!scalar(beta) || beta <= 0)
stop("beta must be positive")
if (!is.numeric(x) || is.complex(x) || !is.null(dim(x)) ||
any(!is.finite(x)) || any(x <= 0))
stop("x must be a vector of finite positive numbers")
if (length(x) == 0L) return(0)
t <- log1p(-p) - beta * x
length(x) * (log(beta) - log(-log(p))) +
sum(t - log(-expm1(t)))
}Here and
-expm1(t) computes accurately near zero. The empty-data likelihood function is one, so its log-likelihood is zero. Invalid parameter values produce errors in this evaluator; the next algorithm rejects candidates outside the parameter support before calling it.
