Topics (349k) Articles (361k) Users (420) Discussions (237) Comments (383) Files (12k) New article
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 344 1 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
Average the trial field over an integer number of periods. The squared-field, squared-gradient and squared-Laplacian averages are , and , while . Hence the single-mode smectic mean-field free energy isFor the physically stabilizing case , minimization givesThe amplitude tends continuously to zero at , so this mean-field approximation predicts a continuous phase transition. The ordered minimum has free-energy density .
A nonzero alone is not sufficient for this conclusion: makes the displayed quartic amplitude energy unbounded below and requires higher-order stabilization. The continuous-transition statement uses and the stipulated fixed wavevector .
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 344 1 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
Take so that the short-wavelength quadratic energy is stable. For , a Fourier mode with wavevector magnitude has inverse Gaussian field theory covarianceFor , its minimum is atThe zero-average constraint excludes the uniform mode but allows . At the modes on the nonzero-wavevector soft-mode sphere become soft; below it they have negative quadratic energy, so the homogeneous state loses stability. A modulation along any chosen direction is the simplest smectic phase pattern. The quadratic instability selects its wavelength; with , a nonlinear stabilizing interaction would still be needed to determine its amplitude.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 5 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
The mass matrix is a positive-definite matrix, and integration by parts with periodic boundary conditions gives . HenceThis is energy conservation for semidiscrete Galerkin advection: . Thus the semidiscretization is stable and conserves its finite element L2 norm.
For a mesh-independent comparison with the grid norm, the Fourier symbol of is , between and . ConsequentlyThe conserved energy therefore gives a uniform bound in as well. Equivalently, each Fourier mode evolves with the purely imaginary exponent . This concerns the semidiscrete method; a chosen time integrator must separately control those imaginary eigenvalues.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 5 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
Let be a uniform periodic mesh, with indices interpreted modulo the number of nodes. Write the finite element approximation as using the chapeau functions. The Galerkin method requiresThe mass matrix has and . The spatial matrix has and , with zero diagonal. Therefore the semidiscrete equations areor equivalently . The coefficients come from integrating the products of the two overlapping piecewise-linear hat functions on each interval; periodicity supplies the wraparound entries.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 4 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
For a Fourier mode, the amplification polynomial isPut and . The roots becomeIf , the square root is real, both roots have modulus one, and their separation is at least . The companion matrix has eigenvectors , so their uniform separation gives a mesh-independent bound on its powers. By power boundedness of a two-level Fourier scheme and the discrete Fourier transform, this proves stability for .
If , choose . The roots have product of modulus one and unequal moduli, so one has modulus greater than one. The scheme is unstable.
The boundary cases require more than a root-modulus check. At , gives , while gives . The companion matrices have nontrivial Jordan blocks and solutions of the form . Their linear growth rules out a uniform stability bound. This mode occurs on even periodic grids, which are enough to disprove mesh-uniform stability at the endpoints.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 4 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
Keep the Courant number fixed and write . An exact solution of is . Substituting it into the update gives the defectwhere and is evaluated at . The constant, first-derivative and second-derivative terms cancel. Dividing by gives a second-order consistency error. Hence for fixed , , the scheme has order two.
At the special value , the update reduces to . This is exactly the transport over two time steps, since , so the defect vanishes identically. With exact data at both starting levels it transports their values exactly; errors in those starting levels are still present, and the even and odd time subsequences evolve separately.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 3 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
With , , and , the Forward Euler method givesFor a Fourier mode , the amplification factor is . Set . ThenThe expression in braces is an affine function of , so it is nonpositive for all precisely when its two endpoint values are nonpositive. For , these conditions are and . Thus Forward Euler stability for centered advection-diffusion requires exactlyFor , only the first condition remains. If either bound fails, a band of Fourier modes has , giving instability under von Neumann stability analysis. At equality the amplification bound still holds, so the endpoints are included. This is discrete L2 norm stability; nonnegative stencil weights would impose the additional spatial restriction .
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 3 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
Write and set . In the discrete L2 norm , the energy method givesTo obtain this identity, shift the indices in the centered second-difference sum. The centered first-difference matrix is skew-symmetric, so its contribution has zero real part even for complex grid values. The homogeneous Dirichlet boundary conditions remove the endpoint terms.
Therefore the semidiscretization is stable for every real and every positive , with the mesh-independent bound . No restriction on is needed for this energy estimate.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 2 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
For algebraic stability, the weights must be nonnegative and the real symmetric matrix , where , must be a positive semidefinite matrix.
The weights are positive, but and , soA positive semidefinite matrix cannot have a negative diagonal entry, as its quadratic form at the first standard basis vector would be negative. Thus this Lobatto IIIA method is not algebraically stable, despite its A-stability.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 2 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
The stability function of a Runge-Kutta method is . Substitution givesWriting the numerator and denominator as and ,The denominator has zeros , both in the right half-plane. Therefore throughout the closed left half-plane, with strict inequality in its interior. The method is A-stable. Since at infinity, it is not L-stable.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 2 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
The tableau is the three-stage Lobatto IIIA method. For its stage matrix , weights , nodes and , the Butcher order conditions through order four arewhere means coordinatewise powers. Direct substitution verifies all eight identities. Equivalently, this is a collocation Runge-Kutta method at the three Lobatto quadrature nodes, whose weights integrate cubic polynomials exactly.
Order five would require , but here . Therefore the method has exactly order four.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 1 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
For the Dahlquist test equation, put . The amplification roots satisfyWe show that no root can reach the unit circle for . If , solving the quadratic in givesWrite , , and . Then andSince , this gives . Consequently , so both possible have nonnegative real part. Equality can occur only at , which gives or .
The leading coefficient has zeros , both in the right half-plane. Hence the amplification roots vary continuously as a pair throughout the left half-plane. At they are and ; neither can leave the unit disk without crossing the unit circle, which the preceding calculation excludes. The same conclusion extends to the imaginary axis, with strict inequality away from . At zero the roots satisfy the simplicity requirement.
Thus the method is A-stable. Its third order does not contradict the usual second-order barrier, because it is a multiderivative multistep method.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 1 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
Expand about and use from the chain rule. The residual of the exact solution isThe coefficients through vanish, and the displayed fourth-order coefficient does not. Thus the multiderivative multistep method has order three.
At , its first characteristic polynomial isIts roots are and , with the unit-modulus root simple, so it satisfies the root condition for a multistep method and is zero-stable. Combining this with the defect estimate proves convergence of order three, assuming sufficiently smooth , order-three starting values, and the nearby branch of each implicit update.
More explicitly, the right-hand side is , where has a uniform local Lipschitz continuity bound for small . A bounded zero-stable impulse response and the discrete Gronwall inequality therefore control the accumulated defects by over fixed time intervals. This is convergence of a zero-stable multiderivative method, rather than a direct application of the first-derivative-only Dahlquist equivalence theorem.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 339 3 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
Suppose , where is a positive semidefinite matrix and is a symmetric nonnegative matrix. Since , both and are nonnegative. Their sum is zero, so both vanish. In particular,Every coefficient in this sum is strictly positive and every is nonnegative, forcing for .
Now apply the same argument to all five cyclic shifts of . The Horn copositive matrix is cyclically invariant, so every shifted vector also has zero quadratic form. It follows that the entries of vanish on every cyclic block of three consecutive indices. Every pair of indices on a five-cycle lies in such a block, hence .
This would imply . But the zero quadratic form of a positive semidefinite matrix would then force , contradicting . Therefore lies outside the positive-semidefinite-plus-nonnegative cone. By the previous equivalence, its quartic form is a nonnegative polynomial that is not a sum of squares polynomial.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 339 3 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
The Horn copositive matrix is invariant under cyclic permutation of its five coordinates: its negative entries correspond precisely to neighboring indices on the five-cycle. For any , cyclically relabel the coordinates so that is a smallest coordinate. In particular, .
Using the stated identity in this coordinate order,The square is nonnegative, and both remaining terms are nonnegative since and . Cyclic invariance means the relabeling has not changed the quadratic form. Thus is a copositive matrix for every original ordering of .
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 339 3 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
First suppose , with a real positive semidefinite matrix and a symmetric nonnegative matrix. Factor , and write . ThenEach term is a square multiplied by a nonnegative scalar, so is a sum of squares polynomial.
Conversely, suppose . Because is a degree-four homogeneous polynomial, the homogeneous sum of squares representation allows every to be quadratic and homogeneous. Explicitly, higher-degree parts cannot cancel in a sum of squares; constant parts vanish because , and the degree-two part forces all linear parts to vanish. WriteSince is invariant under every coordinate sign change, sign averaging of a sum of squares over independent Rademacher random variables givesThe cross terms vanish because their sign products contain an odd power of at least one independent sign. SetThen is a positive semidefinite matrix and is a symmetric nonnegative matrix. Comparing the coefficients of and gives . This proves the sum of squares criterion for a biquadratic form.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 339 3 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
For , define . Then lies in the nonnegative orthant andIf is a copositive matrix, this is nonnegative for every , so is a globally nonnegative polynomial. Conversely, every has the form by taking . If is globally nonnegative, then for every such , proving that is a copositive matrix. The map covers the entire nonnegative orthant, which is the key to both directions.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 339 2 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
For a proper three-graph colouring , associate the colors with the three roots of unity , viewed as unit vectors in . Define using the real inner product.
This is twice a Gram matrix, so it is a positive semidefinite matrix. Its diagonal is . On every edge, the endpoint colors differ, so their vectors make angle or and . Thus and this are feasible in the second semidefinite program, provingThis is the regular simplex construction of a strict vector coloring.
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





