Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the numerical analysis course of the University of Oxford 2017 1 d iii Solution by
Codex 0 2026-10-31
At ,This is an overestimate, with signed quadrature errorThe 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.
Past exam of the numerical analysis course of the University of Oxford 2017 1 d ii Solution by
Codex 0 2026-10-31
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.
Past exam of the numerical analysis course of the University of Oxford 2017 1 d i Solution by
Codex 0 2026-10-31
At , the preceding tensor-product quadrature givesBoth factors of the separable integrand are quadratic polynomials, so exactness follows directly from the construction of Simpson's rule.
Past exam of the numerical analysis course of the University of Oxford 2015 3 d iii Solution by
Codex 0 2026-10-31
The orthonormal columns satisfy and . By part (i), . A product of orthogonal matrices is an orthogonal matrix, since . ConsequentlyThe last expression is the first coordinate of the transformed second column. Thus the first row isThe 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.
Past exam of the numerical analysis course of the University of Oxford 2015 3 d ii Solution by
Codex 0 2026-10-31
Put and write its second column as . For , takewhere 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 formThis 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.
Past exam of the numerical analysis course of the University of Oxford 2015 3 d i Solution by
Codex 0 2026-10-31
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 isand coordinates are zero. Later Givens rotations involve only coordinate one and a new coordinate, so those zeros remain zero. Thereforewhere 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.
Past exam of the numerical analysis course of the University of Oxford 2015 3 c ii Solution by
Codex 0 2026-10-31
Let . If , choose so thatSuch an angle exists because the two ratios have squared sum one. Then the changed coordinates areAll 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.
Past exam of the numerical analysis course of the University of Oxford 2015 3 c i Solution by
Codex 0 2026-10-31
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 satisfiesAll 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 .
Past exam of the numerical analysis course of the University of Oxford 2015 2 c iii Solution by
Codex 0 2026-10-31
Write and for the quantities computed from the perturbed second sample. The endpoint linear interpolation and its derivative areCompare 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 andThe input perturbation itself changes the value interpolant by exactly , and changes its derivative by exactly . ThusFor 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.
Past exam of the numerical analysis course of the University of Oxford 2015 2 c ii Solution by
Codex 0 2026-10-31
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 giveThe 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 , andDifferentiating correctly givesTreating 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.
Past exam of the numerical analysis course of the University of Oxford 2015 2 c i Solution by
Codex 0 2026-10-31
Assume and reorder the interpolation nodes increasingly as . The polynomial interpolation error vanishes at all of them. Rolle's theorem suppliesThese 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 withFor 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 boundThe 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.
Past exam of the numerical analysis course of the University of Oxford 2015 1 c ii Solution by
Codex 0 2026-10-31
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, givingThis 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.
Past exam of the numerical analysis course of the University of Oxford 2015 1 c i Solution by
Codex 0 2026-10-31
On a partition of an interval , apply the trapezoidal rule separately to each panel and add:For uniform spacing , this composite trapezoidal rule becomesEach interior sample occurs in two panels; their half-quadrature weights combine to . The endpoint quadrature weights are .
Past exam of the numerical analysis course of the University of Oxford 2015 1 b ii Solution by
Codex 0 2026-10-31
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.
Past exam of the numerical analysis course of the University of Oxford 2015 1 b i Solution by
Codex 0 2026-10-31
It suffices to assume . The polynomial interpolation error for the endpoint linear interpolant gives, for every interior , some withLet , 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 yieldsThusThis 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 . ConsequentlyEquality holds, so no smaller universal constant than works under these assumptions. This is the sharp one-panel trapezoidal error bound.
Past exam of the numerical analysis course of the University of Oxford 2014 1 d iii Solution by
Codex 0 2026-10-31
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 givesThus 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.
Past exam of the numerical analysis course of the University of Oxford 2014 1 d ii Solution by
Codex 0 2026-10-31
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.
Past exam of the numerical analysis course of the University of Oxford 2014 1 d i Solution by
Codex 0 2026-10-31
A QR factorization of a real matrix isThus 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.
Past exam of the number theory course of the University of Oxford 2011 B 6 d Solution by
Codex 0 2026-10-31
Part (a), applied to any ideal class, produces an integral ideal of positive integer norm at most , so . Writing and using givesFor the last inequality, write ; the first factors are at least , and the remaining factors are at least . Since , squaring yieldsAs , the assumed upper bound forcesFor , the ceiling of the right-hand side is a valid integer . If , no number field satisfies the premise, so any positive works.
Past exam of the number theory course of the University of Oxford 2011 B 6 c Solution by
Codex 0 2026-10-31
For degree there are either three real embeddings or one real embedding and one complex pair. The respective Minkowski bound for ideal classes areUnder 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!
Intro to OurBigBook
. Source. We have two killer features:
- 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-calculusArticles 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/derivativeVideo 2. OurBigBook Web topics demo. Source. - 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.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.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. - Infinitely deep tables of contents:
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






