• No results found

3 Equations and inequations

N/A
N/A
Protected

Academic year: 2021

Share "3 Equations and inequations"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

Solvability of dierential algebraic equations and inequalities:

an algorithm

S. T. Glad

Department of Electrical Engineering Linkoping University

S-581 83 Linkoping, Sweden

Tel (+46) 13 281308, Fax (+46) 13 282622 e-mail: torkel@isy.liu.se

Summary

The existence of real solutions to polynomial systems of implicit dierential equations, dierential inequations and dierential inequalities is considered. A transformation to a standard form is achieved using methods of dierential algebra. The problem then reduces to a problem in real (non-dierential) algebra.

1 Introduction

When modeling physical systems one often arrives at a mixture of equations in a number of physical vari- ables and their derivatives, see e. g. 7] and 8]. The model might only be valid for certain values of the physical variables or one might want to study it only in a certain range. This could be expressed by in- equalities or inequations. An obvious question is then whether there exists a solution that satis es all equa- tions, inequations and inequalities. Also one would like to transform the system to some standard form which facilitates the computation of such a solution.

For the case of a system of polynomial equations and inequations

f

1= 0:::fn = 0 g16= 0:::gm6= 0 in a number of variables and their derivatives, there is an algorithm by Seidenberg, 13] to decide solvability using successive elimination of variables. The algo- rithm does not allow the restriction to real-valued so- lutions that one would want in most physical models, however.

In the work by Ritt, 12], a standard form, the so called characteristic set is introduced, which permits investigation of solvability but gives no direct infor- mation about real solutions. Also the Ritt algorithm requires factorizations of high complexity. A further investigation of algorithmic aspects is given in 5].

For polynomial systems of equations, inequations and inequalities without any derivatives, the theory of real algebra, 10], 3], gives algorithmic methods for

This work was supported by the Swedish Research

Council for Engineering Sciences (TFR), which isgratefully

acknowledged.

deciding the existence of real solutions. A possible algorithm is cylindrical algebraic decomposition., 1],

2].In this paper we will look at systems of equations, inequations and strict inequalities:

f

1= 0:::fn = 0 g16= 0:::gm6= 0

h

1

<0:::hq <0 (1) Thefi,gi andhiare dierential polynomials in some variables y1:::yN, i. e. they are polynomials in those variables and a nite number of their deriva- tives. The coecients will typically be rational num- bers, but may in principle come from any real eld.

2 Basic dierential algebraic concepts

We will use concepts from dierential algebra to con- struct an algorithm. An introduction to dierential algebra is given in 6]. The basic references are 12],

11]. Algorithmic aspects are discussed in 9] and in

4], 5].

As discussed above we will be interested in systems described by dierential polynomials, i.e. polynomi- als in certain variables and their derivatives. The derivatives will be denoted by dots or the derivative order in parenthesis:

u u_ u u(3):::

A fundamental concept for the algorithmic aspects of dierential algebra is ranking. This is a total order- ing of all variables and their derivatives. Examples involving two variables are

u<y <u_ <y_ <u<y<

(2)

and

u<u_ <u<<y<y_ <y<

where<denotes \is ranked lower than". Any ranking is possible provided it satis es two conditions:

u ()<u

(+)

u ()<y

())u

(+)<y (+)

for all variables u and y, all nonnegative integers  and, and all positive integers. The highest rank- ing variable or derivative of a variable in a dierential polynomial is called the leader.

The ranking of variables gives a ranking of dier- ential polynomials. They are simply ranked as their leaders. If they have the same leader, they are con- sidered as polynomials in their leader and the one of lowest degree is ranked lower.

LetA,B be two dierential polynomials and letA have the leaderv. ThenB is said to be reduced with respect toAif there is no derivative of v inB and if

B has lower degree thanA when both are regarded as polynomials inv.

A set

A

1

:::Ap

of dierential polynomials is called auto-reduced if all theAi are pairwise reduced with respect to each other. Normally auto-reduced sets are ordered so that

