Discrete L2 inner product Created 2026-10-05 Updated 2026-10-06
The discrete L2 inner product is the cell-volume-weighted Hermitian inner product on a uniform grid. Its associated norm is the discrete L2 norm. It provides the finite-dimensional analogue of spatial integration by parts and continuous energy method identities.
For homogeneous Dirichlet endpoints, the centered first-difference matrix is skew-Hermitian and the centered second-difference matrix is negative definite. Thus is contractive in the discrete L2 norm for every real and every mesh width. The displayed identity follows by summation by parts. Nonnegative off-diagonal entries additionally require ; that maximum-principle condition is not necessary for the L2 energy estimate. numerical consistency and Duhamel's formula then give second-order numerical convergence for smooth solutions and compatible initial approximations.
A three-point implicit advection stencil can match translated data through cubic Taylor expansion while retaining a rational Fourier amplification symbol. For the coefficient family , , , , , its factor is . Direct subtraction gives . The displayed ranges are the contraction ranges in the discrete L2 norm, with a nonvanishing denominator there. For forward time and positive speed parameter, retain the nonnegative ranges. For fixed nonzero nonexceptional Courant number, the normalized truncation error is third order; at the update is the corresponding exact grid translation.
Norm conservation of a semidiscrete Schrödinger equation Created 2026-10-05 Updated 2026-10-06
If a spatial method of lines has a Hermitian matrix , its generator is a skew-Hermitian matrix. The matrix exponential is a unitary matrix, so it preserves the Euclidean norm and any constant-volume discrete L2 norm. Equivalently, differentiating the squared norm gives . A real sampled potential preserves the Hermitian property of a symmetric discrete Laplacian. Subsequent time discretization must be assessed separately.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 67 3 b Solution Created 2026-10-03 Updated 2026-10-20
Use the corrected same-node method identified above, with , interior indices and zero endpoint values. Its spatial matrix is real symmetric. Summation by parts gives, for a vector extended by zero at the endpoints,Hence is positive definite, and bounds its eigenvalues by . The forward Euler method has amplification matrix . Its eigenvalues lie in , so their moduli are at most one whenSymmetry makes this a contraction in the mesh-weighted discrete L2 norm, uniformly over all grids and all coefficient samples satisfying the bounds. There is also a maximum norm proof: the update weights are , , and . They are nonnegative and sum to one, giving a contraction after the boundary values are included.
This mesh-independent bound is sharp. For , the spatial eigenvectors are and their amplification factors areIf , sufficiently fine grids have a highest-frequency factor below , giving exponential growth in the step number.
On one fixed grid, rather than uniformly under refinement, the sharp universal stability of a numerical method bound in the discrete L2 norm is slightly larger:Indeed the quadratic form above is bounded by times the constant-coefficient difference form, whose largest eigenvalue is ; equality is realized by the constant coefficient. Its limit as is the boxed bound. No such fixed-grid matrix conclusion repairs the ill-defined shifted-boundary update in the literal printed formula.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 67 4 a Solution Created 2026-10-03 Updated 2026-10-14
Put and use the discrete Fourier transform on the infinite grid. A spatial Fourier mode has time coefficient satisfyingIts amplification polynomial of a multilevel finite difference scheme is , with rootsFor they are distinct and have modulus one. Since , a fixed bounds their separation below by . Solving for the two mode amplitudes therefore bounds every power of the two-level companion matrix uniformly in frequency and step number. Parseval identity transfers this bound to the discrete L2 norm.
If , an open set of frequencies around has and a root of modulus greater than one. Fourier data supported there grow exponentially. At , the central frequency has the double root , and the recurrence admits . Thus the root moduli being one do not suffice: a nontrivial Jordan block makes the two-level powers grow linearly. Although this exact frequency has measure zero on the infinite grid, the matrices depend continuously on frequency. For every step count, a neighborhood has powers nearly as large, so their essential supremum is still unbounded. Wave packets in those neighborhoods rule out a uniform stability of a numerical method estimate in the discrete L2 norm.
For arbitrary perturbations in both starting levels the sharp positive range is thereforeThe zero-step limiting recurrence is bounded but does not advance time. A specially filtered startup can suppress a repeated-root mode; that restriction does not establish stability of the full two-level scheme. This is the two-dimensional leapfrog stability threshold.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 69 3 a Solution Created 2026-10-03 Updated 2026-10-14
Use the discrete inner product , with endpoints . The centered first-difference matrix is skew-Hermitian, while summation by parts givesSince is real, the centered advection contribution has zero real part. ThereforeThis proves the energy contraction for centered drift-diffusion, and hence stability for every fixed real and every mesh width, in the discrete L2 norm. The extra inequality would make the off-diagonal coefficients nonnegative and support a discrete maximum principle, but is not needed for this energy proof. No time-stepping method is involved here.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 71 3 b Solution Created 2026-10-03 Updated 2026-10-14
For a Fourier mode , defineThe amplification factor is . To derive its stability condition, use the coefficient abbreviations from the preceding solution and set . The squared moduli areHere , , and . Subtraction and factorization giveThus for every frequency exactly when , provided the implicit denominator does not vanish. For the physically nonnegative Courant number, this givesFor a signed convention the full real range is .
There is no hidden denominator failure in these ranges. If and , the identity forces and ; but . If , then , and could vanish only when its two real coefficients have equal magnitudes. Their sum is three, so equality requires , which is not a root of . Hence is nonzero for every frequency in the allowed ranges. On the compact frequency interval its inverse is bounded for each fixed allowed .
When , choose a small nonzero frequency. The denominator remains close to three, while the boxed identity gives . Its fixed-frequency numerical mode grows geometrically, proving instability in the usual fixed-Courant refinement limit. Conversely, for , the Plancherel theorem converts the mode bound into a discrete L2 norm contraction on the whole-line or periodic grid. The large-Courant branch is possible because the scheme is implicit; stability alone does not promise small error at a large step.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 71 4 b Solution Created 2026-10-03 Updated 2026-10-14
Take interior points in each direction and spacing . The one-dimensional Dirichlet discrete Laplacian has sine eigenvectors , becauseThe five-point Dirichlet Laplacian as a Kronecker sum therefore has product eigenvectors . Adding the reaction term gives modal growth ratesThe semidiscrete matrix is real symmetric, so these modes are orthogonal in the mesh-weighted discrete L2 norm. Non-growth for all times is equivalent to every rate being nonpositive. The largest is , giving the five-point heat-reaction stability thresholdAt equality the first grid mode is neutral; above it that mode grows exponentially. This criterion concerns the spatially semidiscrete, continuous-time evolution. Any subsequent time integrator has an additional stability requirement.
The threshold expands as and is below the continuum threshold for every finite mesh. Thus at the continuum neutral value the grid first mode has a small positive rate. This is compatible with finite-time convergence, although it prevents an all-time contraction on that fixed mesh. In the weaker finite-time mesh-uniform sense, all fixed have the bound because the discrete Laplacian is nonpositive. The boxed range is the natural non-growing stability range, matching the threshold comparison in the preceding part; finite-time stability versus power boundedness is a distinct question.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 71 7 Solution Created 2026-10-03 Updated 2026-10-14
Fourier stability analysis exploits translation invariance of a linear constant-coefficient finite difference method. On an infinite uniform grid of spacing , a spatial shift acts on by multiplication by . Hence a scalar two-level scheme with new- and old-time symbols propagates each Fourier mode by , provided the new-time operator is invertible. An explicit stencil simply has . This converts a spatial evolution into scalar algebra at each frequency.
The Plancherel theorem gives the full norm estimate, rather than just a heuristic about waves. For the discrete Fourier transform , interpreted in the sense if necessary,Thus a scalar mode bound gives an exact discrete L2 norm bound. Stability on a fixed physical interval requires constants independent of the refining spatial and time meshes:The contraction condition is sufficient and customary for equations whose exact solutions do not grow. More generally suffices, since . At a fixed Courant number, when is independent of , a mode with modulus strictly greater than one violates the estimate as . One must keep this scaling: physical growth such as does not by itself mean finite-time numerical instability. This is finite-time stability versus power boundedness.
For systems, the symbol is an amplification matrix. The requirement is a uniform bound on all its powers, not merely its eigenvalues. A unit-modulus Jordan block has powers and is unstable under refinement. A uniformly conditioned eigenbasis or an energy estimate can justify a modal conclusion; eigenvalues alone cannot control a general nonnormal matrix. Multilevel schemes likewise produce an amplification polynomial of a multilevel finite difference scheme, with a uniform root condition and control of starting errors. Repeated unit-modulus roots can give polynomial growth, and roots approaching each other require attention to mesh-uniform constants.
Several elementary examples show how the calculation works. For with , forward Euler with centered spatial differences gives , where . Since , it is unstable at every fixed nonzero Courant number. The upwind finite difference scheme instead gives andso its exact contraction range is . The Lax-Wendroff advection scheme has ; expansion gives , hence . The Courant–Friedrichs–Lewy condition relates these restrictions to the numerical domain of dependence, but is a necessary geometric check rather than a complete stability proof. Implicit schemes can have a global spatial dependence and different Courant ranges, as Question 3 illustrates.
For the heat equation , put . Central spatial differences with forward Euler give , so . With backward Euler the factor is , a contraction for every . For the Crank-Nicolson diffusion scheme it is , again a contraction for all . At large , however, high-frequency factors approach minus one rather than zero: unconditional stability does not imply strong damping or accurate resolution of every mode.
The connection with convergence is the Lax equivalence theorem for a consistent approximation to a well-posed linear evolution problem. Its forward implication follows directly from the error recursion. If and for , thenA convergent initialization and a vanishing normalized local truncation error therefore give convergence. Smooth-data consistency can be extended by density when the approximation and initialization are uniformly bounded. For rough data, cell averages or another L2-compatible initialization of grid data are preferable to undefined point samples. A high formal order does not rescue an unstable amplification operator.
Boundary conditions determine whether Fourier diagonalization is exact. On a periodic grid the update is a circulant matrix, and the finite discrete Fourier transform diagonalizes it at the frequencies . Here an interior symbol controls the entire scheme, including the wrapping boundary. On the whole line, the continuous frequency transform serves the same purpose and there is no boundary closure to check.
For a finite interval with homogeneous Dirichlet boundary conditions, centered diffusion is a symmetric tridiagonal problem diagonalized by discrete sine modes. One tests the same diffusion symbol at the admitted sine frequencies, not at arbitrary periodic modes. For homogeneous Neumann boundary conditions, a suitable reflected closure uses discrete cosine modes; the constant mode is present and is neutral for pure diffusion. With the standard reflected endpoint stencil, the natural norm uses half endpoint weights, in which the matrix is self-adjoint. Consequently stable diffusion need not make every solution tend to zero under Neumann conditions. These special orthogonal bases supply an exact substitute for Fourier modes when the operator and closure have the required symmetry.
For transport, prescribe only the incoming physical boundary data. With , , the inflow is the left endpoint; for it is the right endpoint. Imposing unrelated data at both ends generally overdetermines the first-order PDE. Outflow rows or ghost points must be chosen compatibly with the interior method. A general boundary closure of a difference scheme destroys the circulant structure, so whole-line von Neumann stability analysis is necessary in many settings but not sufficient for the full initial-boundary problem. A defective boundary row that doubles one boundary unknown each step can create growth even beside a stable interior stencil.
A more refined boundary calculation seeks half-line modes with ; these are localized near the boundary. Insert them into both the interior recurrence and boundary equations. A compatible mode with proves boundary instability. Absence of one isolated growing mode is not the whole theorem: weakly controlled limiting modes can still destroy a uniform estimate. The Uniform Kreiss--Lopatinskii condition requires a uniformly bounded inverse boundary system on the incoming/decaying mode space. Direct energy estimates are often a clearer alternative to solving that transformed boundary problem.
For example, suppose a first-derivative matrix obeys the discrete summation by parts identity , with positive norm matrix . The semidiscrete advection equation then givesWith homogeneous inflow and , only a nonpositive outflow term remains; prescribed inflow contributes a controlled forcing term. This is the inflow advection energy estimate from summation by parts, and it tests the boundary as part of the operator. For a dissipative semidiscrete matrix , backward Euler also preserves the estimate, because its update givesThis distinguishes spatial energy stability from stability of an arbitrary chosen time integrator.
Finally, nonhomogeneous boundaries can be homogenized by subtracting a suitable lifting, leaving a forced equation whose solution needs a bound in terms of both initial and boundary data. Variable coefficients and nonuniform grids remove translation invariance, so freezing coefficients gives only local diagnostic information. A full energy method, a mesh-uniform operator estimate, or a dedicated boundary-symbol analysis is then needed. Fourier symbols give complete stability tests when an orthogonal mode decomposition diagonalizes the full operator; otherwise the boundaries, matrix powers and norm estimates must be checked as well.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 72 3 b Solution Created 2026-10-03 Updated 2026-10-14
Choose a spatial interval with periodic boundary conditions and a uniform grid, so no separate inflow boundary closure of a difference scheme is required. The discrete Fourier transform is a unitary operator in the discrete L2 norm. Every circulant stencil is diagonal in that transform, and a one-step Fourier multiplier is a contraction exactly when its modulus is at most one for every grid frequency. For a mesh-uniform statement, use all , the limiting frequency range.
A Fourier mode giveswith the coefficients from (a). Squaring moduli and putting yieldsThis has the required nonnegative sign for every frequency exactly whenOne must also check that the implicit equation is solvable, rather than divide by a vanishing symbol. HereFor , a zero would have to occur at zero or ; the latter occurs only at , both outside the displayed stable intervals. At , . Thus there is no denominator zero in the stable range. For fixed such , continuity on the compact frequency interval gives a uniformly bounded inverse, and proves for all steps.
Outside these intervals the displayed difference is negative at every nonzero frequency where , so . On periodic refining meshes there are frequencies approaching any selected such value. Their amplification is bounded away from one and is repeated times over a fixed physical interval when , violating a mesh-uniform stability bound. At the two singular parameters the implicit operator itself fails on meshes containing the Nyquist mode. These observations prove necessity as well as sufficiency.
For the physical convention , , the result is or , with zero admitted as the identity limit. The negative intervals describe the algebraic contraction result for signed Courant numbers. In particular, the additional large positive interval must not be discarded by imposing the usual explicit-scheme Courant–Friedrichs–Lewy condition: this scheme is implicit. Stability at large fixed Courant number is not a guarantee of a small error constant.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 72 6 Solution Created 2026-10-03 Updated 2026-10-14
The eigenvalue stability analysis of a finite difference method reduces a linear evolution discretization to its modal behavior, but it must retain the norm and the dependence on the mesh. For a homogeneous system obtained by the method of lines, , the solution is . A one-step time discretization gives ; for a Runge-Kutta method, where its stage matrices are invertible, . With a multistep method one instead uses an amplification matrix on the augmented vector of several time levels.
The relevant finite-time stability estimate iswith independent of the refining spatial mesh and allowed time steps. Similarly, semidiscrete stability requires for . The norm should represent the continuum problem, such as the discrete L2 norm in one dimension. A fixed finite matrix having decaying solutions as is not by itself a mesh-uniform result for the partial differential equation.
If , thenThus eigenvalues of modulus at most one give a uniform bound when the diagonalizing bases have uniformly bounded condition numbers. For a normal matrix in the chosen inner product, the spectral theorem for normal operators supplies an orthonormal basis, so the condition number is one and the norm of is exactly . For a self-adjoint or skew-adjoint spatial matrix, applying a scalar stability function preserves this favorable modal structure. This is the setting where eigenvalue calculations provide especially clean, reliable step restrictions.
A precise fixed-matrix statement is also useful: a matrix is power bounded for all nonnegative integers if and only if all its eigenvalues lie in the closed unit disk and every Jordan block at a unit-modulus eigenvalue has size one. Indeed, powers of an interior Jordan block contain a polynomial in times a decaying geometric factor and are bounded; a larger block on the unit circle produces unbounded polynomial growth. For a family of matrices, the resulting bounds must still be uniform. Moreover, finite-time stability versus power boundedness distinguishes this all-time condition from the physical-time estimate above. For example , , has , bounded for despite a nontrivial Jordan block at one. Even the scalar update is stable on fixed intervals, since , although it represents a growing equation rather than a contraction.
For a constant-coefficient periodic difference operator, Fourier modes diagonalize the spatial matrix. The discrete Fourier transform is a unitary operator, so Parseval's identity identifies its modal maximum with the operator norm. The eigenvalue stability analysis of a finite difference method then becomes von Neumann stability analysis. For the Dirichlet discrete Laplacian, a discrete sine transform plays the same role. These facts explain its advantages: a large matrix calculation becomes a scalar symbol or a known spectral interval, and the extremal eigenvalue directly determines a safe time step.
As a first example, centered space discretization of the heat equation has eigenvaluesForward Euler method gives with . Requiring all factors in yields for all periodic meshes. In two dimensions the corresponding uniform bound is . Because these are normal matrices, these scalar bounds prove contraction rather than merely suggest it.
Backward Euler method has , so the centered discretization of the heat equation is contractive for every . The Crank-Nicolson method has and is likewise contractive for these negative real modes. However, its factor tends to for very stiff modes, leaving high-frequency oscillations weakly damped; Backward Euler method tends to zero. The eigenvalues therefore expose the presence of stiff differential equations and damping as well as binary stability. Unconditional stability does not remove accuracy requirements.
For an advection equation example, the upwind finite difference scheme for , , has factor , with . Sinceit is a contraction in the periodic discrete L2 norm exactly for . In contrast, Forward Euler method with centered advection has factor . Its modulus exceeds one at nonzero active frequencies, and repeated amplification makes it unstable under fixed nonzero Courant refinement. A much smaller scaling can bound its finite-time growth, demonstrating again that exact contraction and the most general stability estimate are different claims.
The major limitation is the possible presence of a nonnormal matrix. For example,Both eigenvalues are negative, yet at the second unit vector is amplified by at least . This proves that negative spectra do not imply uniform semidiscrete stability. Ill-conditioned eigenvectors, Jordan normal form and transient amplification can invalidate a spectral-only argument. Direct energy estimates or estimates for the resolvent can supply the missing norm control.
Boundary conditions are another limitation. A periodic symbol proves a periodic or whole-line result, not an arbitrary initial-boundary-value problem. Boundary closure of a difference scheme can introduce growing modes or mesh-dependent amplification. A spatial operator with variable coefficients can still be studied through its assembled matrix, but then whether it is a normal matrix, its condition number and the physical inner product must be checked rather than borrowed from a Fourier stability analysis. For the finite element method the natural mass matrix inner product often turns a generalized eigenvalue problem into a self-adjoint one.
For time-dependent or split updates, separate spectra are insufficient to control products. For instance, and each have only zero eigenvalues, while has eigenvalue . For , alternating the two is unstable. A common contractive norm would control the products, but their individual eigenvalues do not.
Finally, stability and consistency of a numerical method have different roles. The Lax equivalence theorem states that, for a well-posed linear initial-value problem and a consistent finite difference method on compatible grid spaces, stability on every fixed time interval is equivalent to convergence of a numerical method as the admissible meshes refine. Bounded grid representation and the correct initial and boundary setup are part of that framework. An eigenvalue estimate can establish its stability hypothesis in the favorable settings described above; it neither proves consistency of a numerical method nor bypasses its uniformity requirements. The method is therefore a powerful modal tool, provided its spectral calculation is connected to a genuine norm estimate.
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 3 c Solution Created 2026-10-03 Updated 2026-10-05
Use distinct periodic grid points , , and . Values at the two ends of the interval represent the same point, so the endpoint must not be stored twice. With indices interpreted modulo , setThis replaces the Dirichlet matrix by the periodic discrete Laplacian. The normalized Fourier modes form an orthonormal basis and have amplification factorsEach satisfies for every . The Parseval identity therefore gives in the discrete L2 norm, uniformly in the grid and time step. Thus all positive Courant numbers remain stable. The constant mode has , expressing preservation of the spatial mean; all nonconstant modes decay. The formula with modulo indices also handles small grids, where two neighbours can coincide.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 341 4 b Solution Created 2026-10-03 Updated 2026-10-05
Arrange the interior values into a vector . Represent the five-point Dirichlet Laplacian as a Kronecker sum , where is the tridiagonal matrix with diagonal and adjacent entries one. This Kronecker sum is real symmetric; the real sampled potential has a real diagonal matrix . ThusThe generator is a skew-Hermitian matrix. ConsequentlyThe matrix exponential is a unitary matrix, either by differentiating its product with its adjoint or by unitary diagonalization of a normal matrix. For the two-dimensional discrete L2 norm , this givesApplying the same equation to a difference proves stability of a numerical method with a mesh-independent constant one. This is norm conservation of a semidiscrete Schrödinger equation. It concerns continuous time after spatial discretization; an arbitrary subsequent time integrator need not preserve this stability.
The printed coordinates do not discretize the stated square. For with interior points in each direction, use , , , and sample there. The printed and unshifted coordinates instead describe a grid on . The matrix proof is valid for either geometry with its corresponding boundary values, so this transcription-independent statement flaw does not alter the stability conclusion.
