Solutions to every answerable part of the 22 June 2023 preliminary examination in the Year 1 of the computer science course of the University of Oxford. The source groups Questions 1–3, 4–6 and 7–9 into its discrete, continuous and probability sections respectively. All nine questions are treated, although candidates were permitted at most five, with at most two from each section. Throughout, , consistent with the source's explicit exclusions of zero. Source release, member
2022/T/a10100w1.pdf: the PDF itself prints Trinity Term 2023 and A10100W1. Question statements are not reproduced.A partial order is a preorder satisfying the antisymmetric relation axiom. In addition to reflexivity and transitivity, it satisfies and only when .
A total order is a partial order in which every pair is comparable: for every , at least one of and holds. Both hold exactly when .
For the product order, reflexivity follows from in every coordinate. If and , the antisymmetric relation axiom for the usual real order gives for every , hence . If , transitivity in each coordinate gives , hence . Thus this is a partial order.
For , the vectors and are incomparable: each has a coordinate larger than the corresponding coordinate of the other. It is not a total order for . The dimension qualification matters: for this is the usual total order on , so the printed non-totality claim needs the implicit assumption .
For the pointwise order on real polynomials, proves reflexivity. Two opposite inequalities imply for every real ; the polynomials are therefore equal, proving the antisymmetric relation axiom. Chaining the inequalities at every proves transitivity.
To disprove total order, take and . The inequality fails at , whereas fails at . The order is partial but non-total.
The greatest element of , also called its maximum, is an element such that for every . Membership in is essential; an upper bound need not belong to .
A least upper bound of is an element such that for every , and such that for every other upper bound of . It need not belong to . The antisymmetric relation axiom makes it unique whenever it exists.
Write each member as . Every member is strictly below , so is an upper bound. If , the Archimedean property supplies with ; then . Thus no smaller number is an upper bound, proving . Since , there is no greatest element. Equivalently, each member is followed by a larger member because .
For every , both and hold, so the intersection of equivalence relations is reflexive. If , symmetry of both component binary relations gives and , hence . Finally, if and , transitivity in each component gives and , hence . These are precisely the three conditions for an equivalence relation.
For every , membership in the relevant equivalence class satisfiesEquality follows by axiom of extensionality. Thus .
The floor function is constant at on the four consecutive integers . Consequently the partition of a set is . Different blocks are disjoint and every nonnegative integer has exactly one quotient and remainder upon division by .
Take the nonempty intersections of the length-three and length-four blocks. Within the first twelve nonnegative integers the common cut points are , givingThe complete partition of a set consists of these six blocks translated by for every . Indeed, adding increases the two floor quotients by and respectively, preserving equality of both quotients within each translated block. No adjacent displayed blocks can merge because at least one quotient changes at their boundary. This is the periodic common refinement of floor-quotient partitions, with period .
Use strong induction with three consecutive base cases:For , assume all values from through have the required representation. Since , write with nonnegative integers. Then is another such representation. Strong induction proves the claim for every . This is a consecutive-base induction for additive semigroups: the three base cases handle all residues before repeated addition of .
At , the product is , as required. Suppose the formula holds at . Appending the next factor giveswhich is exactly the formula at . Thus mathematical induction gives for every . The factorization also explains the cancellation in this telescoping product.
Fix and use two-base mathematical induction on . At , the proposed right side is ; at , it is . Suppose the identity holds at and . The defining recurrence relation for the Fibonacci numbers givesThis is the assertion at , completing the proof of the Fibonacci addition formula. The argument includes , since is defined.
Suppose . Injectivity of gives , and injectivity of then gives . Thus the function composition is injective.
For any , surjectivity of supplies with . Taking proves that has a preimage under . Thus is surjective.
Suppose . Since is surjective, choose with and . Then , so injectivity gives and therefore . Thus is injective. The use of surjectivity is what makes every point of accessible to this argument.
Fix . Since is surjective, there is with . Injectivity of gives , proving that is surjective. All five conclusions are instances of injectivity and surjectivity under composition.
The greatest common divisor of positive integers is the largest positive integer dividing both, denoted . The set of positive common divisors contains and is finite, so this definition supplies a value.
The Euclidean algorithm repeatedly replaces by , where the new remainder lies between and . Common divisors are unchanged by this subtraction, and decreasing positive remainders ensure termination. The last nonzero remainder is the greatest common divisor.
The extended Euclidean algorithm also tracks coefficients , beginning with coefficient pairs and and applying the same subtraction to the pairs. This invariant produces Bézout coefficients for the last nonzero remainder. Here the divisions areBack substitution givesThus , with and in Bézout's identity.
Use strong induction on the positive integer . The case is represented by the empty product. For , if is prime it is already a product of one prime. Otherwise with ; the induction hypothesis gives prime factorizations for both and , and concatenating them gives one for . This proves existence in the fundamental theorem of arithmetic without presupposing uniqueness.
If , there is nothing to prove. Otherwise the only possible positive common divisors of the prime and show that . By Bézout's identity, for some integers . Multiplying by gives . Both terms on the right are divisible by , the second because . Hence . This proves Euclid's lemma, including when either factor is zero or negative.
Suppose are two products of positive primes. If , then , and necessarily , since any nonempty product of positive primes is at least . Otherwise Euclid's lemma, applied repeatedly to the right-hand product, says divides one . Since is prime, . Reorder the right-hand factors and cancel this common nonzero factor. Repeating, or using induction on the number of factors, matches every factor. Neither side can have factors left over, because their product would then equal . Thus the prime factorization is unique up to rearrangement.
The allowed primes are exactly . DefineThe fundamental theorem of arithmetic makes this definition unambiguous and proves injectivity. For every , the positive integer belongs to and maps to that tuple, proving surjectivity. The inverse function is explicitly . In particular, maps to . This is the prime-exponent parametrization of smooth numbers.
Put . For , convexity gives , henceBy the first-order form of Taylor's theorem, the right side tends to as . ThereforeThis is the supporting inequality for a differentiable convex function. The stated partial derivatives are enough: coordinate derivatives give directional Taylor expansion for convex functions, so no unmentioned continuity assumption on the second partial derivatives is needed. The result in fact needs less smoothness than the question assumes.
No. Both and are affine functions, hence convex functions. Their product is not convex: at the midpoint of and , . Thus products of convex functions need not be convex, even for smooth functions on all of .
Differentiating on the given domain yieldsThe denominator and are positive there. Thus is strictly concave, and is not convex.
The denominator is positive throughout the domain. Holding fixed, differentiate with respect to :At the interior point this second partial derivative is , so the restriction to a horizontal line is locally strictly concave, ruling out convexity. At the interior point it is , ruling out concavity. Restrictions of a convex function or a concave function to every line segment must retain that property. Consequently is neither convex nor concave on its stated domain.
Since , the line lies in the domain and satisfies . The restriction of to this line is , whose second derivative is : negative for and positive for . It can be neither globally convex nor globally concave. Hence is neither. Equivalently, its Hessian matrix is , changing the sign of its nonzero directional curvature across .
Eliminate the constraint by writing , with . The logarithms cancel, so the objective becomes . Its derivatives are and . Thus the unique stationary point is the unique global minimum, at . Restoring givesAs a direct global check, the arithmetic-geometric mean inequality gives , with equality exactly at the same point.
Interpret the norms as Euclidean norms and set . This is a real symmetric matrix with , hence a positive semidefinite matrix. Squaring the nonnegative objective does not change its argmin. Let be the smallest eigenvalue of and its eigenspace.
First minimize on the unit sphere. The Lagrange multiplier function has stationarity condition . Multiplication by shows that the squared objective at such a point is . The spectral theorem for real symmetric matrices also gives, for every unit vector, , with equality exactly in . This proves global minimality, rather than merely finding stationary candidates.
If , every point with has a strictly smaller objective after rescaling to unit length. ThereforeIf , the kernel of a linear map satisfies , since implies , and the converse is immediate. The minimum is then zero, attained precisely atIn this case minimizers need not have unit length. This distinction is essential for a rank-deficient , including any real matrix with . The result is the minimum image norm outside a Euclidean unit ball, governed by the least singular value.
The origin is feasible and has objective zero, while a Euclidean norm is nonnegative. Thus the minimum is , and the complete argmin isIf is injective, this set contains only the origin. If it has a nontrivial kernel, every feasible kernel vector is also a minimizer. No Lagrange multipliers are needed.
Use bisection on when the derivative is cheap and a bracket is easy to obtain. For a differentiable convex function, is nondecreasing, so such a bracket locates a global minimum, allowing a flat minimizing interval. Without convexity, first isolate a region containing the desired local minimum; arbitrary stationary points need not be minima.
Use golden-section search when reliable function values are available but derivatives are unavailable or expensive. It needs a bracket on which the objective is a unimodal function, commonly found by three ordered points whose middle value is below the two outer values. Those inequalities alone do not prove that the objective is a unimodal function. A convex function supplies the needed shape; for a nonconvex objective, isolate an interval on which it is a unimodal function.
Both methods have linear convergence of bracket width. Bisection contracts the width by per new derivative evaluation. Golden-section search contracts it by per new function evaluation after initialization, reusing one earlier value. Choose by evaluation cost and bracket availability as well as this contraction factor: comparing iteration counts alone can misidentify the faster method.
Convexity of the components of a vector field is not the decisive criterion for a root-finding problem. Neither method becomes globally reliable merely because each component is convex.
Prefer the Newton root-finding iteration when the Jacobian matrix is available accurately and at reasonable cost. Solve rather than explicitly forming an inverse matrix. Near a root with a nonsingular Jacobian matrix and a locally Lipschitz Jacobian matrix, the usual exact iteration has quadratic convergence.
Prefer Broyden's method when evaluating or differentiating the vector field makes a fresh Jacobian matrix expensive. It learns an approximate Jacobian matrix through secant updates using function differences. Under appropriate local regularity and initialization assumptions it has superlinear convergence, generally slower asymptotically than the quadratic convergence of exact Newton steps, but often with cheaper iterations.[ref]
A Class of Methods for Solving Nonlinear Simultaneous Equations by Charles George Broyden. pp. 577–579, cost of Jacobian evaluation and construction of updating methods.
Dimension matters through storage and solves. A full dense Newton factorization costs order arithmetic operations; a dense Broyden approximation uses order storage, and maintained inverse or factorization updates can cost order . A naive fresh dense solve can still cost order . Sparsity can favour Newton, while very large can make either dense formulation unsuitable. Neither local rate guarantees convergence from an arbitrary starting point.
Gradient descent uses only the current gradient and a suitable step size; its additional storage is order . It is attractive for very large or when low per-iteration cost matters most. For a smooth strongly convex function, standard step choices give linear convergence, with a rate sensitive to the condition number. Mere convexity gives a global-minimum interpretation but does not alone imply a linear rate; for nonconvex objectives the usual guarantee concerns stationary points.
BFGS uses successive gradients to update an approximation to inverse curvature, incorporating information that can correct poor scaling. Full BFGS uses order storage and update work. With suitable line searches and local smoothness and positive-curvature assumptions near a nondegenerate minimum, it has superlinear convergence. This often favours it in moderate dimensions when gradients are not extremely cheap relative to the extra work.
Neither gradient descent nor BFGS requires an explicitly evaluated Hessian matrix. Thus an expensive Hessian matrix is compatible with both, rather than a reason to reject BFGS. If an accurate Hessian matrix and its factorization are exceptionally cheap, Newton's method in optimization becomes an additional reasonable option. Convexity helps identify a stationary point as a global minimum; without it, both methods need suitable descent and curvature safeguards. The BFGS update learns curvature from the Quasi-Newton secant equation.[ref]
Quasi-Newton Methods by NEOS Guide. Quasi-Newton condition and the BFGS member of the low-rank updating family.
The Newton root-finding iteration isIt requires and its derivative to be defined at the current point, and requires . A step can leave the domain, making a subsequent iteration undefined. In floating-point arithmetic, division by zero, overflow or non-finite function evaluations can also prevent a usable step. At a root where is zero the displayed quotient itself remains undefined unless the implementation stops before evaluating it.
Taylor's theorem at zero gives for a point between zero and . At , strict negativity of the second derivative gives . At , its lower bound givesBy the intermediate value theorem there is a root strictly between these values. The given uniqueness identifies it as .
The Newton root-finding iteration gives .
Set . By Taylor's theorem,The first two terms cancel by the definition of the Newton root-finding iteration. Thuswith between the consecutive iterates. In particular, a nonzero step has negative new residual under the stated strict concavity.
Articles were limited to the first 100 out of 158 total.
Articles by others on the same topic
There are currently no matching articles.