A

1,..,Ap are in increasing rank.

Auto-reduced sets are ranked as follows. LetA=

A

1

:::ArandB=B1:::Bsbe two ordered auto- reduced sets. A is ranked lower if either there is an integerk, 0kmin(sr) such that

rankAj= rankBj j= 0:::k;1 rankAk<rankBk

or else ifr>sand

rankAj = rankBj j= 0:::s

A characteristic set for a given set of dierential poly- nomials is an auto-reduced subset such that no other auto-reduced subset is ranked lower.

The separant SA of a dierential polynomial A is the partial derivative ofAwith respect to the leader, while the initial IA is the coecient of the highest power of the leader inA.

If a dierential polynomial f is not reduced with respect to another dierential polynomialg, then ei- therf contains some derivative of the leaderug of g or elsef containsugto a higher power. In the former case one could dierentiateg a suitable number (say

) of times and perform a pseudo-division to remove that derivative, giving a relation

Sf =Qg()+R (2)

whereS is the separant ofg andR does not contain the highest derivative ofug which is present inf.

In the latter case one could perform a pseudo- division off byg getting

If =Qg+R (3)

where I is the initial of g and R is reduced with re- spect tog.

The following property is important for the nite- ness of the algorithms that we are going to present.

Proposition 1 A sequence of derivatives, each one ranked lower than the preceding one, can only have nite length.

Proof. Lety1:::yp denote all the variables whose derivatives appear anywhere in the sequence. For eachyj letj denote the order of the rst appearing derivative. There can then be only j lower deriva- tives ofyj in the sequence. The total number of ele- ments is thus bounded by1++p+p.

A direct consequence is

Proposition 2 A sequence of characteristic sets, each one ranked lower than the preceding one, can only have nite length.

3 Equations and inequations

Consider to begin with a system of the form

f

1= 0:::fn= 0 g16= 0:::gm6= 0 (4) where thefi and gi are polynomials in the variables

y

1

:::yN

and their derivatives. The basic algorithm is the fol- lowing.

Algorithm FG

Input: An ordered pair (FG) of sets

F =ff1::: fng G=fg1:::gmg

where the fi and gi are dierential polynomials cor- responding to equations and inequations respectively.

1. Compute a characteristic set

A=fA1:::Apg

ofF.

2. IfFnAis non-empty, then go to 5.

3. IfSA2G,IA2Gfor allA2Athen

Finished. Output: (FG).

4. For someA 2 A, eitherp :=SA orp:= IA so thatp62G.

Split. Output:

(FfpgG) (FGfpg)

(3)

5. Letfkbe the highest unreduced (with respect to

A) element ofF. Then from (2), (3), there is an equation

pfk=Qfj()+R

wherefj is an element ofA, and eitherp=Sfj

orp=Ifj. Ifp62Gthen go to 8.

6. IfR= 0 then

F :=Fnfk

and go to 1.

7.

F := (F nffkg)fR g and go to 1.

8. Split. Output:

(FfpgG) (FGfpg)

Proposition 3 The algorithmFGwill reach one of the points marked \Finished" or \Split" after a nite number of steps.

Proof. The only possible loop is via step 6 or step 7 to step 1. This involves either the removal of a polynomial or its replacement with one that is re- duced with respect toAor has its highest unreduced derivative removed. IfR is reduced, then it is possi- ble to construct a lower auto-reduced set. An in nite loop would thus contradict either Proposition 1 or Proposition 2.

Proposition 4 If the algorithm FG receives the pair (FG) of equations and inequations and returns the two pairs (F1G1), (F2G2), then

(FG),(F1G1)or(F2:G2)

in the sense that an element of a given dierential algebraic eld satis es the equations F and the in- equationsGif and only if it satis es eitherF1,G1 or

F

2,G2.

Proof. The setF is changed at either step 6 or step 7. If these steps are reached, then we have

pfk=Qfj()+R

withpbelonging to the set of inequationsGthat have to be satis ed. The problems

f

