Complementary error function 2026-10-05
The complementary error function avoids subtracting a quantity close to one when describing a small Gaussian integral tail. For real , ; analytic continuation defines it for complex arguments.
Faddeeva function 2026-10-05
The Faddeeva function is an entire function built from the complementary error function. Its integral representation for is , as normalized in NIST's integral representation. Its reflection identity is , directly from the odd function property of the error function.
Gaussian interval mass Created 2026-10-06 Updated 2026-10-07
The normalized Gaussian mass of an interval isIt is the convolution of an interval indicator with the heat kernel, and has an error function representation. As the variance tends to zero it converges to the interval indicator away from its endpoints, with value one half at an endpoint. This is a concrete approximate identity.
For , the factor has saddle scale and becomes . If the amplitude has a simple pole there, its leading local integral contains . Differentiating its Cauchy principal value with respect to reduces it to a Gaussian integral, producing an error function. The nonsingular amplitude gives .
Interior layer at a simple zero of advection Created 2026-10-05 Updated 2026-10-06
In , a simple zero , , balances diffusion and advection on width . With , the leading homogeneous inner equation is , whose bounded solutions are constants and the error function. Thus distinct order-one outer solutions can match across an interior transition. Reversing the diffusion sign makes the nonconstant homogeneous solution grow at both ends, changing the matching structure.
Neumann solution of the Stefan problem Created 2026-09-24 Updated 2026-09-24
The Neumann solution places a planar phase boundary at . Similarity reduction of the heat equation gives temperature profiles in terms of the error function, while the Stefan condition determines implicitly.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 71 1 Solution Created 2026-10-03 Updated 2026-10-07
Use a planar saline Stefan problem with upward coordinate , the initial contact at , and phase boundaries and enclosing pure ice, where . Fresh liquid occupies and brine occupies . We assume negligible bulk flow, equal constant mass density , specific heat capacity and thermal diffusivity in all regions, and zero salt content and salt transport in the ice. Equal densities remove phase-change volume flow; suppressing convection isolates the molecular-transport mechanism. Different material properties would change the numerical coefficients. Set for the common thermal conductivity and . Denote the brine salt diffusion coefficient by .
Use a linear ice liquidus, , with and the salt mass fraction. Assume the initial brine is a stable liquid, , and all concentrations considered are below the eutectic composition. Thus . These assumptions exclude independent nucleation in a supercooled brine or an eutectic system event, neither of which is specified by the initial data alone. Start with a negligible seed of ice and use local phase equilibrium without interfacial kinetics or curvature. Temperature differences may be in Celsius, since only differences enter this calculation.
WriteThe paper calls a Stefan number; it is the latent-to-sensible heat ratio, reciprocal to another common Stefan number convention. At the lower phase boundary, define and letThe liquidus relation is .
A similarity solution gives an explicit calculation of the two positions. Putand use , . The temperatures and salinities areThese error function and complementary error function profiles satisfy the heat equation and the salt diffusion equation, their far-field conditions, and the interfacial temperature conditions. The fresh-water temperature is constant because the interface and the far field are both at .
Salt conservation at the moving lower phase boundary requiresFor upward motion this is dilution by melting salt-free ice, rather than salt rejection by freezing brine. Substitution gives the dilution function for a melting saline Stefan front:For , , so the interfacial brine is fresher than the remote liquid.
The Stefan condition at the upper boundary is , since the fresh liquid has no temperature gradient. At the lower boundary it isThese signs follow from the jump in enthalpy: the upper front freezes liquid while a positive melts solid. With , they reduce toTogether with , these equations determine , and hence both positions, without discarding the salt-diffusion correction.
For the stated large latent-to-sensible heat ratio, the layer is thin relative to the thermal diffusion length. Expanding the thermal equations for givesConsequently a useful leading calculation iswhere the positive is obtained fromThe left side decreases with while the right side increases, and their values at zero and infinity guarantee a unique positive root for large . Thus this leading calculation includes the translation of the lower boundary as well as the increasing thickness.
If the scale separation also obeys , the familiar simpler result iswithThis last simplification needs the logarithmic refinement . The algebraic ordering alone should not be used to discard an arbitrarily large logarithmic correction; the preceding coupled equations remain the appropriate calculation when that refinement is unavailable. This distinction is captured by large latent heat in a freezing and melting ice layer.
The illustration uses , and . Solving the full equations gives , and . It shows the ice layer between freshwater and cold brine, with both fronts advancing upward and a strongly diluted lower liquid boundary.
Temperature-salinity trajectory from cold bulk brine to the ice liquidus and through salt-free ice to fresh water
. The phase diagram shows the spatial path from remote brine to the lower interface: temperature first changes over at almost unchanged salinity, then salinity changes over its much smaller diffusion scale at nearly constant temperature. The liquid path ends on the liquidus at ; the solid has and its temperature rises from to . The eutectic position is schematic, with in the illustration, and is not used in the calculation. A point initially in the fresh layer freezes when reaches it, cools in the ice, and later melts when reaches it. The inset indicates this temporal path in the opposite direction through the solid branch and into the liquid.
The mechanism is simultaneous upper freezing and lower melting, with net growth of the ice thickness. Cold brine accepts most of the latent heat released by upper freezing. Salt reaching the lower contact lowers its equilibrium melting temperature, and melting freshens that liquid until its liquidus is close to . The heat delivered through the ice supplies the much smaller melting demand there. The remote brine remains liquid even though it is below the pure-water melting temperature, because it lies above its own saline liquidus. Thus “cold” does not by itself decide which phase is stable. These conclusions apply while the layers remain effectively deep and the stated no-convection, pure-ice and phase-equilibrium assumptions hold.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 75 3 b Solution Created 2026-10-03 Updated 2026-10-06
Let , with , and set . Direct differentiation givesThe heat equation implies , so the bracket vanishes. Conversely its being independent of can be absorbed into a -dependent multiplicative normalization of , leaving unchanged. This proves the Cole-Hopf transformation with the positive sign appropriate to the negative-flux Burgers convention. Although the algebra works for nonzero , the given forward Gaussian function diffusion kernel and a physical vanishing-viscosity limit require .
Take for the stated Burgers N-wave. Integrating and normalizing the exterior value to one givesThis function is continuous at ; its logarithmic derivative has the specified jumps. Convolution with the heat kernel is positive and solves the heat equation for . Splitting the integral into the exterior baseline and the interior correction yieldsPut . Completing the square givesChanging the interior integration variable to changes its limits to and the Gaussian function width to . The Jacobian and normalization leave the factor . Thus the Cole-Hopf solution for a Burgers N-wave isHere is the normalized Gaussian function mass of its indicated interval. Its explicit error function representation isFor fixed , the Gaussian function concentrates at as . Consequentlyaway from the endpoints; at the limit is . The transition layer has width . This is an approximate identity argument, not a uniform step approximation across the endpoints.
For fixed and , both interval masses tend to one, and the exponentially large positive dominates the exterior correction. Its logarithmic derivative therefore givesFor , both interval masses are exponentially small and the weighted interior integral is also negligible, while the exterior contribution tends to one. Therefore in the specified far exterior.
An exponentially weighted Gaussian function tail should not be discarded solely because its unweighted interval mass tends to zero. In fact, comparing the order-one exterior term with gives the sharper inviscid Burgers N-wave fronts , not . Away from these fronts, the vanishing-viscosity limit isInside , this follows from the sign of in the exponential. Outside , the constrained Gaussian function maximum lies at an interval endpoint and has negative exponent. The right shock wave's speed is , equal both to the derivative of and to minus half the sum of its two limiting states; the left shock wave is its reflection. This checks consistency with the Rankine-Hugoniot condition and shows that the requested near-center and far-exterior approximations are compatible with the full entropy limit.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 336 2 a ii Solution Created 2026-10-03 Updated 2026-10-06
Write , and . The first correction in the inner expansion satisfies . Direct differentiation verifies that is a particular solution. Adding the constant and error function homogeneous solutions gives .
The left boundary condition forces . Re-expanding the outer expansion at givesTherefore , with no constant term in its large- overlap. Since and , this sets . Thus the required half-order correction isIt vanishes at zero and has the correct linear overlap. Keeping this term is essential even though the outer solution has no correction of that order.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 336 2 a i Solution Created 2026-10-03 Updated 2026-10-06
For the matched asymptotic expansion, first determine the outer expansion. Setting away from gives , and the right boundary condition sets . At first order,soThere is no outer term: its homogeneous coefficient would be forced to zero by the right boundary condition. The logarithmic overlap forces a switchback term in the inner expansion.
Near zero, balance against to get the square-root boundary layer at a vanishing drift:For fixed expand , allowing logarithmic dependence on in . With , the leading equation is . Its bounded solutions are a constant plus an error function. The left boundary condition and the overlap value one fixThe following two solution sections complete the half-order and first-order matching; their headings retain the scaffold's organization of the supplied hints.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 310 2 Solution Created 2026-10-03 Updated 2026-10-05
Interpret in the variance integral as the unsmoothed cosmological density power spectrum of . A linear smoothing window gives for the smoothed field; the PDF's description of as already belonging to would otherwise count the window twice.
For a scale-free matter power spectrum , substitute to obtainWhenever the dimensionless integral is finite and nonzero, this proves the scale-free smoothed density varianceThe printed condition is insufficient by itself. For a normalized window with , infrared convergence requires . Ultraviolet convergence depends on the filter: a spherical top-hat window function requires , a Gaussian filter suppresses every ultraviolet power, and a sharp-k smoothing filter has finite Fourier support. In particular, the monotone relation requires in the scale-free model.
At a single variance , the Gaussian random field has . Thus its endpoint tail isHere is the complementary error function.
For the crossing probability, the key assumption is independent, symmetric increments as the smoothing scale changes. A sharp-k smoothing filter, , supplies this property: decreasing adds independent Fourier shells of the underlying Gaussian field. Parameterizing their accumulated variance by gives a Brownian motion with covariance . An arbitrary real-space window gives correlated increments and does not justify this argument.
Reflect a trajectory after its first hit of . The Strong Markov property and symmetric future increments preserve its probability, and reflection maps an endpoint below the barrier to one above it. Every endpoint above the barrier has already crossed; the reflected paths give an equally probable set that crossed but ended below. The Brownian reflection principle therefore yields the excursion-set description of halo formation:Its derivative is the Brownian first-passage time densityThe factor of two resolves trajectories that crossed a larger-scale barrier but finish below it on the chosen smaller scale.
Define the halo peak height . The cumulative probability is a dimensionless mass fraction. With , its conversion to halo number density givesConsequently the Press-Schechter halo mass function isIt is positive when decreases with mass. A chosen mass-radius convention gives . For a sharp Fourier filter that mass assignment needs a convention, since its real-space kernel is not a localized top-hat volume.
For warm dark matter, the cutoff introduces a new length and invalidates the pure power-law variance scaling near that length. With the same sharp-k filter and , the variance is exactlyThe Brownian walk runs only up to and then stops. The cutoff does not destroy independence of the Fourier shells that are still present. Thus the first-crossing density and derivative mass-function formula remain valid on the invertible part of , using the actual cutoff variance. For , and this idealized sharp-filter model has no new crossings or new low-mass haloes. Its total collapsed fraction isThis is halo first crossing with a finite variance cutoff: some trajectories never cross, so one must not force the collapsed fraction to one. The uncut power-law abundance cannot be extrapolated to small masses. For other windows, a variance plateau still occurs but the Markov/reflection derivation is not exact; the same mass function is then a modelling approximation, rather than a result established by this calculation.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 333 2 Solution Created 2026-10-03 Updated 2026-10-06
Adopt the Boussinesq approximation, hydrostatic approximation, traditional approximation, and inviscid quasi-geostrophic approximation. Assume stable constant , nonzero Coriolis parameter , a beta plane, small Rossby number, of that small order, and small displacement of the background stratification. Vertical advection of the buoyancy perturbation is then higher order. Define the quasi-geostrophic streamfunction byThe buoyancy and vertical vorticity equations at the retained order areDifferentiate the first in . Since , its material-derivative term becomes . Elimination of gives diabatically forced quasi-geostrophic potential vorticity:Thus it is the height gradient of heating, rather than heating alone, that produces potential vorticity at this order.
For the steady response linearized about rest, assume . The quasi-geostrophic potential-vorticity equation reduces to . Choosing the horizontally uniform pressure gauge so that in the east gives the steady quasi-geostrophic response to localized heatingSetUsing the error function to integrate the Gaussian function givesThese velocities vanish as . A depth-dependent but horizontally uniform addition to is dynamically irrelevant for the requested horizontal velocity. At , streamlines are contours of . For , flow approaches the heating region from the west on its northern side, turns southward, and returns westward on its southern side. The contours are open, not closed gyres: tends to a nonzero constant in the west.
For , and the forcing decreases potential vorticity; steady balance requires , giving southward flow. Below , and the meridional flow reverses. A constant heating rate independent of would have no such interior potential vorticity source.
For the nonlinear diagnostic quasi-geostrophic omega equation, write . Apply to buoyancy evolution and to vorticity evolution:Subtracting eliminates the pressure tendency and yieldsThe beta term is linear and must remain when the nonlinear terms are neglected. For the steady weak-forcing solution, , soThis also follows immediately from the steady linear buoyancy equation. It satisfies at , decay at depth and horizontal infinity, and the linear quasi-geostrophic omega equation; with these homogeneous conditions the elliptic problem has no extra decaying homogeneous solution. The rigid-lid interpretation is an additional boundary approximation for this diagnostic response.
At , the displayed and provide the requested meridional/vertical arrows. For positive heating there is upwelling concentrated near , maximal in depth at , with northward flow below that depth and southward flow above. The vertical circulation tends to zero far from the forcing. A western zonal wake persists, but its meridional and vertical components vanish as . Horizontal ageostrophic flow supplies the divergence associated with the upwelling; the projected slice is not itself a two-dimensional incompressible flow and need not have closed streamlines.
Thermally driven circulation and its boundary layers
. Left: surface streamlines and velocity direction for positive . Right: meridional and vertical arrows at , with components separately scaled to show direction; dashed line marks the reversal depth . The vertical slice is a projection of three-dimensional flow.The steady calculation fixes an interior circulation, not its attainability from every possible initial and boundary state. For example, a rigid lid with initially uniform boundary buoyancy conserves that buoyancy at linear order because . The formal steady profile instead generally has nonuniform . Such additional initial boundary data require a time-dependent adjustment and cannot simply be imposed on this particular steady solution. No boundary buoyancy data are supplied for the requested steady problem.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 336 2 iii Solution Created 2026-10-03 Updated 2026-10-05
The first of the Gaussian drift primitives, , is an even function; the second, , is an odd function. Their derivatives follow by the fundamental theorem of calculus. In particular is the Dawson function, which behaves as . Since the error function tends to , the derivative of behaves as at either end. Integration therefore givesAlso on the left and on the right. The two inner overlaps are consequentlyExpressing the outer expansions in requires the left constant and the right constant . Equating those constants gives the stated . This is exactly how a logarithmic overlap creates a switchback term: . Adding the outer solutions and removing these overlaps leaves the displayed additive composite expansion.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 336 2 ii Solution Created 2026-10-03 Updated 2026-10-05
An integrating factor explains the second hint and the first-order inner calculation. Formultiplication by gives . The term already produces , and integrating the remaining terms twice gives , in terms of the Gaussian drift primitives. The homogeneous solutions are a constant and the error function. HenceFor the piecewise forcing in the inner problem, replaces and provides the continuously matched particular solution for . The coefficients and then account for the forcing.
Past exam of the mathematics course of the University of Cambridge 2021 ib Paper 4 14C Solution Created 2026-09-24 Updated 2026-09-25
Its total mass is found from the Gaussian integral:The unit-mass solution converging to the Dirac delta function as is therefore the heat kernel
For the second initial condition, the heat-kernel solution is the convolutionWith and the definition of the error function, this becomesThis is the heat equation with interval-indicator initial data for .


