A numerical method for solving linear non-autonomous systems based on linear programming

https://doi.org/10.1016/j.amc.2005.11.046Get rights and content

Abstract

In this article we propose an approximate solution method for solving linear non-autonomous systems with an initial condition. In this method, the initial value problem is transformed into a linear programming problem to obtain an approximate solution. The existence and uniqueness criterion for solution is also proved in a linear programming manner. Finally we propose a method to find the fundamental matrix of these systems. Numerical examples are considered.

Introduction

We are going to find the approximate solution of the following initial value problem:x˙(t)=A(t)x(t)+g(t),t[a,b],x(a)=xa,where x = (x1,  , xn) is a vector function with components in C1([a, b]), and xa = (x1a,  , xna) is given. Here, A(·) is an n × n matrix which its entries are continuous functions on [a, b], and g(·) = (g1(·),  , gn(·)) is an n × 1 vector function with continuous components on [a, b].

There are many numerical methods to solve this problem and even nonlinear cases. Some of this numerical methods are Euler, Runge–Kutta, and Taylor series method (see [7]).

By defining artificial controls, Alavi, et al. [1] have converted this type of problems to an optimal control problem and then solve it by the method of [9]. In this method the approximate solution is found by the solution of a linear programming (LP) problem.

In the present method, we convert the initial value problem to a calculus of variation problem. A straightforward discretization of the resulting problem leads to a finite dimensional linear programming problem. Solution of this LP problem determines the value of x(·) at some specified points.

Methods of this type were frequently and successfully applied to different problems, for example, the controllability of time-varying systems [5], and optimal guidance to a moving target [8].

LP formulation enables us to prove the existence theorem for initial value problem (1), (2) based on duality theorem. We also use sensitivity analysis to find the fundamental matrix of system (1). Error estimation and numerical examples are also given.

Section snippets

Metamorphosis

For our present purpose, it seems to be convenient if we could change the initial value problem (1), (2) to an optimization type problem. To this means, let define the function F:R2n[0,+) as follows:F(x(t),x˙(t))=x˙(t)-A(t)x(t)-g(t),where ∥·∥ is the L1 norm defined asy=i=1n|yi|,y=(y1,,yn)Rn.Consider the following calculus of variations problem:minJ(x(·),x˙(·))=abF(x(t),x˙(t))dtsubjectto:x(·)C1([a,b]),x(a)=xa.It can be shown that x(·) is the solution of (1), (2) if and only if x(·) is

Discretization

Let N be a positive integer, Δ(N)=b-aN, and consider the following subsets of integer numbers:J={1,2,,N+1},J1={1,2,3,,N},I={1,2,,n}.Let P(N) = {t1, t2,  , tN+1} be a partition of [a, b], wheretj=a+(j-1)Δ(N)jJ.For large value of N we havex˙i(tj)xi(tj+Δ(N))-xi(tj)Δ(N)=xi(tj+1)-xi(tj)Δ(N).Let define xij = xi(tj) for all i  I and j  J. Thus we havex˙i(tj)xij+1-xijΔ(N),iI,jJ1.We setfij=xij+1-xijΔ(N)-kIaikjxkj-gijiI,jJ1,whereaikj=Aik(tj),gij=gi(tj)i,kI,jJ1.Now we may discretize problem (3),

LP formulation

Let defineRij=max{fij,0},Sij=-min{fij,0}for all i  I and j  J1.

Then we have|fij|=Rij+Sij,fij=Rij-Sij.Now we can linearize problem (5), (6), (7) by these new variables. Therefore we must solve the following LP.miniIjJ1(Rij+Sij)subjectto:Rij-Sij=fijiI,jJ1,xi1=xiaiI,xijfreeiI,jJ,Rj,Sj0jJ1.To solve the above LP problem one may use a method for solving LP problems, for example revised simplex method ([2]) or interior point methods [12]. There are also many softwares for LP solving, a

Fundamental matrix

Let {e1, e2,  , en} be the standard basis for Rn. If xj(·) is the solution of (1) with ej as initial value, then X(·) = [x1(·)⋯xn(·)] is called the fundamental matrix for this system.

The fundamental matrix has several interesting properties (see [10]). Except in special forms of (1) the fundamental matrix is very hard for calculation. By our method we can find this matrix approximately.

Let x1N(.) is the linear approximation found by solving the corresponding LP with e1 as initial value. If we

Examples

Now we study the performance of proposed method on two examples. To make a criterion for error estimation, let define a total error corresponding to N as:TE(N)=1NjJx(tj)-xjN,where, x(tj) denotes the exact solution at tj, and xjN is the approximation value for x(tj) obtained by solving the corresponding LP problem for N. If x¨(·) be twice differentiable on [a, b], from a theorem on error estimation of Euler method, it could be shown thatTE(N)(b-a)e(b-a)K-12KNM2,where,M2=maxt[a,b]x¨(t),K=

Conclusions

A numerical method is derived to solve the initial value problem for a non-autonomous linear system. The approximate solution is found via solving a linear programming problem. The LP formulation has some aspects, for example in the proof of existence theorem, and in finding the fundamental matrix numerically.

The proposed method may be applied to solve boundary value problems as well.

In the case of nonlinear systems, the method can be applied on linearized form of the system [6].

References (12)

  • A.V. Kamyad et al.

    The best linear approximation for nonlinear systems

    Applied Mathematics and Computation

    (2005)
  • S.A. Alavi et al.

    Solving nonlinear ordinary differential equations as a control problem by using measure theory

    Scientia Iranica

    (2000)
  • M.S. Bazaraa et al.

    Linear Programming and Network Flows

    (2005)
  • R.L. Burden et al.

    Numerical Analysis

    (2000)
  • R. Fourer

    Software survey: linear programming

    OR/MS Today

    (2003)
  • A.V. Kamyad et al.

    A linear programming approach to the controllability of time varying systems

    IUST-International Journal of Engineering Science

    (2003)
There are more references available in the full text version of this article.

Cited by (1)

  • An approximation to solutions of linear ODE by cubic interpolation

    2008, Computers and Mathematics with Applications
    Citation Excerpt :

    In this context [3,4] are of particular interest. In this paper, we use as point of departure the ideas based on optimal control and least squares methods for integration of ODE [5–8] in order to introduce a new method of approximation of the curve solution. This method uses a segmentary interpolation with polynomials of degree equal to three.

View full text