Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Spectral collocation and Galerkin methods

1 · Prerequisites

2 · Summary

This page defines periodic Fourier and Chebyshev–Gauss–Lobatto collocation, including the even-grid Nyquist convention, exact differentiation of the chosen interpolants, and one finite two-point Dirichlet collocation solve with explicit singular-matrix status. The BVP item identifies the resulting algebraic system; it does not assert unconditional nonsingularity, stability, or PDE convergence.

The weighted Galerkin items give finite orthogonal-polynomial spaces and coefficient-defined spectral scales. Chebyshev and Legendre projections have algebraic coefficient-tail rates; Chebyshev–Lobatto interpolation has an algebraic rate under the stated weighted spectral regularity and an exponential rate for data holomorphic near a Bernstein ellipse. A separate pointwise remainder estimate uses the Lagrange remainder theorem. These coefficient-defined scales make no derivative-Sobolev equivalence claim.

The quadrature items compare exact Gaussian mass assembly with composite-Simpson assembly and its fourth-derivative entrywise bound. Fourier and Lobatto aliasing are explicit sample identities; they do not establish nonlinear stability or a de-aliasing guarantee. The source-specific O(N4) second-derivative spectral-radius observation is recorded only as conditioning context for its cited Dirichlet setup.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Periodic Fourier collocation grid and even-grid Nyquist convention

Definition

