Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 17G b Solution Created 2026-09-24 Updated 2026-10-03
Suppose first that is bipartite. As one traverses any cycle in a graph, its vertices alternate between the two vertex classes. Returning to the initial class therefore requires an even number of edges, so contains no odd cycle.
Conversely, suppose that has no odd cycle. Work separately in each connected component of a graph, choose a root , and putwhere is the graph distance. If adjacent vertices were in the same class, then and parity would force . Choose a breadth-first spanning tree. The two tree paths from to and diverge at some last common vertex; their remaining segments have equal length, and adjoining the edge gives an odd cycle. This contradiction shows that every edge joins to , proving the odd-cycle characterization of bipartite graphs.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 17G a Solution Created 2026-09-24 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 16I iv Solution Created 2026-09-24 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 16I iii Solution Created 2026-09-24 Updated 2026-10-03
True. For each , the singleton set is a finite subset of , so the hypothesis givesTaking the supremum over all yields
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 16I ii Solution Created 2026-09-24 Updated 2026-10-03
False. Take , the power set of the first infinite ordinal . Every subset of has rank at most , and an infinite cofinal subset has rank exactly , sowhich is a countable ordinal. But Cantor theorem shows that is an uncountable set.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 16I i Solution Created 2026-09-24 Updated 2026-10-03
True. If is a nonempty finite set, thenThis maximum is a successor ordinal, whereas the empty set has rank . Hence a set of nonzero limit ordinal rank cannot be finite and must be an infinite set.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 15D e Solution Created 2026-09-24 Updated 2026-10-03
Compose the two constructions in part (d) to obtainusing two queries to . Forover , the finite difference isThis is affine with slope . Apply the one-query affine procedure from part (c) to the implemented oracle . It returns with certainty, after which the fixed classical computationrecovers the quadratic coefficient. Since one use of consists of one use each of and , the algorithm makes exactly two calls to the original oracle .
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 15D d Solution Created 2026-09-24 Updated 2026-10-03
Let on the input register and let on the target register. Both are fixed unitary operators independent of . Conjugating the query by the input shift givesbecause the intermediate query is made at . Conjugating by target negation givessince . Each construction uses exactly once.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 15D c Solution Created 2026-09-24 Updated 2026-10-03
One classical query at any chosen returns only . Every possible slope is compatible with that answer by choosing , so no one-query classical algorithm can determine with certainty.
For the quantum algorithm, let and preparePart (b) shows that the single query applies quantum phase kickback:The unknown intercept contributes only a global phase. Applying to the first register produces , whose computational-basis measurement determines with certainty after one query.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 15D b Solution Created 2026-09-24 Updated 2026-10-03
Changing the summation variable from to givesThus the quantum Fourier transform diagonalizes the cyclic shift.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 15D a Solution Created 2026-09-24 Updated 2026-10-03
Let . The quantum Fourier transform modulo is the unitary operatorIts images form the Fourier basis.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 13C b iii Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 13C b ii Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 13C b i Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 13C a iii Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 13C a ii Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 13C a i Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 12H e Solution Created 2026-09-24 Updated 2026-10-03
No. The propertyis an index set: it depends only on the domain of the partial function computed, not on the syntax of its program. It is nontrivial. For example, an index whose domain is a singleton belongs to , whereas an index whose domain has two elements does not. The Rice theorem therefore shows that is not a computable set, so no algorithm can decide the requested property for arbitrary .
Invoking the Church–Turing thesis, this also rules out any effective procedure in the informal sense, because such a procedure would be represented by a computable function.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 12H d Solution Created 2026-09-24 Updated 2026-10-03
For each , let be an effectively obtained index of the partial functionThe existence of the total computable index transformation follows from the S-m-n theorem. By the recursion theorem, some satisfies . Therefore its domain isand hence
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 12H c Solution Created 2026-09-24 Updated 2026-10-03
Apply the S-m-n theorem to . It gives a total computable function such thatThe recursion theorem supplies an index satisfying . Consequently
There are unlisted articles, also show them or only show them.