Log odds ratio Created 2026-10-05 Updated 2026-10-14
The log odds ratio is the natural logarithm of an odds ratio. For two independent binomial groups with positive event and non-event counts and , its estimate is , with first-order variance by the delta method. Zero cells need a method that handles boundary data; the displayed normal approximation is not valid there.
Mellin transform Created 2026-09-24 Updated 2026-10-14
The Mellin transform is an integral transform suited to changes of scale: replacing by multiplies its transform by for . For a locally integrable function , definewhere the improper integral converges. The complex number uses the real natural logarithm because . Its absolute value is , so absolute convergence depends on the real part rather than the imaginary part . The Mellin fundamental strip records the open range of such real parts.[ref]
A familiar example is the exponential function :This is exactly the Gamma integral. Near zero tends to one, so absolute convergence requires ; at infinity for every real , so there is no upper boundary. The Gamma function has a meromorphic continuation with simple poles at , but a finite continued value elsewhere in does not make the defining improper integral converge.[ref]
The Mellin transform of an interval indicator gives an elementary example with absolute convergence for every complex number . The Mellin transform in logarithmic coordinates explains why changes of scale become translations, connecting the scaling property of the Mellin transform to the Fourier transform.
Mellin transform of an interval indicator Created 2026-10-14 Updated 2026-10-20
For , the indicator function has Mellin transformThe interval stays away from both zero and infinity, so the integral is absolutely convergent for every complex number . Its Mellin fundamental strip is the whole complex plane. Evaluating the antiderivative proves the formula for ; at , integrating gives the real natural logarithm . The apparent division by zero is a removable singularity, since by the Taylor series of the exponential function. The transform is an entire function.
For example, gives with value at zero. On , the Mellin transform sums oscillations over the width of the interval in natural logarithm coordinates; this is the same cancellation mechanism as in the Fourier transform of an interval indicator.
Membrane transport 2026-10-13
Membrane transport is the passage of substances across a cell membrane. For the small solutes considered here, distinguish the available route from its driving force: a lipid bilayer, ion channel, or carrier protein determines how passage can occur, while differences in chemical potential and membrane potential determine which direction is energetically downhill. A large driving force cannot make an unavailable route conduct. See Alberts et al.: principles of membrane transport.
For an ideal dilute chemical solution at uniform temperature and pressure, with the same reference molar chemical potential on both sides, the molar electrochemical potential change for transferring a solute from compartment A to B isHere are concentrations, is absolute temperature, is the molar gas constant, is signed ion charge number, is the Faraday constant, and is the electric potential difference. The natural logarithm contains a dimensionless ratio. The electrical term vanishes for an uncharged solute. More generally, use thermodynamic activities in place of the ideal concentration ratio. This combines the ideal-solution chemical potential difference with electrical energy per mole; see IUPAC Gold Book: electrochemical potential. For a biological cell, taking B inside and A outside makes the voltage term use the existing membrane potential convention.
Method of types Created 2026-09-24 Updated 2026-10-14
The method of types combines two facts: there are few possible empirical distributions, and strings within each type class are equiprobable under an independent and identically distributed source. Information entropy determines how many strings share a frequency profile; relative entropy determines how unlikely that profile is under a specified source law. The connection is useful both for lossless source coding and for understanding rare observations.
The following formulas use natural logarithms, so information entropy and relative entropy are measured in nats. DefineHere is the source probability mass function and is an attainable empirical distribution. Use ; first assume every . Base-two logarithms give the equivalent formulas with and .
Morphogen response threshold 2026-10-13
A morphogen response threshold is a concentration level used to distinguish developmental responses to a morphogen. In an idealized threshold model, otherwise equivalent biological cells exposed to take one response and those exposed to take another. Two morphogen response thresholds can assign three bands: fate A for , fate B for , and fate C for , all in the toy arbitrary concentration units. The A/B/C labels specify a response rule, not named cell types or a claim that every morphogen produces sharp boundaries. See the positional-information model in Gilbert's reference under morphogen.
For the decreasing morphogen gradient and , solve using the natural logarithm:With and diffusion length , the morphogen response thresholds and giveThus fate A occupies , fate B occupies , and fate C occupies in this idealization. The equality convention belongs to the response rule. If , the crossing is at the source; if , that morphogen response threshold is never reached anywhere in the tissue.
Now double the prescribed source concentration from to , keeping , , diffusion length and a fixed morphogen response threshold unchanged. The whole morphogen gradient doubles, but the boundary moves by an additive distance:For , the crossing moves from to , a shift of . Every fixed morphogen response threshold below the original source concentration shifts by this same distance in the toy model. The example compares two Dirichlet boundary conditions, and ; doubling an experimentally supplied source flux is a different boundary specification.
These calculations are useful because they separate changes in source concentration, diffusion length and response rule. Their limits are equally concrete: growing tissues change the geometry, a transient response can precede steady state, molecular fluctuations can blur a boundary, and signaling feedback or altered transport can change the morphogen gradient or its interpretation. A local instantaneous morphogen response threshold need not capture exposure duration, signaling adaptation or the receiving biological cell's state. Experiments on cultured human biological cells found different responses to the level and rate of change of developmental signals, illustrating why signal dynamics can matter. [ref]
https://pmc.ncbi.nlm.nih.gov/articles/PMC6398983/. Heemskerk et al., Rapid changes in morphogen concentration control self-organized patterning in human embryonic stem cells, eLife 8 (2019), e40526: primary experiments
Quantitative measurements of bicoid protein and its downstream gene expression also make precision a question for experiment, rather than something guaranteed by drawing threshold lines. [ref]https://pmc.ncbi.nlm.nih.gov/articles/PMC2253670/. Gregor et al., Probing the limits to positional information, Cell 130 (2007), 153–164: primary measurements
Morphogen gradients provide one mechanism for spatial patterning in biological development, alongside other signals and interactions. Nat (unit) 2026-10-14
The unit for information content or information entropy computed with natural logarithms. Converting to bits divides the numerical value by , so .
Natural logarithm Created 2026-09-24 Updated 2026-10-14
The natural logarithm is the logarithm with base Euler's number, and the inverse function of the real exponential function. A particularly geometric definition isFor , it is the area under the hyperbola from to . For , the reversed integration limits give a negative value. The fundamental theorem of calculus gives , so the natural logarithm is increasing, while gives concavity.
Exponential function and natural logarithm graphs reflect across ; equal multiplicative intervals have equal logarithmic areas
. Details. The change of variables shows for . Thus the intervals from to and from to each contribute area , explaining . Equal ratios give equal increments on a logarithmic scale, even though the ordinary differences grow. This makes the natural logarithm useful for comparing multiplicative changes and solving for time in exponential growth or exponential decay. The integral construction and inverse function properties are discussed in OpenStax, the natural logarithm as an integral.
Order of reaction 2026-10-14
In a power-form rate law , the partial orders of reaction are and , and the overall order of reaction is . For example, doubling at fixed multiplies by : factors of one, two, and four correspond to partial orders of reaction zero, one, and two. These exponents can also be fractional or negative. A single constant order of reaction need not describe a rate law that is not a power form. See IUPAC Gold Book: order of reaction.
For a simple irreversible conversion with rate equation , initial concentration , and fixed , compare zero-order reactions, first-order reactions, and second-order reactions using the dimensionless quantitiesTheir integrated curves, starting at , areFor the zero-order reaction, the plotted extension stops conversion at depletion. It does not continue to obey once . A negative concentration would be unphysical. The first-order reaction and second-order reaction approach zero without reaching it at finite time in these models.
Dimensionless concentration decays for three orders of reaction, with zero-order reaction depletion and the corresponding linearizing plots
. Details. The common axis compares curve shapes after each model's own time rescaling, rather than equal laboratory times for an identical numerical . In the lower panels, , , and respectively give straight lines with slopes , , and for the matching order of reaction. The natural logarithm uses a dimensionless quantity. These transformed plots help test a proposed rate law; the zero-order reaction line applies only before depletion. See Flowers et al., Chemistry 2e, §12.4: integrated rate laws.
Past exam of the continuous optimisation course of the University of Oxford 2025 2 b i Solution 2026-10-25
Taking the natural logarithm of the positive product constraint gives . Its gradient has entries , so the equality constraint qualification holds everywhere on the feasible set. Use the optimization LagrangianStationarity requires , so every . Substitution into the constraint, using , gives . Thus the only candidate for a local minimum is .
To prove global minimality without assuming the inequality to be established, set . The constraint becomes the affine hyperplane , and the objective function becomes . Its Hessian matrix is positive-definite, so is strictly convex. The elementary tangent inequality , with equality only at zero, givesEquality forces every . ThereforeThis point is the unique global minimizer and the only local minimizer. The logarithm change of variables also explains why a multiplicative constraint leads to a convex optimization argument.
On , the integrand is bounded by one. For , , since every positive power grows faster than the natural logarithm. Thus eventually. The comparison test for integrals proves Lebesgue integrability.
To prove joint continuity, fix with both coordinates positive. In a sufficiently small parameter rectangle, and . For every parameter pair in this rectangle,The first argument shows that is integrable. Along any parameter sequence tending to , the integrands converge pointwise, and the same dominates their eventual tail. The dominated convergence theorem gives . The sequential criterion for continuity proves the required joint continuity throughout the positive quadrant.
For comparison, the change of variables identifies the value with a gamma function:The domination argument establishes continuity directly, without needing a separate theorem about parameter dependence of the gamma function.
Use a uniform independent DNA background, so each nucleotide has probability . Conditional on length five, its sequence probability is . The requested score, often called log-odds in sequence analysis, is a log-likelihood ratio against this background:Using natural logarithms instead gives . Identically distributed independent positions do not, by themselves, require equal base frequencies. If the intended background instead has specified frequencies , the general answer isThe numerical value above uses the conventional equal-frequency random DNA model.
Taking a logarithm only after multiplying probabilities does not prevent floating-point underflow: the product may already have rounded to zero, and its logarithm is then . Accumulate logarithms before forming tiny products; where alternative paths must be added, use log-sum-exp in the forward algorithm or rescale its intermediate probabilities.
Past exam of the mathematical methods II course of the University of Oxford 2016 2 b Solution 2026-10-25
For the real-valued expression, first consider the one-sided limit . Its natural logarithm is . Since ,using . The continuity of the exponential function therefore gives right-hand limit .
The printed two-sided notation needs qualification: for , so raising it to an arbitrary real power does not define a real-valued function throughout a left neighbourhood of zero. There is consequently no ordinary two-sided real limit on an open punctured neighbourhood with the expression as written. The value is the natural right-hand interpretation.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 77 1 Solution Created 2026-10-03 Updated 2026-10-14
Let and let the daily distances be independent and identically distributed random variables with probabilities , . The unconditioned mean daily distance is , whereas the observed trip requires a daily average near . Conditioning on that rare average changes the typical frequencies substantially. It does not determine an exact boost count.
Use the method of types: for a fixed finite alphabet, the probability of an empirical distribution iswhere is relative entropy, using natural logarithms. This follows directly from Stirling's approximation. There are only polynomially many types, so the empirical distribution conditional on a mean constraint concentrates at its unique relative entropy minimizer, when admissible lattice types approximate that minimizer. Any fixed neighborhood of it has a strictly smaller minimum cost than its complement.
Minimize subject to and . The entropy minimization under a prescribed sample mean gives the exponential tiltingTo verify minimization without relying only on Lagrange multipliers, any feasible distribution satisfiesRelative entropy nonnegativity makes the unique minimizer. Its mean determines through , orThe derivative of the tilted mean is the tilted variance, which is strictly positive. The mean rises from at to as , so this equation has one positive solution. Numerically,The predicted boost count is . Thus the conditional large-deviation estimate is about 382 boosts.
For exact arrival at total distance , let count days of distances . The constraints giveConsequently can be any even integer from to . In particular, a unique count cannot be inferred from the return time. The exact conditional weights are proportional toTheir most probable count is , consistent with the exponential tilting calculation. This finite-sample inference is a conditional probability statement, not an assertion that all journeys with the stated duration have that count.
If returning home means first crossing the distance threshold on day , the final total instead lies between and . The last increment must exceed the overshoot; for fixed counts this selects the corresponding fraction of possible last days. Near the tilted optimum that factor is bounded away from zero, so it does not alter the leading exponential type cost. The same approximate answer follows. Exact conditional enumeration of this first-arrival interpretation also has mode .
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 41 1 Solution Created 2026-10-03 Updated 2026-10-14
scan reads the numerical prices, including the three missing-value markers, into a vector. The data must be read row by row for the subsequent factor construction to match them. The sample size available for analysis is therefore , rather than . The numerical summary describes the observed prices: the sample median is £43.54 and the sample mean is £46.94. The upper tail, particularly the boots, raises the sample mean above the sample median. These summaries mix very different products and are not adjusted country comparisons.The two character scans create labels.
gl(8,5,length=40,labels=item) makes a regression factor with each of eight item labels repeated five times. gl(5,1,length=40,labels=country) cycles through the five country labels once for each item. For a regression factor and numerical response, the two plot commands produce grouped box plots. The country box plots suggest lower US prices, while the item box plots show particularly expensive boots and inexpensive cardigans. They are descriptive displays of this small basket, with different item compositions where prices are missing; they cannot separate country effects from item effects.The first
lm fits an additive two-way analysis of variance:The constraints are R's usual treatment coding. The normal linear model used for the printed tests assumes independent errors with common variance and approximately a normal distribution, and no item-by-country interaction in the mean. Missing prices are omitted, leaving responses and independent mean coefficients. Thus the residual degrees of freedom are . This deletion is defensible for the conditional price model when missingness does not depend on the unobserved error after conditioning on the two factors; the output itself does not establish such a missing-data mechanism.The
anova tables report sequential sums of squares, rather than order-independent adjusted effects. If are the residual sums of squares from the intercept-only, country-only, item-only and additive fits, the first order allocates to country and to item. The second order allocates to item and to country. Both allocations sum to the same total explained sum of squares, and both end with the same residual sum of squares . The three missing combinations destroy balanced factorial orthogonality, so the allocation changes with order. To test country after allowing for items, use the country row in the second table; to test item after allowing for countries, use the item row in the first table. The first-entered rows do not supply those adjusted tests.Each mean square in ANOVA divides its sum of squares in ANOVA by its statistical degrees of freedom, and each printed F-statistic divides that mean square in ANOVA by . In particular, the adjusted country partial F-test haswith an reference F-distribution and p-value approximately . The adjusted item partial F-test gives on statistical degrees of freedom. Both factors contribute strongly under the additive normal linear model. The larger item sum of squares in ANOVA measures the much greater differences between these products, but is not evidence that every pair of items differs significantly.
The intercept is the fitted UK price for the reference jeans, not their observed price and not the overall sample mean. Each country regression coefficient is its adjusted price difference from the UK, assumed common across items: Sweden is £5.224 lower, France £10.708 lower, Germany £7.676 lower and the US £21.328 lower. Each item regression coefficient is its adjusted difference from the reference jeans, assumed common across countries. Thus the fitted UK boots price is , and the fitted US boots price is .
The coefficient standard errors come from , where and is the design matrix. Dividing each estimate by its standard error gives the displayed Student t-test statistic, with statistical degrees of freedom. The stars summarize the corresponding two-sided p-values. The individual tests compare each indicated country or item with its reference level, conditional on all other additive terms; they are neither tests of every pairwise comparison nor a simultaneous confidence interval procedure. In particular, Sweden's p-value provides weaker evidence than the other country contrasts, and does not establish equality with the UK. The intercept test has little substantive relevance, and interpreting many individual stars also raises multiple hypothesis testing issues.
The residual standard error measures unexplained prices in pounds. With total corrected sum of squares , the coefficient of determination and adjusted coefficient of determination areMuch of this impressive fit is due to the large differences between items. The overall F-test compares the additive fit with a constant mean: on statistical degrees of freedom. It tests that all eleven non-intercept coefficients vanish, not that the additive model is adequate. Regression diagnostics should examine regression residuals, changing price variability across items and possible interaction. Percentage differences may be more plausible than common pound differences, motivating a natural logarithm of price. No random sample of countries or products, and no independent replication of a price within a cell, is supplied; broad claims about all designer goods or the causes of country differences require more than these conditional tests.
Finally,
Item*Country expands to both main effects and their full interaction. A cell-means parameterization has one separate fitted mean for every observed cell. With one response per cell its design matrix has row matrix rank , while the full layout nominally has coefficients. Three coefficient combinations are aliased because their cells are missing. This is saturation of an unreplicated two-factor regression: every observed price is fitted exactly and the residual degrees of freedom are zero. The final fit has zero residuals, and no residual-based estimate of the error variance or ordinary interaction significance test. The printed numerical summary will mark three coefficients unestimable; coefficient standard errors, tests and adjusted involve undefined division by zero, potentially appearing as NaN or Inf according to numerical roundoff. Perfect interpolation here is a consequence of a saturated statistical model, not evidence for a superior predictive model. Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 41 3 iii Solution Created 2026-10-03 Updated 2026-10-14
The response errors have standard deviations proportional to . Thus, when fitted means approximate the true means, increasing absolute fitted values tends to accompany increasing residual spread. A residual-versus-fitted plot shows a fan for positive means, or spread increasing away from zero for means of either sign. Standardization by one common residual standard deviation, even with the usual regression leverage correction, does not remove this systematic heteroscedasticity.
Under independent errors the exact covariance matrix after fitting iswhere is the common proportionality constant. Hence the simple fan description is a diagnostic tendency, not an assertion that each fitted residual has exactly variance .
For positive responses, the intended variance-stabilizing transformation is the natural logarithm. The delta method givesUse for positive data with modest relative error, then refit and check the transformed mean and residual structure. In particular, if the original mean was , the transformed mean is approximately , not automatically a linear function of the original covariates.
There is a domain qualification in the literal printed model: a nondegenerate normal distribution has negative support. For positive , the probability of is , so a real is not defined throughout the stated sampling model. When is small this is a negligible-tail approximation, not an exact transformation to normal errors. If signed values must be retained and all , write with standard normal . ThenThe second term has a common distribution with finite variance, so log absolute value stabilization of a normal scale family is exact, but loses the sign of the mean and does not produce normal errors. Zeros and a zero mean are excluded from this transform. Alternatively retain the response scale and fit the stated variance model with weighted least squares weights proportional to where the means stay away from zero. No arbitrary addition of a constant before taking logarithms exactly solves the given variance relation.
Past exam of the mathematics course of the University of Cambridge 2010 ia Paper 1 9E b Solution Created 2026-09-24 Updated 2026-10-14
The limit comparison test says that if and with , then their series either both converge or both diverge. This follows because, eventually, , and the comparison test for series applies in both directions.
Here comparison with the harmonic series givesFor completeness, the natural logarithm grows slowly enough because for ,so . The harmonic series diverges: every block from to has terms at least and therefore contributes at least . Hence
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 25 1 Solution Created 2026-10-03 Updated 2026-10-14
Write and let be the Identity for Dirichlet convolution. The Möbius function uses the empty-product convention ; the Von Mangoldt function has . We first establish all the arithmetic function identities needed below. Every integer divisor of contributes one to , so . If has distinct prime factors, the squarefree divisors correspond to their subsets andAt the sum is one. Thus . Writing , the only divisors with nonzero Von Mangoldt function are , and henceThe Dirichlet convolution is commutative by replacing with , and associative because either bracketing sums over . ConsequentlyThese are consequences of the definitions, rather than unproved invocations of Möbius inversion.
To identify the constant, integrate on each interval :The tail is , since the integrand is at most for . Summation therefore gives , where is the harmonic number, and . Thus this is Euler's constant.
Put . Counting pairs of positive integers whose product is at most , and subtracting the square counted twice, gives the Dirichlet hyperbola method identitySince , the harmonic number estimate yieldsThe increasing natural logarithm also satisfies by comparison with its integral. Subtracting proves
For the second implication, denote the Mertens function by and the Second Chebyshev function by . Apply the proved Dirichlet convolution identities to :Summing this identity over integers up to gives the exact relationFix an integer . The contribution to from has absolute value at mostFor , group by . This gives exactlyunder the assumed cancellation ; extending that assumption from integers to real uses . Therefore . Letting proves the prime number asymptotic from Mertens cancellation:
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 13 4 Solution Created 2026-10-03 Updated 2026-10-06
For each element of the product set , let count its representations as with . The ratio equality is equivalent to . Swapping the two coordinates is a bijection between the ratio-equality quadruples and the equal-product quadruples. Therefore the multiplicative energy satisfiesThe Cauchy-Schwarz inequality gives the energy lower bound:For the upper bound, place the Cartesian product in the strictly positive quadrant. For every occupied Euclidean ray from the origin let be its points and . The slope is , soTake to be the natural logarithm and put , using the non-triviality assumption . Partition the possible occupancies into classes: for , and for the last class. This last closed endpoint ensures that the partition works even when the top endpoint is attained. Within each class the ratio of any two occupancies is at most .
Fix one class and order its occupied Euclidean rays by increasing slope, with occupancies . Write , the cardinality of . If , then , since adding any fixed element gives an injection of into its sumset , and similarly for .
If , the sums contain exactly different points, by injectivity of sums on two distinct rays. Indeed, the two direction vectors are linearly independent, so the coefficients of a sum uniquely recover its two summands. Positivity puts every sum strictly inside the open planar sector between those two Euclidean rays. The sectors between successive selected Euclidean rays are disjoint, even if there are additional unselected rays between them. All these sums belong to , and henceFor neighbouring occupancies their ratio lies between and , soSumming covers every at least once, and gives . The same bound holds for empty or singleton classes by the preceding observations. Adding over the classes proves the multiplicative energy sumset bound . Combining both bounds yields the sum-product conclusion:If instead is interpreted as base two, use the same occupancy classes with in place of ; proves that convention as well. Positivity is essential to the sector argument.
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 2 3F a Solution Created 2026-09-24 Updated 2026-09-29
Since the natural logarithm is increasing, comparison with an integral givesThe lower bound is . Dividing all three expressions by and applying the squeeze theorem gives