Let N≥2 be an integer, let xj=2πj/N for j=0,…,N−1, and identify xN with x0 periodically. The real trigonometric interpolation space is TN={span⁡R{1,cos⁡(kx),sin⁡(kx):1≤k≤(N−1)/2},N odd,span⁡R{1,cos⁡(kx),sin⁡(kx):1≤k<N/2}⊕span⁡R{cos⁡(Nx/2)},N even. For real nodal data U=(U0,…,UN−1), define its periodic Fourier interpolant by

INU(x)=∑j=0N−1UjLj(x),

where, for N=2K+1,

Lj(x)=1N(1+2∑k=1Kcos⁡(k(x−xj))),

and, for N=2K,

Lj(x)=1N(1+2∑k=1K−1cos⁡(k(x−xj))+cos⁡(K(x−xj))).

Thus the even-grid Nyquist component is the real cosine cos⁡(Nx/2) only. Its sampled derivative is defined by differentiating this interpolant; the resulting Nyquist derivative values are zero at every grid point.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Periodic Fourier modes alias modulo the grid size

Statement

Let N≥2 and xj=2πj/N. If integers k,r satisfy k≡r(modN), then

eikxj=eirxj(0≤j<N).

Consequently, sampling a product of Fourier modes with frequencies k1,…,ks gives the same nodal data as the single mode whose frequency is the sum ∑ℓ=1skℓ reduced modulo N.

The frequency space in Periodic Fourier collocation grid and even-grid Nyquist convention is real-valued. For complex data, let TNC be the space obtained by allowing complex coefficients in that same real basis, and extend its cardinal formula by

INCV(x):=∑j=0N−1VjLj(x),V∈CN.

Then INCV is the unique member of TNC with nodal data V. On real data this formula agrees with IN; in the even case the complex Nyquist samples are interpolated by the real basis function cos⁡(Nx/2).

Facts & Assumptions

Given: An integer N≥2, its periodic grid, and integers k,r with k−r=qN for some integer q.

[F1]

Periodic Fourier collocation grid and even-grid Nyquist convention: the grid nodes are xj=2πj/N, the cardinal functions are Lj, and on the grid the complexified basis modes give one complete residue system modulo N (the even-grid Nyquist cosine has the samples of the residue N/2); the complexification and its cardinal formula are specified in the Statement.

[F3]

Orthogonality of the characters x↦e2πikx/N on Z/NZ: the sum over a complete residue system of the characters at i−j is N when i=j and 0 otherwise.

[F4]

Finite Fourier inversion for the unitary transform on Z/NZ: complex nodal data on Z/NZ have a unique finite Fourier representation.

[F6]

The derivatives of sine and cosine are cosine and minus sine and Quarter-turn values and shifts by pi/2 and pi: sin⁡0=0 and sin⁡(x+π)=−sin⁡x, hence sin⁡(mπ)=0 for every integer m.

Proof

1.1givenF1F2algebra

Since k−r=qN, for every grid index j we have ei(k−r)xj=e2πiqj=1 by [F2]. Multiplying by eirxj gives eikxj=eirxj.

2.1givenF2step 1.1algebra

For frequencies k1,…,ks, multiplication of the sampled modes gives ∏ℓ=1seikℓxj=ei(∑ℓkℓ)xj by the exponential addition law in [F2]. Applying step 1.1 to this sum and any congruent representative proves the product aliasing identity.

3.1F1F2F3F4F5F6step 2.1algebra∎

For Δ=xi−xj, Euler's identity [F5] writes the odd-grid kernel as Lj(xi)=N−1∑k=−KKeikΔ when N=2K+1. For an even grid N=2K, it writes the kernel as Lj(xi)=N−1∑k=−K+1KeikΔ, because KΔ=π(i−j) and [F6] makes the sine term at this Nyquist frequency vanish. In either branch eiNΔ=1 by [F2], so the sum over these complete residue systems equals the sum over k=0,…,N−1. Character orthogonality [F3] therefore gives Lj(xi)=1 for i=j and 0 otherwise, so the displayed complex-linear cardinal formula interpolates every V∈CN. For uniqueness inside TNC, expand each low-frequency cosine/sine pair by [F5] into its two characters. On an odd grid these are the residues −K,…,K; on an even grid they are −K+1,…,K−1 together with the Nyquist sample cos⁡(Kxj)=eiKxj. The real-basis coefficients map invertibly to these character coefficients (the low modes use the two Euler coefficients and the Nyquist coefficient is unchanged). If a member of TNC has zero samples, inversion [F4] makes every character coefficient zero, hence the member is zero. The product samples from step 2.1 therefore have the unique cardinal interpolant. In the even Nyquist case the interpolant is cos⁡(Nx/2), not the complex exponential as a function away from the grid.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Periodic Fourier collocation differentiation matrix

Definition

Input an integer N≥2 and real data U0,…,UN−1 on the grid of Periodic Fourier collocation grid and even-grid Nyquist convention. Set K=(N−1)/2 when N is odd and K=N/2 when N is even. Form the (N×N) matrix (DN)ij={−2N∑k=1Kksin⁡(k(xi−xj)),N odd,−2N∑k=1K−1ksin⁡(k(xi−xj)),N even,0≤i,j<N. The algorithm returns DN and the derivative vector DNU. In the even case it omits the derivative of the Nyquist cosine because sin⁡((N/2)(xi−xj))=0 for grid indices i,j. All operations are in exact real arithmetic; no floating-point stability or error guarantee is asserted.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Periodic Fourier collocation differentiates its interpolant exactly

Statement

Let N≥2, let U=(Uj)j=0N−1∈RN, and let p=INU∈TN be the interpolant defined in Periodic Fourier collocation grid and even-grid Nyquist convention. The matrix Periodic Fourier collocation differentiation matrix satisfies

(DNU)i=p′(xi),0≤i<N.

For even N, this statement includes the Nyquist cosine mode, whose derivative vanishes at the grid nodes.

Facts & Assumptions

Given: An integer N≥2, the periodic grid and interpolant, and real nodal data U.

[F1]

Periodic Fourier collocation grid and even-grid Nyquist convention: INU=∑jUjLj on the N equally spaced nodes; its frequency set is a complete set of residues modulo N, with only the cosine Nyquist mode when N is even.

[F2]

Periodic Fourier collocation differentiation matrix: (DN)ij is the termwise derivative of Lj evaluated at xi; in the even case the Nyquist sine term is zero at these nodes.

[F3]

Orthogonality of the characters x↦e2πikx/N on Z/NZ: summing all N characters over Z/NZ gives N when the two indices agree modulo N and 0 otherwise.

[F4]

Finite Fourier inversion for the unitary transform on Z/NZ: the finite Fourier transform on Z/NZ has an inverse, so the frequency coefficients representing nodal data are unique.

[F5]

The derivatives of sine and cosine are cosine and minus sine: (cos⁡kx)′=−ksin⁡(kx) and (sin⁡kx)′=kcos⁡(kx).

[F7]

Quarter-turn values and shifts by pi/2 and pi: sin⁡(kπ)=0 for every integer k.

[F8]

The subtraction formulas for sine and cosine: cos⁡(u−v)=cos⁡ucos⁡v+sin⁡usin⁡v, so each cos⁡(k(x−xj)) expands into cosine and sine modes with frequency k.

Proof

1.1F1F3F6F7F8algebra

By [F8], each low-frequency cosine difference in Lj expands into the corresponding cosine/sine modes in TN. For even N=2K, its Nyquist term expands into cos⁡(Kx)cos⁡(Kxj)+sin⁡(Kx)sin⁡(Kxj); [F7] makes the second coefficient zero because Kxj=πj. At a grid difference xi−xj=2π(i−j)/N, Euler's identity [F6] rewrites the cosine sum defining Lj(xi) as the normalized sum of all characters in a complete residue system modulo N: for odd N=2K+1 the residues are −K,…,K, and for even N=2K they are −K+1,…,K. Character orthogonality [F3] gives Lj(xi)=1 when i=j and 0 otherwise. Thus INU takes the prescribed nodal values and lies in TN.

1.2F1F4F6algebra

Let q∈TN. Euler's formula expands each low-frequency cosine/sine pair into the characters eikxj and e−ikxj. If N=2K+1, the resulting residues are −K,…,K; if N=2K, they are −K+1,…,K−1 together with the Nyquist residue K, because cos⁡(Kxj)=eiKxj. In either case this is one coefficient for each residue modulo N, and the change from the real basis coefficients to these character coefficients is invertible (for each low mode it is the usual two-by-two Euler change, and the Nyquist coefficient is unchanged). Thus if q vanishes at the nodes, its finite Fourier transform is zero and inversion [F4] makes every character coefficient, hence every real basis coefficient, zero. This proves uniqueness.

2.1F2F5F7F9F10step 1.1algebra

Differentiate the finite sum p(x)=∑jUjLj(x) term by term using [F10]. By [F5] and [F9], p′(xi)=∑jUjLj′(xi). When N is odd this is exactly the sine sum defining DNU in [F2]. When N=2K the derivative of the remaining Nyquist term is proportional to sin⁡(K(xi−xj))=sin⁡(π(i−j))=0 by [F7], so the same equality holds with the Nyquist term omitted.

3.1step 1.1step 1.2step 2.1∎

Steps 1.1–2.1 establish the nodal interpolation and derivative identity for every data vector, including both parity branches of N.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Chebyshev–Gauss–Lobatto collocation grid

Definition

Let N≥1 be an integer and put xj=cos⁡(jπ/N) for j=0,…,N. The ordering is decreasing: x0=1 and xN=−1. These are the Chebyshev–Gauss–Lobatto nodes; Tn(cos⁡θ)=cos⁡(nθ) and Un(cos⁡θ)sin⁡θ=sin⁡((n+1)θ) for every n∈N gives TN(xj)=(−1)j. They are distinct because cosine is strictly decreasing on [0,π] by Signs, monotonicity intervals, and ranges of sine and cosine.

For interpolation using Cardinal-polynomial interpolation, use the increasing reindexing zk=xN−k, k=0,…,N. For descending-grid real data Uj, the corresponding increasing data are Yk=UN−k.

For real nodal data U0,…,UN∈R, define INLU to be the cardinal interpolant of (Yk)k=0N at (zk)k=0N. For a function f:[−1,1]→R, write INLf for the interpolant of its nodal values. The increasing-node interpolation theorem Existence and uniqueness of the cardinal-polynomial interpolant makes this polynomial unique.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Chebyshev–Lobatto interpolation folds polynomial modes

Statement

Let N≥1, let xj=cos⁡(jπ/N), and let INL denote degree-at-most-N interpolation on these nodes. For every integer n≥0, let ρN(n) be the unique integer r∈{0,…,N} congruent to either n or −n modulo 2N. Then

INLTn=TρN(n).

In particular, sampling a Chebyshev series on the Lobatto grid can fold every degree n>N to a degree at most N.

Facts & Assumptions

Given: An integer N≥1, its Chebyshev–Gauss–Lobatto grid, and an integer n≥0.

[F1]

Chebyshev–Gauss–Lobatto collocation grid: xj=cos⁡(jπ/N) for 0≤j≤N, with distinct nodes.

[F3]

Existence and uniqueness of the cardinal-polynomial interpolant: a polynomial of degree at most N that agrees with the data at the N+1 distinct increasing nodes is their unique interpolant; reversing node order and data order preserves the same interpolation polynomial.

[F4]

Degrees and leading coefficients of the Chebyshev polynomials: Tr has degree r for every r≥1, and T0=1.

[F5]

Applying the cosine shift by π in Quarter-turn values and shifts by pi/2 and pi twice gives cos⁡(α+2qπ)=cos⁡α for every integer q; Parity and the Pythagorean identity for sine and cosine gives cos⁡(−α)=cos⁡α.

Proof

1.1givenF1choosealgebra

Reduce n modulo 2N to a residue s∈{0,…,2N−1} and put r=min⁡(s,2N−s). Then 0≤r≤N, r≡n or −n(mod2N), and this r is unique: the classes {±r} are distinct for 0<r<N, with singleton classes at r=0,N.

2.1F2F5step 1.1algebra

For every node xj, [F2] gives Tn(xj)=cos⁡(njπ/N). Since n≡±r(mod2N), [F5] gives cos⁡(njπ/N)=cos⁡(rjπ/N)=Tr(xj). Thus Tn and Tr have the same nodal values.

3.1F1F3F4step 2.1∎

By [F4], Tr has degree r≤N. Interpolation uniqueness [F3] therefore gives INLTn=Tr.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Chebyshev–Gauss–Lobatto polynomial differentiation matrix

Definition

Input N≥1 and real nodal values U0,…,UN at the descending grid xj=cos⁡(jπ/N) from Chebyshev–Gauss–Lobatto collocation grid. Set zk=xN−k and Yk=UN−k, so z0<⋯<zN. Form the cardinal polynomials ℓk for the increasing nodes z0,…,zN by Cardinal-polynomial interpolation. Define

(DN)ij=ℓN−j′(xi),0≤i,j≤N,

and return the derivative vector DNU. Equivalently, form p(x)=∑k=0NYkℓk(x) and return (p′(xi))i=0N. The procedure is exact-real arithmetic and makes no stability claim for a floating-point implementation.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Chebyshev–Gauss–Lobatto differentiation is exact on the interpolant

Statement

Let N≥1, let Uj∈R be data on the nodes xj=cos⁡(jπ/N), and let p be the unique polynomial of degree at most N with p(xj)=Uj. The matrix Chebyshev–Gauss–Lobatto polynomial differentiation matrix satisfies

(DNU)i=p′(xi),0≤i≤N.

In particular, applying DN twice gives p′′(xi) at each node.

Facts & Assumptions

Given: N≥1, distinct Chebyshev–Gauss–Lobatto nodes, and real nodal data.

[F1]

Chebyshev–Gauss–Lobatto collocation grid: the nodes are distinct; reversing their order gives increasing nodes zk=xN−k.

[F2]

Chebyshev–Gauss–Lobatto polynomial differentiation matrix: Dij=ℓN−j′(xi) for the cardinal polynomials of the increasing reindexing.

[F3]

Existence and uniqueness of the cardinal-polynomial interpolant: at N+1 distinct ordered nodes, the cardinal sum is the unique polynomial of degree at most N with the prescribed values.

Proof

1.1givenF1F3construct

Reindex the data by Yk=UN−k. By [F1], the nodes zk=xN−k are strictly increasing, so [F3] gives p(x)=∑k=0NYkℓk(x) as the unique degree-at-most-N interpolant. Reversing the finite sum back to the descending index gives p(x)=∑j=0NUjℓN−j(x).

2.1F2F4step 1.1algebra

Differentiate the finite polynomial sum in step 1.1 term by term using [F4]. At xi this gives p′(xi)=∑j=0NUjℓN−j′(xi)=∑j=0N(DN)ijUj=(DNU)i by [F2]. This proves the first identity for each node.

3.1F1F3step 2.1algebra∎

The polynomial p′ has degree at most N−1≤N and its nodal values are DNU by step 2.1. Uniqueness [F3] therefore makes p′ the interpolant of the vector DNU. Applying the already proved first-derivative identity of step 2.1 to that vector gives DN(DNU)=(p′′(xi))i=0N.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Boundary-eliminated Chebyshev collocation for a two-point Dirichlet BVP

Definition

Input an integer N≥2, real functions a,b,f given at the Chebyshev–Gauss–Lobatto nodes xj=cos⁡(jπ/N), and endpoint data g−,g+∈R. The continuous BVP being discretized is

−u′′(x)+a(x)u′(x)+b(x)u(x)=f(x),−1<x<1,u(−1)=g−,u(1)=g+.

The finite algorithm uses only the values at the nodes and does not assume a continuous BVP solvability theorem. Construct the matrix used internally by Chebyshev–Gauss–Lobatto polynomial differentiation matrix explicitly: form Lj(x)=∏0≤k≤N, k≠j(x−xk)/(xj−xk) and set (DN)ij=Lj′(xi) for 0≤i,j≤N. Then set DN(2)=DNDN. For each interior row i=1,…,N−1 and each column j=0,…,N, put

Cij=−(DN(2))ij+a(xi)(DN)ij+b(xi)δij.

Let A=(Cij)1≤i,j≤N−1 and ri=f(xi)−Ci0g+−CiNg−. If A is singular, return status singular-interior-matrix and the matrix A. If A is invertible, solve AUI=r, set U0=g+ and UN=g−, and return success with U=(U0,U1,…,UN). This exact-arithmetic finite solve asserts no unconditional nonsingularity, stability, convergence, or PDE error bound.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Boundary elimination returns exactly the finite Chebyshev collocation system

Statement

For the algorithm Boundary-eliminated Chebyshev collocation for a two-point Dirichlet BVP, a success output is the unique nodal vector with U0=g+, UN=g− satisfying

−(DN(2)U)i+a(xi)(DNU)i+b(xi)Ui=f(xi),1≤i<N,

where DN is the exact Chebyshev–Gauss–Lobatto differentiation matrix and DN(2)=DNDN. If the interior matrix is singular, the algorithm returns singular-interior-matrix and makes no claim about existence or uniqueness for the given right-hand side.

Facts & Assumptions

Given: An integer N≥2, node values of a,b,f, endpoints g−,g+, the boundary-elimination algorithm, and its interior matrix A.

[F1]

Boundary-eliminated Chebyshev collocation for a two-point Dirichlet BVP: Cij=−(DN2)ij+a(xi)(DN)ij+b(xi)δij, A=(Cij)1≤i,j<N, and ri=f(xi)−Ci0g+−CiNg−.

[F2]

Chebyshev–Gauss–Lobatto differentiation is exact on the interpolant: for the interpolant p through the full nodal vector U, DNU=(p′(xi))i; applying DN again gives (p′′(xi))i.

[F3]

Proof

1.1givenF1

On a success branch the algorithm sets U0=g+ and UN=g− and solves AUI=r for the interior vector UI=(U1,…,UN−1).

1.2givenF2

By [F2], DNU and DN(2)U are respectively the first and second derivatives of the degree-at-most-N nodal interpolant evaluated at the nodes.

2.1givenF1step 1.1step 1.2algebra

Expanding the ith row of the full expression using [F1] gives ∑j=1N−1CijUj+Ci0g++CiNg−=f(xi), which is exactly the reduced equation AUI=r with the definition of ri. Combined with step 1.2, this is the stated collocation equation at every interior node.

2.2givenF1F3step 1.1algebra

Since the success branch has invertible A, [F3] gives exactly one interior vector solving AUI=r. The prescribed endpoint values then give exactly one full nodal vector. The singular branch returns its declared status and asserts nothing about solvability of its right-hand side.

3.1step 1.1step 1.2step 2.1step 2.2∎

Steps 1.1–2.2 prove the success claim and the stated singular-matrix limit.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Arcsine-weighted inner product on the Chebyshev interval

Definition

For continuous real functions f,g on [−1,1], define

⟨f,g⟩C:=∫0πf(cos⁡θ)g(cos⁡θ) dθ,∥f∥C2:=⟨f,f⟩C.

This is the arcsine-weighted pairing on the compact Chebyshev interval: in the variable x=cos⁡θ its weight is ωC(x)=(1−x2)−1/2 for −1<x<1. The angular integral is the endpoint convention, so no endpoint value of the singular density is required.

The displayed integral is defined for every such pair: cosine is continuous and maps [0,π] into [−1,1]; composition and multiplication preserve continuity, so the integrand is continuous. Since 0<π, it is Riemann integrable by A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterion.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Chebyshev polynomials are orthogonal for the arcsine weight

Statement

Under the pairing of Arcsine-weighted inner product on the Chebyshev interval, ⟨Tm,Tn⟩C={π,m=n=0,π/2,m=n≥1,0,m≠n. The polynomials T0,T1,… form a basis of the real polynomial space, and the pairing is positive definite on continuous real functions on [−1,1]. If a continuous real function h satisfies ⟨h,Tn⟩C=0 for every n≥0, then h=0 on [−1,1].

Facts & Assumptions

Given: Natural numbers m,n, the Chebyshev polynomials Tk, and the arcsine-weighted pairing.

[F1]

Arcsine-weighted inner product on the Chebyshev interval: ⟨f,g⟩C=∫0πf(cos⁡θ)g(cos⁡θ) dθ.

[F3]

The addition formulas for sine and cosine: 2cos⁡ucos⁡v=cos⁡(u+v)+cos⁡(u−v).

[F10]

Integrable functions on [a,b] form a set closed under sums and scalar multiples, and ∫ab(λf+μg)=λ∫abf+μ∫abg: integrals of finite sums and scalar multiples of integrable functions are the corresponding sums and scalar multiples; in particular it gives the integral bilinearity used in steps 1.1, 3.1, and 4.1.

[F5]

Quarter-turn values and shifts by pi/2 and pi: sin⁡π=0 and sin⁡(x+π)=−sin⁡x, so sin⁡(kπ)=0 for every integer k; Parity and the Pythagorean identity for sine and cosine: cosine is even.

[F6]

Chebyshev polynomials of the first and second kinds by their three-term recurrences: T0=1, T1=X, and Tn+1=2XTn−Tn−1 for n≥1.

[F7]

Polynomials are uniformly dense in C([a,b],R) for every closed interval: every continuous real function on [−1,1] is a uniform limit of polynomials.

[F11]

Cosine is continuous by [F4], with cos⁡0=1 and cos⁡π=−1 by The derivatives of sine and cosine are cosine and minus sine and [F5]. Thus Intermediate value theorem, by bisection with a canonical left-half rule: a continuous function on [a,b] takes every value between f(a) and f(b) applied on [0,π] gives, for every x∈[−1,1], a θ∈[0,π] with cos⁡θ=x.

Proof

1.1F1F2F3F4F5F10algebra

By [F1]–[F2], ⟨Tm,Tn⟩C=∫0πcos⁡(mθ)cos⁡(nθ) dθ. If m≠n, [F3], cosine parity [F5], and sin⁡(kπ)=0 from [F5] make the integral of each nonzero-frequency cosine vanish by [F4]. If m=n≥1, [F3] gives 12(1+cos⁡(2mθ)), whose integral is π/2. If m=n=0, the integrand is 1 and its integral is π. Linearity [F10] passes from the product-to-sum identity to these integrals.

2.1F6step 1.1algebrainduction

The recurrence [F6] shows inductively that Tn has degree n and nonzero leading coefficient: this holds for T0,T1, and the leading term of 2XTn cannot cancel with the lower-degree Tn−1. Eliminating the leading term of any polynomial successively proves that T0,T1,… span all polynomials; their distinct degrees also give linear independence. Step 1.1 gives positive squared norms and pairwise orthogonality.

3.1F1F7F8F9F10F11step 2.1choosealgebra

Suppose continuous h pairs to zero with every Tn. By step 2.1 it pairs to zero with every polynomial. Fix ε>0 and choose a polynomial q with ∥q−h∥∞<ε by [F7]. The bound M=∥h∥∞<∞ follows from [F8]. The pointwise bounds −Mε≤h(cos⁡θ)(h−q)(cos⁡θ)≤Mε and [F9] give 0≤⟨h,h⟩C=⟨h,h−q⟩C≤πMε, where the equality uses bilinearity [F10]. The lower inequality uses the nonnegative integrand h(cos⁡θ)2 and [F9]. Since this holds for every ε>0, ⟨h,h⟩C=0. If h(x0)≠0 at some x0∈[−1,1], [F11] supplies θ0∈[0,π] with cos⁡θ0=x0; continuity makes h(cos⁡θ)2 bounded below by a positive constant on a one-sided neighborhood if θ0 is an endpoint, or a two-sided neighborhood otherwise. [F9] then gives a positive integral, contradicting zero norm. Therefore h=0.

4.1F1F9F10F11givenalgebra∎

For any continuous h, if ⟨h,h⟩C=0 but h(cos⁡θ0)≠0 at some θ0∈[0,π], continuity gives a one-sided interval at an endpoint, or a two-sided interval in the interior, on which h(cos⁡θ)2 is bounded below by a positive number. [F9] makes its integral positive, a contradiction. Thus h(cos⁡θ)=0 for every θ, and [F11] gives h=0 on [−1,1]. Symmetry and bilinearity follow from the integral definition [F1] and linearity [F10], proving positive definiteness.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Chebyshev weighted spectral Sobolev scale and projection

Definition

For s≥0, define HCs to be the completion of finite real Chebyshev sums p=∑n=0McnTn in the norm

∥p∥HCs2=π∣c0∣2+π2∑n=1M(1+n2)s∣cn∣2.

By Chebyshev polynomials are orthogonal for the arcsine weight, the coefficients of a finite sum are unique and this is a norm. At s=0, this norm on finite sums is the arcsine-weighted norm from Arcsine-weighted inner product on the Chebyshev interval. This is the spectral Sobolev scale for the named weight and domain; it is defined by Chebyshev coefficients, and no equivalence with an unweighted derivative-based Sobolev norm is asserted.

The weights are positive by Real powers for positive bases, with the zero-base positive-exponent convention and The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x). For fixed s≥0, x↦xs is nondecreasing on (0,∞): the derivative formula Continuity and derivatives of positive-base real powers gives sxs−1≥0, and the mean-value theorem The mean value theorem, as the case g(x)=x of Cauchy's: for f continuous on [a,b] with a<b and differentiable on (a,b) there is c∈(a,b) with f(b)−f(a)=f′(c)(b−a) gives monotonicity. Thus (1+n2)s≥1. For s>0, the derivative formula also makes x↦x−s nonincreasing on (0,∞).

The completion is isometric to the weighted coefficient sequence space

{(cn)n≥0: cn∈R for every n, π∣c0∣2+π2∑n≥1(1+n2)s∣cn∣2<∞},

as follows. Put w0=π and wn=π2(1+n2)s for n≥1. The map (cn)↦(wncn) is an isometry onto the real square-summable sequence space; it is onto because every wn>0. Finite-support sequences are dense by truncation, and The real square-summable sequence space is complete gives completeness. Therefore the displayed weighted sequence space is exactly the completion. The notation u=∑n≥0cnTn denotes its coefficient representation and does not assert pointwise convergence of the series. Its norm is the displayed weighted coefficient sum.

At s=0, denote this completion by LC2:=HC0 and define

∥u∥C2:=∥u∥HC02=π∣c0∣2+π2∑n≥1∣cn∣2.

By the orthogonality lemma, this is the unique norm extension from finite sums of the arcsine-weighted norm of Arcsine-weighted inner product on the Chebyshev interval. Since (1+n2)s≥1 for s≥0, every HCs embeds continuously in LC2, so ∥u∥C is defined for every u∈HCs, including when s=0.

If an element has a continuous representative given by a uniformly convergent Chebyshev series, its arcsine integral norm agrees with this completion norm: for continuous h, the defining pairing gives ∥h∥C≤π∥h∥∞, so uniform convergence implies convergence in the arcsine norm as well.

For u=∑n≥0cnTn in this coefficient completion, define the degree-N orthogonal projection by

ΠNu=∑n=0NcnTn.

The projection is well-defined by coefficient truncation and the positive coefficient norm above.

TheoremStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Weighted Chebyshev projection has its spectral Sobolev rate

Statement

Let s≥0, N≥0, and u∈HCs as defined in Chebyshev weighted spectral Sobolev scale and projection. Then

∥u−ΠNu∥C≤(1+(N+1)2)−s/2∥u∥HCs.

Thus the weighted projection error is O(N−s) when the data belong to this explicitly defined weighted spectral Sobolev space.

Facts & Assumptions

Given: s≥0, an integer N≥0, and a Chebyshev coefficient expansion u=∑n≥0cnTn with finite HCs norm.

[F1]

Chebyshev weighted spectral Sobolev scale and projection: ΠNu=∑n=0NcnTn and the HCs norm weights coefficient cn by (1+n2)s; these weights are nondecreasing in n for s≥0.

[F2]

Chebyshev polynomials are orthogonal for the arcsine weight: the squared C-norm of T0 is π and that of each Tn, n≥1, is π/2.

Proof

1.1F1F2algebra

By [F1], u−ΠNu=∑n>NcnTn. Orthogonality from [F2] gives ∥u−ΠNu∥C2=π2∑n>N∣cn∣2. Since n>N implies (1+n2)s≥(1+(N+1)2)s, this is at most (1+(N+1)2)−sπ2∑n>N(1+n2)s∣cn∣2≤(1+(N+1)2)−s∥u∥HCs2. Taking square roots proves the result for finite sums.

2.1F1step 1.1algebra∎

Finite sums are dense in the completion defining HCs. The truncation ΠN is a contraction in the coefficient norm and in the C-norm, so both sides of the finite-sum inequality pass to the limit along any Cauchy sequence of finite sums. This yields the stated estimate for every u∈HCs.

TheoremStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Chebyshev–Lobatto interpolation inherits a weighted near-best bound

Statement

For f∈C[−1,1] and N≥0, let EN(f) and ΛNL be the best uniform error and the Lebesgue constant from Best uniform polynomial error and Chebyshev interpolation operators. Then

∥f−INLf∥C≤π (1+ΛNL)EN(f),

where ∥⋅∥C is the arcsine-weighted norm of Arcsine-weighted inner product on the Chebyshev interval.

Facts & Assumptions

Given: A continuous real function f on [−1,1] and N≥0.

[F1]

Chebyshev interpolation error is controlled by best polynomial error: ∥f−INLf∥∞≤(1+ΛNL)EN(f).

[F2]

Arcsine-weighted inner product on the Chebyshev interval: ∥h∥C2=∫0π∣h(cos⁡θ)∣2dθ, so ∥h∥C≤π∥h∥∞.

Proof

1.1givenF2algebra

For every θ∈[0,π], ∣h(cos⁡θ)∣≤∥h∥∞. Integrating its square in [F2] gives ∥h∥C2≤π∥h∥∞2 and hence ∥h∥C≤π∥h∥∞.

2.1givenF1step 1.1algebra∎

Apply step 1.1 to h=f−INLf, then use the uniform near-best bound [F1]. The result is ∥f−INLf∥C≤π(1+ΛNL)EN(f).

TheoremStatement: AI-adaptedProof: AI-adaptedOpen item page →

Chebyshev–Lobatto interpolation has an algebraic weighted spectral-Sobolev rate

Statement

Let s>1/2, N≥1, and u=∑n≥0cnTn∈HCs. Then the series converges uniformly, its nodal interpolant INLu is defined, and ∥u−INLu∥C≤CsN−s∥u∥HCs,Cs=1+21+12s−1.

Facts & Assumptions

Given: A real s>1/2, an integer N≥1, and a Chebyshev coefficient sequence in HCs.

[F1]

Chebyshev weighted spectral Sobolev scale and projection: ∥u∥HCs2=π∣c0∣2+π2∑n≥1(1+n2)s∣cn∣2.

[F2]

Chebyshev–Lobatto interpolation folds polynomial modes: INLTn=TρN(n) for the unique folded degree ρN(n)∈{0,…,N}.

[F3]

Cardinal-polynomial interpolation: INLf is the finite Lagrange cardinal sum at the N+1 distinct Lobatto nodes, hence is linear and continuous in the uniform norm.

[F4]

Chebyshev polynomials are orthogonal for the arcsine weight: ∥T0∥C2=π and ∥Tr∥C2=π/2 for r≥1, with distinct modes orthogonal.

[F6]

The p-series for a real exponent p converges exactly when p is greater than one: ∑n≥1n−2s converges because 2s>1.

[F7]

The Cauchy-Schwarz inequality for finite sums: for finite real lists, ∣∑akbk∣2≤(∑ak2)(∑bk2).

[F8]

The exponent, product, quotient, and iterated-power laws for positive real bases and real exponents gives (ab)r=arbr and (ar)s=ars for positive bases; the monotonicity of xs for s≥0 and of x−s for s>0 is recorded with the coefficient weights in Chebyshev weighted spectral Sobolev scale and projection.

[F9]

For p=2s>1, x−p is continuous and decreasing on [1,∞) by Continuity and derivatives of positive-base real powers and the scale's real-power monotonicity. Its antiderivative x1−p/(1−p) follows from the same power rule, so The second fundamental theorem: if G is differentiable on [a,b] with G′=f and f is integrable, then ∫abf=G(b)−G(a) evaluates its integral on each finite interval. A series of nonnegative terms converges iff its partial sums are bounded, and then the sum is their supremum identifies a bounded sequence of its nonnegative partial sums with a finite series sum.

Proof

1.1givenF1F5F6F7algebra

Let wn=(1+n2)s. By [F1] the weighted coefficient sum ∑n≥0wn∣cn∣2 is finite. For n≥1, monotonicity of x−s from [F1] gives wn−1≤n−2s, so [F6] implies ∑n≥0wn−1<∞. For every finite Q, apply [F7] to wn∣cn∣ and wn−1/2, 0≤n≤Q; this bounds ∑n=0Q∣cn∣ uniformly in Q. Nonnegative partial sums therefore give ∑n≥0∣cn∣<∞ by A series of nonnegative terms converges iff its partial sums are bounded, and then the sum is their supremum. By [F5], ∣Tn(x)∣≤1 on [−1,1], so the series converges uniformly and its nodal values are defined.

2.1F2F3step 1.1algebra

Write u=SN+RN, where SN=∑n=0NcnTn and RN=∑n>NcnTn. The Lagrange operator [F3] reproduces SN and is continuous in the uniform norm; therefore u−INLu=RN−INLRN. By [F2], uniform convergence and the finite cardinal sum give INLRN=∑r=0NbrTr, where br=∑n>N:ρN(n)=rcn.

3.1givenF2F8F9step 2.1algebra

Fix r∈{0,…,N}. Since n≡r or −r(mod2N), every index in its alias class has form 2qN+r or 2qN−r. When n>N the corresponding integer q is positive. For each q there are at most two candidates; the plus candidate is at least qN, and the minus candidate is at least (2q−1)N≥qN. Thus 1+n2≥(qN)2; since x−s is nonincreasing for s>0, and by [F8], (1+n2)−s≤(qN)−2s=N−2sq−2s. For every integer Q≥2, monotonicity gives q−2s≤∫q−1qx−2s dx for 2≤q≤Q, so [F9] yields ∑q=1Qq−2s≤1+∫1Qx−2s dx=1+1−Q1−2s2s−1≤1+12s−1. By nonnegativity and [F9], the infinite sum has the same bound. Therefore ∑n>N:ρN(n)=r(1+n2)−s≤2(1+12s−1)N−2s.

4.1F1F2F4F7step 1.1step 3.1algebra

Let As=1+1/(2s−1). Apply [F7] to finite partial sums over an alias class, use step 3.1, and pass to the limit; the coefficient sums converge absolutely by step 1.1. This gives ∣br∣2≤2AsN−2s∑n>N:ρN(n)=r(1+n2)s∣cn∣2. The alias classes partition n>N. By [F4], ∥INLRN∥C2≤π∑r=0N∣br∣2≤2πAsN−2s∑n>N(1+n2)s∣cn∣2≤4AsN−2s∥u∥HCs2, where the last inequality uses [F1]. Also [F1] and [F4] give ∥RN∥C2=π2∑n>N∣cn∣2≤(N+1)−2s∥u∥HCs2. Thus ∥RN∥C≤(N+1)−s∥u∥HCs.

5.1step 2.1step 4.1algebra∎

By step 2.1 and the triangle inequality, ∥u−INLu∥C≤∥RN∥C+∥INLRN∥C≤(1+2As)N−s∥u∥HCs because (N+1)−s≤N−s. This is the claimed estimate.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Chebyshev–Lobatto interpolation remainder bound

Statement

Let N≥1 and f∈CN+1([−1,1]). Let INLf be interpolation at the nodes xj=cos⁡(jπ/N). Then ∥f−INLf∥C≤π 21−N(N+1)!max⁡x∈[−1,1]∣f(N+1)(x)∣.

Facts & Assumptions

Given: N≥1 and f∈CN+1([−1,1]).

[F1]

Chebyshev–Gauss–Lobatto collocation grid: the N+1 distinct nodes are xj=cos⁡(jπ/N), including both endpoints.

[F4]

Quarter-turn values and shifts by pi/2 and pi: sin⁡(kπ)=0 for every integer k, by repeated shifts by π.

[F5]

Parity and the Pythagorean identity for sine and cosine: ∣sin⁡t∣≤1 for every real t.

[F6]

Cardinal-polynomial interpolation: the node polynomial is ωN(x)=∏j=0N(x−xj) and INLf is its degree-at-most-N Lagrange interpolant after reversing the decreasing node order.

[F7]

Pointwise Lagrange interpolation remainder: for x off the nodes, f(x)−INLf(x)=f(N+1)(ξ)ωN(x)/(N+1)! for some ξ in the interval between the extreme nodes and x; at a node the error is zero.

[F8]

Arcsine-weighted inner product on the Chebyshev interval: ∥h∥C≤π∥h∥∞ because the angular measure has total mass π.

[F10]

A nonzero real polynomial of degree n has no more than n distinct real roots: a polynomial with more distinct roots than its degree is the zero polynomial.

Proof

1.1F2algebra

By the recurrence in [F2], TN has leading coefficient 2N−1 for every N≥1. Hence qN(x):=21−NN(x2−1)TN′(x) is monic of degree N+1.

1.2F1F2F3F4F6F10algebra

For 1≤j<N, put θj=jπ/N. Then [F3] and [F4] give TN′(xj)=Nsin⁡(jπ)/sin⁡θj=0. Also qN(1)=qN(−1)=0. Thus qN vanishes at all N+1 distinct nodes in [F1]. The node product ωN is also monic of degree N+1 by [F6]; their difference has degree at most N and N+1 distinct roots, so [F10] gives qN=ωN.

2.1F1F3F5step 1.2algebra

For x=cos⁡θ with 0<θ<π, the derivative formula in [F3] gives ∣ωN(x)∣=21−N∣sin⁡θ sin⁡(Nθ)∣≤21−N. The inequality uses [F5]. At the endpoints ωN=0, so this bound holds on all of [−1,1].

3.1F1F7F9step 2.1algebra

At nodes the interpolation error is zero; off the nodes apply [F7] and step 2.1. Since the maximum in [F9] is finite, this gives ∥f−INLf∥∞≤21−N(N+1)!max⁡[−1,1]∣f(N+1)∣.

4.1F8step 3.1algebra∎

Apply the weighted-norm estimate [F8] to the uniform error in step 3.1. This proves the stated inequality.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Analytic ellipse data give exponential Chebyshev–Lobatto interpolation error

Statement

Let ρ>1, and let Eρ be the closed Bernstein ellipse

Eρ={ρeit+ρ−1e−it2:0≤t≤2π}

together with its interior. Suppose f is real-valued on [−1,1], extends holomorphically to an open neighborhood of Eρ, and satisfies ∣f(z)∣≤M on Eρ. Then for every N≥1,

∥f−INLf∥C≤4πMρ−1ρ−N.

Facts & Assumptions

Given: ρ>1, a function f holomorphic near Eρ with ∣f∣≤M there, and N≥1.

[F1]

A continuous function holomorphic away from one point on a star-shaped domain has a primitive and zero closed-contour integrals: a holomorphic function on a star-shaped open set has zero integral around every closed rectifiable contour in that set.

[F3]

Chebyshev–Lobatto interpolation folds polynomial modes: INLTn=TρN(n) for the folded degree 0≤ρN(n)≤N.

[F4]

Chebyshev polynomials are orthogonal for the arcsine weight: the Chebyshev modes have squared norms π at degree zero and π/2 at positive degrees, and a continuous function pairing to zero with every mode is zero. The coefficient convention used in this proof is defined explicitly in step 2.1.

[F5]

Arcsine-weighted inner product on the Chebyshev interval: the angular measure has total mass π, so ∥h∥C≤π∥h∥∞.

[F6]

Signs, monotonicity intervals, and ranges of sine and cosine: ∣cos⁡t∣≤1 for real t.

[F7]

For ∣r∣<1, ∑k≥0rk=1/(1−r), and for ∣r∣≥1 the series diverges: for r∈R with ∣r∣<1, ∑k≥0rk=1/(1−r).

[F11]

The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x), Integer powers am, and Laws of integer exponents: e−nL=(e−L)n=(1/ρ)n=ρ−n for each natural n.

Proof

1.1givenF8F9F10algebra

Put L=log⁡ρ>0. For z=θ−it, 0≤t≤L, let r=et, so 1≤r≤ρ by [F10]. The definitions in [F8] and Cartesian formula [F9] give cos⁡(θ−it)=Arcos⁡θ+iBrsin⁡θ, where Ar=(r+r−1)/2 and Br=(r−r−1)/2. For 1≤r≤ρ, Ar≤Aρ and Br≤Bρ: the differences are (ρ−r)(1−1/(ρr))/2 and (ρ−r)(1+1/(ρr))/2. Therefore x2/Aρ2+y2/Bρ2≤cos⁡2θ+sin⁡2θ=1 for r>1, so the image lies in the filled ellipse Eρ; at r=1 it lies on [−1,1]⊂Eρ. The closed rectangle R0={−π≤ℜz≤π, −L≤ℑz≤0} is compact and lies in the open set cos⁡−1(V), where V is a neighborhood on which f is holomorphic. Hence a slightly larger open rectangle R still lies in cos⁡−1(V); it is convex and therefore star-shaped. By [F8], g=f∘cos⁡ is holomorphic on R, and each Hn(z)=g(z)e−inz is holomorphic and continuous there by [F8]. On the lower edge ∣g(θ−iL)∣≤M.

2.1F1F2F8F9F11step 1.1algebra

For each n≥1 define cn=2π∫0πf(cos⁡θ)cos⁡(nθ) dθ, and define c0=1π∫0πf(cos⁡θ) dθ. For real θ, g is even and f(cos⁡θ) is real; Euler's identity [F9] makes the sine part of ∫−ππg(θ)e−inθ dθ vanish, so this integral is πcn. Also Hn(z)=g(z)e−inz is 2π-periodic: g is periodic by [F8]--[F9], and e−2πin=1 by [F9]. Apply [F1] to the boundary of R0; the vertical integrals cancel by periodicity, so the top and lower horizontal integrals, both oriented from left to right, are equal. On the lower edge, [F9] and [F11] give ∣e−in(θ−iL)∣=e−nL=ρ−n, hence ∣cn∣≤2Mρ−n. Also ∣c0∣≤M by the defining integral and the bound ∣f∣≤M.

3.1F2F4F6step 2.1algebra

The coefficient bounds in step 2.1 make ∑n≥0cnTn uniformly convergent, since [F2] and [F6] give ∣Tn(x)∣≤1. Uniform convergence permits termwise integration against each bounded Tk; orthogonality [F4] shows that this series and f have the same coefficients as defined in step 2.1. Their continuous difference therefore pairs to zero with every Chebyshev mode, so [F4] gives f=∑n≥0cnTn on [−1,1].

4.1F2F3F6F7step 3.1algebra

By [F3], every mode Tn with n>N interpolates to a Chebyshev mode. Each such mode has sup norm at most one by [F2] and [F6]. Thus the series tail and its interpolant each have sup norm at most ∑n>N∣cn∣, and ∥f−INLf∥∞≤2∑n>N∣cn∣≤4M∑n>Nρ−n=4Mρ−1ρ−N, where [F7] evaluates the geometric tail.

5.1F5step 4.1algebra∎

Apply [F5] to the uniform error in step 4.1. This yields ∥f−INLf∥C≤4πM(ρ−1)−1ρ−N, as claimed.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Composite-Simpson assembly of the Chebyshev weighted mass matrix

Definition

Input a polynomial degree N≥0 and an even integer M≥2 specifying the number of uniform subintervals of [0,π]. For 0≤i,j≤N, form

gij(θ)=Ti(cos⁡θ)Tj(cos⁡θ)

and return

MijS:=QS(gij;0,π,M),

where QS is the composite Simpson procedure from Composite Simpson rule on an even uniform grid. By the Chebyshev multiple-angle identity, gij(θ)=cos⁡(iθ)cos⁡(jθ), so this is the composite-Simpson approximation of the corresponding arcsine-weighted mass entry. The procedure uses exact real arithmetic and asserts no quadrature or floating-point accuracy beyond a separately proved bound.

TheoremStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Composite Simpson error bound for Chebyshev weighted mass entries

Statement

Let N≥0, let M≥2 be even, put h=π/M, and let Gij=⟨Ti,Tj⟩C be the exact weighted mass entry from Arcsine-weighted inner product on the Chebyshev interval. The approximation MijS from Composite-Simpson assembly of the Chebyshev weighted mass matrix satisfies

∣Gij−MijS∣≤πh4180(i+j)4,0≤i,j≤N.

Facts & Assumptions

Given: Integers N≥0, even M≥2, h=π/M, and indices 0≤i,j≤N.

[F1]

Arcsine-weighted inner product on the Chebyshev interval: ⟨Ti,Tj⟩C=∫0πTi(cos⁡θ)Tj(cos⁡θ) dθ.

[F2]

Composite-Simpson assembly of the Chebyshev weighted mass matrix: MijS is the composite Simpson value on [0,π] for gij(θ)=Ti(cos⁡θ)Tj(cos⁡θ) with step h.

[F3]

Composite Simpson error bound for a four-times continuously differentiable function: if g∈C4([0,π]), then ∣∫0πg−QS(g;0,π,M)∣≤πh4max⁡∣g(4)∣/180.

[F4]

Tn(cos⁡θ)=cos⁡(nθ) and Un(cos⁡θ)sin⁡θ=sin⁡((n+1)θ) for every n∈N and The addition formulas for sine and cosine: Tk(cos⁡θ)=cos⁡(kθ) and 2cos⁡ucos⁡v=cos⁡(u+v)+cos⁡(u−v).

Proof

1.1givenF4F5algebra

By [F4], gij(θ)=12{cos⁡((i+j)θ)+cos⁡((i−j)θ)}. By [F5] this finite trigonometric expression is C4 on [0,π], and its fourth derivative is gij(4)(θ)=12{(i+j)4cos⁡((i+j)θ)+(i−j)4cos⁡((i−j)θ)}. Therefore max⁡[0,π]∣gij(4)∣≤12((i+j)4+∣i−j∣4)≤(i+j)4. This also covers i=j=0, when the fourth derivative is zero.

2.1F1F2F3step 1.1∎

Apply [F3] to gij and use [F1]–[F2] to identify the exact integral and the Simpson approximation. The derivative bound in step 1.1 gives the claimed entrywise error.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Weighted orthogonal-polynomial Galerkin spaces and spectral scale

Definition

Let μ be a finite positive Borel measure on a compact interval [a,b] with infinite relative support. For each integer N≥0, the moment data (a,b,m=N+1,r=2N+1,μ) satisfy the hypotheses of Positive-measure Gaussian quadrature moment data. Let p0,…,pN be the monic orthogonal polynomials supplied by Monic orthogonal polynomials exist uniquely through the quadrature order, and write

hn=∫[a,b]pn(x)2 dμ(x)>0.

The finite-dimensional weighted Galerkin space is

VN(μ)=span⁡{p0,…,pN}⊂L2(μ).

Here L2(μ) means measurable functions with finite integral of the squared absolute value, modulo equality μ-almost everywhere.

For a coefficient sequence (cn)n≥0 with ∑n≥0(1+n2)s∣cn∣2hn<∞, define its weighted spectral Sobolev norm by ∥∑n≥0cnpn∥Hμs2=∑n≥0(1+n2)s∣cn∣2hn,s≥0. The real powers are those of Real powers for positive bases, with the zero-base positive-exponent convention; since every base 1+n2 is positive, The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x) makes every weight positive. The associated orthogonal Galerkin projection is ΠN(∑n≥0cnpn)=∑n=0Ncnpn. This coefficient-defined scale is specific to the weight μ and the selected orthogonal-polynomial family; no equivalence with a derivative-based Sobolev norm is asserted here.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