1= 0:::fk = 0:::fn= 0 Y

g2G

g6= 0

f

1= 0:::R= 0:::fn = 0 Y

g2G

g6= 0 are then equivalent. At the splittings at step 4 or step 8 the equivalence is obvious.

If the algorithm FG splits the pair (FG) into two pairs (F1G1) and (F2G2), then the algorithm can again be used on each pair. If there is a new split, the algorithm can again be used on each pair. In this way a tree structure is generated where each node corresponds to a split generated by the algorithm. If the algorithm reaches \Finished" at step 3, then that branch of the tree is terminated.

Proposition 5 The tree generated by the algorithm FG in the manner described above is nite and each branch terminates with a pair (FG) such that F is an auto-reduced set and each separant and initial of

F belongs toG.

Proof. Consider a pair (F1G1) generated at one node of the tree and a pair (F2G2) generated at a lower node. Then, either the lowest auto-reduced set ofF2is strictly lower then the one ofF1, or elseF1=

F

2. In the latter case G2 has been obtained from

G

1 by adding one or more elements. Since only a nite number of elements can be added to G for a xed F, an in nite number of nodes in the tree can only be generated by a violation of Proposition 2.

The remainder of the proposition follows from the fact that a branch of the tree can only be terminated by algorithm FG reaching \Finished" at step 3.

4 A reduced form

Now consider a system which also includes strict in- equalities:

f

1= 0:::fn = 0 g16= 0:::gm6= 0

h

1

<0:::hq <0 (5) We assume that algorithm FG has been used for the equations and inequations so that f1,..,fn form an auto-reduced set whose separants and initials are amongg1,..,gm.

Proposition 6 The system (5) is equivalent to a modi ed system

f

1= 0:::fn = 0 g~16= 0:::~gm6= 0

~

h

1

<0:::~hq <0 (6) where all gi and hi are reduced with respect to

f

1,..,fn.

Proof. For eachgk that is not reduced we can write

gkY i

SiiIii = ~gk+X

ij

Qijfi(j)

where ~gk is the remainder of gk with respect to the auto-reduced set f1,..,fn and the Si and Ii are the separants and initials. Since these polynomials are among those which are speci ed to be nonzero and thefi are speci ed to be zero, it is clear thatgk6= 0

(4)

is equivalent to ~gk 6= 0. Also ~gk, being a remainder, is reduced with respect tof1,..,fn.

For eachhk one has similarly a relation

hkYSiiIii = ^hk+XQijfi(j)

where the remainder ^hk is reduced. Multiplying by as suitable number of separants and initials this can be written

hkYSi~iIi~i = ~hk+XQ~ijfi(j) where the integers ~i and ~i are even and

~

hi= ^hkYSiiIii

is still reduced with respect tof1,..,fn. Sincehk and

~

hk dier only by a strictly positive factor when all inequations and equations are satis ed, it follows that

hk <0 and ~hk<0 are equivalent.

5 Solvability

From the previous sections it follows that to deter- mine the existence of a real solution to (1) one has to solve that problem for a number of systems

f

1= 0:::fn= 0 g16= 0:::gm6= 0

h

1

<0:::hq <0 (7) wheref1,..,fn is an auto-reduced set whose separants and initials are among thegi, and where allgiandhi

are reduced with respect tof1,..,fn.

To analyze the problem, the original physical vari- ables are replaced by variables z1,..,zn and u1,..,up

(p= N ;n) in such a way that the leader of fi is the derivative zi(i) for some i. We introduce the notation

Zi=fziz_izi:::zi(;1)z(i)g (8)

U =fu1:::u(11):::u(pp)g (9) where i is the highest derivative of ui. The system (7) can then be written

f

1(Z11Z22;1Z33;1:::Znn;1U) = 0

f

2(Z11Z22Z33;1:::Znn;1U) = 0 ...

fn(Z11Z22Z33:::ZnnU) = 0

g

1(Z11Z22Z33:::ZnnU)6= 0 ...

