At ,
This is an overestimate, with signed quadrature error
The relative error is , approximately . The quartic polynomial lies beyond the degree of precision of a quadrature rule of Simpson's rule, so the exactness of the previous cases no longer applies.
At ,
The factor is now a cubic polynomial. Simpson's rule still integrates it exactly because its degree of precision of a quadrature rule is three. Exactness of tensor-product quadrature depends on the polynomial degree in each variable, rather than their sum.
At , the preceding tensor-product quadrature gives
Both factors of the separable integrand are quadratic polynomials, so exactness follows directly from the construction of Simpson's rule.
The orthonormal columns satisfy and . By part (i), . A product of orthogonal matrices is an orthogonal matrix, since . Consequently
The last expression is the first coordinate of the transformed second column. Thus the first row is
The one in the first entry uses the nonnegative retained-coordinate convention. A different consistent sign convention could give instead; the second entry must still be zero by preservation of the inner product.
Put and write its second column as . For , take
where each angle is computed from the current second column, in the right-to-left application order. These Givens rotations eliminate its entries in rows by accumulating their Euclidean norm in row two.
Each rotation acts only on rows with indices at least two. The first column of is , whose entries in all those rows are zero. Mixing two zeros leaves them zero, and row one is untouched. Thus the first column is unchanged. The resulting matrix has the form
This verifies both required properties, including the case of zero second-column tail. When there are no rows to eliminate: take , the empty product. No sign change of is required in that case. Each Givens row-pair update preserves previously eliminated columns, which is the central invariant of QR decomposition by Givens rotations.
Apply the product from right to left, choosing every Givens rotation from the current first column. First replaces by . Next combines that retained entry with and sets the third entry to zero. Inductively, after eliminating coordinates , the first coordinate is
and coordinates are zero. Later Givens rotations involve only coordinate one and a new coordinate, so those zeros remain zero. Therefore
where is the first standard basis vector. The zero vector is included by choosing the identity matrix for every zero pair. The nonnegative sign follows from the convention fixed in part (c)(ii). This is the first-column stage of QR decomposition by Givens rotations.
Let . If , choose so that
Such an angle exists because the two ratios have squared sum one. Then the changed coordinates are
All other coordinates satisfy . If , both input coordinates are zero; take , giving the identity matrix on this pair. In all cases,
This fixes a nonnegative retained coordinate and handles division by zero explicitly. For floating-point computation, the stable construction of a Givens rotation uses scaled Euclidean norm evaluation to avoid unnecessarily overflowing or underflowing the squares.
Choose the following consistent sign convention. The Givens rotation equals the identity matrix except for the block on coordinates :
Thus it changes only the th and th coordinates of a vector. Write , . Its two-coordinate block satisfies
All remaining coordinates are unchanged, so . Hence every such Givens rotation is an orthogonal matrix. With this convention the two-coordinate rotation matrix rotates through angle .
Write and for the quantities computed from the perturbed second sample. The endpoint linear interpolation and its derivative are
Compare them on their interpolation interval , with fixed . Put , . The Taylor series of the sine gives, uniformly in ,
Here the second equality compares with . More generally, the exact derivative is and
The input perturbation itself changes the value interpolant by exactly , and changes its derivative by exactly . Thus
For fixed nonzero , the value approximation has a bounded noise floor: its maximum error approaches , and at that error is exactly . It does not converge uniformly to the exact values as . However, it does not amplify the absolute sample perturbation on . The derivative error instead grows without bound like .
With exact samples, , both approximations do converge on the shrinking interval: the value error is for this particular sine, and the derivative error is . With step-dependent noise, value convergence requires , whereas derivative convergence requires the stronger , where denotes little o notation.
This is noise amplification by differentiation of a linear interpolant. Value interpolation has an absolute perturbation bound independent of on the sampled interval. Numerical differentiation has a perturbation factor , expressing the ill-posedness of numerical differentiation from values with fixed absolute uncertainty. The amplification follows from the mathematical data map even in exact arithmetic; it is distinct from additional roundoff error in a particular implementation. For fixed outside , the operation becomes extrapolation, and the value perturbation can also diverge.
Figure 1.
Fixed sample noise gives a bounded value-error floor while differentiation amplifies it as
. Details.
The remainder in part (b) involves an unspecified . Its existence for every does not ensure a differentiable selection. Even if such a selection existed and had an additional derivative, the product rule and chain rule would give
The first term cannot be discarded or bounded from the given information. Neither nor is supplied by the original theorem.
For an explicit demonstration, interpolate the cubic polynomial at zero and one. Then , and
Differentiating correctly gives
Treating the remainder coefficient as a constant would omit and give a wrong answer at every interior point. An existential intermediate point cannot be frozen when differentiating. Part (i) instead applies Rolle's theorem directly to the polynomial interpolation error.
Assume and reorder the interpolation nodes increasingly as . The polynomial interpolation error vanishes at all of them. Rolle's theorem supplies
These points are distinct because their containing intervals are disjoint. Thus is a polynomial of polynomial degree at most that interpolates the function at the interpolation nodes .
Apply the polynomial interpolation error theorem to with these interpolation nodes. Since the th derivative of is , for every there is a with
For the equality is zero on both sides; otherwise the same auxiliary-function and repeated-Rolle's theorem proof applies. This also covers , where is a constant polynomial and the proof is the ordinary mean value theorem for .
Writing gives the genuine error bound
The first formula is sharper, but its intermediate interpolation nodes depend on ; the last bound eliminates those unknown locations. This is derivative interpolation error from Rolle points.
Use the nonpolynomial function on . Its exact integral is
because the sine is an odd function.
For every uniform partition of an interval with panels, the quadrature nodes satisfy . Their composite trapezoidal rule quadrature weights agree, so the two sampled sine values cancel. If there is a node at zero its sine value is already zero. The constant term is integrated exactly, giving
This is symmetric trapezoidal exactness for odd functions, applied after adding a constant function so that the resulting definite integral is nonzero. It is exactness for this particular integrand, rather than a claim that every nonpolynomial function is integrated exactly.
On a partition of an interval , apply the trapezoidal rule separately to each panel and add:
For uniform spacing , this composite trapezoidal rule becomes
Each interior sample occurs in two panels; their half-quadrature weights combine to . The endpoint quadrature weights are .
The trapezoidal rule is exact for every affine function , equivalently every polynomial of polynomial degree at most one: the linear interpolant is the function itself. These functions have , so the preceding upper bound is also zero. There is no contradiction: zero error is precisely what the bound predicts.
The degree of precision of a quadrature rule is one, since the quadratic polynomial in part (i) is not integrated exactly. This does not exclude exactness for particular higher-degree or nonpolynomial functions. For example , , has zero integral and opposite endpoint values, so the trapezoidal rule also gives zero. Its second derivative is generally nonzero, making the upper bound positive; an upper bound need not be attained. Signed quadrature error can cancel.
It suffices to assume . The polynomial interpolation error for the endpoint linear interpolant gives, for every interior , some with
Let , which exists by continuity of the second derivative and the extreme value theorem. Since ,
Integrating this pointwise inequality and using the triangle inequality for an integral yields
Thus
This derivation does not require choosing as a continuous function of ; the pointwise upper bound is sufficient.
The constant is sharp. Take the quadratic polynomial and write . Its exact integral is , its trapezoidal rule value is , and . Consequently
Equality holds, so no smaller universal constant than works under these assumptions. This is the sharp one-panel trapezoidal error bound.
With , repeat the shifted QR algorithm:
The QR shift is chosen from , for example its bottom-right entry or an eigenvalue of a trailing two-by-two block. Explicitly using the orthogonality of gives
Thus each update is a matrix similarity preserving eigenvalues. Accumulate if eigenvectors or the full reduction are wanted. Once a subdiagonal entry is negligible, block deflation in the QR algorithm separates the corresponding blocks and iteration continues on the active block.
For an efficient QR algorithm, first reduce a general real matrix to upper Hessenberg matrix by orthogonal similarities. For a real symmetric matrix, use Householder tridiagonalization; the resulting symmetric tridiagonal matrix is the usual input in this setting. These structures are preserved by suitable QR algorithm implementations and greatly reduce the work per iteration.
The output is the eigenvalues, together with an orthogonal reduction when the factors are accumulated. In the symmetric case the target is a diagonal matrix, whose diagonal entries are the real eigenvalues; the accumulated orthogonal columns are eigenvectors. For a general real matrix, the target is the real form in a Schur decomposition: an upper block triangular matrix with diagonal blocks of size one or two. The two-by-two blocks represent complex conjugate eigenvalue pairs. An arbitrary unshifted iteration need not converge, so these describe the intended converged output, with appropriate shifts and block deflation in the QR algorithm.
A QR factorization of a real matrix is
Thus is an orthogonal matrix and is an upper triangular matrix. It exists even if is singular; requiring positive diagonal entries of is a convenient uniqueness convention for nonsingular , rather than part of the general existence statement. Over the complex numbers, replace orthogonal by unitary and transpose by conjugate transpose.
Part (a), applied to any ideal class, produces an integral ideal of positive integer norm at most , so . Writing and using gives
For the last inequality, write ; the first factors are at least , and the remaining factors are at least . Since , squaring yields
As , the assumed upper bound forces
For , the ceiling of the right-hand side is a valid integer . If , no number field satisfies the premise, so any positive works.
For degree there are either three real embeddings or one real embedding and one complex pair. The respective Minkowski bound for ideal classes are
Under the given discriminant bound they are at most and . Hence every ideal class contains an integral ideal with positive integer norm strictly below , so with norm . The only such ideal is . Therefore

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact