Miscellaneous

miscellaneous knowledge for comprehension

→ Linear Quadratic Problem

references:
Linear–quadratic regulator
Quadratic programming
Linear quadratic problem, whose system dynamics are described by a set of linear differential equations (linear dynamic system), and cost function is described by a quadratic function [lq1].
EXAMPLE 1: finite-horizon, continuous-time LQR

continuous-time linear system, defined on t[t0,t1] , described by

x˙=Ax+Bu (lq.1)



with a quadratic cost function defined as

J=xT(t1)F(t1)x(t1)+t0t1(xTQx+uTRu+2xTNu)dt (lq.2)

where F(t1)0,Q0,R>0,N>0

→ diff MPC LQR

LQR is continous infinite horizon solved by Riccati and Kalman, while MPC is discrete and finite horizon

→ matrix, vector, derivative, calculus, quadratic forms, xTPx , ATP+PA

1. vector derivation
references:
Vector derivation of xTx [mvdc1]

→ first order differential function

1. reasoning process of (kf.6)
references:
Linear Differential Equations - Paul's Online Math Notes
process:
For LTI system in state space like

dx(t)dt=Ax(t)+Bu(t) (fodf.1)

This is a special case of first order differential functions (see part 2 of this section).
solution see [fodf1] [fodf2]
2. DE, ODE, PDE, category of differential equations
Differential equations (DE) is mathematical equations that relate some function with its derivatives [fodf3] .
DE can be categorized as several types: Ordinary/Partial, Linear/Non-linear, and Homogeneous/Inhomogeneous [fodf4] .

An ordinary differential equation (ODE) is a differential equation containing one or more functions of one independent variable and its derivatives, while partial differential equation may be respect to more than one independent variable [fodf5] .
The form of ordinary differential equation of order n is [fodf6] :

F(x,y,df(x)dx,,dnf(x)dxn)=0 (fodf.2)

If (fodf.2) not depending on x is called autonomous [fodf7] .
If F is a linear function [fodf8] [fodf9] of f(x) and its derivatives, then the ODE is called linear, and its form may be rewritten as:

y(n)=i=0n-1ai(x)y(i)+r(x) (fodf.3)

where ai(x) and r(x) are continuous functions in x [fodf10] , notice that ai(x) could be function in x other than constant number . If r(x)=0 , then linear ODE (fodf.3) is homogeneous with trivial solution [fodf11] y=0 . If r(x)0 , then linear ODE (fodf.3) is inhomogeneous. Inhomogeneous ODE can be solved if the general solution to the homogenous version is known [fodf12] .
If n in (fodf.2) is 1, then such ODE is called first-order ODE [fodf13] . Thus, state function of an LTI system [fodf14] [fodf15] [fodf16] [fodf17] in form

x˙(t)=Ax(t)+Bu(t)y(t)=Cx(t)+Du(t) (fodf.4)

is a first-order ODE, linearity of (fodf.4) see [fodf18] , if u(t)=0 , then it is homogeneous and autonomous, the solution of which see [fodf19].

Whereas a typical partial differential equation [fodf20] of wave equation [fodf21] of three-dimension may be written in [fodf22]

\begin{aligned} \nabla^2{\Psi(x,y,z;t)}:&=\frac{\partial^2\Psi(x,y,z;t)}{\partial x^2}+\frac{\partial^2{\Psi(x,y,z;t)}}{\partial y^2}+\frac{\partial^2{\Psi(x,y,z;t)}}{\partial z^2}\\&=\frac1{v^2}\frac{\partial^2{\Psi(x,y,z;t)}}{\partial t^2} \end{aligned} (fodf.5)


The universal form of a PDE is [fodf23] :

G(x1,,xn,g(x1,,xn),g(x1,,xn)x1,,g(x1,,xn)xn,2g(x1,,xn)x1x1,,2g(x1,,xn)x1xn,)=0 (fodf.6)



Name Solvability Form Method Tools
ODE closed-form solution [fodf24] for linear ones [fodf25]
only graphical and numerical for nonlinear ones
(fodf.2)
PDE linear ones more difficult than ODE, but analytical solution exists, due to separation of variables. [fodf26] (fodf.6)
Linear see ODE and PDE
Non-linear see ODE and PDE Riccati equations (quadratic)
Homogeneous
Inhomogeneous
First-order catogory see [fodf27]
High-order reduction to first-order system [fodf28] [fodf29]