gm(Z11Z22Z33:::ZnnU)6= 0

h

1(Z11Z22Z33:::ZnnU)<0 ...

hq(Z11Z22Z33:::ZnnU)<0 (10)

We now introduce the following sets of variables in two indices:

Zi=fzi0zi1:::zi;1zig (11)

V =fu10:::u11:::uppg (12) Together with (10) we can then consider the purely al- gebraic system of equations, inequations and inequal- ities.

f

1(Z11Z22;1Z33;1:::Znn;1V) = 0

f

2(Z11Z22Z33;1:::Znn;1V) = 0 ...

fn(Z11Z22Z33:::ZnnV) = 0

g

1(Z11Z22Z33:::ZnnV)6= 0 ...

gm(Z11Z22Z33:::ZnnV)6= 0

h

1(Z11Z22Z33:::ZnnV)<0 ...

hq(Z11Z22Z33:::ZnnV)<0 (13) To determine if this system has a real solution can be done using for instance the methods of 1], 2].

Proposition 7 Let

Zo

11:::ZoppVo (14) solve (13). Then locally around (14) the equations

f

1= 0:::fn= 0 of (13) are equivalent to a system

z

11 = 1(Z11;1:::Znn;1V) ...

znn= n(Z11;1:::Znn;1V)

(15)

Proof. The Jacobian@fi=@zjj is a lower triangular matrix from the structure of (13). Its diagonal ele- ments are the separants, which are among thegi and thus nonzero at the point (14). The non-singularity of the Jacobian ensures (15) via the implicit function theorem.

The main result can now be formulated.

Theorem 1 Let

Zo

11:::ZoppVo (16) solve (13). Then, for any set of real analytic functions

u

1(t),..,up(t) with

U(t0) =Vo

(5)

there exists an > 0 such that, on the interval (t0; t0+ ), there are real solutions z1(t),..,zn(t) satisfying (10) with

Z (;1)

i (t0) =Zoi;1 i= 1:::n

Proof. From Proposition 7 the equations of (10) are locally equivalent to

z (1)

1 = 1(Z1(1;1):::Zn(n;1)U) ...

z (n)

n = n(Z1(1;1):::Zn(n;1)U) (17) with the initial conditions

Z (;1)

i (t0) =Zoi;1 i= 1:::n

which can be converted to a state space description using the standard state assignment

x

1=z1x2= _z1:::x1 =z(11;1)

x1+1=z2x1+2= _z2:::x1+2 =z(22;1)

... (18)

The existence of a local solution to (17) then follows from standard results on ordinary dierential equa- tions, see e. g. 14]. Since the inequations and in- equalities are satis ed at t0 they are satis ed on a small enough interval.

6 A simple example

Are there any real solutions to the following system?

_

y 2

1+ _y22;1 = 0

y

1 y

2

;1 = 0



y

1+ y2<0 (19) Running algorithm FG, for the ranking

y

1

<y_1<y1<<y2<y_2<y2< together with reduction gives the following system

(y41+ 1) _y21;y41= 0

y

1 y

2

;1 = 0

y

1 6= 0

y 4

1+ 16= 0 _

y

1 6= 0

y 11

1 (y12+ 1)(y14+ 1)3<0 (20) The other systems created by splitting in algorithm FG trivially lack solutions. We see that any negative initial value ofy1will lead to a solution satisfying the relations in (20). We thus have to solve the initial value problem

_

y

1= qy14=(y14+ 1) y2= 1=y1 withy1(0)<0.

7 Conclusions

We have shown how one can decide algorithmically if a system (1) has a real solution. First algorithm FG is used to reduce the problem to the checking of a number of systems of the form (1) but where the equalities form an auto-reduced set whose separants and initials are among the gi and where the gi and

hi are reduced. Since the equations are then equiv- alent to a set of explicit dierential equations (17), it is enough to nd an initial condition satisfying the equations, inequations and inequalities. This a prob- lem of real algebra, which can be solved by known methods.

