Write for the supplied approximation. The asymptotic expansion is
where is Big O notation. At the refined parameter ,
Multiply this identity by nine and subtract the first one. The unknown leading truncation error coefficient cancels:
Thus the Richardson extrapolation estimate is
The two supplied values give
The correction to the finer approximation is . Neglecting the higher-order remainder would also give .
The conclusion is asymptotic: the leading error order improves from two to at least three when both parameter values are in the range of the stated asymptotic expansion. With no bound on the remainder constant, the two finite observations alone do not guarantee that is closer to . Indeed, for any proposed value , the polynomial model
satisfies , and the required asymptotic expansion with true limit . This is why finite observations do not certify Richardson extrapolation accuracy: asymptotic cancellation provides an improved-order estimator, while a numerical error certificate needs quantitative remainder information.
Since , the QR factorization gives
First compute by a matrix-vector product, costing scalar multiplications and additions for dense . Then solve the upper triangular matrix system by back substitution:
Every denominator is nonzero because is invertible. The back substitution costs multiplications and subtractions together, plus divisions, for arithmetic operations. Including , the total is arithmetic operations under this scalar counting convention, hence , with denoting Big O notation. The already supplied QR factorization is reused; no matrix inverse needs to be computed.
For , and are square orthogonal matrices. Multiply the linear system successively by , and to obtain
With the singular value decomposition already supplied, compute , divide by , then form . The two dense matrix-vector products each cost arithmetic operations in Big O notation, and the diagonal scaling costs . Thus
If the singular value decomposition first has to be computed, its usual dense cost is ; that is a separate setup cost and can be reused for further right-hand sides.
We use the spectral theorem to construct a sufficiently accurate approximate eigenpair. Complete to an orthonormal eigenbasis of the symmetric matrix , with corresponding eigenvalues . Simplicity of means that every below is nonzero. Put
The orthogonal decomposition of shows that and
With and , direct expansion cancels every first-order term:
Also . Thus its eigenpair residual has Euclidean norm in Big O notation.
For completeness, a real symmetric matrix always has an eigenvalue within of any real and nonzero . Indeed, writing in an orthonormal eigenbasis with eigenvalues gives
Apply this symmetric eigenvalue residual bound to . There is an eigenvalue such that
which proves
This establishes the first-order perturbation of a simple symmetric eigenvalue without presupposing differentiability of the perturbed eigenvector. If , the sum defining is empty and the displayed eigenvalue formula is exact.
The power iteration starts from , normally scaled to unit Euclidean norm, and repeats
Normalization prevents the rapidly growing or decaying magnitudes of from obscuring its direction. The iteration requires .
Because is a diagonalizable matrix, choose an eigenbasis , with corresponding eigenvalues , and expand . First suppose the dominant eigenvalue is simple and . Then
For
the sum in parentheses after is in Big O notation. Consequently the power iteration direction error is : the iterates approach the line spanned by . For a real matrix, a uniquely dominant eigenvalue is real, since otherwise its complex conjugate would have the same modulus. If , approaches one unit eigenvector; if , successive alternate signs. In either case,
This is the sign and phase in power iteration qualification. Also, the necessary assumption is a nonzero coefficient in the eigenbasis, rather than merely a nonzero ordinary inner product with : those tests can differ for a nonsymmetric matrix. If , the method cannot generate the missing component.
If the dominant value has a higher-dimensional eigenspace, the same argument replaces by the nonzero sum of all starting components in that eigenspace. The limiting direction is then that of this sum, which is still an eigenvector for . The usual algorithm assumes ; a strict dominance gap guarantees this whenever another eigenvalue is present.
An estimate retaining the sign of is the Rayleigh quotient
Continuity of this quotient at a nonzero eigenvector proves the limit even when is a nonsymmetric matrix. Alternatively, for a coordinate whose limiting eigenvector component is nonzero. The scaling factor alone tends only to .
By the chain rule, along the exact solution. Applying Taylor's theorem to the exact increment and the two arguments of gives
The assumed differentiability makes the remainders uniform on . Subtracting gives the consistency error
Here denotes Big O notation. The general order of a numerical method is therefore one for and at least two for . For example, on with unit initial value, . Expanding its logarithm gives , so the first-order term is actually nonzero when .
To control accumulation, the mean value theorem and the bound on give
Put , and . The exact and numerical updates yield , with . Iterating this recurrence, as in the Lipschitz one-step error bound, gives
Because for , the prefactor is bounded independently of the mesh. When , the consistency error is , hence the maximum global error is . This proves at least second-order numerical convergence of the explicit midpoint method.
An error of order in a squared singular value can become an error of order after taking its square root. To keep nonsingular as required, take and
Then , and the computed eigendecomposition has exactly the permitted backward error:
Nevertheless the second computed singular value has error
By the singular value perturbation bound, every product with these computed singular values and exactly orthonormal outer factors has spectral norm error at least this large. In particular, even the favorable choice gives
which has no uniform bound in big O notation. Therefore backward stability for the eigendecomposition of the Gram matrix does not imply backward stability for the singular value decomposition.
There is a related loss of orthonormality in the raw formula: evaluating exactly for these perturbed factors gives , whose second column has length tending to zero. Its product with equals , but its diagonal factors are consequently not a singular value decomposition. The paper's idealized orthonormality assumption lets us isolate the unavoidable singular value error even if this additional problem is repaired.
Set , so . The formulas in (a) and (b) give
For , and . Therefore
These trigonometric inequalities imply
Substitution yields the explicit eigenvalue error bound
This constant is asymptotically sharp: Taylor's theorem gives , so . Here denotes Big O notation.
Solutions to all three questions of the optimisation for data science course of the University of Oxford Part B examination, sat on 7 June 2023. Source: original released PDF, bundle pages 300–303; paper pages 1–4. The original question numbering is retained without reproducing the question statements. Two printing errors on paper page 3 are addressed explicitly in parts 2(c) and 2(f).
Unless a subscript indicates the L1 norm, denotes the Euclidean norm. In Question 1, the regularization weight is and the step size is positive. The big O notation in part 1(d) is interpreted for fixed as the step size tends to zero, with the necessary subdifferential qualification explained there.
Fix , and write and . The supplied subgradient relation gives with . The evaluation point in is , whereas is a subgradient at the new point .
Apply the subgradient inequality at , with comparison point :
The descent lemma for the -Lipschitz gradient of gives
Adding these estimates proves the stronger, explicit inequality
In particular, the objective function decreases for whenever the proximal gradient mapping is nonzero.
To justify the requested big O notation, we must check that , which depends on , stays bounded. Suppose is nonempty, and choose a fixed in this subdifferential. This holds for a finite-valued convex function on , including both norms in parts (a) and (b). By monotonicity of a convex subdifferential,
Substituting and , and then using the Cauchy-Schwarz inequality, yields
Thus , uniformly in . This local boundedness of the proximal gradient mapping makes the remainder at most , so
No differentiability of is needed. If an proper extended-real function is allowed as the regularization term, the subdifferential condition at is a qualification for this uniform remainder; the preceding explicit descent inequality remains the useful statement whenever its quantities are finite.
Write . Dividing the corrected estimate from part (c) by gives the averaged stationarity bound for stochastic gradient descent
The Cauchy-Schwarz inequality, first within each expectation and then over the indices, gives
Thus
Equivalently, if is chosen independently of the run with the discrete uniform distribution on , then . The same bound for the expected Euclidean norm follows by the Cauchy-Schwarz inequality.
The guarantee is averaged or best-iterate stationarity. It does not assert that every last iterate converges, or that the limiting Euclidean norm equals . The squared gradient bound has excess above ; the displayed expected Euclidean norm bound is within of , including the zero-noise case. For fixed , it is sharper:
For example, to ensure with , it suffices that . The big O notation here concerns these upper bounds, rather than an asserted asymptotic equality for the stochastic gradient noise floor.
Continue with the initial quantum state from part (ii), and let . Conditional on every preceding outcome being , the post-measurement state after each ideal projective measurement is again , up to global phase. Part (ii) therefore gives the same conditional probability for each successive outcome. Multiplying these conditional probabilities yields the repeated projective-measurement survival probability
This multiplication uses the quantum state reset at each successful projective measurement; the outcomes need not be assumed statistically independent.
For fixed , put . The Taylor expansion gives the quadratic short-time quantum survival probability. For sufficiently large , taking logarithms gives
Here the remainder uses Big O notation. Exponentiating proves
This is the quantum Zeno effect: increasingly frequent ideal projective measurements inhibit the transition away from the initial quantum state. The departure probability in a short interval is quadratic in its duration, so intervals of duration produce a total leading departure probability proportional to . Without intervening measurements, the return probability at time would be . The result concerns obtaining at every measurement in the ideal limit of instantaneous measurements with unitary time evolution between them.
For eventually nonnegative functions , Big O notation and Big omega notation mean
These are asymptotic upper bounds and lower bounds up to positive constant factors. The notation conventionally expresses membership in the class , rather than equality of two numerical functions.
The Big O notation asserts an eventual uniform bound on the size of by a constant multiple of the size of :
The constants may depend on the two functions but cannot depend on . Absolute values matter because the stated functions can be real-valued with either sign.
The logarithm laws give
For , both and . The expression is therefore at most . Consequently
The Big O notation concerns eventual behaviour; the zero value of at is irrelevant.
The logarithm identity rewrites the expression as . Since , we have , and for ,
Thus the Big O notation bound holds with :
The exponential function eventually grows faster than the fixed polynomial. A direct justification uses the ratio :
For all sufficiently large , this ratio exceeds , so grows without bound. The proposed Big O notation bound is therefore impossible:
Treat as fixed positive integers. For , . Raising this inequality to the positive power gives
The factor is independent of , as required by Big O notation. Hence
A bound uniform over varying is not what the notation here asserts.
By Big O notation, there are and thresholds after which and . Choose a common threshold and set . The positivity assumption gives
Squaring preserves this inequality, so