Past exam of the mathematical methods I course of the University of Oxford 2014 resit 10 c Solution 2026-10-25
Every finite sum of the sine modes is odd, and so is a limit in the L2 norm of such sums. In contrast, is a nonzero even function. Its inner product with every odd sine mode vanishes, so all its proposed Fourier sine series coefficients would be zero. It cannot be represented by this basis on the symmetric interval. An even Fourier cosine series is the appropriate alternative there.
Past exam of the mathematical methods I course of the University of Oxford 2014 resit 10 Solution 2026-10-25
Taking the inner product with and using Fourier orthogonality isolates . Since is even, integration by parts givesConsequently the Fourier sine series isThe series converges to at each interior point and in the L2 norm. Its periodic extension has jumps at , where the Fourier series instead converges to the midpoint value zero. The overshoot near those jumps is the Gibbs phenomenon.
Fourier sine partial sums recover the odd linear function inside the interval, with endpoint jump overshoot
. Details. Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 1 10A Solution Created 2026-09-24 Updated 2026-10-14
Assume . On continuous functions on this compact interval, both proposed distances are finite and symmetric, and vanish on identical functions. For the supremum norm, zero distance plainly implies pointwise equality. For the L2 norm, if a continuous difference is nonzero at any point, it stays bounded away from zero on a subinterval of positive length. Its squared integral is then positive, so zero distance also implies equality.
For the first metric, the pointwise triangle inequality followed by the supremum gives . For the second, put , . The Cauchy-Schwarz inequality givesTaking square roots proves the required triangle inequality. Thus both are metrics.
The continuous-function space is complete in the uniform metric. If is a Cauchy sequence in , at each its scalar values have a limit , by completeness of the scalar field. Given , choose with for . Letting gives uniformly in . Hence there is uniform convergence. To see that the limit is continuous at , approximate it uniformly by one continuous and useThe outer terms can be made small uniformly, and the middle term is small near . This proves the needed uniform limit theorem and completeness.
For the second metric, let be zero on and one on ; its value at zero is immaterial to the integral. The supplied ramp functions are continuous and satisfyAlthough is not in the continuous-function space, the integral triangle inequality yields . Thus the sequence is Cauchy. If it converged in to a continuous , the same inequality would give . Continuity would then force on the negative half-interval and on the positive half-interval, contradicting continuity at zero. Therefore the continuous-function space is not complete in ; its limit in the larger L2 space is the discontinuous step.
Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 1 16E Solution Created 2026-09-24 Updated 2026-10-14
Use the Fourier transform convention . First compute the Fourier coefficients of the periodized sum. Absolute integrability givesThus Fubini's theorem justifies termwise integration. For integer , the change of variable and giveReindexing a convergent periodization gives periodicity; the integral argument always gives its periodic representative almost everywhere. This proves the Fourier-coefficient content of the Poisson summation formula.
There is a genuine qualification to the printed pointwise claim: the periodization of an integrable function need not agree pointwise with its Fourier series under the stated hypotheses alone. Set and for . This is absolutely integrable, and on one closed period the periodization has only two possibly nonzero summands, so the series is uniformly convergent. Yet , while for every . The claimed pointwise equality at zero is therefore false. This counterexample also works for Riemann integrability, not only for an almost-everywhere convention.
The coefficient identity gives a rigorous general replacement: the weighted Fejér sumsconverge to the periodization in the integral norm, and at every continuity point. Indeed they are its convolution with the normalized Fejér kernel; that kernel is nonnegative, has integral one, and has integral tending to zero outside every fixed neighbourhood of zero. For convergence in the L1 norm, split the convolution error into small translations, controlled by continuity of translation in the integral norm, and the remaining tail. The same split gives pointwise convergence at a continuity point. If the periodization is piecewise continuously differentiable, the ordinary Fourier series has the usual midpoint limit; if it is continuous and its coefficients are absolutely summable, the displayed unweighted formula holds pointwise. These are sufficient interpretations of the intended identity.
For the specified exponential example all the needed Fourier series convergence properties do hold. Split its Fourier transform at zero to obtainIts periodization is continuous, with uniformly geometrically bounded tails, and the sampled coefficients are absolutely summable. The absolutely summable coefficients define a uniformly convergent Fourier series with the computed coefficients. Its continuous sum equals the continuous periodization: their difference has every Fourier coefficient zero, hence is zero in the L2 norm by Fourier completeness, and continuity upgrades that to equality everywhere. Therefore its ordinary Poisson summation formula is valid. Evaluate it at zero:Thus the fully justified requested sum is
Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 1 2H Solution Created 2026-09-24 Updated 2026-10-14
For the real even function, let . Fourier orthogonality gives for and . ConsequentlyFor an even square-integrable function, the complete Fourier cosine series converges in the L2 norm; hence its norms converge. Taking proves Parseval's identity in the required normalization:This limit argument avoids multiplying an infinite series without a justification of L2 norm convergence.
For the quadratic function, the Fourier coefficients areThe last equality follows from two integrations by parts, using . ThusThis Fourier series is absolutely convergent; the periodically extended quadratic is continuous, so it represents its values also at the endpoints. Substituting its coefficients into Parseval's identity gives
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 60 5 b Solution Created 2026-10-03 Updated 2026-10-14
Insert a Fourier mode . With and , the amplification polynomial isIts two roots have product , of modulus one. Thus if both roots are bounded by one, both must have modulus exactly one. Set . The equation becomesWhen , both roots have modulus one and their separation obeys for every frequency. The companion matrix has bounded entries and can be diagonalized with the two eigenvectors . The uniform separation bounds the inverse eigenvector matrix. Hence every matrix power is bounded uniformly in and , and the Parseval identity proves L2 norm stability for the two starting levels on the whole grid.
If , frequencies near give one root outside the unit circle, so the scheme is unstable. If , the Nyquist polynomial is , a repeated unit root. The corresponding companion matrix has a nontrivial Jordan block and solutions containing . Thus the endpoints are unstable as well. On the whole line the individual Nyquist plane wave is not square-summable, but Fourier packets localized arbitrarily close to that frequency realize the unbounded power norm by continuity. Therefore the uniform stability of a shifted two-level advection scheme criterion isIn particular is stably exact with compatible starts, whereas is formally exact but unstable under arbitrary perturbations. Checking only the moduli of the roots and retaining both endpoints would miss this essential distinction.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 60 7 Solution 2026-10-14
Stability of a numerical method controls how perturbations in initial data, roundoff and local residuals propagate. For a linear evolution scheme , a suitable finite-time requirement iswith independent of the refining mesh. The norm should approximate the norm of the continuous problem, such as an area-weighted L2 norm. The bound need not imply decay: is appropriate when the equation itself permits finite-time growth. For a multilevel scheme the state includes all required time levels.
The error recurrence shows why stability matters. If , thenThus a consistent residual tending to zero and a convergent start produce convergence when the stability constant is uniform. Tiny defects need not remain tiny without that bound. The Lax equivalence theorem makes this precise: for a well-posed linear initial value problem and a consistent linear approximation, stability is equivalent to convergence in the compatible solution norms. It is not a theorem for arbitrary nonlinear schemes, and a high formal order does not substitute for stability.
For constant coefficients on a periodic or infinite grid, von Neumann stability analysis diagonalizes spatial translations using Fourier modes. If , the Parseval identity converts a uniform multiplier-power bound into an L2 norm bound. The contraction condition is sufficient; a more general also yields a finite-time bound. For the centered-space explicit heat method,so exactly for . Larger fixed Courant numbers amplify high frequencies. The Backward Euler method gives instead and is contractive for every .
For , forward time and centered space give , with . Hence for nonzero frequencies, causing instability at a fixed nonzero Courant number. The directionally correct upwind finite difference scheme uses the neighbor at and hasIt is contractive exactly for . This also has a direct maximum-norm proof: the update is a convex combination of two old values. The continuum domain of dependence must fit inside the numerical one for a local explicit hyperbolic method to converge, giving the Courant–Friedrichs–Lewy condition. That necessary geometric restriction is not by itself a sufficient stability proof.
For systems and multilevel methods, each Fourier multiplier becomes a matrix. All amplification roots must obey the appropriate root bound, but their moduli alone are insufficient. A repeated unit root in a companion matrix gives a Jordan block; for instance has . Even distinct roots require control of the diagonalizing matrices uniformly in frequency and mesh. The uniform power bound from separated amplification roots supplies such control for a bounded two-root family with a positive gap. Question5 illustrates both sides: strict gives a uniform gap, whereas the endpoints have a double unit root and are unstable despite unit moduli.
Energy estimates are especially useful when coefficients vary or boundaries prevent Fourier diagonalization. As a simple example, for implicit heat evolution with homogeneous Dirichlet boundary conditions, take the grid inner product of with . Discrete integration by parts givesThe boundary term vanishes because the boundary values are zero, proving contraction. For variable positive diffusion coefficients the corresponding flux-weighted squared differences remain nonnegative, so the argument extends without a constant-coefficient Fourier symbol. With forcing or lower-order terms, a discrete energy inequality and Gronwall inequality yield a mesh-independent finite-time bound.
A related technique is eigenvalue stability analysis of a finite difference method. If the spatial matrix is symmetric with nonpositive eigenvalues and the time update is , an orthonormal eigenbasis givesThis proves stability when all scaled spatial eigenvalues lie in the time method's stability domain. For a nonnormal spatial or amplification matrix, the eigenvalues alone do not control powers: ill-conditioned eigenvectors or Jordan terms can cause transient growth. Direct operator-norm estimates, symmetrizers or energy estimates then provide the missing information. In particular an A-stable scalar time formula does not automatically give mesh-uniform bounds for every ill-conditioned family of spatial matrices.
Boundary conditions and starting procedures are part of the discretization. Interior Fourier analysis may fail to detect a growing boundary mode, and a multilevel method can excite a parasitic mode through a poor start. One must therefore analyze the actual finite-domain operator or include its boundary terms in an energy proof. Stability is a uniform error-propagation bound; Fourier symbols, energy identities, matrix norms and spectral analysis are complementary ways of establishing that bound.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 69 2 b Solution Created 2026-10-03 Updated 2026-10-14
Put . The update isUnder , all three weights are nonnegative and sum to one. With the imposed zero Dirichlet boundary conditions, this is a convex combination including any boundary values. Thus the monotone half-grid diffusion update givesDifferences of two computed solutions obey the same estimate, proving numerical stability in the discrete maximum norm, uniformly in .
There is also an L2 norm proof. The diffusion matrix is symmetric and satisfiesSince , every eigenvalue lies in . Hence the eigenvalues of lie in under the same step restriction, and the spectral theorem for real symmetric matrices gives an L2 norm contraction. These stability estimates are valid for the printed recurrence, although they cannot repair its inconsistency with the printed advection equation.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 69 3 b Solution Created 2026-10-03 Updated 2026-10-14
For the method of lines in part (a), the Fourier symbol of the spatial operator isEach Fourier mode therefore evolves by , whose multiplier has modulus at most one. The discrete Parseval identity givesThus the fourth-order centered second derivative gives an unconditionally stable semidiscrete evolution in the L2 norm. No time integration method has yet been chosen, so no time-step restriction belongs to this conclusion.
An arbitrary L2 function does not have well-defined point samples. For the stated initial data one may use cell-average projection, . The Cauchy-Schwarz inequality gives , providing a bounded initialization for the stability estimate.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 69 7 Solution Created 2026-10-03 Updated 2026-10-14
A spatial finite difference method and time discretization for a linear evolution problem give a recurrence . To obtain numerical stability on , one needs a bound uniform in the permitted grid sizes and time steps. More generally a growth estimate is sufficient. The finite-time stability versus power boundedness distinction matters: growth per step of can be compatible with the latter finite-time estimate, whereas unrestricted geometric growth at a fixed Courant number is not.
The eigenvalue method diagonalizes into modes. If is a normal matrix, the spectral theorem gives . Thus gives contraction, and gives the preceding growth estimate. A diagonalizable matrix has , so its condition number must remain bounded uniformly as the mesh changes. A stable-looking list of eigenvalues alone is insufficient.
Indeed,Both eigenvalues are one, but the Jordan block gives growth proportional to , violating uniform finite-time numerical stability. A nonnormal Fourier amplification matrix can similarly exhibit large amplification even with its eigenvalues inside the unit disk. Eigenvector conditioning and the full powers of the amplification operator are essential.
For constant-coefficient schemes on a periodic or infinite grid, a Fourier transform diagonalizes scalar translation-invariant stencils. This yields von Neumann stability analysis using the Fourier amplification symbol . The discrete Parseval identity turns a bound on into a discrete L2 norm estimate. For systems, the symbol is a matrix; a uniform power bound for matrix Fourier symbols is required, rather than a bound on its spectral radius alone.
For the heat equation, a central finite difference in space and the explicit Euler method in time giveThe scalar condition for every frequency is exactly . With zero Dirichlet boundary conditions, the spatial matrix is symmetric and diagonalized by sine modes, leading to the same uniform sufficient restriction. By contrast, the Backward Euler diffusion scheme has and is stable for every .
For the advection equation , , centered space with the explicit Euler method gives , , and . At fixed positive Courant number, repeated powers are unbounded as the mesh is refined. The upwind finite difference scheme instead haswhich gives contraction precisely for . This comparison shows why the spatial stencil and time method must be analyzed together.
Boundary treatment can destroy the normality or mode decomposition available on a periodic grid, so a finite-interval scheme needs its own uniform operator estimate. Multilevel time schemes likewise require the root condition for a multistep method and uniform bounds for the associated amplification matrices; simple scalar root tests do not establish these bounds for arbitrary systems. Once consistency of a numerical method, a well-posed linear evolution problem and the required numerical stability estimate hold, the Lax equivalence theorem gives numerical convergence. Eigenvalues provide a powerful route to that estimate when the accompanying eigenvector and boundary analysis is justified.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 49 4 Solution Created 2026-10-03 Updated 2026-10-14
In kernel density estimation, take a kernel for density estimation that is nonnegative, symmetric, and has integral one, finite , and finite . Its smoothing bandwidth gives and the kernel density estimatorfrom an independent and identically distributed sample with probability density function . Nonnegativity and unit mass make the estimate itself a probability density function. We compare kernel for density estimation shapes by their optimized mean integrated squared error, rather than by their performance at an arbitrarily common numerical smoothing bandwidth.
For the usual second-order theory, assume, for example, that belongs to the Sobolev space and , and let , . The expectation is the convolution . The vanishing first moment of the symmetric kernel for density estimation and the integral Taylor remainder giveContinuity of translations in the L2 norm, with domination by , shows that in the L2 norm. Hence the integrated squared bias of a kernel density estimator isBy independence, the exact integrated variance of a kernel density estimator isIndeed the integrated second moment of a single summand is , and its integrated squared mean is . The latter quantity is bounded by , by Young's convolution inequality, so its contribution is . The bias-variance decomposition of mean squared error therefore yields the leading criterionThis asymptotic mean integrated squared error displays the bias-variance tradeoff: a small smoothing bandwidth increases integrated variance, while a large one increases squared bias of an estimator.
Differentiating the asymptotic mean integrated squared error with respect to gives . It changes sign once, from negative to positive, so its unique minimum isAt this minimum the integrated variance term is four times the squared bias of an estimator term. Substitution givesThus the leading rate is , and the shape comparison reduces to minimizing .
There is an essential scale ambiguity: if , then . Changing the scale of the kernel for density estimation merely changes the numerical convention for the smoothing bandwidth. MoreoverA comparison at the same raw is therefore not a fair comparison of shape. One can normalize the second moment to one, but that does not make the optimal smoothing bandwidth independent of shape.
The canonical kernel for density estimation instead chooses the unique scaleIt satisfies , and soConsequently all canonical kernels share the same leading optimal bandwidth . Only the multiplicative constant depends on shape. This is precisely the separation of shape choice and scale choice that makes the canonical kernel normalization useful. For an original unscaled kernel for density estimation, its corresponding optimal smoothing bandwidth is .
To prove optimal shape, scale a candidate kernel for density estimation to have second moment one. Let andDirect integration gives , , and . Thus is a rescaled Epanechnikov kernel. For any admissible with the same mass and second moment,Outside , and , because . The integral inside is therefore nonnegative, and multiplying by gives . Expanding the square now provesEquality forces almost everywhere. At fixed second moment, minimizing is equivalent to minimizing . Since is scale invariant, this proves the optimality of the Epanechnikov kernel over all nonnegative symmetric second-order kernels for density estimation, including the equality case up to rescaling.
In its usual scale, the optimal Epanechnikov kernel isIts canonical scale is , givingThe optimal Epanechnikov kernel shape is therefore a truncated parabola, rather than a particular support radius. The canonical kernel and unit-second-moment version represent the same shape but different scale conventions.
The numerical gains over other reasonable kernels for density estimation are modest. Define asymptotic relative efficiency against the optimal Epanechnikov kernel by the sample-size fraction giving the same optimized leading mean integrated squared error:For the Gaussian density kernel , and , so its efficiency is . For the uniform smoothing kernel , and , giving efficiency . The Gaussian density kernel is infinitely smooth, whereas the optimal Epanechnikov kernel has compact support and allows each observation to affect only a finite window. Such computational and smoothness considerations may outweigh a small leading-efficiency difference.
In practice is unknown. A plug-in estimator estimates this roughness functional from a pilot estimate of the second derivative and substitutes it into the optimal smoothing bandwidth formula. Alternatively, Leave-one-out cross-validation minimizeswhere uses the other observations. By independence, the expectation of the second term is , so . Thus it targets integrated error without knowing . The choice of smoothing bandwidth remains important: even for the optimal Epanechnikov kernel, setting multiplies the leading minimum error by .
The preceding optimum concerns nonnegative second-order kernels for density estimation and twice-smooth densities on the real line. Signed kernels of order ell can cancel higher moments for smoother densities and yield different rates, but may produce negative density estimates. A support boundary or a density jump also requires separate bias of a kernel density estimator analysis. These settings do not contradict the proved second-order optimality of the Epanechnikov kernel.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 88 2 i Solution Created 2026-10-03 Updated 2026-10-14
A quantitative form of Roth theorem on three-term arithmetic progressions is: there is an absolute constant such that, for , every with no nonconstant three-term arithmetic progression satisfiesAll logarithms below are natural. We prove the classical Roth bound for three-term progressions with an unoptimized . The empty set is immediate; write .
First establish a quantitative density increment. Suppose . Put , embed in , and extend all interval functions by zero. Let , and , the balanced subset indicator. DefineThe relation in the sum is modulo . For interval elements its integer discrepancy has absolute value less than , so it is precisely the integer relation. Thus . The full interval count is the number of endpoint pairs of the same parity:Consequently, since ,
Orthogonality of the additive characters givesBoth identities follow by expanding the sums and using for in , and zero otherwise; the latter follows from a finite geometric series. Since is odd, permutes the frequencies. Telescope the difference asThe Cauchy-Schwarz inequality and the displayed Parseval identity on a finite group bound each term by . Indeed, and , so every product of the two remaining L2 norms is at most . HenceThe zero coefficient vanishes because , so choose a nonzero frequency giving this bound.
Let . The pigeonhole principle applied to the fractional parts in intervals gives an integer with . Partition each residue class modulo in into consecutive arithmetic progressions of exactlyelements, leaving fewer than remainder points per residue. The total remainder has size at most . The size hypothesis gives . On a full arithmetic progression , the phase varies from its value at the first point by at most .
Let . Replacing the phase by its first value on each full arithmetic progression and estimating the remainder using givesAlso . Therefore the sum of the positive isSince the total length of these arithmetic progressions is at most , at least one has . Thus the step just proved isAn affine map taking this arithmetic progression to preserves the absence of nonconstant three-term arithmetic progressions.
Now iterate. Write for successive lengths and subset densities, with and . Since every subset density is at most one,Consequently successful steps are impossible. On the other hand, subset densities never decrease, so with ,Suppose . Since ,Let . We have . Therefore every length through step satisfies , and hence . The density increment lemma remains applicable for all steps, contradicting the reciprocal-density bound.
Thus , proving the boxed theorem. The proof includes the Fourier analysis on a finite abelian group detection, conversion to an integer arithmetic progression, and the length bookkeeping that produces the double logarithm.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 34 3 c Solution Created 2026-10-03 Updated 2026-10-14
The martingale property gives . Both and are square-integrable, so their product is integrable by the Cauchy-Schwarz inequality. Using the -measurability of in conditional expectation givesThe pull-out step for the possibly unbounded can be justified by first truncating it, then passing to the limit in the L2 norm and using the Cauchy-Schwarz inequality. Expanding the square now yieldsThe left side is nonnegative. Thus is nondecreasing and bounded above by , and so . For ,By symmetry of the norm difference this proves that is a Cauchy sequence in the L2 space. The completeness established in part (a) gives an withThis is the L2-bounded martingale convergence theorem, derived from martingale-difference orthogonality and completeness. The same sequence also converges almost surely by part (b), since ; uniqueness of a limit in probability identifies that limit with this .
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 42 3 Solution Created 2026-10-03 Updated 2026-10-14
Iterating the recurrence yieldsThus every finite collection of the is a linear transformation of independent standard normal random variables, and has a multivariate Gaussian distribution. The expected values are zero. Independence of the givesFor , the recurrence writes plus a sum of future innovations independent of . Hence . The required vector law isThe covariance matrix is positive definite: the lower-triangular transformation from has nonzero diagonal entries . This also identifies a stationary autoregressive process of order one, with marginal density .
With the standard normal density as the kernel for density estimation, the two characteristic functions are and . The Gaussian random variable has mean zero and variance , soThis expression is real. Substitution in the given integrated covariance expression, followed by the Gaussian integral for , gives
To bound the total Gaussian autoregressive kernel variance correction, apply the mean value theorem to . For , the whole interval between and is bounded below by . ThereforeSumming the geometric series gives the uniform boundIt follows from the supplied variance identity thatThe constant depends on the fixed , but not on or . In particular this applies to the requested shrinking-bandwidth regime; the covariance bound itself does not need .
All observations have the same marginal density , so dependence changes the variance but not the bias of a kernel density estimator: . Write and . For a smooth density with , the integrated variance of a kernel density estimator in the independent case is . A second-order Taylor expansion of the convolution gives in the L2 norm. Thus the bias-variance decomposition of mean squared error givesThe first two terms are the asymptotic mean integrated squared error. The additional dependence term is smaller than , so the leading optimal bandwidth and optimal rate are the same as for independent data:Here both and are the standard normal density. Since , direct Gaussian integrals giveConsequently the explicit leading bandwidth isAt this bandwidth the leading integrated variance is four times the leading integrated squared bias, which is also a check on the minimization constant.
Past exam of the mathematics course of the University of Cambridge 2009 ib Paper 2 5B Solution Created 2026-09-24 Updated 2026-10-14
The Fourier sine series coefficients of on areby integration by parts. The odd periodic extension is piecewise smooth, so the Fourier series converges to at every interior point. HenceTo justify integration from zero, the Fourier sine series partial sums converge to in L2 norm. By the Cauchy-Schwarz inequality, integration from zero to any has error at most times that L2 norm error, uniformly in . Integrating the partial sums and taking the limit therefore givesThe integrated series is absolutely and uniformly convergent, since its terms are bounded by . Thus the resulting Fourier cosine series hasIndependently, the constant coefficient isComparison yields the requested exact sum
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 33 3 Solution Created 2026-10-03 Updated 2026-10-14
Let be the scaling function and an orthonormal wavelet, with and . For , the wavelet series at a coarse level isThe series converges in the L2 norm. Its coarse part captures broad variation and successive wavelet levels add finer detail. Truncating at levels produces the orthogonal projection onto ; Parseval identity makes its squared approximation error the sum of the omitted squared coefficients. Merely square-integrable functions need not have pointwise convergence.
For the Haar wavelet, use the cell convention and let be the unique such interval containing . The Haar scaling functions are , so the Haar projection isFor a merely locally integrable function this cell-average formula remains defined, even if a global orthogonal projection is unavailable. If , the mean value theorem gives Lipschitz continuity and, since on the cell,Thus the requested bound holds with , by the Haar projection error for a Lipschitz function.
To estimate a density, replace each scaling or wavelet coefficient or by the sample average of that basis function. The finite-resolution Haar density estimator is thereforeIt is the histogram on the dyadic cells, is nonnegative, and integrates to one. Its expectation is . A density with bounded derivative is bounded: the Lipschitz density height bound gives by integrating the triangular lower envelope . The case cannot be a probability density on the whole real line. Hence .
The cell probability is . The sample count has a binomial distribution, soThe Cauchy-Schwarz inequality bounds the mean centered absolute deviation by the square root of this variance. Adding the projection bias givesChoose , so . The two terms have the same order, andThis is a bias-variance tradeoff: refining the cells decreases the averaging bias but increases the sampling variance.
Haar projections of the standard normal density at three resolutions
. Details. The Haar projection averages this normal distribution density on each cell; the finer cells follow its variation more closely. A Haar density estimator replaces these exact cell probabilities by empirical frequencies and therefore also introduces sampling noise.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 49 1 Solution Created 2026-10-03 Updated 2026-11-05
Substitution of the stationary ansatz into the focusing nonlinear Schrodinger equation gives the real ordinary differential equationMultiply by and integrate to obtain the first integralThe finite L2 norm forces the relevant orbit to approach and hence . To justify this rather than assume pointwise decay, the conserved expression first bounds and , since tends to infinity with . Thus is uniformly continuous and integrable, and tends to zero at both ends. If , then would eventually be bounded away from zero with fixed sign, contradicting ; is incompatible with near zero. Therefore and .
For , the identity permits only . For a nonzero localized profile put . ThenA nonzero solution cannot cross zero, because at a zero it also has , and uniqueness of the ordinary differential equation would make it identically zero. Its sign is fixed, its maximum absolute value is , and separation on either side of that maximum givesDirect differentiation verifies the profile and its squared L2 norm is . The two signs can be incorporated into an arbitrary constant phase of the complex bright soliton of the focusing nonlinear Schrödinger equation.
For a Galilean boost of a nonlinear Schrödinger soliton, define . Differentiating shows that the terms proportional to cancel between and , as do the added terms. The cubic nonlinearity is unchanged because the multiplying phase has modulus one. Hence the boosted field solves the same equation. In particular,whose centre follows .
For the slowly varying external potential, use the collective-coordinate effective Lagrangian method: retain the localized free profile but let its centre, boost and overall phase vary with time, with its norm fixed. Substitute this finite-parameter ansatz into the field Lagrangian, integrate over space and derive the Euler-Lagrange equations for the parameters. The potential contribution is the external potential averaged over the soliton's density; if it varies little across the profile, it is approximately its value at the centre times the conserved norm. This gives approximate particle-like centre motion while neglecting radiation and profile deformation. No solution of the full perturbed field equation is required for this approximation.
For the harmonic trap, keep the assumed trapped stationary profile , and put . Take . Substituting , the imaginary terms are on the left and on the right, so choose . Using the profile equation, the remaining real equation isIt is satisfied providedSince for this oscillator, an explicit phase and trajectory areThus harmonic-trap translation of a nonlinear Schrödinger soliton is exact: the trapped profile translates without changing its shape, even though its centre accelerates.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 31 2 Solution Created 2026-10-03 Updated 2026-10-14
For a kernel for density estimation and smoothing bandwidth , the kernel density estimator isWe use the convention that a kernel of order ell hasThe kernel for density estimation is integrable and can have negative values; requiring nonnegativity would prevent its second moment from vanishing. Some conventions additionally require a nonzero moment of order . The construction below covers that convention too.
The Legendre polynomial kernel construction uses the polynomial reproducing kernel at zero:Every polynomial of degree at most has the expansion , since the displayed Legendre polynomials have those successive degrees and form an orthonormal basis of this polynomial space. ThereforeTaking proves all the required moment identities. Boundedness and compact support give every absolute moment and a finite L2 norm. If a nonzero moment of order is required, replace this kernel byThe lower moments are unchanged by orthogonality. If , then because otherwise would lie in the polynomial space of degree at most . Evaluating its full Legendre expansion at zero gives , so .
For instance, a simple kernel satisfying the moment conditions needed for three derivatives isIts negative wings cancel its central contribution to the second moment.
Signed kernel and cancellation of its second moment
. Details. Here is the third-order pointwise kernel error bound. Write and , and use any square-integrable kernel with unit integral, first two moments zero and . A change of variables givesBy the Taylor theorem with Lagrange remainder,The moment cancellations consequently give the uniform bias of a kernel density estimator boundFor the variance, independence and another change of variables giveThe triangle inequality and Cauchy-Schwarz inequality now yieldBalancing against givesThe constant is independent of both and . The original PDF has exponent ; the converted TeX's is a transcription error.
To obtain the final parametric rate, we choose a flat-top kernel for density estimation. This kernel also satisfies all the preceding moment conditions, so a single kernel works for both constructions, with different bandwidth choices. With the Fourier transform convention , choose a real even function equal to one on and zero outside , and putSuch a cutoff is explicit: if for and zero otherwise, take . It is constant near zero, and its endpoint transitions are smooth. Repeated integration by parts shows that and all its derivatives decay faster than every power, so lies in the Schwartz space. The Fourier inversion and moment differentiation of the Fourier transform giveThus this kernel can be used with for the preceding general bound.
For the sharper example choose the probability density functionTo check this is a density and identify its Fourier transform, direct integration givesThe continuous value at zero is as displayed. This function is nonnegative and integrable, being bounded near zero and at infinity. Fourier inversion gives , and in particular . Differentiation of this compact frequency integral also shows that and are bounded. Since on the support of , the convolution theorem givesBoth sides are continuous, so the equality holds at every . There is therefore exactly zero bias of a kernel density estimator at bandwidth one, and the variance bound above givesThis is parametric-rate kernel estimation of a bandlimited density. A fixed bandwidth is appropriate because it reproduces this particular density exactly; a generic density would retain a nonzero smoothing bias.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 31 3 Solution Created 2026-10-03 Updated 2026-10-14
For an orthonormal wavelet construction, setThe scaling function generates the approximation spaces , while generates the detail spaces in the multiresolution analysis, with . At coarse resolution zero, the family is an orthonormal basis of .
For the given square-integrable function the coefficients and wavelet series areFor real wavelets these are the real L2 inner products; use complex conjugates for a complex basis. The series converges in the L2 norm, and its coefficients satisfy the Parseval identity for a Hilbertian basisAn hypothesis alone does not assert pointwise convergence.
The resolution- wavelet projection is the orthogonal projection onto :The two expressions coincide by iterating . Orthogonality gives , which tends to zero. One can equivalently write the projection with kernel , interpreted as the same orthogonal projection.
In fixed-design nonparametric regression, the observations satisfywith independent errors. In the usual Gaussian version . The regression function is evaluated at the design sites, so it must be specified pointwise there, not only as an equivalence class. For , the observations concern on . They cannot identify its values outside this interval. Use an interval-adapted wavelet basis on , consisting of coarse functions and detail functions ; a Haar wavelet basis is one explicit choice.
Here is a wavelet regression estimator valid for every . Divide into cells , with the value at zero assigned arbitrarily, and form the observed step function on . For any normalized basis function , estimate its coefficient byThe wavelet regression estimator at resolution is thereforeOnly finitely many interval basis functions occur. Its expectation is , where equals on . Thus approximation of includes the resolution bias and the grid discretization bias. For continuous , the latter tends uniformly to zero by uniform continuity. No smoothness or consistency claim for arbitrary pointwise representatives of functions is needed to define the estimator.
The common point-evaluation version replaces each weight by , givingThese are Riemann-sum approximations to the coefficient integrals. For Haar wavelets, , and , they equal the integrated-weight coefficients exactly if the dyadic cells and pointwise basis versions are chosen right-closed. Each retained basis function is then constant on every sampling cell. This gives a concrete implementation by the discrete wavelet transform. A sensible finest resolution has ; beyond the grid scale there are details the data cannot resolve.
For wavelet coefficient thresholding, retain the coarse coefficients but discard detail coefficients dominated by noise. A hard-threshold version isAlternatively, soft thresholding replaces each detail coefficient by . The unthresholded wavelet regression estimator retains all details at the chosen resolution; thresholding retains evidence for local features while suppressing small fluctuations.
The thresholds can be derived from a simultaneous wavelet coefficient noise bound. Write . Independence giveswhere the inequality applies the Cauchy-Schwarz inequality on each cell of length . In the dyadic Haar implementation, exactly. For Gaussian errors, the normalized coefficient noise is standard normal. More generally, independent centred sub-Gaussian random variables with parameter giveIf detail coefficients are considered, a union bound consequently justifiesWith probability at least , every retained detail's noise is below its corresponding threshold; independence between the coefficient errors is unnecessary. With of order and , these thresholds have the familiar order . Coefficients larger than their noise level represent potential signal, and a coefficient zero in the discretized mean is not selected on this simultaneous event. If is unknown, a consistent noise-scale estimate can be substituted; for Gaussian errors and predominantly negligible finest-level signal, the median absolute finest-level coefficients divided by the standard-normal absolute median estimates . Without a Gaussian or sub-Gaussian tail assumption, finite variance alone does not justify the logarithmic thresholds: Chebyshev inequality and the union bound instead permit .
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 63 2 3 Solution 2026-10-14
Interpret the differential expression as , with a suitable differential-operator domain and the stated clamped boundary conditions. For sufficiently smooth in that domain, twice integrating by parts givesThe boundary term vanishes because at both ends. For real coefficients this form is symmetric/Hermitian. In particularIndeed nonnegativity follows from and . If the integral were zero, almost everywhere in the interval, so would be affine. Its endpoint values then force . This proves strict positivity on the intended clamped domain and gives the weak formulation of a clamped fourth-order equation.
There is a genuine domain issue in the literal wording. The closure of clamped smooth functions in the stated L2 norm is all of , since it contains the dense set . Boundary traces are not retained by that closure, and a fourth-order expression does not define an operator on every element of . For example , satisfy the given sign conditions, but belongs to this closure and makes a distribution rather than an function. Even a general twice-smooth function need not have the four derivatives required by the classical expression.
A rigorous classical repair is to take smooth enough coefficients, for example , , and use a clamped domain such as in , with the appropriate operator realization. A weak repair uses the clamped second-order Sobolev space and the form just displayed, with hypotheses ensuring its boundedness and closure; uniform positivity makes it coercive there. The integration-by-parts and strict-positivity proof does not need that stronger uniform bound, but existence and completion statements must not be inferred from the original closure alone. The printed with an expression in is also a harmless variable-name mismatch; the calculation consistently uses .