An natural generalization would be to allow also inequality constraints of the formhi 0. This would introduce new aspects into the problem, such as the possibility of choosing theuto make the solution re- main in the feasible region.

References

1] D. S. Arnon, G. E. Collins, and S. McCallum.

Cylindrical algebraic decomposition i: The basic algorithm. SIAM J. Comput., 13:865{889, 1984.

2] D. S. Arnon, G. E. Collins, and S. McCallum.

Cylindrical algebraic decomposition ii: An adja- cency algorithm for the plane. SIAM J. Comput., 13:878{889, 1984.

3] J. Bochnak, M. Coste, and M-F. Roy. Geometrie algebrique reelle. Springer-Verlag, 1987.

4] S. Diop. A state elimination procedure for nonlinear systems. In J. Descusse, M. Fliess, A. Isidori, and D. Leborgne, editors, New trends in Nonlinear Control Theory, Lect. Notes Con- trol Inform. Sci. 122, pages 190{198. Springer, 1989.

5] S. Diop. Elimination in control theory. Math.

Control Signals Systems, 4:17{32, 1991.

6] M. Fliess and S. T. Glad. An algebraic approach to linear and nonlinear control. In H. L. Trentel- man and J. C. Willems, editors, Essays on con- trol: Perspectives in the theory and its applica- tions., pages 223{267. Birkhauser, 1993.

7] M. Fliess and M. Hasler. Questioning the classi- cal state space description via circuit examples.

In M. A. Kaashoek, J. H. van Schuppen, and A. C. M. Ran, editors, Realization and Modelling in System Theory, pages 1{12. Birkhuser, 1990.

8] S. T. Glad. Dierential algebraic modelling of nonlinear systems. In M. A. Kaashoek, J. H.

van Schuppen, and A. C. M. Ran, editors, Real- ization and Modelling in System Theory, pages 97{105. Birkhuser, 1990.

(6)

9] S. T. Glad. Implementing Ritt's algorithm of dif- ferential algebra. In IFAC Symposium on Con- trol Systems Design, NOLCOS'92, pages 610{

614, Bordeaux, France, June 1992.

10] Manfred Knebusch and Claus Scheiderer.

Einf uhrung in die reelle Algebra. Vieweg studium, 1989.

11] E.R. Kolchin. Di erential Algebra and Algebraic Groups. Academic Press, New York, 1973.

12] J. F. Ritt. Di erential Algebra. American Math- ematical Society, Providence, R I, 1950.

13] A. Seidenberg. An elimination theory for dier- ential algebra. In F. Wolf, J. L. Hodges, and A. Seidenberg, editors, University of California Publications in Mathematics: New Series, pages 31{66. University of California Press, Berkeley and Los Angeles, California, 1956.

14] F. Verhulst. Nonlinear di erential equations and dynamical systems. Springer-Verlag, 1985.

References

Related documents

The specific statistical methods we investigate is the likelihood ratio, which gives expressions for the drift parameters for CKLS and least squares estimation, which is used

Figure 3 shows the mean value and variance for the Asian option and as in the case with the European option there is an approximate O(h l ) convergence rate for the mean

In this section the quadrature methods from Section 3 are applied on random matrices and the classical problem of the Poissons equation in two dimensions.. The value of the

Keywords: computer algebra, symbolic manipulation, CACSD, polynomial control systems, state space analysis, external behavior, Gr obner bases, commutative algebra, dierential

In order to normalise detection delay results, the anomaly threshold for each detector 1–4 was tuned so that one or more anomalous data points were detected in 1% of the normal

Host cell membranes are equipped with a number of inhibitors to protect them against attack by complement, including membrane cofactor protein (MCP; CD46), complement receptor 1

I gruppen med måttlig sannolikhet för instabil angina hade bara 3% av patienterna akut myokard infarkt (AMI). Av dessa patienter behövde bara 37% invasiv

It has been confirmed by work done at SP and SINTEF NBL that mounting the heat flux meter in a specially designed water cooled holder reduces the measurement uncertainty due