The weighted orthogonal-polynomial Galerkin projection is well-defined

Statement

Under the hypotheses of Weighted orthogonal-polynomial Galerkin spaces and spectral scale, for every real measurable u such that ∫∣upj∣ dμ<∞ for 0≤j≤N, the formula

ΠNu=∑j=0N∫u(x)pj(x) dμ(x)hj pj

is finite and defines the unique element of VN(μ) whose residual is orthogonal to every pi, 0≤i≤N.

Facts & Assumptions

Given: A finite positive measure μ with the support condition in Weighted orthogonal-polynomial Galerkin spaces and spectral scale, an integer N≥0, and a real measurable u with ∫∣upj∣ dμ<∞ for 0≤j≤N.

[F1]

Weighted orthogonal-polynomial Galerkin spaces and spectral scale: the basis polynomials p0,…,pN are monic orthogonal polynomials and hj=∫pj2 dμ>0.

[F2]

The polynomial moment pairing is a real inner product: on each finite polynomial space allowed by the moment data, the moment pairing is a positive-definite real inner product.

[F3]

The given integrability hypotheses make each numerator ∫upj dμ a finite real number.

[F4]

The Lebesgue integral is linear on L1(μ): finite sums and scalar multiples of integrable functions are integrable and may be integrated term by term.

