Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the numerical solution of differential equations course of the University of Oxford 2010 A 2 a Solution by
Codex 0 2026-10-31
With , define the semidiscrete Fourier transform byFor finite-support sequences, expand the squared modulus and use orthogonality:ConsequentlyFor a general square-summable sequence, truncate it to . The identity makes the transformed truncations Cauchy in , and completeness defines the transform as their limit. Passing to the limit proves the Parseval identityThe infinite series need not converge absolutely pointwise; the interpretation is sufficient for the stability analysis.
Past exam of the numerical solution of differential equations course of the University of Oxford 2010 A 1 c Solution by
Codex 0 2026-10-31
A method has numerical convergence if it approximates the exact solution uniformly at mesh points on every fixed finite interval as , whenever its starting approximations converge to the corresponding exact starting values, for sufficiently smooth solutions of a well-posed initial-value problem.
The Dahlquist equivalence theorem states that a fixed-coefficient linear multistep method is convergent if and only if it is consistent and zero-stable, under the usual Lipschitz condition on the differential equation and convergent starting data. In this family numerical consistency forces the parameters found in part (a), and part (b) proves that choice is not zero-stable. All other parameter choices are inconsistent. Therefore no member of the family is convergent.
Past exam of the numerical solution of differential equations course of the University of Oxford 2010 A 1 b Solution by
Codex 0 2026-10-31
A zero-stable has a uniformly bounded response to small perturbations of its starting values and accumulated residuals on a fixed time interval as . Equivalently, its first characteristic polynomial satisfies the root condition for a multistep method: every root has modulus at most one, and each root on the unit circle is simple.
For the consistent parameters, the recurrence for is , with characteristic polynomialLet . Choose and ; together with these generate exactly . Since ,This parasitic mode violates the root condition and grows without a bound independent of the number of steps. Scaling its starting amplitudes gives the same unbounded amplification for arbitrarily small initial perturbations. Thus the only consistent method in the family is not zero-stable.
Past exam of the numerical solution of differential equations course of the University of Oxford 2010 A 1 a Solution by
Codex 0 2026-10-31
Substitute a smooth exact solution into the linear multistep method and expand about . Its residual isConsistency of a numerical method requires the coefficients of and to vanish. Therefore and , giving the unique choiceFor this choice the next coefficient is , so the residual is . The normalized local truncation error, obtained by dividing the residual by , is . Hence the method has order one.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 6 v Solution by
Codex 0 2026-10-31
At the current exact path point , stationarity is already zero and . Therefore . Its Newton correction solvesThe matrix has no explicit dependence on the barrier parameter, so comparison with part (iv) giveswhen is nonsingular. If it is singular, the displayed vector is still a solution of the correction equations, but uniqueness of the correction cannot be inferred from differentiability of the path alone.
This step is exactly the tangent predictor in the stated first-order Taylor expansion. For nearby positive , it approximates the new path point with error ; a bounded second path derivative improves this to . Continuity also preserves strict positivity for sufficiently small parameter changes. Larger changes may require damping to keep both the constraint values and multiplier estimates positive.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 6 iv Solution by
Codex 0 2026-10-31
The Jacobian matrix of in isThe top-left block is the Hessian matrix of with held fixed. In the second block, differentiating in gives and in gives . The explicit derivative with respect to is . Differentiate by the chain rule:All blocks are evaluated on the current central path point.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 6 iii Solution by
Codex 0 2026-10-31
The equation , together with and , is the perturbed Karush-Kuhn-Tucker conditions: stationarity is unchanged, while exact complementary slackness becomes for each . A finite limit of such points as satisfies the original conditions by continuity.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 6 ii Solution by
Codex 0 2026-10-31
On the strictly feasible region , the logarithmic barrier objective isWith , its gradient isThe positive coefficients are the barrier's multiplier estimates.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 6 i Solution by
Codex 0 2026-10-31
For , the inequality-constrained Karush-Kuhn-Tucker conditions areUnder an appropriate constraint qualification, the second-order necessary condition is on the critical coneEquivalently active constraints with positive multiplier require , while active zero-multiplier constraints retain . Inactive constraints impose no first-order tangent restriction. This distinction is why the relevant cone need not be the nullspace of every active row.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 5 v Solution by
Codex 0 2026-10-31
Stationarity of the equality-constrained quadratic model gives , while feasibility gives . A symmetric system linking the step and new multiplier isLet have columns forming a basis of . The saddle-point matrix is nonsingular exactly when has full row rank and is nonsingular. Full row rank is necessary because a nonzero vector in would give a null vector of the block matrix. Under full row rank, solving a homogeneous system forces and then ; this proves sufficiency and the converse. Positive definiteness of the reduced Hessian is sufficient for a constrained minimum but is stronger than the nonsingularity condition asked here.
A null-space method first finds with , then solvesand recovers from . It needs the stated full row rank and nonsingular reduced matrix; Cholesky decomposition is available when the latter is positive definite.
A range-space method additionally assumes is invertible. It solves the Schur complement equationsIf is positive definite and has full row rank, the Schur matrix is positive definite and both solves can use Cholesky decomposition. An indefinite but invertible instead requires a suitable indefinite factorization; the Schur matrix must remain nonsingular.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 5 iv Solution by
Codex 0 2026-10-31
The linearized constraints may be inconsistent, for example when is not in the image of a linear map defined by . Even if feasible, the quadratic objective may have negative curvature along its feasible tangent space, making it unbounded below and leaving no local minimizer.
Fletcher's Sℓ1QP replaces the hard linearized constraints by an L1 exact penalty and bounds the step inside a trust region. One usual form isThe zero step is always admissible. The trust region is compact, so a minimum exists even when the model Hessian matrix is indefinite; the constraint penalty measures infeasibility rather than making the subproblem impossible to solve. Adjusting its weight promotes feasibility, while the radius keeps the local model within a controlled neighbourhood. Introducing nonnegative positive- and negative-part slack variables converts the absolute values to an equivalent smooth quadratic program with box constraints.[ref]
Sequential Quadratic Programming Methods by Philip E. Gill and Elizabeth Wong. §3.3, equations (3.25)–(3.26): Fletcher's Sℓ1-QP model and its elastic quadratic-program formulation
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 5 iii Solution by
Codex 0 2026-10-31
Complete the square in the augmented Lagrangian method objective:For fixed , the last term is constant in . Thus its minimization is the quadratic penalty method applied to the shifted constraint .
Its practical advantage is that multiplier updates, typically , can drive the original constraint residual to zero while stays moderately sized. The plain quadratic penalty method generally needs very small to produce the same feasibility accuracy, exposing the conditioning problem in part (ii).
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 5 ii Solution by
Codex 0 2026-10-31
With , differentiation of the quadratic penalty method objective givesThe primal Newton system is thereforeFor bounded multipliers and regular derivatives, remains of ordinary size while becomes large in directions normal to the constraints. If the feasible tangent space is nontrivial and retains ordinary-size curvature, this produces a large condition number as .
Introduce . The same step is obtained from the symmetric augmented systemEliminating recovers the primal system exactly. This matrix contains no explicit entries and tends to a saddle-point matrix. Under full row rank of the limiting constraint Jacobian matrix and nonsingularity of the limiting reduced Hessian, that limiting matrix is nonsingular, so this formulation avoids the artificial penalty-induced separation of scales.
These conditioning statements require regularity beyond bounded alone. A rank-deficient constraint Jacobian matrix or singular reduced Hessian can still make the augmented system ill-conditioned. If and is nonsingular, all directions may scale together in the primal system, so a large condition number is not automatic there either.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 5 i Solution by
Codex 0 2026-10-31
Use the optimization Lagrangian , with and . Under the usual linear independence constraint qualification, a local minimizer has multipliers satisfying the equality-constrained Karush-Kuhn-Tucker conditionsThe second-order necessary condition isOnly feasible tangent directions enter this last test; the Hessian matrix need not be positive semidefinite on the entire ambient space.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 4 v Solution by
Codex 0 2026-10-31
From and the matrix 2-norm bound, , so . Let . The summand in the supplied decrease bound satisfiesThus, with the fixed positive constant ,The nonnegative series therefore converges, forcing its terms to zero:The argument uses the given angle condition and upper bound on ; it does not need an additional uniform lower eigenvalue bound on .
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 4 iv Solution by
Codex 0 2026-10-31
If the first trial is accepted, . Otherwise the preceding trial was rejected and so exceeded , since part (ii) guarantees acceptance below that threshold. The accepted step, reduced by the factor , consequently exceeds . In either case,The angle condition gives . Hence the backtracking line search has the lower bound
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 4 iii Solution by
Codex 0 2026-10-31
The quadratic model has gradient and positive-definite Hessian matrix . Its unique minimizer is thereforeIf , then and , proving that it is a descent direction.
Backtracking line search starts with a trial step and repeatedly reduces it until the Armijo condition holds. Part (ii) guarantees finite termination because sufficiently small steps are acceptable. The test guarantees a specified positive fraction of the decrease predicted by the linear model, namely for an accepted positive step. It does not require solving the line-minimization problem exactly.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 4 ii Solution by
Codex 0 2026-10-31
The descent lemma follows by integrating the gradient along the line and using its Lipschitz continuity:This upper bound is at most the right side of the Armijo condition when . Since , it holds forThe zero step gives equality; every positive step in this interval satisfies the prescribed sufficient-decrease test.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 B 4 i Solution by
Codex 0 2026-10-31
At an unconstrained local minimizer of a twice continuously differentiable objective function, the first-order optimality condition is . The second-order necessary condition is for every direction , so the Hessian matrix is positive semidefinite.
For the Euclidean norm, the unit steepest descent direction is when ; the algorithm usually uses the unnormalized direction . It is a descent direction because .
Two limitations of unpreconditioned steepest descent method in high-accuracy smooth optimization are its slow zigzagging on ill-conditioned valleys and its sensitivity to scaling of the coordinates. It uses no curvature information to correct those directions, so it can require many function and gradient evaluations compared with a suitable Newton or quasi-Newton method. These are reasons to prefer curvature-aware methods in that setting, rather than a claim that gradient-based methods are never useful.
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2010 A 3 f Solution by
Codex 0 2026-10-31
The standard conjugate gradient convergence bound isHere , so the factor in parentheses is at most . Since , 25 iterations suffice to reduce the energy-norm error by a factor exceeding .
There are at most nonzero entries of , and each contributes to at most two off-diagonals. Thus has at most nonzero entries. Initialize a matrix-vector product with the diagonal contribution , which costs no arithmetic because the diagonal is one. Each off-diagonal term needs one multiplication and one addition, giving at most floating-point operations per product.
A standard conjugate gradient step adds two inner products, three vector updates and two scalar divisions, at most further operations. Starting from makes and avoids an initial matrix-vector product; its squared norm needs operations. The total for 25 steps is at mostThis supplies an explicit meaning of the paper's large- qualification. The quoted conjugate gradient convergence bound is the usual exact-arithmetic result.
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





