Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 4 1 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
Put , the ring of invariants. It is an integral domain because it is a subring of the domain . Embed in in the evident way.
Suppose is an integral element over . Its monic equation has coefficients in , so is integral over . Since is a normal domain, .
Write with and . Each ring automorphism in extends to the fraction field by acting on numerator and denominator, and fixes this fraction. Hence . We have proved that is integrally closed in its own fraction field:This normality of a ring of invariants argument actually works for any group; finiteness is not needed for this conclusion. For finite , there is additionally an integral extension , since for each the orbit polynomial under a finite automorphism groupis monic, has coefficients fixed by and vanishes at . Neither argument divides by , so it is valid when the characteristic divides the group order. Here normality means integral closedness of a domain.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 4 1 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
Choose a separation into two nonempty clopen sets. Both are closed in the Zariski topology, so write and for ideals . Their disjointness gives . A proper ideal lies in a maximal ideal, so this forces .
Their union is all of the spectrum of a commutative ring, and . Thus every prime ideal contains , soThe last equality uses that is a reduced ring. For comaximal ideals, : if and , then . Therefore the Chinese remainder theorem givesThe isomorphism sends to its two residue classes. Its kernel is ; for surjectivity, and are obtained from , where , and . The two factors are nonzero because are nonempty, so are proper.
This is a disconnected reduced spectrum product decomposition. The elements also satisfy , , , exhibiting the ring product decomposition by an idempotent. No Noetherian hypothesis is required.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 38 3 iv Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
For , the corresponding smaller root is . The conditional probability of selecting the larger root isIt is the same weight as a function of the actual selected value . HenceCombining the two open intervals proves the output has the Inverse Gaussian distribution . The event has probability zero, so no atom occurs at ; the limiting density there is finite. The algorithm always selects one of its positive roots, so these branch densities exhaust its probability distribution.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 38 3 iii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
For , only the smaller-root branch can produce a value near . Conditional on , its selection probability is . The output density on that interval is thereforeUseThe factors cancel to giveThus the selected lower branch has exactly the lower part of the desired inverse Gaussian density, rather than the unweighted density of the smaller root alone.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 38 3 ii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
Introduce . Solving the quadratic and using its product of roots givesBoth roots are positive, with ; equality occurs only for . For computation, the smaller root has the equivalent cancellation-free formThis is stable root evaluation for inverse Gaussian sampling.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 38 3 i Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
Squaring a variable with the standard normal distribution gives the required chi-squared distribution. Its two inverse images at are , so the change-of-variable formula givesDraw the branch-selection uniform variable independently of the randomness used for the normal draw. Then the pair has the product law: conditioning on leaves uniform. This independence is exactly what justifies interpreting the subsequent threshold as the conditional probability of selecting the smaller root.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 38 1 v Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
For the causal case , expandHence the white noise coefficients are and for . Orthogonality of white noise gives for . Summing the geometric series yields the autocovariance of a causal ARMA(1,1) process:For , this means and for , together with . For , all positive-lag covariances vanish and , as expected from cancellation of the two filter polynomials.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 38 1 iv Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 38 1 iii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
In the usual causal stationary convention, a centered autoregressive moving-average model satisfiesSet and . After removal of common factors, the usual causality condition is that all zeros of lie outside the closed unit disk. Then has an absolutely summable causal coefficient sequence, giving a linear-filter representation of in terms of white noise. Invertibility of the moving-average part is a separate issue and is not needed for its covariance spectrum.
White noise has one-sided density . Applying the filtering result, or equating the spectra of the two filtered sides of the defining equation, givesThe moving-average sign agrees with the positive convention used later. More generally, the same quotient applies to a stationary two-sided solution when the reduced denominator has no unit-circle zeros; causality selects the past-dependent realization. This is the spectral density of an ARMA process.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 38 1 ii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
The series defining the linear filter of a stationary time series converges in , because the norm of a tail is at most times the corresponding tail sum of . Its mean is the original mean times . Its covariance is time independent and equalsUnder the summability assumption in (i),We may therefore interchange all the sums. Setting in the Fourier series givesThe second factor is the conjugate of the first because the coefficients are real. HenceThis spectral density transformation under a linear filter also holds whenever the original spectral measure has a density, without covariance summability: insert its integral representation into the covariance double sum, justified by absolute summability of the filter coefficients.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 38 1 i Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
Use the one-sided convention: integrating the one-sided spectral density over gives the variance. A standard sufficient hypothesis is absolute summability of the autocovariance sequence:For a real weakly stationary process, extend the sequence by . The Fourier pair isAbsolute summability makes the series uniformly convergent and continuous; cosine orthogonality gives the inverse relation. Nonnegativity follows from the spectral measure of a stationary time series, or from the nonnegative Fejér approximations obtained by taking variances of finite Fourier sums.
For precision, absolute summability is sufficient, not necessary. The exact general condition is that the spectral measure be absolutely continuous with respect to Lebesgue measure. For example, a density constant on and zero elsewhere has proportional to , which is not absolutely summable. Thus the displayed absolutely convergent Fourier formula answers the usual covariance-summability version; an arbitrary density need only have the integral inverse relation and Fejér-mean Fourier recovery in .
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 37 6 e Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
The likelihood-ratio statistic isThe null hypothesis is at the boundary of the permitted mixture weights. Assuming the remaining parameters are identifiable and interior, including , an efficient normalized score for is asymptotically under the null hypothesis. The locally unconstrained quadratic log-likelihood maximizer is proportional to , while the constrained maximizer truncates it at zero. Thus , giving the one-sided boundary likelihood-ratio limitHere is a point mass at zero. For a positive observed statistic the upper-tail probability is half the ordinary upper tail. The 5% critical value is the 90th percentile of , about 2.7055, displayed as 2.71. Hence the reported likelihoods give a very marginal rejection of at 5%, with .
Using the ordinary 95th-percentile cutoff 3.84 would be inappropriate for this one-sided boundary test. The conclusion is close enough to the threshold that likelihood rounding matters: since each log-likelihood is printed to two decimals, the unrounded statistic can differ from 2.72 by nearly 0.02. The intended calculation rejects using the reported values, but an exact decision from the fitted data requires unrounded likelihoods. If the nuisance dispersion is also on its boundary or the mixture is not identifiable, the stated half-and-half null distribution needs reconsideration.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 37 6 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
Keep baseline covariates fixed and put , , and for . Integration of a Poisson count over the Gamma component givesThis negative binomial distribution has mean and variance . Therefore the unconditional one-term distribution is the zero-inflated negative binomial distributionIn particular its zero probability is , not simply . As this becomes a Zero-inflated Poisson distribution.
The mixing effect has , and . The law of total variance and law of total covariance now giveEquivalently, for , and . This also supplies raw second moments by adding . Dependence arises from both shared heterogeneity and shared structural zeros, even when the positive random effect is constant.
The printed moment variance matches the hierarchical variance at the same parameter values, but its printed off-diagonal covariance is . Equality would require , or . It is therefore false to claim that the two approaches consistently estimate all the same parameters in general.
The precise distinction is between consistency of mean ratios and identification of structural parameters. In the hierarchical model, with , both the quadratic variance coefficient and the covariance coefficient in terms of the marginal mean areFor the moment parameterization, writing its parameters as , these coefficients are and . Its intercept is identifiable from the mean only as . Matching the true first two moments demands . One solution always isFor there is also a solution , , , with the corresponding shifted intercept. Indeed eliminating gives . This is moment aliasing in a shared zero-inflated count model: matching the moments does not identify the actual structural-zero probability.
For a concrete counterexample take . Then and . The only admissible moment-matching choice is , with an intercept shifted by ; it cannot recover the true structural-zero proportion 0.2. Correct marginal means can give consistent term and baseline-covariate slopes with sandwich standard errors; they do not justify consistent estimation of the intended , or latent intercept. Nor does a mean-only estimating equation identify at all. Full-distribution inference provides information beyond these first two moments.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 37 6 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
With , the marginal moment model givesThus and are ratios of expected visits in Lent and Easter to expected visits in Michaelmas, respectively, at the same baseline covariates. These are population mean ratios, including students with no propensity to attend; they are not odds ratios or probabilities of any attendance.
In the hierarchical model, for a fixed positive student effect , the conditional mean ratio is also . It describes a multiplicative within-student change in expected visits holding the student effect fixed. For the structural-zero component all three means are zero, so no nonzero ratio is defined there. Since the distribution of and the mixture weight do not vary by term, integrating out preserves this same marginal mean ratio. This is mean-ratio preservation under a multiplicative random effect: the conditional and marginal term coefficients coincide for this multiplicative log-link model. They need not coincide in a general nonlinear mixed model, such as a logistic random-effect model. A log-mean difference is not a difference of expected logarithms of counts, which can be undefined at zero.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 37 6 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
For the moment approach, write and let be a positive-definite working covariance constructed from the proposed moment formulas. For identifiable mean coefficients , let . Generalized estimating equations take the formAcross independent students, correct mean specification and standard regularity conditions give consistent identifiable mean coefficients even if the working covariance is wrong. Sandwich covariance matrix standard errors useResidual second-moment estimating equations can estimate identifiable dispersion and association parameters. The marginal mean only identifies , not and separately. Moment restrictions beyond the mean would be needed to separate them; as shown below, the printed restrictions do not generally recover the intended latent parameters.
For the hierarchical approach, maximize the observed-data likelihood after integrating out the random effect. Set , , and . The joint likelihood contribution isThe integral comes from multiplying three conditional Poisson mass functions by the Gamma density and integrating over . Independent students give . Direct numerical maximum likelihood or an expectation-maximization algorithm can be used; in an EM algorithm an all-zero profile has an uncertain latent component membership. Information-based likelihood standard errors apply under regular interior conditions, with special care for parameter boundaries.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 37 6 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
The moment-based approach specifies marginal means, variances, and within-student covariances, without supplying a joint probability distribution for each count profile. It is a quasi-likelihood or generalized estimating equation strategy. The parameter interpreted as a structural-zero fraction is not automatically an actual probability of a structural-zero component merely because it appears in the moment formulas. A valid positive-definite working covariance and parameter identifiability must also be checked.
The printed covariance specification is not admissible for all the stated parameter values. For example, take , , and all three component means equal to 10. It gives diagonal variance 80 and off-diagonal covariance 100, so . A covariance matrix cannot have a negative variance in any direction. Thus the moment approach requires additional admissibility restrictions or a valid working covariance; the parameter ranges alone do not define a valid model. This does not alter the hierarchical model, whose covariance derived below is positive semidefinite.
The alternative gives a full hierarchical mixture distribution, specifically a shared zero-inflated Gamma-Poisson count model: a common student random effect is zero with probability , and otherwise has a Gamma distribution with mean 1 and variance . Conditional on this effect, the three counts are independent Poisson random variables. Integrating it out induces both excess zeros and positive within-student dependence. Zero inflation is shared for the whole student, rather than independently reselected in each term. This full distribution supports likelihood-based inference but is more sensitive to the distributional assumptions.
The marginal mean in the hierarchical model has the same form as the proposed moment mean. Its marginal covariance does not, in general, equal the printed working covariance; the law of total covariance calculation below makes the distinction explicit. At the Gamma component is interpreted as its point-mass-at-one limit. At all counts are zero, and the log-mean parameterization and regression effects are not identifiable.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 37 5 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
Let and . Since , the discrete hazard satisfies . HenceStarting from and iterating, the survival function isUnder independent censoring, the risk set just before gives the binomial conditional failure likelihood , whose maximizer is . This gives the Kaplan–Meier estimatorFailures at exactly are included because the target is . Censored subjects contribute to earlier risk sets and leave before later ones; they do not create a failure factor. The usual convention includes a subject censored at a tied failure time in the risk set for that failure. Estimation beyond the last observed failure is limited by the available follow-up.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