Proof

1.1givenF1F2F3algebra

Each numerator is finite by [F3], and each denominator hj is finite and strictly positive by [F1]–[F2]. Thus every coefficient in the displayed finite sum is a defined real number.

2.1F1F4step 1.1algebra

The integrability hypotheses and [F1] make every term in the finite sum integrable, and [F4] distributes its integral. Orthogonality of the pj then gives, for each i≤N, ∫(u−ΠNu)pi dμ=∫upi dμ−∑j=0N∫upj dμhj∫pjpi dμ=0, because all terms with j≠i vanish and the j=i term equals ∫upi dμ. Thus ΠNu∈VN(μ) has the required residual orthogonality.

3.1F1F2step 2.1algebra∎

If v∈VN(μ) has the same residual property, then w=v−ΠNu lies in VN(μ) and is orthogonal to every basis vector, hence to itself. Positive definiteness in [F2] gives ∫w2 dμ=0, so w=0 in L2(μ) and v=ΠNu. This proves uniqueness.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Assemble a weighted Galerkin mass matrix from Gaussian nodes

Definition

Input a degree N≥0, the monic orthogonal basis p0,…,pN and the (N+1)-node Gaussian rule for the same positive measure μ from The m-node Gaussian quadrature rule for a positive measure. With Gaussian nodes ξ1,…,ξN+1 and weights w1,…,wN+1, output the matrix

