Научная статья на тему 'AN APPROACH FOR SOLVING THE INTERVAL SYSTEM OF LINEAR ALGEBRAIC EQUATIONS'

AN APPROACH FOR SOLVING THE INTERVAL SYSTEM OF LINEAR ALGEBRAIC EQUATIONS Текст научной статьи по специальности «Медицинские технологии»

CC BY
38
10
i Надоели баннеры? Вы всегда можете отключить рекламу.
Журнал
World science
Ключевые слова
INTERVAL SYSTEM OF LINEAR ALGEBRAIC EQUATIONS / INTERVAL MATHEMATICS / MATHEMATICAL EXPECTATION / VARIANCE / GAUSSIAN ELIMINATION

Аннотация научной статьи по медицинским технологиям, автор научной работы — Jomartova Sh. A., Mazakov T. Zh., Karymsakova N.T., Zhaydarova A.M.

The article discusses the interval system of linear algebraic equations. For these systems, a solution algorithm is proposed, using introduced interval mathematics, where the intervals are presentedin terms of the center (expected value) and the spreading respectto the center (variance). The application of this algorithm and its efficiencyare illustrated by several examples.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «AN APPROACH FOR SOLVING THE INTERVAL SYSTEM OF LINEAR ALGEBRAIC EQUATIONS»

PHYSICS AND MA THEMA TICS

AN APPROACH FOR SOLVING THE INTERVAL SYSTEM OF LINEAR ALGEBRAIC EQUATIONS

Jomartova Sh. A., Mazakov T. Zh., Karymsakova N. T., Zhaydarova A. M.

Kazakhsta, Almaty, al-Farabi Kazakh National University

Abstract. The article discusses the interval system of linear algebraic equations. For these systems, a solution algorithm is proposed, using introduced interval mathematics, where the intervals are presentedin terms of the center (expected value) and the spreading respectto the center (variance). The application of this algorithm and its efficiencyare illustrated by several examples.

Keywords: interval system of linear algebraic equations, interval mathematics, mathematical expectation, variance, Gaussian elimination.

Introduction

In work [1], the author suggestedinterval mathematics that works with intervals that are independent normally distributed variables. "Classical" interval arithmetic [2] assumes that all values on interval are equally probable. Therefore, all the results obtained with it cover all possible values and are "super sufficient".

In [1] there is a formal concept of the interval that is introducedin the following form:

a = [ a - ea, a + sa ]=( a, sa) ;

where a - the middle of the interval (or expectation) - ea width of the interval (or variance).

We denote the set of all such intervals as IBep(R).

Let a, b, c - intervals from Ieep(R). Then proposed the following interval arithmetic:

1. the addition of the two intervals a, beIeep(R): c= a + b

c = a + b; sc

2. subtraction of two intervalsa, b eIBep(R): c= a - b, c = a - b; sc =Vsa2 +s 2;

3. multiplying two intervalsa, b eIBep(R): c= a * b,

Va2 T2 ■ ^

c = a• b; e„ = -v/a -s,, + b -e^

4. inverse mtervalaeI8ep(R): c = —;

a

— e-

a a

c= =; Sc =dr;

5. division two intervals a, beIBep(R): c = —;

a

- a

c = =, ec =. b \

2 2 2 a -Sb , Sl

b4 b2'

In [1] considered and proved properties of these arithmetic operations, and provides examples and functions.

Algorithm for solving interval systems of linear algebraic equations

Next, consider the interval system of linear algebraic equations (ISLAE)

Ax = b , (1)

here A = {a^} - nxn - matrix and b = {b; } - n - vector whose elements are the intervals and can be represented as

a^jar }=( a.. j,

bi ={brin,bfax }=(b~ ,eb).

A = |Ap = {ap}| ap e (a™n, a™^ }} - set of dot matrices Ap whose elements belong to their

corresponding interval elements of the original matrix.

In [3], there is a theorem on the applicability of the method of Gauss: Let 1 < n < 2 and the set A doesn't contain non-degenerate "point" matrices A e A. ThenGauss's methodcan be applied.

This approach is not constructive because of the restrictive properties of the classical interval mathematics.

We introduce interval dot matrix A = {aij} whose elements are the midpoints of intervals

corresponding to the original interval matrix A e A .

It is further proposed algorithm for solving ISLAE using the entered interval mathematics. Theorem. For the applicability of the method of Gauss it is enough thatthe dot matrix be non-degenerate.

The Gauss algorithm with a choice of main element of solution of ISLAE based on the input interval mathematics:

Step 1. Let i = 1.

Step 2. If i<n, make the following steps, otherwise go to step 7. Step 3. In the i-th row select j-th element with the highest absolute midpointvalue. Step 4. If the selected element contains a zero, then the system is considered to be degenerate, which has no definite interval solutions and exits the algorithm. If the selected element does not contain zero, then swap the i-th and j-th columns.

Step 5. Conduct transformation of interval matrix A and vector b according to the formulas, since the i-th row:

a,k = a,k "a,,* —, j = i + l,n, k = i,n,

au

aik = k = Ü (2)

a

bj= bj " aji* —, j =i,n

aii

Step 6. Increase the value of i by one and go to step 2.

Step 7. As a result, we obtain an upper triangular intervalmatrix. We find the required interval solution according to the formulas:

b

n

xi = (bi -X aij * bj), i = n -1,1.

j=i+1

