Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

The Legendre–Gauss–Radau Pseudospectral Method

This section develops the Legendre–Gauss–Radau (LGR) pseudospectral method, derives both its differential and integral forms, compares it with the LG method, and explains why LGR is often preferred for practical optimal control because it provides a control variable at the initial time.

Review of the LG Method

For LG collocation,

τ1>1,τN<1.\tau_1>-1,\qquad \tau_N<1.

The state approximation is

X(τ)=i=0NXiLi(τ),X(\tau)=\sum_{i=0}^{N}X_iL_i(\tau),

leading to

D0X0+D1:NX1:N=F1:N,D_0X_0+D_{1:N}X_{1:N}=F_{1:N},

and

XN+1=X0+wTF1:N.X_{N+1}=X_0+\mathbf w^TF_{1:N}.

LGR Collocation Points

Unlike LG, the LGR points include the left endpoint,

τ1=1,\tau_1=-1,

while

τN<1.\tau_N<1.

Introduce one additional non-collocated point

τN+1=1.\tau_{N+1}=1.

State Approximation

Approximate the state by

X(τ)=i=1N+1XiLi(τ),X(\tau)= \sum_{i=1}^{N+1}X_iL_i(\tau),

with

Li(τ)=j=1jiN+1ττjτiτj.L_i(\tau)= \prod_{\substack{j=1\\j\neq i}}^{N+1} \frac{\tau-\tau_j}{\tau_i-\tau_j}.

The approximation uses N+1N+1 support points and therefore has degree NN.

Derivative Approximation

Differentiating,

X˙(τ)=i=1N+1XiLi(τ).\dot X(\tau)= \sum_{i=1}^{N+1}X_iL_i'(\tau).

The derivative has degree N1N-1 and is uniquely determined by NN conditions.

Collocation

Enforce the dynamics at the NN LGR points,

X˙(τj)=f(Xj,Uj),j=1,,N.\dot X(\tau_j)=f(X_j,U_j), \qquad j=1,\ldots,N.

Define

Dji=Li(τj),D_{ji}=L_i'(\tau_j),

giving

i=1N+1DjiXi=Fj.\sum_{i=1}^{N+1}D_{ji}X_i=F_j.

Partition

D=[D1D2:N+1],D= \begin{bmatrix} D_1&D_{2:N+1} \end{bmatrix},

to obtain

D1X1+D2:N+1X2:N+1=F1:N.\boxed{ D_1X_1+D_{2:N+1}X_{2:N+1}=F_{1:N}. }

Integral Form

The continuous dynamics satisfy

X(τ)=X(1)+1τf(s)ds.X(\tau)=X(-1)+ \int_{-1}^{\tau}f(s)\,ds.

Evaluating at

τj,j=2,,N+1,\tau_j,\qquad j=2,\ldots,N+1,

and approximating each integral by LGR quadrature gives

Xj=X1+i=1NαjiFi.X_j= X_1+ \sum_{i=1}^{N}\alpha_{ji}F_i.

Collecting all equations,

X2:N+1=1X1+A2:N+1F1:N.\boxed{ X_{2:N+1} = \mathbf1X_1+ A_{2:N+1}F_{1:N}. }

Equivalence

If

D2:N+1D_{2:N+1}

is nonsingular,

X2:N+1=D2:N+11D1X1+D2:N+11F1:N.X_{2:N+1} = -D_{2:N+1}^{-1}D_1X_1 + D_{2:N+1}^{-1}F_{1:N}.

The key identities are

D2:N+11D1=1,-D_{2:N+1}^{-1}D_1=\mathbf1,

and

D2:N+11=A2:N+1.D_{2:N+1}^{-1}=A_{2:N+1}.

Hence the differential and integral formulations are mathematically identical.

Terminal State

The final row yields

XN+1=X1+i=1NwiFi,X_{N+1} = X_1+ \sum_{i=1}^{N}w_iF_i,

which is exactly the LGR Gaussian quadrature formula.

Comparison with LG

PropertyLGLGR
Left endpointNoYes
Right endpointNoNo
Extra state pointInitialFinal
Control at initial timeNoYes
Quadrature exactness2N12N-12N22N-2
Integration methodYesYes

Control Approximation

LG provides controls only at interior Gauss points,

U1,,UN,U_1,\ldots,U_N,

so there is no control at t0t_0.

LGR provides

U1,,UN,U_1,\ldots,U_N,

where U1U_1 corresponds to

τ=1,\tau=-1,

allowing the optimal control to be applied immediately.

General Time Interval

For

t[t0,tf],t\in[t_0,t_f],

the mapping

t=tft02τ+tf+t02t=\frac{t_f-t_0}{2}\tau+\frac{t_f+t_0}{2}

gives

dxdτ=tft02f(x,u,t),\frac{dx}{d\tau} = \frac{t_f-t_0}{2}f(x,u,t),

and

J=Φ+tft0211L(x,u,τ)dτ.J= \Phi+ \frac{t_f-t_0}{2} \int_{-1}^{1}L(x,u,\tau)\,d\tau.

Only the scaling factor changes; the transcription remains unchanged.

Advantages

Summary

  1. LGR includes the left endpoint.

  2. The state polynomial has degree NN.

  3. Dynamics are collocated at NN Radau points.

  4. The differentiation matrix has a full-rank square submatrix.

  5. Its inverse is the Radau integration matrix.

  6. The terminal state follows directly from Radau quadrature.

  7. LGR sacrifices one degree of quadrature exactness relative to LG but gains an initial control value.