MijG:=∑r=1N+1wrpi(ξr)pj(ξr),0≤i,j≤N.

The inputs are admissible only when the moment data have order at least 2N+1 and the rule nodes, weights, and basis all use the same measure. The algorithm performs the displayed finite exact-arithmetic sums; no floating-point conditioning claim is made.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Gaussian quadrature exactly assembles the orthogonal Galerkin mass matrix

Statement

Let N≥0, take moment data of order 2N+1 for a finite positive measure μ with support containing at least N+2 points, and use its (N+1)-node Gaussian rule and orthogonal polynomials p0,…,pN. The matrix from Assemble a weighted Galerkin mass matrix from Gaussian nodes has entries MijG=∫pi(x)pj(x) dμ(x)={0,i≠j,hi,i=j.

Facts & Assumptions

Given: N≥0, moment data of order 2N+1, its (N+1)-node Gaussian rule, and the corresponding orthogonal polynomials.

[F1]

Gaussian quadrature is exact through degree 2m−1 and has positive weights: for an m-node rule from moment data of order 2m−1, every polynomial of degree at most 2m−1 integrates exactly.

[F2]

Positive-measure Gaussian quadrature moment data and Monic orthogonal polynomials exist uniquely through the quadrature order with m=N+1: pi is the monic degree-i polynomial orthogonal to every lower-degree polynomial for 0≤i≤N. Write hi:=∫pi2 dμ; these integrals are finite since 2i≤2N<2N+1, within the supplied moment order. Only the stated N+2 support points are needed, not infinite support.

[F3]

Assemble a weighted Galerkin mass matrix from Gaussian nodes: MijG is the Gaussian sum of pipj over the N+1 nodes.

Proof

1.1givenF1F2F3algebra

By [F2], the product pipj has degree i+j≤2N<2N+1=2(N+1)−1. Thus [F1] applies with m=N+1 and gives MijG=∑r=1N+1wrpi(ξr)pj(ξr)=∫pi(x)pj(x) dμ(x) by [F3].

2.1F2step 1.1algebra∎

If i≠j, the higher-degree polynomial is orthogonal to the lower-degree one by [F2], so the integral in step 1.1 is zero. If i=j, it is hi by [F2]. This is the displayed diagonal matrix identity.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Legendre polynomials by Rodrigues' formula and their unweighted pairing

Definition

For each integer n≥0, define the Legendre polynomial

Pn(x):=12nn!dndxn(x2−1)n,

with n! as in The factorial n! and the falling factorial nk‾, defined by recursion in N and repeated derivatives as in Higher derivatives and the classes Ck and C∞. Define the unweighted pairing of real polynomials by

⟨p,q⟩L:=∫−11p(x)q(x) dx,∥p∥L2:=⟨p,p⟩L.

The integral is the ordinary integral of a continuous function; polynomial products are continuous and hence integrable by Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function and A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterion. The normalization and all polynomial identities needed for the orthogonal Galerkin scale are proved in Legendre polynomials have explicit norms and weighted derivative orthogonality.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Legendre polynomials have explicit norms and weighted derivative orthogonality

Statement

For m,n≥0, the polynomials of Legendre polynomials by Rodrigues' formula and their unweighted pairing satisfy ∫−11Pn(x)Pm(x) dx=22n+1 δmn,∫−11(1−x2)Pn′(x)Pm′(x) dx=2n(n+1)2n+1 δmn, where δmn=1 if m=n and 0 otherwise. Each Pn has degree n and nonzero leading coefficient, so P0,…,PN form a basis of polynomials of degree at most N.

Facts & Assumptions

Given: Nonnegative integers m,n and the Rodrigues polynomials Pk.

[F1]

Legendre polynomials by Rodrigues' formula and their unweighted pairing: Pn=(2nn!)−1Dn(x2−1)n and ⟨p,q⟩L=∫−11pq.

[F2]

If u,v are differentiable on [a,b] with u′,v′ integrable, then ∫abuv′=u(b)v(b)−u(a)v(a)−∫abu′v: for differentiable factors with integrable derivatives on a closed interval, ∫uv′=[uv]−∫u′v.

Proof

1.1F1F2F3F4giveninduction

Write (x2−1)n=(x−1)n(x+1)n. For every j<n, its jth derivative vanishes at both endpoints: by the product rule, every term differentiates each factor at most j<n times and retains a positive power of the factor that vanishes at that endpoint. Thus n integrations by parts in [F2] give, for every polynomial q of degree less than n, ∫−11Pnq=(−1)n2nn!∫−11(x2−1)nq(n)=0, because q(n)=0 by [F3]. Hence Pn is orthogonal to every lower-degree polynomial.

2.1F1F3step 1.1algebra

The leading term of (x2−1)n is x2n; differentiating it n times gives (2n)!/n! times xn by [F3]. All other terms have lower degree after differentiation. Therefore Pn has degree n and leading coefficient κn=(2n)!/(2n(n!)2)>0. The distinct degrees imply the family P0,…,PN is linearly independent and spans every polynomial of degree at most N, by successive elimination of leading terms.

3.1F1F2F3step 1.1step 2.1algebra

Since Pn−κnxn has degree less than n, step 1.1 gives ∫−11Pn2=κn∫−11Pnxn. Apply [F2] n times to the Rodrigues formula against xn. The endpoint terms vanish as in step 1.1 and (xn)(n)=n!, so ∫−11Pnxn=12n∫−11(1−x2)n dx.

4.1F2F3F4step 1.1step 2.1step 3.1inductionalgebra

Put Jn=∫−11(1−x2)ndx. Then J0=2. For n≥1, the endpoint values of x(1−x2)n are zero, so integrating its derivative gives 0=Jn−2n(Jn−1−Jn),Jn=2n2n+1Jn−1. Induction yields Jn=22n+1(n!)2/(2n+1)!. Substituting this and κn from step 2.1 into step 3.1 gives ∫Pn2=2/(2n+1). Together with step 1.1 this proves the first orthogonality formula, including n=0.

5.1F1F2F3F4step 1.1step 2.1step 4.1algebra

When n=0, P0=1 and Q0=−((1−x2)P0′)′=0, so Q0=0⋅P0. Now take n≥1 and define Qn=−((1−x2)Pn′)′. Its leading term is n(n+1)κnxn, so Qn−n(n+1)Pn has degree less than n. For any polynomial q of degree less than n, two integrations by parts give ∫−11Qnq=∫−11(1−x2)Pn′q′=−∫−11Pn((1−x2)q′)′=0, where both boundary terms vanish because of the factor 1−x2, and the last polynomial paired with Pn has degree less than n, so step 1.1 applies. Therefore Qn−n(n+1)Pn is a lower-degree polynomial orthogonal to every lower-degree polynomial. Expand it in the basis from step 2.1; the first formula and the positive norms in step 4.1 force every coefficient to be zero. Thus Qn=n(n+1)Pn.

6.1F1F2step 1.1step 4.1step 5.1algebra∎

One integration by parts and step 5.1 give ∫−11(1−x2)Pn′Pm′=∫−11QnPm=n(n+1)∫−11PnPm. The first formula, already proved in step 4.1 and step 1.1, yields the displayed weighted derivative identity for every m,n≥0.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Legendre weighted spectral-Sobolev scale and projection

Definition

For s≥0, define HLs as the completion of finite Legendre sums p=∑n=0McnPn in the coefficient norm

∥p∥HLs2=∑n=0M(1+n(n+1))s22n+1∣cn∣2.

The coefficients are unique because the polynomials have distinct degrees by Legendre polynomials have explicit norms and weighted derivative orthogonality. At s=0 this norm is exactly the unweighted L2([−1,1]) norm on finite sums, by the same lemma; its completion is denoted LL2. Define the degree-N orthogonal projection on finite sums by

ΠNu=∑n=0NcnPn.

It extends to the coefficient completion by truncation. This explicitly coefficient-defined scale uses the Legendre weight 1 on [−1,1]; no equivalence with an unweighted derivative-based Sobolev norm is asserted here.

For fixed s≥0, x↦xs is nondecreasing on (0,∞): its derivative is sxs−1≥0 by Continuity and derivatives of positive-base real powers and real powers are positive by Real powers for positive bases, with the zero-base positive-exponent convention and The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x), so the mean-value theorem The mean value theorem, as the case g(x)=x of Cauchy's: for f continuous on [a,b] with a<b and differentiable on (a,b) there is c∈(a,b) with f(b)−f(a)=f′(c)(b−a) applies. Thus the spectral factors (1+n(n+1))s are positive and nondecreasing with n; the full weights wn below need not be nondecreasing.