Note: It is assumed that in the formulas (2) and (3) used input interval arithmetic [1]. Considering ISLAE of type:

x = Bx + c , (4)

here B = {bj}- nxn- matrix andc = {c;} - n - vector whose elements are the intervals.

We introduce a dot interval matrix B = {bij}, whose elements are the midpoints of the correspondingintervals of the original interval matrix B e B.

(3)

xn =

ann

Theorem. In order to the method of successive approximations

xk+1 = Bxk + c,

k = 0,1,...,

(5)

beconverged to the solution of the system (4) it is sufficient that

B

< 1.

The proof is obvious by virtue of the correctness of the theorem for the case of a point system of linear algebraic equations (SLAE) and properties of the introduced interval arithmetic does not produce displacement of the middle intervals multiplication and division.

Successive approximation algorithm for solving interval linear systems based on the input interval mathematics:

Step 1. Let k = 0, we choose the initial approximation x0. In particular, we can take x0 = c. We define the required accuracy of finding the solution 8, it can not be less than the specified accuracy of intervals:

e > max

max £ij'

max

e

V U 1 y

Step 2: Calculate the new approximation of the desired interval by the formula (5). Step 3: Calculate the value

(/—k+1 —k abs Ixi — xi

1=1,n ^ ^

i *

here xi - the middle of the interval of k-th approximation.

Step 4. If the value d >8, the value of k = k + 1 is incremented by one and go to step 2. —k

Otherwise, x - the approximate interval solution. Examples

Consider an example from [3]: Suppose we want to calculate the stress distribution in the R-circuit shown in Figure 1. In accordance with the method of nodal potentials conduction r1 = R1 entered. The system of equations for determining the potential uj,u2,u3 given by

(rx + r2 + r3 - r3

0 Y u ^ (vr \

-'5 '5+ '6 7

0

v0,

4 ff, ,

U* .—i-1 "3 .——1 ai

1-1_J—jp—[ I | r I—r

I_I

I

Fig. 1

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

Let circuit elements have the following ratings: r = r2 = r4 = 0.1; r = r = 20; v = 6.3.

Technologically, these values can be maintained not exact but with some error. Moreover, they are often dependent on temperature and other operating conditions. Suppose that as a result, denominations are hold within + 10%. Thus, the actual:

r,r2,r4 e [0.09,0.11], r3,r5 e [1.8,2.2], v e [5.67,6.93]. With any combination of these data system matrix M is non-degenerate matrix. Denoted by A - interval matrix, b - an interval vector of right side of equations: [1.98,2.42] [— 2.2,—1.8] [0,0]

A =

[- 2.2. -1.8] [3.69,4.51] [- 2.2,-1.8] [0,0] [- 2.2,-1.8] [1.89,2.31]

- r3 r3 + r4 + r5 - r5

u

2

0

V»3 V

b = {[0.5103,0.7623], [0,0], [0,0]}.

According to the classical definition of arithmetic, interval matrix is a degenerate. Using introduced in [1] definition of arithmetic, we obtain the following values of the potentials:

u =[- 0.108,3.443] = (1.667,1.775);

u2 = [- 0.422,3.460] = (1.519,1.941);

u3 =[- 0.737,3.630] = (1.447,2.183).

Consider the example of Raikhman [3]. Given interval matrix

' 1 [0, a] [0, a]

S(a)= [0, a] 1 [0, a].

[[0, a] [0, a] 1 ,

For (V5 -1)/ 2 < a < 1 ,using classical interval arithmetic, the calculation of the determinant of the Gauss method we find that the interval matrix S(a) is a degenerate. This example was given in [3] to show that in case of transition from the conventional method of Gauss to the interval version, its properties, in general, gets worse.

When using the input interval arithmetic operations, implemented as a library of routines and functions, this restriction has been cancelled, and we got a solution of a system of linearinterval algebraic equations

'Ml [1,1]

S(a)x(a) =

'[1,1]. For different a :

'[0.244,0.968^ x(0.65) = [0.132,1.080] J0.075,1.137] ( [0.187,0.989] ^ [0.065,1.111]

x(0.70) =

x(0.80) =

x(0.90) =

( (0.606,0.362)^ (0.606,0.474) (0.606,0.531) ( (0.588,0.401)^ (0.588,0.523) (0.588,0.590)

[- 0.002,1.178] [0.060,1.052] ^ f(0.556,0.496)

[- 0.077,1.188] [- 0.166,1.277] [- 0.095,1.147]^ [- 0.236,1.289] [- 0.350,1.403]

(0.556,0.533) (0.556,0.721) C (0.526,0.621)^ (0.526,0.762) (0.526,0.877)

Conclusion

The proposed algorithm in the article gives a solution for ISLAE in the case when intervals represented as its middle -it is the expected value, and the spread - is the variance of independently normally distributed variables. The article gives examples, for which the resulting algorithmis used for solving ISALE and shows the effectiveness of the introduced interval mathematics.

REFERENCES

1. Sh. A. Jomartova, "Practical" interval arithmetic, Bulletin of National Academy of Sciences of Kazakhstan, 2(2002), 41- 46.

2. Y.I. Shokin, Interval analysis, Nauka, Novosibirsk, 1986.

3. S.A. Kalmykov, Y.I. Shokin, Z.K. Yuldashev, Methods of interval analysis, Nauka, Novosibirsk, 1986.

i Надоели баннеры? Вы всегда можете отключить рекламу.