Gaussian Quadrature Weights and LGL Pseudospectral Methods
This section develops Gaussian quadrature weights and introduces the Legendre–Gauss–Lobatto (LGL) pseudospectral transcription for optimal control. It concludes by explaining why the differentiation matrix of the LGL method is singular and therefore does not constitute a true quadrature (integration) method.
Gaussian Quadrature Weights¶
For Legendre–Gauss (LG) points,
For Legendre–Gauss–Radau (LGR),
and
For Legendre–Gauss–Lobatto (LGL),
and
Model Optimal Control Problem¶
Consider
subject to
with
The interval has already been normalized to
LGL State Approximation¶
Using all LGL nodes,
where are Lagrange basis polynomials.
Because
the coefficients satisfy
Differentiation Matrix¶
Differentiating,
Evaluating at each collocation point,
where
Stacking every node gives
Boundary Conditions¶
The discretized initial condition becomes
and the Mayer objective becomes
The resulting NLP is
subject to
and
Integral Form¶
A true integration method would satisfy
which discretizes
The matrix is obtained from Gaussian quadrature weights.
Why LGL Fails as a True Quadrature Method¶
The interpolation polynomial has degree
Its derivative therefore has degree
However, collocation is enforced at all LGL points.
Thus the differentiation system contains one more equation than is required to uniquely determine the derivative polynomial.
Consequently,
is singular.
Therefore,
does not exist.
The differential system
cannot be transformed into
Hence the LGL differentiation equations are not equivalent to a Gaussian quadrature rule.
Interpretation¶
Differentiation destroys constants since
Therefore constant functions lie in the null space of the differentiation operator.
The singularity of the differentiation matrix is the finite-dimensional manifestation of this null space.
Comparison with Euler¶
Euler forward,
may be rewritten as
which is an explicit integration rule.
Therefore Euler possesses an equivalent integral form.
The LGL differentiation equations do not.
Consequences¶
The lecture emphasizes that although LGL nodes appear attractive because they include both endpoints, their differentiation matrix is singular. This motivates the development of Legendre–Gauss and Legendre–Gauss–Radau pseudospectral methods, which preserve Gaussian quadrature while still enforcing boundary conditions correctly.
Summary¶
Closed-form Gaussian quadrature weights were introduced.
The LGL pseudospectral transcription was derived.
The differentiation matrix was constructed.
The LGL differentiation matrix is singular.
Constants form the null space of differentiation.
Unlike Euler integration, the LGL differentiation equations cannot be converted into an equivalent quadrature rule.
This motivates LG and LGR pseudospectral methods.
Connection. Removing both endpoints from the collocation grid produces the LG method and reveals the relationship between rectangular differentiation and exact integration matrices.