Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 306 1 iii Solution Created 2026-10-03 Updated 2026-10-05
In conformal gauge, . The Weyl invariance of the Polyakov action removes , leavingIts complete variation isFix the string embedding map on the initial and final time slices. The interior Euler-Lagrange field equation is the wave equationAt each spatial endpoint the remaining variation vanishes under either Dirichlet boundary conditions, , or Neumann boundary conditions, , independently for each target-space component. Thus a fixed endpoint or a free endpoint makes the boundary contribution vanish. Fixing a spatial point throughout time imposes Dirichlet boundary conditions on its spatial coordinates, while the time coordinate may retain Neumann boundary conditions.
The independent metric tensor equation must also be retained after gauge fixing. Its Virasoro constraints areTogether with the wave equation, these ensure equivalence to the Nambu–Goto action; varying only the already fixed metric would lose these Virasoro constraints.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 341 3 b Solution Created 2026-10-03 Updated 2026-10-05
Let be the tridiagonal matrix with diagonal two and adjacent entries minus one, incorporating zero Dirichlet boundary conditions. The actual PDF scheme isAn orthonormal basis of eigenvectors of has components , and substitution givesThey form an orthonormal basis by the spectral theorem for real symmetric matrices. Hence is invertible for every , and the amplification eigenvalues are . For the discrete L2 norm ,This bound has constant one independent of time step and mesh, which is the required stability of a numerical method. Therefore every positive Courant number is stable. If a forcing or local-defect sequence is added, the discrete variation-of-constants formula gives a bound by the initial norm plus the sum of those perturbation norms; this also justifies the global error conclusion in part (a).
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 341 4 a Solution Created 2026-10-03 Updated 2026-10-05
For a sufficiently regular solution with zero Dirichlet boundary conditions, differentiate its squared L2 norm. Since ,Integration by parts and the zero boundary trace give . The potential contribution is real because is real. The quantity in parentheses is consequently real, and its product with has zero real part. HenceThis is the energy method for a skew-adjoint evolution. For general L2 space data, the same result follows from the strongly continuous unitary group generated by a self-adjoint realization of . A sufficient assumption is a bounded real potential with the Dirichlet Laplacian; arbitrary real potentials require appropriate domain and self-adjointness assumptions. The differentiated proof presumes the regularity needed for the displayed integrals, rather than asserting it for every pointwise real function .
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 341 6 Solution Created 2026-10-03 Updated 2026-10-14
The starting point of a conforming finite element method is a weak formulation in a Hilbert space . For example, a homogeneous Dirichlet boundary condition on a bounded Lipschitz domain gives . One seekswhere is a bounded bilinear form, , and is a bounded linear functional. A conforming finite element space is finite dimensional and is typically built from functions that are polynomial on each element of a finite element mesh. With a basis , the Galerkin method imposes the same identity only for , givingThe stiffness matrix is sparse when basis supports overlap only locally. Local element integrals assemble its entries; the mass matrix represents an term. This separates the choice of trial functions from the variational principle determining their coefficients.
The fundamental well-posedness theorem is the Lax-Milgram theorem: if for some , there is a unique solution for each , with . The same theorem on gives a unique discrete solution. The constants must be independent of the mesh for uniform stability of a numerical method. Boundary conditions are built into the trial space when they are essential constraints; flux conditions arise through boundary terms in integration by parts and are natural constraints in the weak formulation.
When is symmetric and a coercive bilinear form, the Ritz method minimizesover . Its first variation is exactly the Galerkin method, so Ritz minimization and Galerkin testing coincide for symmetric coercive problems. The energy norm turns the approximation into an orthogonal projection. Indeed, subtracting the exact and discrete weak equations gives Galerkin orthogonality, . For every the Pythagorean identity becomessoThis exact best-approximation property is the central advantage of the Ritz method.
Symmetry is unnecessary for the Galerkin method. For any bounded, coercive form, the Céa lemma givesTo prove it, put . Galerkin orthogonality yields , so coercivity and boundedness give . Divide when and take the infimum. Thus approximation capability plus uniform coercivity gives convergence. In contrast, minimizing for a nonsymmetric form differentiates its symmetric part and generally does not solve the original weak equation.
A concrete symmetric example is the one-dimensional reaction-diffusion problem from Question 5. Continuous piecewise-linear hat functions give the diffusion stiffness matrix with diagonal and neighbouring entries , and the mass matrix with diagonal and neighbouring entries . Therefore and . Its positive-definite matrix is the coordinate form of the continuous energy. The exact smooth solution makes this an explicit test of the method, not just an abstract existence result.
For a nonsymmetric example, take positive , constant real , andIts form is . Since , it has coercivity constant in the full norm, although it is not symmetric when . The Galerkin method remains well posed. On the uniform hat basis, , where , and . The skew-symmetric matrix cancels from , proving nonsingularity. A Ritz energy would omit precisely this advection contribution. Small may nevertheless make the approximation constant large and produce poorly resolved layers; algebraic solvability is not an accuracy guarantee.
Quantitative convergence uses a finite element interpolation estimate. On a shape-regular mesh, for piecewise-linear conforming elements and in the usual low-dimensional setting,The Céa lemma therefore gives an energy error. The Aubin–Nitsche duality argument improves the L2 norm error when the dual elliptic problem has regularity: solve and useConsequentlywith constants depending on the solution and regularity bounds. The second estimate is conditional on dual regularity; corners or insufficient data regularity can reduce the rate.
The same Galerkin method handles evolution equations. For the homogeneous heat equation, the semidiscrete finite element heat equation is . Because is a positive-definite matrix and is a positive semidefinite matrix,The decreasing quadratic form is exactly the L2 norm squared of the finite-element function. This separates spatial stability of a numerical method from the subsequent time integrator, just as in the Schrödinger equation example. Conformity, coercivity and approximation estimates together explain convergence.
Past exam of the mathematics course of the University of Cambridge 2019 ib Paper 2 5B Solution Created 2026-09-24 Updated 2026-09-29
For an axisymmetric separated solution of the Laplace equation whose angular factor is the Legendre polynomial , the radial ordinary differential equation has the two powers and . Thusfor constants .
Write . Since , only the spherical harmonics of degrees zero and two occur. The degree-zero radial coefficient satisfying its two Dirichlet boundary conditions is . For degree two, write ; thenso and . By linearity and uniqueness of this boundary value problem,Direct substitution at verifies both boundary values.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 105 2 b i Solution 2026-10-03
The Dirichlet boundary condition is built into the first component's space, while the Neumann boundary condition is natural. Thus a weak solution is a pairsuch that for every ,If are up to the boundary, taking compactly supported test functions and applying the fundamental lemma of the calculus of variations gives both differential equations pointwise in . Membership of gives on . Applying integration by parts to the second identity and using its differential equation leavesfor every smooth boundary trace . Hence on , so the equations and both boundary conditions hold classically.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 341 3 a Solution 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 7 Solution Created 2026-10-03 Updated 2026-10-14
Consider a bounded Lipschitz domain and homogeneous Dirichlet boundary conditions forAssume is a bounded real symmetric matrix field with uniformly, is bounded, and defines a bounded linear functional on , the zero-boundary Sobolev space. The weak formulation isThe Cauchy-Schwarz inequality gives continuity . Uniform ellipticity and the Poincaré inequality give a coercive bilinear form, . The Lax-Milgram theorem therefore supplies a unique weak solution, with . Its proof represents by a bounded linear operator using the Riesz representation theorem; coercivity gives an injective operator with closed image, and a zero orthogonal complement makes that image all of . This yields existence, uniqueness and the displayed estimate.
For a conforming finite element space , the Galerkin method finds such that for every . With a basis , this is the linear system , where the stiffness matrix is and . Its positive-definite matrix property proves unique discrete solvability. Local support gives a sparse matrix through elementwise assembly.
For the symmetric problem, the Ritz method minimizes over . Differentiating in every direction gives precisely the Galerkin method equations. Conversely, if solves them, , proving it is the unique minimum. The same argument over gives , where is the energy norm. Thus the Ritz method chooses the best trial function in that norm.
Subtracting the continuous and discrete equations gives Galerkin orthogonality, . For arbitrary and , it follows that . Coercivity and continuity prove the Céa lemma:In the symmetric energy norm, the Cauchy-Schwarz inequality improves the constant to one. Equivalently, Galerkin orthogonality gives the Pythagorean identity . These estimates establish stability and show that approximation properties of the trial space determine convergence.
For continuous piecewise-linear elements on a shape-regular mesh in dimensions at most three, a finite element interpolation estimate gives when . Combining it with the Céa lemma yields energy norm error. More generally, degree- elements give error in under the corresponding regularity and approximation assumptions. Mere mesh refinement cannot supply an order whose required solution regularity is absent.
An additional order in the L2 norm follows under a dual elliptic regularity assumption. Solve and assume . The Aubin–Nitsche duality argument uses Galerkin orthogonality to obtainTherefore , giving for the piecewise-linear case with . This improvement explicitly requires regularity of the dual problem.
As a concrete example, solve on with zero endpoint values. On a uniform mesh of spacing , the piecewise-linear hat functions give , and . The discrete equations are , whose solution is . The exact solution is , so is its piecewise-linear nodal interpolant. On each interval ,Integrating the squared error and squared derivative error gives the explicit rateswhere the norm here is .
For nonsymmetric coercive problems, the Galerkin method, Galerkin orthogonality and the Céa lemma still apply, but the symmetric quadratic minimization interpretation of the Ritz method generally does not. Nonconforming trial spaces, inexact integration and noncoercive equations need additional arguments beyond the conforming coercive theory proved here.
Past exam of the mathematics course of the University of Cambridge 2020 ia Paper 2 10B c Solution Created 2026-09-24 Updated 2026-09-29
Suppose are solutions and put . Then and satisfies the homogeneous Robin boundary conditionFor , Green's first identity givesThe left side is nonnegative, so both sides vanish and . For , the Dirichlet boundary condition on and the same identity again imply . The solution is therefore unique for every .
For a regular spherically symmetric solution, the Laplacian equation isRegularity at the origin gives , hence . Applying the boundary condition at yieldsAt the Neumann boundary condition would require , which is impossible for . Equivalently, its compatibility condition would require .
Past exam of the mathematics course of the University of Cambridge 2021 ib Paper 1 14C i Solution Created 2026-09-24 Updated 2026-10-20
For a normalized wavefunction obeying the infinite-wall Dirichlet boundary condition, integration by parts gives the energy expectationThus every energy eigenvalue is nonnegative.
For , the time-independent Schrödinger equation and the wall conditions givewhere and . Continuity of and at the finite potential step givesDividing and rearranging yields the bound-state quantization condition
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 306 4 1 Solution 2026-09-28
Varying the gauge-fixed Polyakov action gives the bulk wave equation and the boundary termIt vanishes in each target direction either through the Neumann boundary conditionor through the Dirichlet boundary conditionwhich fixes the endpoint positions.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 341 4 a Solution 2026-09-29
Let , where the centered second-difference matrix is real symmetric negative definite under homogeneous Dirichlet boundary conditions, and the centered first-difference matrix is real skew-symmetric. HenceThe semidiscrete energy method gives for every real , so the scheme is stable.
The flat four-dimensional retarded Green function isFor a Dirichlet boundary condition at , the method of images givesThe boundary-to-bulk kernel for is its inward boundary derivative. For a source at the spacetime origin,Multiplying by the Weyl factor gives the requested kernel for the original bulk field:It is causal and supported on the future bulk light cone of the boundary insertion. Its distributional boundary limit satisfies , while the source-free initial term vanishes for the CFT vacuum in this response calculation.
Past exam of the mathematics course of the University of Cambridge 2022 ia Paper 3 11A ii Solution Created 2026-09-24 Updated 2026-09-25
Put . The common Dirichlet boundary condition gives on . Expanding the energy functional,Integration by parts and the field equation make the cross term zero:Consequently
For , equality holds exactly when . For , equality holds exactly when , so is constant on the connected region; its zero boundary value then again forces . The minimizing property therefore proves uniqueness for the Dirichlet problem in both cases:
Past exam of the mathematics course of the University of Cambridge 2022 ib Paper 2 15B a Solution Created 2026-09-24 Updated 2026-10-14
Inside the infinite square well, the time-independent Schrödinger equation has Dirichlet boundary conditions at and . Its normalized energy eigenstates and energy eigenvalues are
Let and use the clamped energy space , whose traces satisfy on . Two applications of integration by parts giveIf equality holds, then . The maximum principle for harmonic functions and the zero Dirichlet boundary condition imply . The biharmonic operator is therefore positive definite. The same identity and conclusion hold for the simply supported conditions ; either standard interpretation of the paper's phrase “zero boundary conditions” gives the result.
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 40C b ii Solution Created 2026-09-24 Updated 2026-10-20
Let be the spatial matrix, so the forward Euler method isThe conservative use of shared edge coefficients makes a real symmetric matrix. In an interior row, put . Its diagonal entry is , and the sum of the absolute off-diagonal entries is . Boundary rows have no larger disk because homogeneous Dirichlet data remove some unknown neighbors.
The Gershgorin circle theorem and symmetry therefore place every eigenvalue of inIf , each amplification eigenvalue is . It lies in wheneverorSince the amplification matrix is symmetric, bounding all its eigenvalues in modulus by one bounds its discrete Euclidean operator norm by one. This proves the stated stability condition and is the Gershgorin stability bound for a variable-coefficient diffusion stencil.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 105 2 a Solution Created 2026-09-28 Updated 2026-10-14
The zero-boundary Sobolev space isOn it defineIf this quadratic form vanishes, then . The Poincaré inequality givesso . It is therefore an inner product, and its norm is equivalent to the usual norm.
A function is a weak solution whenThis follows from integration by parts and incorporates the homogeneous Dirichlet boundary condition through membership in .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 3 c Solution 2026-09-28
Extend a grid vector by zero to the Dirichlet boundary. Pairing contributions along undirected nearest-neighbour edges gives the discrete energy identitywhere includes edges from an interior node to a boundary node. This is the three-dimensional version of summation by parts for the seven-point Dirichlet Laplacian.
The right side is nonpositive. If it vanishes, every pair of neighbouring values agrees; connectivity of the grid and the zero boundary values then imply . Thus for every nonzero , so is negative definite. In particular, zero is not an eigenvalue, and therefore
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 4 a Solution 2026-09-28
Take the real inner product of the equation with . The homogeneous Dirichlet boundary conditions and integration by parts giveThus , and applying the same estimate to the difference of two solutions gives continuous dependence on the initial data. The constant-advection term is skew-symmetric under these boundary conditions and contributes no energy. Hence