Bernstein polynomial Created 2026-09-24 Updated 2026-10-14
For a function and an integer , its Bernstein polynomial is
The Bernstein basis supplies nonnegative weights whose sum is one. Equivalently, the weights are the probabilities of a binomial distribution, and the result is an expected value. At a given , this averages the sampled values with weights concentrated near .[ref]
The endpoints are exact: and . Interior sampled points need not be interpolated. For example, binomial distribution moments give and . Thus every affine function is reproduced exactly, whereas is generally changed. Bernstein polynomial degree preservation is a statement about degree of a polynomial, not equality of the entire polynomial.
For a continuous , the uniform continuity of and the variance explain uniform convergence. Split the expected value of the error into , where uniform continuity makes the change small, and its complement, whose probability is at most by Chebyshev's inequality. The bounded function bounds the remaining error. This proves convergence without assuming differentiability.
For , the tensor-product Bernstein polynomial is the expected value of for independent random variables . The same uniform continuity and coordinatewise variance estimates give uniform convergence for each fixed finite .
Chromatic polynomial Created 2026-09-24 Updated 2026-10-14
The chromatic polynomial turns a graph coloring problem into a counting problem: how many choices remain when adjacent vertices must have different colours? For a finite simple graph and a positive integer , is the number of proper vertex colorings using a fixed, distinguished palette of colours. A colouring need not use every available colour, and exchanging two palette colours generally gives a different colouring. Although is a polynomial, its values at arbitrary noninteger arguments are not counts of colourings.
Consider the three-vertex path graph ----. Choose in ways, then in ways, then in ways: and may agree because they are not adjacent. The multiplication principle gives
Adding the edge makes the three-vertex complete graph . Now must avoid both preceding colours, so
With three available colours, the path graph has 12 colourings, whereas the triangle has 6. With two colours the counts are and : the extra constraint makes the triangle impossible to colour.
Figure 1.
All twelve proper colourings of a three-vertex path using a three-colour palette
. Details.
For a nonempty graph, the chromatic number records only the first positive integer for which . The chromatic polynomial also counts the choices for every larger palette. For the path the chromatic number is , and for the triangle it is . Counting assignments also gives a useful interpretation for scheduling: if adjacent vertices represent tasks that must use different slots, the chromatic polynomial counts the valid assignments to named slots. Adding a conflict edge can only remove assignments.
The chromatic polynomial also remembers some of the graph's structure. For a simple graph with vertices and edges, its leading terms are ; its degree of a polynomial gives the number of vertices, and its next coefficient gives the number of edges. It does not determine the graph completely. A four-vertex path graph and a four-vertex star graph are not related by a graph isomorphism, but both are trees and have chromatic polynomial .
The early connection to map colouring appears in George D. Birkhoff's article [ref]. For a derivation of the counting recurrence and its leading coefficients, see Paul Johnson's MAS 341 lecture on chromatic polynomials.
The scalar multiplying a specified monomial in a polynomial. Relative to the powers , the polynomial coefficients are unique. Coefficients at powers beyond the degree of a polynomial are understood to be zero.
Cubic equation 2026-10-05
A cubic equation is a polynomial equation of degree of a polynomial three, , with . Its three complex roots of a polynomial, counted with multiplicity of a root, need not all have physical significance in an application; a model often selects a branch by continuity from a known limit.
For two polynomials over the complex numbers of equal positive degree of a polynomial with no common root of a polynomial, there are unique polynomials of degree of a polynomial less than such that . To prove the bound, let be the vector space of polynomials of degree of a polynomial at most , including the zero polynomial. The linear map from to has zero kernel of a linear map: if , each root of a polynomial of , counted with its multiplicity of a root, must occur in because it does not occur in , forcing by the degree of a polynomial bound, and then . Both vector spaces have dimension , so the rank-nullity theorem makes the linear map a bijection, and has a unique preimage.
Let be the vector space of real polynomials of degree of a polynomial at most . Choose distinct real sample points and positive real weights . Then
is an inner product. Symmetry and bilinearity follow from linearity of polynomial evaluation. Its value at is nonnegative, and equality forces all . By the root bound for a polynomial, a nonzero polynomial of degree of a polynomial at most cannot vanish at distinct points. Thus the form has positive definiteness.
Equivalently, the polynomial evaluation map on a finite point set identifies with , equipped with a weighted Euclidean inner product. Too few sample points destroy positive definiteness: if the distinct points number at most , the nonzero polynomial lies in and has zero sampled squared norm.
For three equally weighted samples at , an orthonormal basis is
This construction gives a finite sampling version of orthogonal polynomials and permits exact Gram-Schmidt orthogonalization using only finitely many evaluations.
Integration by parts Created 2026-09-24 Updated 2026-10-14
Integration by parts transfers a derivative from one factor of a product to the other, while keeping an endpoint contribution. Its usefulness comes from choosing which factor becomes simpler when differentiated, and which has an accessible antiderivative. The integral is then replaced by a boundary term minus another integral.
For real continuously differentiable functions on , the precise definite integral formula is
In the shorter notation, and , giving for indefinite integrals, with a constant of integration understood. The product rule says ; the fundamental theorem of calculus turns its integral into the endpoint difference. Thus the formula packages a differentiation rule into a tool for integration.[ref]
For example, choose and . Then and , since the exponential function is its own derivative:
The boundary term is ; the remaining integral is . Their difference is exactly one. The endpoint product alone would overcount, because its derivative includes as well as the desired .
Figure 1.
Integration by parts splits the accumulated product derivative into the desired integral and the remaining integral
. Details.
In the figure, the area under is the endpoint contribution . Its lower band has area , and its upper band has thickness and area one. This decomposition makes the subtraction visible. The endpoint contribution is a difference of product values; it need not equal the area under either factor separately.
The same choice repeatedly lowers the degree of a polynomial when integrating a polynomial times an exponential function, while choosing gives for . More broadly, moving a derivative onto a convenient test function is the mechanism behind a weak derivative. Always evaluate the boundary term: it disappears only when the relevant endpoint values justify doing so, often through a boundary condition.
Lagrange root bound over a field Created 2026-09-24 Updated 2026-10-06
A nonzero polynomial of degree over a field has at most distinct roots. Indeed, each root supplies a linear factor by polynomial division, and induction on gives the bound.
Leading coefficient of a polynomial Created 2026-10-05 Updated 2026-10-06
The leading coefficient of a nonzero polynomial , with , is ; its degree of a polynomial is . A monic polynomial has leading coefficient one. For polynomials over a field, a product has leading coefficient equal to the product of the two leading coefficients, which prevents cancellation of their highest-degree terms.
Set to define a surjective ring homomorphism
Its kernel of a ring homomorphism is exactly : the constant coefficient in must vanish, so every remaining monomial is divisible by . The first isomorphism theorem for rings therefore gives
The polynomial ring is an integral domain, because the product of two nonzero polynomials has nonzero leading coefficient. It is not a field: has no polynomial multiplicative inverse, since a nonzero product has positive degree of a polynomial. Consequently is prime and is not maximal. Concretely, is a strict chain of ideals.
Repeated differentiation of the Gaussian function gives , where and . Induction shows has degree of a polynomial and leading coefficient : the differentiated term has lower degree, while multiplication by raises it by one. Thus the Hermite polynomial has degree and leading coefficient .
For , apply integration by parts times to the Rodrigues expression:
All boundary terms vanish because each derivative of is a polynomial times that exponential, and such products tend to zero at either infinity. The same result for follows by symmetry of the inner product. The diagonal value is positive; indeed gives
This proves the requested orthogonality as well as its normalization.
Use the Leibniz definition of the determinant:
For the permuted-column matrix, . Reindex the sum by . The sign of a permutation is multiplicative, so . It follows directly that
For the matrix transpose, the products in its determinant are . Set to obtain , and use . This proves . These facts also show that equal columns, or equal rows by transposition, force the determinant to be zero: exchanging the equal pair leaves the matrix unchanged but changes the determinant's sign.
Let be the matrix obtained by deleting row and column , with the empty determinant taken as one for . Define the cofactor and the adjugate matrix by . Grouping the Leibniz sum according to the column chosen in row gives the cofactor expansion : deleting that row and its chosen column leaves a permutation of entries, with sign factor . Therefore
When this is . When it is the cofactor expansion along row of the matrix formed by replacing that row with row ; its remaining minors are unchanged, and its two equal rows give determinant zero. The column version proves the other product in the same way. Thus the adjugate identity is
For the real matrices , let . The determinant definition makes this a real polynomial of degree of a polynomial at most . Since is invertible, the allowed converse implies , so is not the zero polynomial. It has at most real roots of a polynomial. Choose a real outside those roots; the adjugate argument proves that is invertible.
Finally write the given complex similarity transformation as . The relation , with real, yields and by comparing real and imaginary parts. Choose the preceding and put . Then , so
This proves real similarity from complex similarity by constructing a real intertwiner, rather than requiring or separately to be invertible.
The Lagrange basis polynomials satisfy : for , the product has a zero factor, whereas for every factor is one. The polynomial
has degree of a polynomial at most and has distinct roots of a polynomial. The root bound for a polynomial implies . Hence the interpolation identity holds for every polynomial of degree at most .
Here is an elementary polynomial pencil with four square members argument. Suppose first that are linearly dependent. Their coprimality of polynomials then forces both to be constant. Otherwise write the four distinct members as . They are nonzero and pairwise coprime polynomials: a common nonconstant factor of two members would divide both and .
Put . At most one member of the pencil has degree of a polynomial smaller than , since cancellation of its leading coefficient determines a unique projective pair. Choose a member of minimal degree and any independent member of degree . The polynomial
is nonzero: otherwise the rational function would have zero derivative, hence would be constant in characteristic zero. Its degree is at most ; if both members have degree zero the original assumption has already failed.
Replacing this pair by any other independent pair changes only by a nonzero scalar. Since , each divides . The pairwise coprimality of polynomials therefore gives . But three members have degree , so
a contradiction. Consequently and are constant. The possibility that a member is zero was already covered by linear dependence.
To apply this to an elliptic curve, complete the square in its Weierstrass equation of an elliptic curve and work over . Nonsingularity gives three distinct roots , so the equation becomes . A nonconstant rational parametrization of an algebraic curve would have with coprime polynomials. Clearing denominators gives
The four factors are pairwise coprime polynomials. A rational function whose square is a polynomial is itself a polynomial, by comparing numerator and denominator in lowest terms. Unique factorization, and the fact that every nonzero complex constant has a square root, make each of these four factors a square in . They correspond to four distinct projective pairs. The result just proved forces to be constant, and the equation then forces to be constant as well. This proves the nonparametrizability of an elliptic curve.
A sequence of real orthogonal polynomials consists of real polynomials with degree of a polynomial and
Orthogonality is relative to the specified inner product, rather than to the ordinary coefficients. A monic polynomial has leading coefficient one, so a monic orthogonal polynomial has the form . In particular, the monic degree-zero polynomial is .
Since has degree of a polynomial at most , expand it in the basis . Multiplication by is self-adjoint for this weighted inner product: . For , the polynomial has degree at most , so
Only the and coefficients remain. Taking their inner products gives the three-term recurrence
For the second formula, a polynomial of lower degree, hence . At , take , and the same formula for . Positivity of the weight ensures that all the squared norms in the denominators are nonzero.
For a basis of the real vector space , the Gram-Schmidt process constructs an orthonormal basis successively:
The inner product makes orthogonal to all earlier . Moreover , since otherwise would be a linear combination of its predecessors, contrary to linear independence. Induction gives . Starting with a basis of a linear subspace and extending it to a basis of gives the same construction with the first vectors spanning .
The orthogonal complement is . For every , set . Then and . If , then , so by definiteness of the inner product. Thus the direct sum is
This also covers and .
For the polynomial space, the form is immediately a symmetric bilinear form, and . A nonzero polynomial of degree of a polynomial at most two cannot have three distinct roots of a polynomial, so this form is an inner product for . For , the nonzero polynomial has . Therefore, among the stipulated positive integers,
The original PDF contains this subpart; the local TeX has omitted it. Write for the leading coefficient of . The Legendre polynomial recurrence relation and the starting polynomials give , and induction gives
Indeed, has degree of a polynomial , while has smaller degree of a polynomial and cannot cancel its leading term. Hence
At , the same linear recurrence relation gives . Starting from , induction yields
Suppose were a product of irreducible elements of . Since degree of a polynomial is additive under products, exactly one factor has positive degree and all the others are constant. By the preceding classification, the positive-degree factor has constant term , while every constant irreducible is for a prime . Their product therefore has a nonzero constant term, contradicting .
Thus is not a product of irreducibles, so this integral domain is not an atomic domain and in particular is not a unique factorization domain.
Let the smooth projective curve be the projective completion of , of degree , and suppose after interchanging and if necessary that is nonzero. A basis of its holomorphic differential forms is
Equivalently one may use . These expressions agree on their common domain because differentiating gives . The allowed monomials are precisely the homogeneous polynomials of degree at most , in accordance with the adjunction formula .