Affine combination Created 2026-10-14 Updated 2026-10-14
An affine combination is a weighted point with . The coefficients can be negative. The sum is meaningful in an affine space without selecting a preferred origin: relative to any point , it means . Affine maps preserve these weighted points. [ref]
For an original example in the Euclidean plane, take , and . Then lies inside their triangle. Its coefficients are nonnegative, making it a convex combination. In contrast, is beyond : it is an affine combination but not a convex combination of these three points. Negative weights allow extrapolation, rather than only interpolation inside the convex hull.
For the affine map , the same weights produce from , and produce from . Thus one can compute a weighted point before transforming the vertices or afterwards, obtaining exactly the same point.
This is useful whenever an object is built from weighted control points: its construction commutes with an affine map, so transforming the control points transforms the constructed object as well. The sum of the weights is the essential condition; no assumption about lengths or angles is needed.
Affine map Created 2026-10-07 Updated 2026-10-14
An affine map combines a linear map with a translation. After choosing coordinate origins, it has the form , , where the matrix is its linear part of an affine map and is a fixed vector. Equivalently, it preserves every affine combination. [ref]
Curves and Surfaces in Geometric Modeling: Theory and Algorithms by Jean Gallier. §2.7, Definition 2.7.1 and linear-map construction, pp. 37–38
An original planar example isIt stretches horizontally, applies a shear mapping, and then translates. The vertices , and become , and . A square grid becomes a grid of parallelograms; straight edges and their weighted points still fit together.
This map is not a linear map with respect to the displayed origins, because rather than zero. It also is not a Euclidean similarity: has length and has length , while the right angle at becomes . Its determinant is , so it doubles planar area. These metric changes explain why affine geometry studies straightness, incidence and weighted points rather than treating every transformation as an isometry.
The linear part is an invertible matrix, giving the concise inverse . More generally an affine map is bijective exactly when its linear part of an affine map is bijective. Between equal finite-dimensional spaces, this means an invertible matrix; the translation cannot repair a loss of rank of a linear map.
Control-point influence on a curve 2026-10-14
For a parametric curve represented by fixed scalar functions and control points in Euclidean space, writeThe influence function of this handle is : the resulting displacement vector is , and its norm is . These are exact finite changes, not only a first-order estimate. Where is negative the displacement points opposite to . Where , the curve is unchanged at that parameter.
The influence coefficient 3t(1-t)^2 equals the vertical displacement for a unit upward move of P1, reaches 4/9 at t=1/3, and vanishes at both endpoints
. Details. For the cubic Bézier curve above, the Bernstein basis influence function is . Its derivative isIt increases up to and decreases thereafter on . Consequently the largest displacement at corresponding parameters isFor it is . This is a comparison at the same parameter. A geometric closest-distance comparison, as in a closest-point search on a subdivision curve, instead minimizes over another parameter:The closest parameter can differ from , so is not automatically a maximum closest-distance separation of the two curves. Neither parameter is assumed to be arc length.
The support of a function is the closure of the parameter values where . It bounds where a nonzero handle move can act, but may include boundary points where the actual displacement is zero. Here the support of a function is all of relative to the parameter domain, while the endpoints are unaffected. In contrast, a B-spline of order has support within in its spline knot sequence, so its handle affects only that parameter range; the support and Gram bandwidth of B-splines describes the same locality in another application. Changing the spline knots or the basis along with the handle requires a different comparison.
When the basis functions form a partition of unity, , each evaluation is an affine combination of the control points. Applying an affine map to all handles givesThis is affine equivariance of a geometric basis, also called affine covariance: affine maps preserve affine combinations. In particular, translating every handle by translates the whole curve by , whereas moving just one handle produces . The Bernstein basis has this partition of unity property.[ref]
Curves and Surfaces in Geometric Modeling: Theory and Algorithms by Jean Gallier. §4.3, pp. 132–133: Bernstein weights sum to one
Nonnegative weights further make evaluations convex combinations, giving the convex hull bound illustrated by the control polygon; nonnegativity is not needed for affine covariance.For a proof outline of the influence formula, subtract the two basis representations: every unchanged coefficient cancels, leaving . The same subtraction with several moved handles gives . No claim about interpolation, closest-point search on a subdivision curve or endpoint motion follows until the actual basis values are examined.
Extrapolation 2026-10-14
Estimating values beyond the range of the supplied sample points. For two distinct points , the affine combination lies beyond an endpoint of their line segment when or . The construction specifies an extension of the chosen model; it does not show that an unknown underlying function follows that extension.
Jensen's inequality 2026-10-14
Jensen's inequality says that applying a convex function to a weighted mean cannot exceed the same weighted mean of its outputs. For nonnegative weights with and inputs in a convex set,Nonnegative weights are essential: this is a convex combination, rather than an arbitrary affine combination. For two inputs it is precisely the defining inequality for a convex function; repeatedly grouping inputs gives the finite weighted version.
Take , weights and , and inputs and . Their weighted mean is , so the two sides areThe Jensen gap is . The inequality measures the effect of replacing distinct inputs by one representative input before applying a nonlinear function.
The probabilistic form uses an integrable random variable taking values in an interval where is a convex function. If is also an integrable random variable and belongs to that interval, thenThe direction reverses for a concave function. For a strictly convex function, equality in the finite weighted form requires all inputs having positive weight to be equal; in the probabilistic form it requires to be constant almost surely. An affine function gives equality for any admissible distribution. [ref]
https://stanford.edu/~boyd/cvxbook/bv_cvxslides.pdf. Boyd and Vandenberghe's slides, section 3.14, state the expectation form
.For the quadratic function and a random variable with a finite second moment, the difference between the two sides is exactly its variance:Consider two equally likely values and . Their expected value stays at as increases, but their variance is . Thus the expected value of the square grows from to . For the exponential function, the same two-point distribution gives , while . Both are examples of Jensen's inequality, but their Jensen gaps depend differently on the spread of the inputs.
Another useful choice is the concave function on positive inputs. Its version of Jensen's inequality gives . Applying the increasing exponential function shows that the weighted geometric mean cannot exceed the weighted arithmetic mean. For the equally weighted inputs and , these are and . This recovers the arithmetic-geometric mean inequality and illustrates how choosing one function can generate an entire family of bounds.
A short proof idea explains the probabilistic form. If has a subgradient at , the supporting affine function gives . Taking the expected value cancels the linear term because . This argument applies, for example, to finite convex functions on ; more general domains of a function need attention to endpoints and the existence of a subgradient.
Johan Jensen's 1906 paper “Sur les fonctions convexes et les inégalités entre les valeurs moyennes” is an early source for the connection between convex functions and inequalities for means. [ref]
https://zenodo.org/records/2371297. Jensen's original article and publication record, DOI 10.1007/BF02418571
. Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 56 2 Solution Created 2026-10-03 Updated 2026-10-14
An invertible matrix , modulo scalar multiples, acts linearly on homogeneous coordinates. In an affine chart its projective transformation has the formwhere the denominator must be nonzero for a finite image. The important nested groups are Euclidean motions, Euclidean similarities, invertible affine maps, and general projective transformations. Their defining preserved structures become progressively weaker.
A Euclidean motion has with . It preserves all distances and angles, hence lengths, areas and volumes. Proper motions have and preserve orientation as well; allowing reflections preserves unsigned measurements but can reverse signed ones. A Euclidean similarity has with . It preserves angles and all ratios of lengths; lengths, areas and volumes scale by . Thus rigid shape is preserved up to one overall scale.
An invertible affine map has and preserves the plane at infinity. It preserves incidence, parallelism, collinear ratios, affine combinations, and ratios of volumes. Absolute volume scales by ; the volume-preserving affine subgroup has . Lengths and angles are not affine invariants. A general projective transformation preserves incidence, collinearity, concurrence, tangency, and the cross-ratio of four collinear points, but can move the plane at infinity. The cross-ratio, rather than a three-point affine ratio, survives arbitrary projective changes. For a homogeneous quadric hypersurface , its transformed matrix is , so its rank and projective degeneracy are preserved.
| Transformation class | Sphere | Circular cylinder | Finite-apex general conical surface | Elliptic paraboloid or hyperbolic paraboloid |
|---|---|---|---|---|
| Euclidean motion | Yes | Yes | Yes | Yes |
| Euclidean similarity | Yes, with scaled radius | Yes, with scaled radius | Yes | Yes, with changed scale |
| Invertible affine map | Not generally: an ellipsoid | Not generally: an elliptic cylinder | Yes | Yes, preserving the elliptic/hyperbolic type |
| General projective transformation | Not generally | Not generally | Concurrence survives, but the apex can move to infinity | Not generally |
For example, the affine stretch changes a unit sphere to and a unit circular cylinder to . A general conical surface written transforms affinely into , so every generator still passes through a finite apex. A nonsingular elliptic paraboloid or hyperbolic paraboloid has quadratic part of rank two and a nonzero linear component in its null direction. An invertible affine map preserves that rank, inertia and nonzero null-direction coupling, so translation and linear coordinate changes again put it in elliptic or hyperbolic paraboloid form.
Under a genuinely projective change, these Euclidean classifications depend on which plane is designated as infinity. For the map , a circular cylinder becomesa cone whose apex is finite. The inverse map sends that apex to infinity and produces the cylinder. Thus a cone is projectively invariant as a family of concurrent generators if an ideal apex is allowed, but finite-apex cones and cylinders are not separately invariant. Likewise a projective image of a sphere or either type of paraboloid remains a nonsingular quadric hypersurface, but need not retain its affine or metric type. The distinction between general cones and circular cones matters: circularity is a metric property and is not preserved by arbitrary affine changes.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 43 4 Solution 2026-10-14
A credibility estimate combines a risk's observed experience with collective or prior information, typically as . The credibility factor is the weight assigned to the individual experience: more reliable or more extensive data generally increases it. Bayesian credibility treats the risk parameter as random with a prior distribution and predicts future claims by averaging the conditional claim mean under its posterior distribution. Under squared-error loss this posterior predictive mean is optimal. It need not be an affine combination in every Bayesian model; the Poisson-gamma conjugacy calculation below yields that credibility form exactly, rather than as a best-linear approximation.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 66 6 b Solution Created 2026-10-03 Updated 2026-10-14
Use degree elevation of Bernstein coefficients. If are degree- Bézier curve controls, the identical curve has degree- controlsThis follows by multiplying each degree- Bernstein basis polynomial by and collecting the degree- terms, so the operation changes the representation, not the curve.
For the quadratic controls in part (a), the cubic controls areRaise these cubic Bézier curve controls once more. ThenThus the requested quartic Bézier curve controls, expressed in the original polygon, areEach expression is an affine combination whose coefficients sum to one. Endpoint positions and derivatives are preserved at each degree-raising step, as is every point of the span.
Symmetry depends on preserved structure 2026-10-14
Take the four-point setthe vertices of a polygon of a rectangle whose side lengths are four and two. Three choices of structure give three different symmetry groups on these same points.
As an unstructured set, has all permutations as symmetries, forming the symmetric group . If Euclidean distance is part of the data, the allowed maps are only the identity, a half-turn rotation, and the reflections across the two coordinate axes. They form a Klein four-group of group order four. To see that nothing is missing, fix the image of one vertex of a polygon: its three other distances, , , and , are distinct, so they uniquely determine the images of the remaining vertices.
Preserving affine structure permits more. The affine mapcycles all four points of . It sends a horizontal side of length four to a vertical side of length two, so it is not an isometry. Yet it preserves the rectangle's vertex set and all affine combinations among those points.
Let and let be the square's quarter-turn rotation. ThenConjugating every square symmetry by gives eight affine maps preserving . This group isomorphism makes the affine symmetry group a dihedral group, although some of its maps do not preserve the original Euclidean distances. There are no further affine symmetries: an affine map preserves the common midpoint of the diagonals, so it must preserve opposite pairs. The image of one vertex has four choices and the image of an adjacent vertex has two; those choices determine the map through three noncollinear points.
ThusAn arbitrary permutation need not be an affine map. For example, exchanging the two top vertices while fixing the two bottom vertices sends the common diagonal midpoint to two different points, which no single affine map can do. The phrase "the symmetry of these points" becomes unambiguous only after stating which structure matters.




