Closed half-space Created 2026-09-24 Updated 2026-10-14
This is the non-strict version of a half-space; replacing the inequality by a strict one gives the open version.
Convex combinations in a triangle 2026-10-14
Every allocation in the convex feasible region for a resource budget is a convex combination of its three extreme points:The condition is exactly ; nonnegative give the other two nonnegative coefficients. Thus the half-space description and the convex hull description encode the same triangle. At all three coefficients are , and at they are , , . The green and orange points in the budget diagram therefore have two complementary interpretations: direct resource constraints and mixtures of extreme choices.
The three extreme points alone are not a convex set, because their midpoints are absent. Their convex hull fills the whole triangle. More generally, Caratheodory theorem bounds how many generating points are needed for one convex combination in a finite-dimensional real vector space; its geometric content is that a complicated collection can describe each attainable average with a short representation.
Convex optimization Created 2026-09-24 Updated 2026-10-13
Convex optimization is a minimization problem with a convex function as its objective function and a convex set of feasible points. For a finite-valued , the problem is to find with for every . The displayed infimum describes its value even when no minimizing point exists. The two convexity requirements concern different objects: the allowed decisions and the scores assigned to them.
A convex set contains the whole line segment between any two of its points:A convex function lies below the interpolation of its endpoint values:Thus mixing two allowed decisions preserves feasibility, and the mixed score is no worse than the same mixture of endpoint scores. The objective function may have flat regions or corners. For a strictly convex function, the second inequality is strict when and .
A useful constraint representation iswhere are convex functions on a common convex set , and the equalities are affine functions. Each inequality defines a convex sublevel set; their intersection with and the equality set is a convex set. An equality involving a general convex function need not preserve this geometry: allows and but excludes their midpoint . See Boyd and Vandenberghe, Convex Optimization (2004), §4.2.1 for the standard problem form.
Why local information can certify a global answer. Every local minimum of a convex optimization problem is a global minimum, including minima on the boundary. If a feasible point had , points would remain feasible and have value strictly below for every . Taking arbitrarily small contradicts a local minimum at . This argument explains the special power of convexity: a better distant decision would reveal an improving direction immediately nearby.
If a minimizer exists and the objective function is strictly convex on , it is unique. Two distinct minimizers of value would have a feasible midpoint with value strictly below . Existence is a separate question: the exponential function is strictly convex on , but its infimum is approached only as . Even a bounded convex set need not suffice: on also has unattained infimum . A continuous function on a nonempty compact set attains its minimum by the extreme value theorem.
Nor does strict convexity imply differentiability. For , the squared term gives the strict inequality while the triangle inequality gives the weak inequality for the absolute value. At zero the left and right derivatives are and , so no derivative exists there, although zero is the unique minimizer. Such objectives require subgradients or proximal operators rather than an ordinary gradient at every point.
For a differentiable convex function on an open convex set containing , the constrained first-order condition isIndeed, the subgradient inequality makes this sufficient; taking the one-sided derivative along feasible line segments makes it necessary. At an interior minimizer, both directions are feasible and the gradient must vanish. At a boundary minimizer it can be nonzero: it only needs to make every feasible direction nondecreasing. See Boyd and Vandenberghe, §§3.1.3 and 4.2.3.
A fully computed nearest-point problem. Project onto the half-space by minimizing half the squared Euclidean distance:The Hessian matrix is the identity matrix, so the objective function is strictly convex. The unconstrained minimizer violates the inequality. With the convention , the optimization Lagrangian is , where the Lagrange multiplier satisfies . Its Karush-Kuhn-Tucker conditions areThe last two equations give , . The choice is infeasible, so complementary slackness forces . Consequently , giving , and . The Euclidean distance is , rather than the objective function value . The gradient at the answer balances ; the displacement from to is a normal vector to the boundary.
There is an exact certificate independent of numerical search. Completing squares givesFor every feasible point, implies . Thus every feasible objective is at least , and attains this bound. More generally the Lagrangian dual problem has objective for . Its maximum is also , illustrating strong duality through matching computed bounds. This makes the example a model for Euclidean projection onto a convex set and the projection step in projected gradient descent.
What the multiplier conditions require. For differentiable convex functions on an open convex set and equalities defined by affine functions, the KKT conditions combine feasibility, , complementary slackness , and stationaritywith unrestricted equality Lagrange multipliers . They suffice to certify a global minimum without an additional regularity assumption: the optimization Lagrangian is convex, stationarity minimizes it, and feasibility with complementary slackness gives the same certificate as above. To guarantee their necessity at an attained finite optimum, a regularity hypothesis suffices: Slater's condition requires some with and . The projection example has the strictly feasible point . See Boyd and Vandenberghe, §§5.2.3 and 5.5.3. This hypothesis guarantees suitable multipliers, not existence of a primal minimizer.
Without regularity, necessity can fail even for convex functions: minimize subject to . The sole feasible point is optimal, but stationarity would require . No Lagrange multiplier works. There is no strictly feasible point, and the gradient of the constraint vanishes at the answer.
The nonconvex contrast. The polynomial has derivative and second derivative . Numerically solving the cubic gives stationary points , , and . Their objective values are respectively , , and , with second derivatives , , and . Hence both outer points are local minima, and the middle point is a local maximum. Since at both ends, its global minimum exists and must be one of the stationary minima: it is the left one. A method stopping at the right local minimum misses a better value by approximately .
A strictly convex quadratic has one minimum; a tilted quartic has two local minima with different values
. Details. The practical appeal of convex optimization is the ability to check an answer globally using geometry and matching Lagrangian duality bounds. The projection certificate certifies every feasible alternative at once; the tilted quartic shows why a zero gradient alone cannot do that for general nonlinear optimization.
Historically, an early landmark is Kuhn and Tucker's [ref]
https://digicoll.lib.berkeley.edu/record/112776/files/math_s2_article-35.pdf. Nonlinear Programming, Second Berkeley Symposium (1951), pp. 481–492
. Its §3 explicitly states a regularity hypothesis for inequality-constrained Lagrange multipliers; its discussion of saddle points explains how concave functions support global conclusions for maximization. This documents an early formulation of the multiplier approach; it does not establish sole discovery of today's KKT conditions or of convex optimization as a whole. Critical angle for total internal reflection Created 2026-09-29 Updated 2026-10-25
For refractive indices , the critical angle for total internal reflection satisfies . Above it, the transmitted normal wavenumber is imaginary and the transmitted field is an evanescent wave.
The critical angle for total internal reflection is the boundary between outgoing refraction and an evanescent wave, rather than an angle at which the external electric field abruptly disappears. Write and . At the threshold, Snell law for electromagnetic waves has , henceHere inverse sine selects . For and , and . The threshold is independent of polarization of an electromagnetic wave under the stated assumptions.
A short proof using phase matching at a planar wave interface reveals all three cases at once. Choose a Cartesian coordinate system with boundary , incident medium , and transmitted medium . With vacuum wavenumber , the shared tangential wavevector component is . The dispersion relation in medium two givesBelow , choose the positive real square root for an outgoing plane electromagnetic wave. At , : there is a grazing wave, with zero normal average power but no exponential confinement in . Above , choose with , so the wave amplitude decays into the second half-space.
If , no nongrazing angle of incidence produces this threshold. As from below, ; as that ratio tends to zero, . These limits explain why a larger refractive index contrast permits confinement over a wider range of internal angles.
The evanescent field in total internal reflection oscillates and advances in wave phase along the boundary while its wave amplitude decays away from it. With the coordinates above and time dependence , a TE polarization has complex amplitudeThe physical electric field is . The decaying sign excludes a field that grows without bound at . Dielectric-interface boundary conditions determine ; for nongrazing incidence it is generally nonzero.[ref]
Interactive Optics by Sander Konijnenberg, Aurèle J.L. Adam and H. Paul Urbach. Total Internal Reflection and Evanescent Waves, equations (154)–(158), decaying sign and parallel energy flow
Zero normal energy flux follows directly from Maxwell equations. The wavevector is ; the relation givesConsequently, the cycle-averaged Poynting vector isThe electric field and are a quarter-cycle apart, so their product has zero cycle average. Tangential energy flux survives. This is a local calculation for the single decaying evanescent wave in the infinite second half-space.
To check reflected power independently, put . The existing transverse-electric Fresnel reflection coefficient becomes . Its numerator and denominator are complex conjugates, so , while supplies the surface electric field relative to the incident wave amplitude. Thus a unit optical reflectance does not require a zero transmitted field. The same normal power balance holds for TM polarization; its reflected wave phase generally differs from the TE polarization phase. A mixture can therefore change its polarization of an electromagnetic wave on reflection even though all normal incident power returns.
Farkas certificate for linear inequalities Created 2026-10-07 Updated 2026-10-14
Let and . For unrestricted , the system of linear inequalities has no feasible point if and only if there is a vector withThe entries are nonnegative Lagrange multipliers for the rows. Multiplying inequalities by them preserves their direction; the condition cancels every variable, leaving the contradictionThis is a Farkas' lemma alternative for non-strict inequalities; no strict-feasibility assumption is needed. See Boyd and Vandenberghe, Convex Optimization (2004), §5.8.3, pp. 261–262.
Three individually possible requirements, jointly impossible. Suppose two unrestricted real coordinates , drawn as in the diagram, must satisfyWrite every row in the same direction:Then and . The nonnegative weighted sum, with Lagrange multipliers , is visiblyEach individual requirement defines a half-space in the plane. Even every pair has a feasible point: satisfies the first two, the first and third, and the second and third. Their common intersection is empty, because the first two force , while the third demands at most .
Why cancellation is necessary for unrestricted variables. A nonzero linear functional can be made arbitrarily positive or negative by varying unrestricted , so alone would not yield a contradiction. Equality is essential here. If is also imposed, the sufficient certificate becomes , , , because then . This is the sign convention used in robust infeasibility under uniform constraint relaxation. One can instead append the rows and use the equality certificate on the enlarged system. Reversing all constraints to reverses the scalar sign to , as in the normalized integer Farkas infeasibility gap.
Checking a solver's infeasibility claim. A returned Farkas certificate for linear inequalities gives a short verification procedure: compute and , and check the three displayed conditions against the original constraints. Any positive multiple is another certificate; division by normalizes to . With rational numbers as data and certificate, the tests can be exact. With floating-point arithmetic, a small residual is a diagnostic rather than an exact cancellation: unrestricted can amplify a nonzero residual without bound. A rigorous certificate therefore needs exact cancellation or justified error bounds and additional bounds on the variables. The strict negative scalar is the margin of contradiction.
The same weighted sums give dual bounds. For the linear program maximizing over unrestricted with , any satisfying givesfor every feasible point. Minimizing over these multipliers is the dual linear program; the bound itself is weak duality. For example, maximize subject to , , . The multipliers give the upper bound , attained at . The infeasibility example above uses the same row directions, but lower bounds of on both coordinates. Its multipliers cancel the objective function as well as the variables: with would bound zero by a negative number. Thus impossibility and linear programming optimality certificates use the same arithmetic. See Boyd and Vandenberghe, Convex Optimization slides, §§5.32–5.35 for infeasibility as a dual alternative.
Why every inconsistent system has such a certificate. Introduce a slack variable vector and write . Split the unrestricted vector as with . Applying Farkas' lemma to the column matrix gives , , and . The first two conditions together are exactly . This reduction explains both the equality and the nonnegative row multipliers.
Finite-thickness Meissner screening 2026-10-14
To isolate finite size from quantum vortex penetration, keep the same weak-field London equations but replace the half-space by an infinite slab . Put equal tangential magnetic fields at its two faces. With now at the slab center, the even solution and its signed current density areThe hyperbolic cosine profile has equal boundary values, while the electric currents on the two sides have opposite signs. In particular,For the stipulated thickness , the center retains about and the mean is about , even though this is a Meissner state. For , the center magnetic field is exponentially small and the mean is about , reflecting the two surface layers. For , the mean tends to : little screening is possible across such a short distance. These are analytic model examples, not material measurements. Real finite objects also need their demagnetizing field and edge geometry accounted for; the slab calculation only isolates the effect of thickness.
Frustrated total internal reflection 2026-10-18
Frustrated total internal reflection occurs when a nearby second high-index dielectric couples to the evanescent field in total internal reflection, allowing power to cross a finite low-index gap. The extra boundary changes the dielectric-interface boundary conditions; the gap field need not be a single decaying evanescent wave. Consequently, the zero normal Poynting vector calculation for two infinite half-spaces does not forbid transmission in this three-medium geometry.
Harvard’s actual demonstration uses two right-angle glass prisms, a helium-neon laser, a small clamp and two perpendicular screens as detectors. The contact faces are cleaned and placed opposite each other, with the clamp protecting the corners. Increasing pressure narrows the intervening air film; the observed beam routing changes gradually from total internal reflection toward onward transmission. The broad-gap reflecting configuration supplies the comparison for the narrow-gap transmitting configuration. This is a qualitative readout: the page explicitly says the gap is not measured.[ref]
Frustrated Total Internal Reflection by Harvard Natural Sciences Lecture Demonstrations. How it works and Setting it up: two prisms, HeNe laser, perpendicular screens, pressure adjustment and unmeasured gap
The inference is that the lower-index region can mediate electromagnetic energy transfer when another boundary is nearby. The demonstration does not determine a numerical evanescent penetration depth, resolve gap uniformity, or establish a three-layer transmission coefficient. For the constructed example, identifies the scale over which the isolated-interface field remains appreciable; substituting for a gap transmission fraction would omit the changed boundary fields and their interference. A quantitative gap calculation must solve the full Maxwell equations with both boundaries.
Half-plane 2026-10-25
A half-plane is a half-space in a two-dimensional Euclidean space, consisting of points on one side of a line. For distinct centroids, each of the two Voronoi cells defined by their Euclidean distances is a closed half-plane bounded by their perpendicular bisector, with an explicit convention needed to assign boundary ties.
Half-space Created 2026-10-06 Updated 2026-10-07
A closed half-space consists of a hyperplane and one of its two sides in a real affine space. Replacing the weak inequality by a strict inequality gives an open half-space. Half-spaces are convex sets, and finite intersections of closed half-spaces are linear polyhedra.
Linear inequality Created 2026-10-14 Updated 2026-10-24
A linear inequality compares a linear functional of a vector of unknowns with a constant, for example or over the real numbers. For , its solution set is a closed or open half-space, respectively. The inequality allows all points on one side of the line , including the line. Multiplication by a negative real number reverses the inequality, so is equivalently .
Linear optimization on a convex hull Created 2026-10-18 Updated 2026-10-20
A linear functional cannot exceed its best original value by mixing. For a finite nonempty set and in its convex hull,Every original point is itself in the convex hull, so equality between the two maxima follows. Moreover, a mixture attains the maximum exactly when all its positive weights are assigned to maximizing original points. Multiple maximizers can therefore produce a whole line segment or a higher-dimensional region of equally good choices.
For the eight samples above, use the linear functional . Its largest sample value is , and is the only maximizing sample. Thus the unique maximum over the whole convex polygon is also at . The line is a supporting line: every point of the convex hull lies in the half-space , and touches its boundary.
The point passes the coordinate-wise bounds , , but . This single inequality certifies that is outside the convex hull. A weighted mixture could not have a larger linear functional value than all its ingredients.
This explains a basic feature of linear programming: searching all mixtures of finitely many candidate vectors cannot improve the objective beyond the best candidate, though mixing equally good candidates can give more optimal choices. The conclusion depends on linearity. For the concave function , the new point instead attains zero, strictly above its value at every original sample. A nonlinear objective can favor a mixture.
Linear separability 2026-10-20
Two subsets of a Euclidean space are weakly linearly separable when a hyperplane with nonzero normal vector places them in opposite closed half-spaces. Points on the separating hyperplane may belong to either subset. Strict separation instead requires strictly opposite signs, excluding all boundary ties.
Nearest-centroid decision hyperplane Created 2026-10-20 Updated 2026-10-25
For two distinct centroids in a Euclidean space, equal squared Euclidean distances expand to the displayed affine hyperplane. It is their perpendicular bisector; each closed half-space consists of points at least as close to the centroid on that side. This proves weak linear separability after a two-centroid nearest-assignment step, allowing ties on the boundary. Coincident centroids are an essential exception: every point ties and the distance comparison supplies no nonzero normal vector.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 37 2 Solution Created 2026-10-03 Updated 2026-10-14
A linear polyhedron is full-dimensional if its affine hull is . For a convex set, this is equivalent to containing an open Euclidean ball: an open ball has full affine span, while affinely independent points in the set span a simplex with nonempty interior. In particular, a nonempty linear polyhedron need not be full-dimensional; a singleton or a hyperplane is an example.
Assume , increasing the coefficient bound to one if necessary. If and denotes the th row, then . For and , the Cauchy-Schwarz inequality givesThus with , proving that is a full-dimensional linear polyhedron. This part works for every positive ; the particular small value also ensures that relaxation cannot create feasibility when is empty.
Here is that exact-feasibility point. Put . If is empty, a Farkas certificate for linear inequalities gives with and . Normalize , and maximize over the compact linear polyhedronChoose a maximizing extreme point. Its positive support has size : a dependence among its supported columns would permit small perturbations of both signs in , contradicting extremality. Select independent equations for those coordinates. Cramer's rule expresses them over a common nonzero integer determinant , with . Since is integer and , its numerator is a positive integer after choosing a positive denominator. Hence . This is the normalized integer Farkas infeasibility gap. A point in would implya contradiction. Consequently if and only if .
The ellipsoid method takes the integer matrix , vector , dimension , and a bound (or their binary encodings). It computes the prescribed , an inner radius , and an outer radius whose logarithms have polynomial size. For an explicit outer bound, let . A nonempty has a rational feasibility certificate for integer inequalities with . To see this bound, intersect with an orthant containing a feasible point. This intersection is a nonempty linear polyhedron containing no whole nontrivial affine line, and it has an extreme point. Indeed, if its active rows do not yet span the ambient space, move along a nonzero direction annihilating them. The orthant prevents motion in both directions from being feasible forever, so in at least one direction a new independent row becomes active. Repeating at most times produces an extreme point. At that point choose independent active constraints, including coordinate constraints where needed. Cramer's rule and the Hadamard determinant inequality bound the numerators by , while a nonzero integer denominator has absolute value at least one. Thus the point has norm at most . Choosing ensures that, whenever is nonempty, an entire radius- Euclidean ball in lies inside .
Start with the ellipsoid and retain . At each iteration test the centre against every relaxed inequality. If it passes all tests, is nonempty and hence so is . Otherwise a violated row gives the separation oracle: the feasible set lies in . Cut the current ellipsoid by this half-space through its centre and replace it by the standard containing ellipsoid. Every step retains and, for , reduces Lebesgue measure by a factor at most . In dimension one the corresponding step bisects an interval.
If more than cuts occur without finding a feasible centre, the Lebesgue measure is smaller than that of a radius- ball. This contradicts the retained ball whenever is nonempty, so the algorithm can declare empty. Both and are polynomial in and , and each inequality test uses arithmetic operations for rows. The bit implementation uses rational rounding with outward enlargement of the containing ellipsoids; the encoding bounds allow polynomial precision while keeping a constant fraction of the volume decrease. Detailed update and rounding formulae are not needed for this account. The essential role of the full-dimensional relaxation of integer inequalities is to supply a positive inner-volume bound without changing the emptiness decision; applying a Lebesgue measure stopping test directly to a lower-dimensional would fail.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 79 1 Solution Created 2026-10-03 Updated 2026-10-14
Choose depth positive downwards and harmonic time dependence . At normal incidence, P waves and the two polarizations of S waves are independent scalar problems: a P wave uses the longitudinal modulus , and an S wave uses the shear modulus . In a uniform layer with wave speed and seismic impedance , write velocity and compressive traction asAt a perfectly bonded interface the velocity and traction are continuous. For incident velocity wave amplitude one from medium 1 into medium 2, these two conditions are and . ThusReflection is determined by seismic impedance, not by speed alone. A step to larger seismic impedance reverses the reflected velocity/displacement field waveform; the pressure reflection coefficient has the opposite sign. Its transmitted pressure coefficient is . Equal seismic impedance eliminates the reflection even when speed and wavelength change. At a free surface traction vanishes and velocity reflects with coefficient ; at a rigid surface velocity reflects with coefficient .
The mean elastic-wave energy flux is for positive real . Therefore the reflected and transmitted energy fractions areA displacement field transmission coefficient greater than one is compatible with conservation of energy; its flux must be weighted by the receiving seismic impedance.
For many layers, use the seismic layer transfer matrix. A layer of thickness has wave phase thickness andThis follows either by eliminating between the two faces or by integrating and . For the complete stack put . With upper and lower half-space impedances , an outgoing lower wave satisfies . Solving this condition gives the input seismic impedanceHere is lower-face velocity divided by upper-face incident velocity, including the propagation wave phase. For lossless layers and real frequency, . This supplies a sensitive check on any spreadsheet or numerical implementation; it is not correct simply to multiply the individual interface transmissions and discard the elastic waves.
The physical reason is repeated wave interference. In one layer between media 0 and 2, let denote the velocity coefficients above and . The first transmitted wave has wave amplitude . Every extra round trip supplies . Summing the geometric series givesIn the time domain the successive arrivals are delayed by , producing reverberation. In the frequency domain the same delayed terms produce resonant maxima and minima. For a layer between identical half-spaces of impedance ,At the layer transmits all the incident energy: the internally elastic waves cancel the direct reflection. Halfway between these resonances, a large impedance contrast gives strong reflection. For unequal exterior impedances, a quarter-wave layer with transforms its lower load to , again giving zero reflection at its design frequency. This matching is narrow-band.
Periodic alternation produces a periodic seismic multilayer stop band. For a cell of two layers with total thickness , the cell matrix has reciprocal eigenvalues , soWhen the absolute value of this expression exceeds one, the infinite periodic medium has no propagating cell mode; a long finite stack has exponentially small transmission. The energy is reflected, not absorbed. Pass bands instead contain oscillatory transmission peaks, becoming more numerous as the stack length increases. Disorder removes the exact cell periodicity but not multiple scattering or frequency-selective interference.
For a concrete reproducible investigation, take , equal one-way travel times in both layer types, exterior impedance , and frequency coordinate . At each layer is a quarter wavelength; one cell has diagonal matrix entries . For cells,It is about for one cell, for four cells and for eight cells. The infinite-cell stop band is . The accompanying calculation also shows the first transmitted arrivals for a single high-impedance slab: their wave amplitudes are at times . Their sum is one, consistent with unit zero-frequency transmission. These calculations illustrate both the spectrum and the pulse train without assuming access to the course's spreadsheet.
Original transfer-matrix calculations showing a periodic stack stop band and the transmitted reverberation train of one slab
. Details. Finally, as for a fixed finite stack, every , so the response approaches that of a direct interface between the exterior half-spaces. Equal exterior impedances give . For wavelengths much longer than a repeating cell, expansion of to first order instead gives an effective medium with averaged mass density and harmonic-mean modulus , where . Its speed is , not generally the arithmetic mean of the layer speeds. Attenuation makes the energy balance an inequality, while for a fixed oblique horizontal slowness the scalar SH calculation uses and . Oblique P-SV waves require coupled displacement field and traction matrices because of mode conversion at a planar elastic interface. Thick evanescent layers require scattering or impedance recursion rather than exponentially ill-conditioned transfer-matrix products.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 79 3 v Solution Created 2026-10-03 Updated 2026-10-14
In the lower uniform half-space the causal vertical wavenumber branch has . The downward factor decays as , whereas the upward factor grows there and represents an incoming wave from the lower infinity. The outgoing radiation condition therefore retains only the downward factor and givesFor each uniform layer of thickness , work upwards from its known bottom load . With and , part (iv) givesvelocity and traction are continuous across a bonded interface, so this top impedance becomes the bottom load of the next shallower layer. Repeat up to to obtain . Poles can be handled by carrying or the reciprocal ratio. Since the lower load has positive real part, part (iii) actually ensures that the outgoing whole-stack impedance stays finite with positive real part at all shallower depths in the upper frequency half-plane.
The upper half-space has directional impedance . At , an incident velocity and reflected velocity giveTaking their ratio and solving establishes reflection from a layered SH impedance:Thus no individual deeper reflection coefficients are needed after is known: it contains all underlying interfaces and their coherent multiples. A matched load gives ; the real-frequency limits of zero traction and zero velocity give and . For real frequency and propagating upper and lower half-space waves, the usual energy-flux balance provides a further check on the computed reflection and transmission. A stable implementation for thick layers uses the ratio update or its decaying-exponential version instead of multiplying growing transfer matrices.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 66 4 b Solution Created 2026-10-03 Updated 2026-10-14
Orient the plane relative to the eye. For its affine function , assume and put . The desired closed half-space is . If the eye is on the plane, the notion of its side is undefined and a side convention must be supplied.
Apply recursive half-space clipping of a subdivision curve to each initial curve piece. Obtain a certified bounding volume , and calculate , . For a control-point convex hull, these extrema occur at its vertices, so this test is inexpensive. If , discard the piece. If , retain the whole piece and draw its chord only when its certified flatness is within the screen-space tolerance; otherwise subdivide and draw the children in parameter order. If , subdivide and repeat the classification.
At a sufficiently flat and sufficiently short terminal piece, clip the approximating chord from to against . If both endpoints are nonnegative retain the chord; if both are negative discard the chord; for opposite signs split it atRetain the portion with nonnegative . Handle an endpoint exactly on the plane without dividing by zero, and retain a coplanar chord under the closed-half-space convention. The recursion yields an ordered polyline rather than connecting endpoints of disconnected retained pieces.
Crucially, do not reject an unresolved whole curve merely because its endpoints have negative signs: it can cross the plane twice and have a visible interior excursion. The preceding terminal chord rule is a rendering approximation at an explicitly chosen spatial tolerance. A flatness bound and a diameter bound make any missed leaf-sized excursion spatially small; they do not prove exact crossing topology, especially for a near-tangent contact or an unfavorable projection. Use the actual viewing projection to enforce a screen-space tolerance, with special handling near a perspective singularity.
If exact clipping intervals are required for a spline representation, isolate all roots of , split at them and classify each intervening interval. Bernstein basis coefficient bounds, derivative bounds and recursive subdivision can isolate roots on polynomial spans, including even-multiplicity tangencies. Treat identically coplanar spans separately. For a general subdivision curve, keep unresolved straddling pieces flagged or refine to the chosen tolerance instead of claiming that a finite endpoint-sign test is exact. Certified half-space rejection combined with adaptive subdivision is the recursive drawing algorithm; exact boundary topology needs additional root isolation.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 40 3 Solution Created 2026-10-03 Updated 2026-10-14
If the center violates a constraint, choose a row with . Under the assumption of nonempty , this row cannot have . Every satisfies . Thus the central half-spacecontains , and the given outer bound yields . Checking the rows of therefore supplies a separation oracle. If a violated row has zero normal, it instead certifies that is empty.
Whiten the ellipsoid by and rotate the cut normal to . The normalized current ellipsoid is the unit ball centered at zero. In the stated covering ellipsoid, for , the shape matrix has eigenvalue in the direction and in each of the other directions. The center does not affect volume, soUsing for and for givesThereforeThis is the central-cut ellipsoid volume bound. Affine transformations preserve the ratio. The displayed matrix formula is undefined when ; in that case interval bisection gives the stronger ratio .
Undoing the normalization gives the general central-cut updateIt preserves containment of the feasible region while reducing volume geometrically. After cuts the volume is less than . If a feasible region has a known positive-volume lower bound , more than unsuccessful cuts would be impossible. For rational inputs, outer-radius and positive-volume bounds of exponential size in a polynomial of the bit length therefore translate into a polynomial iteration count.
For a full ellipsoid method proof, two qualifications matter. A nonempty rational polyhedron may be lower-dimensional and have zero volume, so shrinking below a volume threshold alone cannot certify its emptiness. One uses a bounded-feasibility reduction and a sufficiently small rational relaxation or an affine-hull treatment, with input-dependent rational separation bounds. Also ellipsoid updates involve square roots, so a bit-complexity proof rounds with controlled outward error to preserve containment and a fixed volume decrease. With these precision bounds, and the polynomial-time row separation oracle here, the method establishes polynomial-time linear programming. The volume calculation is its essential geometric step, not by itself the entire complexity proof.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 37 5 d Solution Created 2026-10-03 Updated 2026-10-06
True, with the usual normalization . For a convex cooperative game, the supermodular inequality implies increasing marginal contributions: if and , apply it to and to obtainFix an ordering and let be the set of players before . Its marginal contribution vector is . Summing in order telescopes to . For any coalition , , so increasing marginals giveThese are exactly the efficiency and coalition constraints of the core of a cooperative game. Thus every marginal contribution vector is in the core. The core is a convex set, being an intersection of linear half-spaces and an efficiency hyperplane. The Shapley value is the average of the marginal contribution vectors over all orderings, so it too lies in the core. This proves Shapley value belongs to the core of a convex game, without needing a separate existence theorem for the core.




