Source paper: released examination archive, member 2021/L/a10100w1.pdf. The cover identifies the September 2022 resit; the source filename is undated and the ZIP directory says 2021.
Let and be the finite sets of objects satisfying the two properties. The rule of sum says that mutually exclusive alternatives have additive counts: if , then . Without disjointness, the corresponding inclusion-exclusion principle is
The rule of subtraction counts objects satisfying the first property but not the second:
In particular, if the objects with the second property form a subset of those with the first, the count is . These conditions prevent either double counting an overlap or subtracting objects that were not counted initially.
The rule of product says that if a construction has stages, with exactly choices at stage after every permitted earlier history, then it has possible outcomes. The later choices need not be identical sets after different histories; their numbers must have the stated values.
For a permutation of distinct objects, choose the first object in ways, the second in ways, and continue until only one remains. Thus the number is
Every ordered arrangement is produced exactly once by its successive choices, so this counts permutations without omissions or repetitions. For , the unique empty arrangement agrees with .
An allocation is a tuple of nonnegative integers with , where is the number in labelled box . Empty boxes are allowed. Encode the allocation by stars and bars: put stars before the first bar, between the first two bars, and so on. Adjacent bars represent an empty intermediate box; a bar at an end represents an empty end box.
Reading the group sizes recovers exactly one allocation from every such string, so this is a bijection. There are positions and we choose the bar positions. Hence stars and bars gives
No extra factor for ordering the objects is present, because the objects are indistinguishable. For the string has no bars and gives the single allocation of all objects to that box; for all boxes are empty, also a single allocation.
Pad every integer from through with leading zeros to obtain a unique six-digit decimal string. If its digits sum to , each digit is automatically at most , so the usual digit upper bound adds no restriction. We therefore count the nonnegative integer solutions of
By stars and bars, there are . The all-zero string is not counted because its digit sum is zero, so every counted integer is positive. Thus the answer is .
For real-valued functions, use magnitude comparisons. The constants below are independent of .
The statement in Big O notation means that some and integer satisfy for all . The statement in big omega notation means that some and satisfy for all .
Finally, in big theta notation means that some and satisfy
Equivalently it is both an eventual upper bound and an eventual lower bound. These definitions ignore a finite initial segment; they do not assert pointwise inequalities with constant one.
Suppose first that . Choose and so that for . There are only finitely many natural numbers below . Because at each of them, all ratios in this finite prefix are finite. Let
Then both in the prefix and in the tail, hence on the entire domain of a function. This proves the finite-prefix extension of a big O bound.
Conversely, a bound valid for every natural number is certainly valid eventually. The purported real constant cannot be negative because never vanishes; if it is zero, enlarge it to a positive constant. The definition of Big O notation then applies. The nonvanishing assumption is what permits the finite exceptions to be absorbed into one constant.
True. For every integer , and . Therefore
The constants and satisfy the definition of Big O notation. Whether the chosen convention for natural numbers includes zero is immaterial to this eventual assertion.
False. Put for . For ,
Thus . No fixed constant can bound eventually, so . This is an explicit comparison of exponential growth with polynomial growth.
True. Rationalization gives, for ,
This lies between zero and , so it is in Big O notation. In fact it converges to , rather than to zero. The rationalized form also avoids the catastrophic cancellation of subtracting two nearby large quantities.
True for every fixed . Extract from inside the logarithm:
Choose an integer . The nonnegative terms of the exponential series give for , whence
Since for , the displayed expression tends to zero and is therefore . The constant and cutoff may depend on the fixed ; no uniform assertion over unbounded is being made.
False. On the unbounded subsequence of odd positive integers, . For any proposed constants , choose an odd . Then , contradicting the eventual upper bound required by Big O notation. The small ratio on even integers cannot compensate for this failure on infinitely many odd integers.
The integer congruence means : the difference is an integer multiple of the positive modulus . Write and for integers . Then
so addition preserves integer congruence. For multiplication,
The final coefficient is an integer, so multiplication also preserves integer congruence. These properties make addition and multiplication well defined on residue classes.
The Euclidean algorithm gives
The last nonzero remainder is . Back-substitution produces its Bézout coefficients:
Thus is a requested pair. The final equality independently checks the calculation.
The pigeonhole principle states that if more than objects are placed in boxes, with , at least one box contains two or more objects. Equivalently, a function from a finite set of more than elements to a set of elements cannot be injective: if every box held at most one object, there would be at most objects altogether.
For five points, partition the unit square into four squares of side . Assign boundary points to just one neighbouring piece. By the pigeonhole principle, two of the points lie in one piece, whose diameter is its diagonal, .
For eight points, use seven smaller-diameter pieces rather than eight rectangles. Start with the convex pentagon
Take its four reflected copies at the corners of the square. The remaining pieces are the left triangle with vertices , its right-hand reflection, and the central diamond with vertices . These seven polygons cover the square with disjoint interiors. To verify coverage directly, for the two bottom pentagons split the horizontal section at . For , the five successive sections have endpoints and belong respectively to the left triangle, bottom-left pentagon, diamond, bottom-right pentagon and right triangle. Reflection gives the top half.
The diameter of a finite convex hull is the greatest distance between its vertices: if two points are convex combinations of vertices, their difference is a convex combination of vertex differences, and the triangle inequality bounds its norm by the largest such distance. Checking the five vertices of gives diameter ; reflections preserve that value. Each remaining triangle and the diamond has diameter , which is smaller. After assigning shared boundaries to one piece, eight points in these seven pieces force a pair in a common piece. Hence some pair is at distance at most .
Figure 1.
Four and seven regions give the two distance bounds by the pigeonhole principle
. Details.
Both arguments are instances of a pigeonhole distance bound from a partition.
Prove the stronger statement with a nonempty subset. Order the integers as , and form the prefix sums
There are such sums but only residue classes modulo . The pigeonhole principle gives indices with . Their difference satisfies
The selected elements form a nonempty subset of , proving the claim. Neither positivity nor distinct values in a general ordered sequence are needed for the consecutive sum divisible by the sequence length argument; distinctness merely makes the present input a set.
Let for the limit . Quadratic convergence means that eventually for a fixed constant ; exact asymptotic order two has with .
For this iteration and , direct algebra gives
Using the stipulated convergence , the ratio of successive squared errors is
Thus the convergence is quadratic. The iteration is well defined here: , and thereafter implies . The initial point is not already the limit, so the error ratio is meaningful.
Assume and are continuously differentiable near the point. At a regular feasible point, meaning and , a differentiable constrained local extremum satisfies the Lagrange multiplier equations
They arise by differentiating the optimization Lagrangian with respect to all coordinates and the multiplier. Geometrically, the objective has zero derivative along the tangent space of the constraint surface, so its gradient must lie in the normal direction.
Solve these equations for candidates, examine feasible points where the regularity condition fails separately, and compare objective values or use a second-order test restricted to feasible directions. The equations locate stationary points; they do not by themselves establish which are minima or whether a global minimum is attained.
Use and . Every feasible point has , so cannot vanish. The Lagrange multiplier equations are
The first gives . If , the second would give , a contradiction. Therefore , and the constraint gives . The only constrained stationary points are .
For a global certificate, feasibility implies , and hence
Equality requires and . Thus
The case split is essential: dividing by would discard precisely the minimizers.
Here the constraint surface is compact and regular, so a global minimum exists and satisfies the Lagrange multiplier equations
Keep the zero-coordinate cases. If , the two points are , with value . If , the two points are , with value . If both coordinates are nonzero, the equations give . The constraint becomes , whose only positive solution is . These are the four points , all with value .
These cases exhaust the stated eight constrained stationary points. Comparing their values gives
For additional classification, substituting gives , with
It decreases from to and increases from to . Thus the two -axis points are constrained local maxima, the two -axis points are global maxima, and the four mixed-coordinate points are global minima.
Both terms and are nonnegative, and they vanish simultaneously only at . That point satisfies . Consequently
and the global minimum is unique. No Lagrange multiplier calculation is needed: nonnegativity gives a lower bound attained at a feasible point.
Use compatible dimensions and ; the printed “b-by-b” size is read consistently with the displayed products and domain. Take derivatives as column gradients. Symmetry of gives
For example, the directional differential of is . The linear term contributes to the gradient and zero to the Hessian matrix.
The eigenvector identity gives . Since is a positive-definite matrix, this is a strict local minimum. A global certificate follows by completing the quadratic form:
Positive definiteness makes the first term nonnegative, with equality only at . Thus is the unique global minimum, with value .
The full, undamped Newton's method in optimization step is
The eigenvector identity gives . Consequently for every starting point. This is a one-step Newton solution of a quadratic stationary equation: its gradient is an affine function, so a single exact Newton solve resolves it completely.
Write and put , which is symmetric. Differentiating this quadratic form gives
Unlike , need not be a positive-definite matrix. Its behaviour must be checked before classifying the stationary point.
The gradient vanishes at . Decompose any vector as , with . Symmetry of and imply . Since ,
If , choose a nonzero . Arbitrarily close to zero, the direction gives negative values and the direction gives positive values. Thus is a saddle point for . Equivalently, the Hessian matrix has one negative eigenvalue and all its other eigenvalues positive.
The dimension matters: if , the orthogonal complement is zero-dimensional and . In that case is the unique global maximum. This edge case is not excluded by the stated hypotheses. The decomposition is a rank-one downdate along an eigenvector.
The matrix is an invertible matrix. Indeed, on the line spanned by it has eigenvalue , and on it agrees with the positive-definite restriction of . Therefore the full Newton step is well defined and gives
This is the unique stationary point because is an invertible matrix. The algebra applies to every starting point, but it does not make the answer a minimum: for it is the saddle point just classified, and for it is a maximum. A safeguarded minimization algorithm that replaces an indefinite matrix used as its Hessian matrix or damps the step need not take this exact step; the assertion concerns the ordinary full Newton step formula.
Put and . The product rule gives
Differentiate each term. The derivative of is , while that of is . Hence
The last two terms are transposes of each other, so this Hessian matrix is symmetric, as expected.
At , the gradient from the preceding part vanishes and the Hessian matrix is zero. The second-order test is therefore inconclusive. Instead inspect the eigenline:
For arbitrarily small positive and negative , these values have opposite signs. Thus is neither a local maximum nor a local minimum. In dimension at least two it is a degenerate saddle point; in one dimension it is a stationary inflection point. Looking only at the zero Hessian matrix would not determine this classification.
Use mathematical induction on the iteration. Initially . If , then , , and . Therefore
A gradient descent step with any scalar step length consequently has the form
Thus every iterate remains on the same eigenline, with
This proves that gradient descent preserves an eigenline for a cubic product. The statement is invariance, not convergence to a minimum: along the negative direction of this line the cubic polynomial objective is unbounded below.
The displayed rational expression has domain ; its value at zero is undefined despite the printed notation. On that domain, the power rule gives
These derivatives are smooth on every interval avoiding zero, including all intervals used below.
Substitution gives
In particular, is a stationary point. For sufficiently close to , Taylor's theorem with fifth-order remainder gives
where lies between and . The fifth derivative is bounded near , so the remainder is and is smaller in magnitude than half the positive quartic term for sufficiently small nonzero . Therefore is a strict local minimum, despite the vanishing second derivative.
An exact algebraic check gives the stronger global conclusion:
Equality holds only at , so it is the unique global minimum on the actual domain.
Let and let . A composite Simpson's rule panel covers two strips, so it has width and absolute error at most
There are panels. By the triangle inequality, the absolute error of their sum is at most the sum of their absolute errors. Hence
This assumes even and, for the usual Simpson remainder theorem, . In particular its fourth derivative is bounded on the interval. It is the error bound for composite Simpson's rule, expressed in strip count rather than panel count.[ref]
Write . Its derivative is , so on it decreases to and then increases. Its endpoint and turning-point values are
Thus , and the preceding bound becomes
For the rounding estimate, standard binary64 has spacing above one. Balancing this nominal absolute accuracy with the bound gives
Thus a few thousand even strips, roughly , reach the double-precision scale according to this bound. A scale-aware estimate leads to the same order. Indeed,
lies in magnitude between and , where the binary64 spacing is . Balancing the error bound against half that spacing gives about strips.
These are saturation estimates from balancing quadrature truncation and round-off error, not sharp guarantees of the actual rounding plateau. The error bound can be conservative, and evaluation and summation errors can limit accuracy earlier. Merely storing the final result does not specify every source of rounding error.
Not near the minimum at . The derivative being set to zero factors as
so has multiplicity of a root equal to three. The ordinary Newton iteration at a multiple root is generally only linearly convergent, with error ratio here.
In fact, cancellation in gives the exact error identity, away from the original undefined quotient at the root,
For iterates approaching , the factor tends to , proving linear convergence. The other zero of at is simple and could instead give quadratic local convergence; the failure at is due to its multiplicity, not to every stationary point of this rational function.
For each integer , the events , indexed by the integers , are disjoint and their union is . Therefore countable additivity gives the marginal probability mass function
The nonnegative terms make this sum well-defined, even when the support is infinite.
The random variables are independent random variables if the events determined by one are independent of the events determined by the other. For integer-valued variables, this is equivalent to the factorization
Indeed, independence gives the factorization by taking singleton events. Conversely, summing it over and , for any subsets , gives . Thus the singleton condition implies independence of all events in question.
Interpret existence of the expectations as finite expected values, equivalently and . First justify the summations rather than assuming that a signed double series can be rearranged. Independence and Tonelli theorem give
Consequently is an integrable random variable, and Fubini theorem permits summing the signed terms in either order:
If extended infinite expectations are allowed instead, the phrase “exist” needs additional care: expressions such as do not define an expectation. The finite-expectation convention avoids that ambiguity.
Summing the two nonzero entries with gives
The remaining probability is , so has the Bernoulli distribution with parameter .
For the other marginal, the two entries at add to , the entry at is , and for the only nonzero entry is already . Thus
and has the Poisson distribution with parameter . This also checks normalization of the joint probability mass function by summing the marginal.
Equality can occur only at the two pairs and . Their combined probability is
Taking the complementary probability gives
Since , the supplied exponential bound implies
This is a bound on the mismatch probability for this particular coupling of the two marginal distributions; the variables are not presumed independent.
The marginal distributions have means and . In the joint distribution, is nonzero only at : when , the only possible values of are and . Hence
These quantities are finite; for example, . The covariance changes sign when .
There is no such value of in the specified interval. Indeed, , and the joint probability mass function gives
This contradicts independence for every . Equivalently, has joint probability zero but the product of its marginal probabilities is .
At the suggested value , the covariance is zero, but the same conditional probability contradiction still applies. This is an explicit example of how uncorrelated Bernoulli and Poisson variables need not be independent. Zero covariance controls one mixed moment, whereas independence requires the entire joint probability mass function to factor.
Let be a finite or countable partition of a set of the sample space into disjoint events, with . For any event , the law of total probability is
To prove it, the intersections are disjoint and have union . Countable additivity and the definition of conditional probability therefore give
It is enough that the union of the partition events has probability one. Parts of probability zero contribute zero in the intersection formula and can be omitted before writing conditional probabilities; conditioning by division on a zero-probability part would be undefined.
Articles were limited to the first 100 out of 123 total.

Articles by others on the same topic (0)

There are currently no matching articles.