Asymptotic analysis 2026-10-14
Asymptotic analysis describes what remains dominant as an argument approaches a specified limit. It compares functions or sequences by scale: how much of a complicated expression can be replaced by a simpler one, and how large is the omitted part? The limit may be for a growing input or for a shrinking approximation parameter.
For example, is eventually dominated by its quadratic term, since division by gives . But at , the linear term contributes , compared with only from the quadratic term. A statement about the limiting scale and a good approximation at a particular input are different claims.
Three useful comparisons keep their strengths distinct. Big O notation supplies an eventual upper bound up to a constant multiplier; big theta notation supplies both an upper bound and a lower bound up to constants; asymptotic equivalence makes the ratio tend to one. Little o notation says that a term becomes negligible relative to a specified scale. These distinctions make approximations checkable instead of merely calling one expression small.
The same language connects time complexity with Taylor remainders. In an operation-count model, one asks how a cost scales with input size. In a Taylor expansion, one asks how the approximation error scales with the increment. Neither use requires interpreting the unspecified constant as one. The asymptotic comparison of exponential functions gives another example: dividing by the largest contributing exponential reveals the terms that disappear.
Euler method 2026-10-14
The Euler method approximates an initial value problem , , by evaluating the derivative at the current point and moving along that tangent line for a time . With , its displayed update needs one evaluation of per step. This simple rule turns local slope information into a whole approximate trajectory. MIT's course notes derive it by dropping the second-order Taylor remainder.[ref]
Take , , whose exact solution is the exponential function . The Euler method givesAt , the first values are . At , five steps give , compared with . The result decays but is too small: absolute stability alone does not ensure accuracy. At , the first values are , and at five steps give , while the exact solution is about .
For the Dahlquist test equation , the Euler method has stability function with . Its absolute stability region is , the closed disk centred at with radius one. For the present real decay problem and , bounded numerical values require ; strict decay requires . At the values alternate without decay. These conditions follow directly from the amplification factor , matching MIT's criterion for .[ref]
https://web.mit.edu/10.001/Web/Course_Notes/Differential_Equations_Notes/node3.html. MIT 10.001, Forward and Backward Euler Methods, linear decay example
The Euler method is first order: with bounded second derivative and suitable Lipschitz continuity, its global error is on a fixed interval. In this example the logarithm gives for small positive . At , this means . It explains both the downward bias and why halving the step roughly halves the error once is sufficiently small.
Hölder-Taylor remainder bound 2026-10-06
Write with an integer and , using at integer . For , subtract its degree- Taylor polynomial at . For , the integral Taylor remainder with is bounded using the Hölder seminorm; for this is exactly Hölder continuity. The resulting bound is the displayed estimate. At integer order, the convention is ; a function on a compact closed interval also obeys this estimate.
Integrated second-order kernel bias bound Created 2026-10-07 Updated 2026-10-14
For a nonnegative symmetric unit-integral kernel for density estimation and , the integral Taylor remainder and Minkowski inequality give . Translation preserves the L2 norm. For a signed kernel the same proof requires the absolute moment .
Let be an integrable function with at least one vanishing moment. For a unit jump discontinuity , where is the Heaviside step function, substitution into the coefficient givesThe signed integral of the whole analyzing function is zero, but the jump discontinuity cuts through its support of a function and usually leaves an unbalanced partial integral. At fixed relative position with nonzero partial integral, the coefficient decays as , slower than the Taylor remainder bound on a smooth region. “Edges survive” means this relative contrast: the normalized coefficients still tend to zero as .
For an original exact comparison, use the smooth polynomial at . The Haar wavelet and the second-difference analyzing function giveThe linear term cancels for ; it remains for . For the fixed unit jump discontinuity , choose so that at every scale. Then
Position matters. If an analyzing function's support of a function lies entirely on one constant side of the jump discontinuity, its coefficient is zero. Even a crossing can cancel: has zero partial integral at . A jump discontinuity on a dyadic interval boundary can likewise escape finer Haar wavelets whose supports do not cross it. These examples describe particular functions and normalizations, not a universal ranking of wavelets for signal processing.
Let be twice continuously differentiable on an interval around a zero of a function , with and there. Choose a closed interval inside that interval with . Starting inside it makes the Newton root-finding iteration well defined, keeps it inside, and gives the displayed quadratic convergence bound for . The nonzero derivative and sufficiently close start are essential hypotheses. The scalar estimate follows from the Taylor remainder argument in MIT's root-finding notes.[ref]
https://ocw.mit.edu/courses/18-330-introduction-to-numerical-analysis-spring-2012/5b325bfa56a599794c7196de926844b0_MIT18_330S12_Chapter4.pdf. Laurent Demanet, MIT 18.330, Chapter 4, pp. 2–3, 2012
For a short proof outline, apply Taylor's theorem between and ; subtract the defining tangent line equation. The linear error cancels, leaving . The displayed bound shrinks the error and preserves the chosen interval. If , the error ratio tends to ; if it vanishes, convergence can be faster.
Past exam of the mathematics course of the University of Cambridge 2001 ia Paper 1 11D i Solution Created 2026-09-24 Updated 2026-10-14
By continuity of at , for any choose such that whenever . Twice using the fundamental theorem of calculus gives the remainder asThe inner difference is and has modulus at most . Integrating this bound over the interval between and proves, for either sign of ,This is the local quadratic Taylor remainder estimate. The given may enter the bound on the second derivative; no stronger differentiability assumption is needed.
Past exam of the mathematics course of the University of Cambridge 2002 ia Paper 3 9A Solution Created 2026-09-24 Updated 2026-10-14
The chain rule along the specified straight line givesHere equality of mixed partial derivatives follows from smoothness. Apply Taylor theorem in the single variable :Writing and produces the linear and quadratic termswith all displayed partial derivatives evaluated at . For a remainder valid uniformly over directions, apply the Taylor formula with integral remainder to :Continuity of the Hessian matrix makes the difference between the integral and be . The printed ellipsis is therefore justified as a finite Taylor expansion with a remainder. Smoothness alone does not assert convergence of an infinite Taylor series.
At a stationary point, the linear term vanishes. The symmetric Hessian matrix satisfiesIf and , this is a positive-definite quadratic form. Its minimum over the unit circle is a positive number , so . The Taylor remainder is smaller than for sufficiently small , proving for nonzero nearby . Thus the stationary point is a strict local minimum.
For the given polynomial, the gradient equations reduce toThe stationary points are , andAt both points with , we have and . ConsequentlyAt the origin the determinant of the Hessian matrix is , giving a saddle point. An independent check is the identity , which proves that the two displayed local minima are also the only global minima.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 49 2 Solution Created 2026-10-03 Updated 2026-10-14
At a target , local polynomial regression fits a polynomial of degree at most by weighted least squares:Define the response vector , the design matrix by for , and the diagonal matrix by . The normal equations for linear least squares giveThis formula assumes the local polynomial Gram matrix is invertible. It is invertible whenever at least distinct sites have positive weights: a nonzero degree- polynomial cannot vanish at all of them. With fixed , a nonzero continuous regression kernel, and , this condition holds eventually at the target points considered here. Using weights instead gives exactly the same fit.
Use the usual unit-integral normalization . A regression kernel need not intrinsically have unit integral, but multiplying all weights by a positive constant leaves local polynomial regression unchanged. With unnormalized raw moments the interior coefficient below is ; the version written using alone requires this normalization. A zero regression kernel cannot define an estimator.
Write the local moment sums asThe local constant estimator is . Since the errors have zero mean, its bias of an estimator is the corresponding weighted average of . By the second-order Taylor expansion, uniformly for contributing sites with ,where . This uniform remainder follows from uniform continuity of on . Nonnegativity of the regression kernel therefore giveswhenever tends to a positive limit and .
For fixed interior , the moment approximations give , , and . The hypothesis makes , so the odd-moment contribution is negligible at second order. ThusThe symmetry of the regression kernel is what removes the first-order interior bias of an estimator.
At , the rescaled observation window is truncated to . Put and . Symmetry, nonnegativity, and unit mass give . The supplied moment approximations already imply the leading boundary bias of local constant regression:To retain the second-order term rigorously, we need slightly more precise control of the first moment. The rescaled grid has spacing . Each truncated function has bounded variation, because is continuously differentiable on its support. The Riemann sum error is bounded by this variation times the grid spacing: summing the oscillation bounds on the grid cells provesEndpoint cells, including the omitted site at zero, contribute the same error order. ConsequentlyBoth discretization errors are under . The preceding Taylor expansion therefore proves the second-order boundary expansion for local constant regression:Equivalently, expanding the derivatives about zero givesIn general the truncated first moment is nonzero, so the boundary bias of an estimator has order , although it can be smaller when or the omitted part of the regression kernel carries no mass.
For local linear regression, the polynomial reproduction property of local polynomial regression removes the constant and linear terms exactly. Let . Its effective kernel weights areso , , andAt either an interior or the specified boundary target, is asymptotic to a positive constant times . At the boundary that constant is , the mass squared times the variance of the continuous normalized truncated regression kernel. Moreover , as follows by bounding in the window. Thus the Taylor remainder still contributes , even though some effective kernel weights may be negative. In particular,At an interior point this coefficient reduces to by symmetry and normalization. Hence local linear regression has bias at both interior and boundary points; its linear reproduction removes the generic order- boundary term.
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 2010 ia Paper 1 10F b Solution Created 2026-09-24 Updated 2026-10-14
The assumed differentiability makes continuous. The identity then implies inductively that has continuous derivatives of every order andFix . By the extreme value theorem, the continuous function is bounded on the closed interval between and ; let be its maximum. Applying the Taylor theorem with Lagrange remainder about gives some between and such thatFor the last factor, successive ratios are , which are at most once is sufficiently large. A geometric sequence bound therefore proves that . The partial sums converge to , soAt the equality follows directly from . The proof obtains this Taylor series solely from the differential identity, continuity on a fixed finite interval, and the Taylor remainder estimate.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 39 3 Solution Created 2026-10-03 Updated 2026-10-07
Use the usual probability-kernel convention: , , and , in addition to symmetry and compact support. These conditions are needed for the stated finite bound; symmetry and compact support by themselves do not impose normalization or nonnegativity. Interpret the differentiability assumption in the usual Sobolev space sense , or assume classical regularity sufficient for the integral Taylor remainder. The kernel density estimator isThe bias-variance decomposition of mean squared error, followed by Tonelli theorem, yieldsIndependence and a change of variables give the exact integrated variance of a kernel density estimatorAll changes of integration order are justified either by nonnegativity or by the displayed finite integrals.
For the bias of a kernel density estimator, symmetry gives . Taylor's integral remainder, with translations understood in , givesThe Minkowski inequality and translation invariance of the L2 norm implywhere . Consequently we obtain the slightly stronger conclusionSince , this proves the requested bound. For signed kernels, the same argument has in place of ; the printed bound is not generally justified merely by signed-kernel symmetry. For example, let and . This symmetric compactly supported signed kernel has integral one and , but its fourth moment is nonzero. For a normal density its convolution has nonzero bias at any fixed positive bandwidth. Sending would therefore contradict a bound containing only the integrated variance term.
Writing the requested bound as , differentiation gives when . Thus gives mean integrated squared error of order . With the sharper constant one instead has ; the rate is identical.
A direct heuristic for is to choose a twice differentiable pilot kernel , estimate by the second derivative kernel density estimatorand integrate its square. Its integrated variance contains a diagonal term , which should not be mistaken for the target. A useful corrected U-statistic removes that diagonal:Its expectation is . Thus smoothing bias of an estimator, rather than the diagonal contribution, remains. For a smooth compactly supported probability pilot kernel, the same variance calculation givesThe second term tends to zero because convolution with a shrinking probability kernel approximates every function. Thus and make the raw squared pilot estimate consistent for the quadratic density derivative functional. If , thenso the diagonal-corrected U-statistic is consistent under the same choice. Consistency already uses the assumed ; the additional third-derivative hypothesis is relevant to more ambitious rate heuristics.
Three bounded continuous derivatives do not justify a general root- estimation rate for . For a smooth perturbation with compact support, the directional derivative iswhere the last expression requires a fourth derivative in the appropriate weak sense. A regular root- argument would need an influence function proportional to , with finite variance under . Three derivatives do not supply that condition.
For a more quantitative heuristic, impose the additional assumption , use a smooth Fourier cutoff of width , and estimate the quadratic functional by its off-diagonal U-statistic. The tail bias of an estimator is because the Plancherel theorem weights this functional by frequency to the fourth power. The degenerate part of its standard deviation is : the squared norm of the quadratic kernel scales as . At , these two terms balance at and have size , already slower than ; any additional first-order variance cannot improve that balance. To make both terms requires and , which are compatible only when . This is an illustrative smoothness calculation under extra Sobolev and moment assumptions, not a rate theorem asserted solely from bounded third derivatives. Particular much smoother probability density functions may of course permit root- estimation.
Past exam of the mathematics course of the University of Cambridge 2014 ib Paper 2 19C Solution Created 2026-09-24 Updated 2026-10-14
For the Peano kernel theorem, the integral Taylor remainder isHere . The error functional must be linear, vanish on every polynomial of degree at most , and permit its action to be interchanged with this remainder integral. The last regularity condition holds for the finite combinations of point evaluations and derivative evaluations used below, by applying the corresponding differentiated remainder formula. Under these conditions the polynomial terms vanish, yielding
For the three-point asymmetric second-derivative formula, choose the error convention . Exactness on giveshenceApplying to , for almost every , gives the Peano kernelThe value at is immaterial to the integral. The sketch rises from zero through at one to the left limit at two, jumps down to the right limit , and then rises to zero at three.
The sharp error constants for a Peano kernel are the corresponding integral-operator norms. HereAs ,Indeed, and . They are best possible even for : for , choose continuous nonnegative third derivatives concentrated just left of two with unit integral; for , approximate the sign of by continuous functions of supremum norm one. Integrating any such third derivative three times supplies an admissible , and the resulting ratios approach the stated constants.
Peano kernel for the asymmetric three-point second derivative, showing its jump at two and the positive and negative regions controlling sharp error bounds
. Details. Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 5 1 a Solution Created 2026-10-03 Updated 2026-10-06
The Taylor series definition says that and, for every , there is such thatThe equivalent factorial derivative criterion for real analyticity says that, for every , there are a neighborhood of and constants such thatThe uniformity over matters: bounds only at do not exclude a flat function.
Assume the factorial derivative criterion for real analyticity. The Taylor theorem with Lagrange remainder giveswhen the segment from to is contained in . For sufficiently small the Taylor remainder tends to zero, proving the Taylor series definition.
Conversely, write the convergent power series at as . Choose strictly inside its radius of convergence; then for some . Termwise differentiation on givesHere the sum is , obtained by differentiating the geometric series. This is the required locally uniform bound. The two definitions of a real analytic function are equivalent.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 340 2 c Solution Created 2026-10-03 Updated 2026-10-06
Use localization and cancellation of the assumed interval-adapted wavelet basis: at scale , every detail wavelet has support diameter at most , L1 norm at most , and annihilates polynomials of degree less than . These bounds also apply to the modified boundary wavelets; a restriction of an arbitrary whole-line wavelet without the cancellation-preserving boundary construction would not suffice. The finitely many coarse scaling functions can be treated separately.
Write with as above. Because , we have . Choose in the support of a function of , and let be the degree- Taylor polynomial of . The Hölder-Taylor remainder bound givesFor this is the Hölder seminorm bound. For , the integral Taylor remainder is bounded using , whose magnitude is at most .
The vanishing moments remove from the inner product. Applying the remainder estimate and the L1 norm bound on the localized support yields the wavelet coefficient decay for Hölder functionsThusHere depends on the fixed wavelet family, the exponent and boundary construction, but not on . The proof uses the assumed regularity and moments; it does not identify the minimal Daubechies wavelet order with its differentiability order, which need not coincide.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 327 2 ii Solution Created 2026-10-03 Updated 2026-10-05
Let denote the Taylor polynomial at zero. On , the integrand defining the Hadamard finite-part reciprocal-power distribution isThe first term is odd, so it cancels under symmetric truncation. The Taylor remainder in the second term has absolute value at most . The integral near zero therefore has a finite limit. For , the original terms are integrable: has compact support, and each subtracted power has exponent .
This proves existence and linearity. It also gives the global estimateThusIn particular the order of a distribution is bounded by one integer on all compact sets, not merely separately on each of them.
For the recurrence, write the truncated Hadamard finite-part integral aswhere parity evaluates all subtraction integrals explicitly:Set and . On the two truncated intervals, integration by parts givesThere are no boundary contributions at infinity. The coefficients of the subtraction terms satisfyThis is exactly the negative of the boundary term's Taylor polynomial through degree ; the degree- term itself vanishes by parity. HenceTaking the limit proves the full distributional identityThe same calculation includes . Starting with the distributional derivative of the logarithmic modulus from part (i), induction yieldsThis identity holds on all of as a distributional identity. It is stronger than matching the ordinary derivatives away from zero, which would leave possible differentiated Dirac delta distributions at zero undetermined.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 210 3 Solution Created 2026-09-24 Updated 2026-09-25
A linear estimator in nonparametric regression at has the form , where the weights may depend on the design, , , , and , but not on the responses. Putand define the local polynomial Gram matrixWhen , the weighted least squares normal equations have the unique solutionTherefore , where the effective kernel weight is
The identityshows that these weights exactly reproduce at every multivariate polynomial of total degree at most . This is the required polynomial reproduction property of local polynomial regression.
Only grid points with have nonzero weight. There are at most such points because . On this support,so the operator norm bound givesBecause the errors are independent random variables with the stated variance bounds,Thus .
Let be the Multivariate Taylor polynomial of at through total degree . The assumed Hölder continuity of the derivatives andgive the Taylor remainder boundPolynomial reproduction cancels in the bias. The same support count and weight bound giveConsequentlyso .
Let , and near . The integral Taylor remainder givesA small ball with is invariant under . Iteration there converges at least quadratically, with for .
// Target: numerical-analysis.bigb
Second derivative Created 2026-10-05 Updated 2026-10-06
The derivative of the first derivative. For a twice differentiable function, its sign governs local convexity and its magnitude controls the second-order Taylor remainder.
Taylor polynomial Created 2026-09-24 Updated 2026-10-14
A Taylor polynomial replaces a function near a chosen point by a polynomial with matching derivatives. If has derivatives through order at , defineThe factorial denominator makes for . This determines a unique polynomial of degree of a polynomial at most . Order zero matches the value, order one also matches the tangent line, and order two also incorporates the second derivative. Matching more local information is useful because polynomials are easy to evaluate, differentiate, and integrate. The distinction between the finite Taylor polynomial and the infinite Taylor series is developed in OpenStax, Taylor and Maclaurin series.
For a computed example, let and expand at zero. Its first three derivatives giveAt , the linear approximation is and the quadratic approximation is , compared with . The quadratic correction captures the downward bending of the square root and reduces the absolute difference from about to .
Matching more derivatives improves a local square-root approximation, and the third derivative supplies an error bound
. Details. The Taylor remainder turns this convenient approximation into a controlled calculation. On , is positive and at most . The Taylor theorem with Lagrange remainder therefore givesConsequently follows without using the displayed decimal evaluation as evidence. The Taylor polynomial and the Taylor remainder play different roles: the former supplies an answer that is easy to compute, while the latter specifies what accuracy is justified. Farther from the expansion point, the same low-degree polynomial need not remain accurate.