For wn=(1+n(n+1))s22n+1>0, the coefficient map (cn)↦(wncn) is an isometry onto real ℓ2. Thus the coefficient model of HLs is exactly {(cn)n≥0:∑n≥0(1+n(n+1))s22n+1∣cn∣2<∞}. Finite-support sequences are dense by truncation, and completeness of ℓ2 from The real square-summable sequence space is complete makes this the completion.

TheoremStatement: AI-adaptedProof: AI-adaptedOpen item page →

Legendre weighted projection has its spectral-Sobolev rate

Statement

Let s≥0, N≥0, and u=∑n≥0cnPn∈HLs from Legendre weighted spectral-Sobolev scale and projection. Then

∥u−ΠNu∥LL2≤(1+(N+1)(N+2))−s/2∥u∥HLs.

Facts & Assumptions

Given: A real s≥0, an integer N≥0, and a coefficient sequence in HLs.

[F1]

Legendre weighted spectral-Sobolev scale and projection: ΠNu=∑n=0NcnPn and the HLs coefficient weight is (1+n(n+1))s2/(2n+1); its spectral factor is nondecreasing in n for s≥0.

[F2]

Legendre polynomials have explicit norms and weighted derivative orthogonality: ∫−11PnPm=2δmn/(2n+1).

Proof

