Because high-dimensional space is difficult to understand intuitively (von Neumann and his sister&#58 we don’t), high-dimensional dynamics generally discusses linear systems first, and then regards the effects of nonlinearity as distortions of linear systems.

    A linear dynamical system in n dimensions, written in matrix multiplication form:

    (z˙1z˙2z˙n)=ddt(z1z2zn)=(J11J12J1nJ21J22J2nJn1Jn2Jnn)(z1z2zn)\left(\begin{matrix} \dot z_1\\\dot z_2\\\vdots\\\dot z_n\end{matrix}\right)=\frac{\mathrm d}{\mathrm dt}\left(\begin{matrix}z_1\\z_2\\\vdots\\z_n\end{matrix}\right)=\left(\begin{matrix} J_{11} & J_{12} & \dots & J_{1n} \\ J_{21} & J_{22} & \dots & J_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ J_{n1} & J_{n2} & \dots & J_{nn} \\ \end{matrix}\right) \left(\begin{matrix}z_1\\z_2\\\vdots\\z_n\end{matrix}\right)

    This system of ordinary differential equations dz/dt=J^z\mathrm d\vec z/\mathrm dt=\hat J\cdot\vec z can be solved directly.

    General solution of linear differential equations

    J^\hat J is generally a real matrix. Let λi\lambda_i and vi\vec v_i be the eigenvalues ​​and eigenvectors of the matrix J^\hat J.

    When the eigenvalues ​​are not equal to each other

    z=incieλitvi=c1eλ1tv1+c2eλ2tv2++cneλntvn\vec z = \sum_i^n{c_ie^{\lambda_it}\vec v_i} = c_1e^{\lambda_1t}\vec v_1 + c_2e^{\lambda_2t}\vec v_2+\dots+c_ne^{\lambda_nt}\vec v_n

    Where cic_i is a constant determined by the initial value condition, and the eigenvectors vi\vec v_i are not necessarily** orthogonal.

    Among them, an eigenvalue λi\lambda_i may be positive, negative, complex, 0, or coincide with other eigenvalues. After a long enough evolution——

    • Positive number: Each component of z\vec z diverges to infinity along the vii\vec vi_i direction;
    • Negative number: Each component of z\vec z converges to the origin along the vii\vec vi_i direction;
    • 0: Each component of z\vec z does not change in the vii\vec vi_i direction, and the straight line through the origin represented by vii\vec vi_i becomes the "stationary line" of the system
    • Complex number: λ\lambda and its conjugate λ\lambda^* are both eigenvalues ​​of J^\hat J, and each variable spirals between this pair of eigenvectors according to Euler's formula. If the real part is positive, it spirals to infinity, and if it is negative, it spirals to the origin;
    • Equal to other eigenvalues, let the multiplicity of this eigenvalue be k, then the solution of the equation becomes z=inkcieλitvi+jkdjtj1v\vec z = \sum_i^{n-k}{c_ie^{\lambda_it}\vec v_i}+\sum_j^kd_jt^{j-1}\vec v

    When the eigenvalues ​​are not zero, the linear system has at most one stationary point, which is the origin.

    Example: 2D Linear System

    In 2D, the eigenvalues ​​of the J^\hat J matrix are given by the matrix trace Tr[J^]\mathrm{Tr}[\hat J] and the determinant Det[J^]\mathrm{Det}[\hat J]

    λ±=Tr[J^]±Tr2[J^]4 Det[J^]2\lambda_{\pm}=\frac{\mathrm{Tr}[\hat J]\pm\sqrt{\mathrm{Tr}^2[\hat J]-4\ \mathrm{Det}[\hat J]}}{2}

    The phase portrait of the system--

    At an infinite distance from the origin, the tangent of the dynamic trajectory approaches the eigenvector with the larger absolute value of the eigenvalue.

    It can be seen that in addition to stable and unstable stationary points (4 figures on the left), two-dimensional systems have several more cases than one-dimensional systems (4 figures on the right).

    • The stationary point when one eigenvalue is positive and the other is negative is called a saddle point.

    • When one of the eigenvalues ​​is 0, the straight line through the origin represented by the corresponding eigenvector is the fixed line of the system.

    • When the two pairs of eigenvalues ​​are conjugate complex numbers, the system will have periodic phenomena, but the limit cycle will not appear until the nonlinear system.

    Nullcline

    There is only one f function in a one-dimensional system, and solving the stationary point only requires calculating the zero point of this function.

    In high-dimensional dynamics, the zero point of fif_i in each dimension can be found, and the solution is an n-1-dimensional geometric structure called nullcline. In a two-dimensional dynamic system, nullclines are one-dimensional structures, that is, straight lines/curves.

    On the nullcline of the kth dimension, the rate of change of the variable zkz_k is 0, and the tangent of the trajectory of the generalized coordinates in the phase space is orthogonal to the number axis of zkz_k.

    The stationary point is the common intersection of all n nullclines.

    Jacobian Matrix

    For a linear system represented in matrix form, the i-th row and j-th column of J^\hat J is exactly z˙i/zj=fi/zj\partial\dot z_i/\partial z_j = \partial f_i/\partial z_j. This partial derivative matrix between two vectors is called the Jacobian matrix J\mathbb J.

    The Jacobian matrix of a linear system has elements that are constants independent of ziz_i.

    The Jacobian matrix of a nonlinear system generally has elements that are expressions with ziz_i as variables.

    The Jacobian matrix is ​​used to discuss the stability of stationary points/attractors, and its role in nonlinear systems will become more obvious in the next post.

    What's next

    Qualitative and semi-quantitative analysis framework for nonlinear systems

    See also: