Solutions cover all nine questions, including the examination choices. The printed date is 23 June 2022; the released archive places this paper in a directory labelled 2021. The printed title and section order are retained.[ref]
Public source: Released question-paper archive, member 2021/T/a10100w1.pdf.
For pairwise disjoint finite sets, the rule of sum gives
The password sets of different lengths are disjoint, so the required number is .
The rule of subtraction is
In particular, if are finite sets, the set difference has cardinality .
The rule of product says that a sequence of choices, with possibilities at stage regardless of earlier choices, has possible outcomes. Applied to the Cartesian product of finite sets, it gives . Here independence means that the available choices do not restrict one another; no probability assumption is needed.
The rule of product counts unrestricted passwords and passwords containing no A. By the rule of subtraction, the answer is
The power set is , the set of all subsets of . In this case,
Each of the elements is either included or excluded, so the rule of product gives . Alternatively, partition the power set into disjoint families according to cardinality. The family of -element subsets has size equal to the binomial coefficient . The rule of sum therefore gives
For finite sets, the inclusion-exclusion principle states
Thus single-set cardinalities are added, pairwise-intersection cardinalities subtracted, triple-intersection cardinalities added, and so on.
Let contain the multiples of among . Its cardinality is , using the floor function. Because are pairwise coprime, their pairwise intersections correspond to divisibility by , and their triple intersection to divisibility by . The inclusion-exclusion principle gives
The pigeonhole principle states that if objects are placed in boxes and , at least one box contains at least two objects.
Set , using the ceiling function. If no box contains at least objects, all boxes contain at most , so the total number of objects is at most . Taking the contrapositive, a total greater than forces some box to contain at least objects. But , hence . This proves the generalized pigeonhole principle: some box contains at least objects.
By the generalized pigeonhole principle, 13 cards guarantee cards in one suit. The guarantee is sharp: 12 cards can consist of three cards from each suit, with no four cards of a common suit.
Use mathematical induction on . For , the sum is . Suppose it is at . Then
The induction is complete, proving . The factorial identity also explains the cancellation directly.
In big O notation, means that there exist and such that for every integer . For the required polynomial versus exponential growth comparison, . If and , then
By mathematical induction, for all . Thus , with and .
A binary relation on is a reflexive relation precisely when for every .
A binary relation on is a symmetric relation precisely when for all .
A binary relation on is an antisymmetric relation precisely when for all .
A binary relation on is a transitive relation precisely when for all .
For a counterexample to closure under union of antisymmetric relations, take , , and . Each is an antisymmetric relation: neither contains an off-diagonal pair together with its reverse. But contains both and while . Therefore is not an antisymmetric relation.
Write . Equality of -values defines an equivalence relation induced by a function: equality is reflexive, symmetric, and transitive, so all three properties hold for . The equivalence class of is
For this is the circle centred at the origin with radius ; the remaining equivalence class is the singleton .
This binary relation is not an equivalence relation, because it is not symmetric: since , but is false. In fact the injective encoding gives a total order. There are no equivalence classes for this binary relation.
Every nonzero integer has , proving reflexivity. Because , the relation is symmetric. If and , then , proving transitivity. Thus this is an equivalence relation, whose two equivalence classes are the positive integers and the negative integers:
The second-derivative criterion for convexity is
The non-strict inequality is necessary and sufficient; the stronger condition is sufficient for strict convexity.
Expand before taking the second derivative:
The second-derivative criterion for convexity proves that is strictly convex, hence convex.
The Hessian criterion for convexity, in the usual twice-differentiable multivariate setting, is
Thus the Hessian matrix must be a positive semidefinite matrix everywhere. The criterion follows by applying the second-derivative criterion for convexity to each line restriction , whose second derivative is . Continuous second partials are a sufficient regularity hypothesis for this line-restriction argument.
Writing , the gradient and Hessian matrix are
Consequently, for any nonzero ,
In particular the Hessian matrix is a positive semidefinite matrix everywhere, so the Hessian criterion for convexity proves is convex. The strict inequality along every nonconstant line also proves strict convexity.
The map is strictly increasing on : for , if and only if . Therefore a point has the smallest -value if and only if it has the smallest -value, and the same applies to . By minimizers under strictly increasing transformations, both asserted argmin equalities hold, including when the argmin sets are empty. The differentiability assumptions are unnecessary for this order argument.
Minimize the square of the Euclidean distance, using minimizers under strictly increasing transformations. For ,
For fixed the unique minimum has . Put and . Its derivative is
Let . Since , it is strictly increasing, with limits and at the two ends of . It therefore has exactly one zero. The sign of changes there from negative to positive, proving the unique global minimum. The nearest point is at that zero.[ref]
The Newton root-finding iteration is
Starting at gives , , and . Moreover certifies the rounding. Thus to three significant figures; more accurately .
Use Simpson's rule: the cubic exactness of Simpson's rule includes every quadratic integrand, so three function evaluations already give the exact answer. Thus the error is zero. For a general smooth integrand the corresponding composite Simpson's rule has error in big O notation, but that bound is unnecessarily weak here.
Use composite Simpson's rule on this smooth, bounded one-dimensional interval. Its fourth derivative is bounded on the interval, so the error bound for composite Simpson's rule gives in big O notation as the number of function evaluations increases.
Use tensor-product quadrature with composite Simpson's rule in each coordinate. If there are subintervals in each direction, then and the quadrature rule error is : apply the one-dimensional error bound for composite Simpson's rule successively, using bounded fourth partial derivatives. Hence the error is in big O notation. The rectangular domain makes the product grid convenient.
A convenient choice for this irregular region is Monte Carlo integration. The region is contained in . For independent uniform points in that square, let
The indicator random variable incorporates the curved boundary directly. This estimator is unbiased; the integrand is bounded on the square, so its variance is finite. The variance of a sum of independent terms gives root mean square error in big O notation. This is a stochastic error rate. Applying a rectangular Simpson's rule to the indicator-weighted integrand would lose the smoothness required for its fourth-order error bound.
For a generic integrand in 20 dimensions, Monte Carlo integration gives root mean square error , whereas tensor-product quadrature with composite Simpson's rule gives only . One can sample uniformly in the Euclidean unit ball, for example by an independent uniform direction and radius with uniform on .
For this particular integrand, the most efficient elementary choice uses radial integration over a ball first. The area of the unit 19-sphere is , as follows from the volume of an n-ball. Hence
The reduced integrand is smooth. Apply composite Simpson's rule to obtain deterministic error in big O notation, with one original radial integrand evaluation per node. If the selection is restricted to direct multidimensional methods, Monte Carlo integration with root mean square error is the appropriate choice.
By Taylor's theorem with Lagrange remainder, for an increment ,
where lies between and . The given third derivative bound implies .
Apply the preceding Taylor's theorem at and , with . The even-order terms cancel in the central finite difference, giving
Both Lagrange remainders have magnitude at most , so the triangle inequality gives the sharp central-secant derivative error
Write the computed function values as , where . The computed central finite difference satisfies
The two contributions are respectively evaluation absolute error and truncation error. For , step-size choice for a noisy central derivative minimizes their sum: its derivative is , negative before and positive after
If , the bound tends to zero as and has no positive minimizing step.
The derivative is represented by the gradient, and the Hessian matrix contains the second partial derivatives:
Equivalently the derivative as a linear map is .
The stationary point equations give and , hence . At the Hessian matrix has negative determinant , so is a saddle point. At each of and , the Hessian matrix has positive leading minors and , proving a strict local minimum. More strongly,
Thus and are exactly the global minima, with value . There are no local maxima, since any differentiable interior local maximum would be a stationary point, and all three have been classified.
For the equality-constrained minimization problem, and . Put . The restricted objective is
The only zero has , so . Since , the second-derivative criterion for convexity proves a unique minimizing . Consequently the equality constraint has minimizers and , with minimum .
For the inequality-constrained minimization problem, the identity supplies the universal lower bound . Both equality points for that bound, and , satisfy . Hence the inequality constraint has exactly these two minimizers, with minimum .
For Newton's method in optimization, let . Its second row equation is , so . Therefore . The given first coordinate yields
The Newton step is defined where ; both coordinates after any defined step are equal.
By the diagonal reduction in a two-variable Newton iteration, for . Put . Direct factorization gives the exact Newton map in optimization error identity
The assumed convergence makes the final factor tend to , so it is bounded for all sufficiently large . Hence . For the Euclidean norm error , this becomes , proving quadratic convergence. Unless the exact limit is reached in finitely many steps, .
Articles were limited to the first 100 out of 146 total.

Articles by others on the same topic (0)

There are currently no matching articles.