1.1F1F2algebra

For a finite Legendre sum, [F1] gives u−ΠNu=∑n>NcnPn. Orthogonality [F2] therefore gives ∥u−ΠNu∥LL22=∑n>N22n+1∣cn∣2. For every n>N, 1+n(n+1)≥1+(N+1)(N+2); multiplying each term by the inverse weight gives the stated squared bound for finite sums.

2.1F1step 1.1algebra∎

Finite sums are dense in the completion defining HLs. The truncation ΠN is contractive in both the coefficient norm and the s=0 norm, so the finite-sum inequality passes to the limit along any Cauchy sequence of finite sums. Taking square roots proves the claimed estimate for every u∈HLs.

RemarkRemark: Literature-sourcedProof: Not applicableOpen item page →

Chebyshev collocation spectral-radius growth is setup-specific conditioning context

Scope note

For the cited Chebyshev–Gauss–Lobatto second-derivative collocation matrix with the Dirichlet boundary rows treated as in the source, Shen and Tang report spectral-radius growth of order N4. This is a source-specific conditioning observation for that matrix and boundary treatment. It is not a stability estimate for every BVP discretization, a convergence theorem for the algorithm Boundary-eliminated Chebyshev collocation for a two-point Dirichlet BVP, or evidence about any continuum PDE regularity question. This carrier records the source's reported scope and does not claim to prove the spectral-radius asymptotic.

5 · Examples, counterexamples and false statements

None yet.

Sources