Interval Pseudo-Inverse Matrices and Interval Greville Algorithm



Similar documents
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

1 Review of Least Squares Solutions to Overdetermined Systems

7 Gaussian Elimination and LU Factorization

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Lecture 5 Least-squares

160 CHAPTER 4. VECTOR SPACES

Systems of Linear Equations

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

1 Determinants and the Solvability of Linear Systems

What is Linear Programming?

Lecture 3: Finding integer solutions to systems of linear equations

6. Cholesky factorization

Vector and Matrix Norms

SOLVING LINEAR SYSTEMS

Solving simultaneous equations using the inverse matrix

CURVE FITTING LEAST SQUARES APPROXIMATION

Lecture 5: Singular Value Decomposition SVD (1)

Solution of Linear Systems

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Continued Fractions and the Euclidean Algorithm

8. Linear least-squares

Notes on Determinant

An interval linear programming contractor

Typical Linear Equation Set and Corresponding Matrices

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

1 Introduction to Matrices

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

Solving Linear Systems, Continued and The Inverse of a Matrix

University of Lille I PC first year list of exercises n 7. Review

1 Solving LPs: The Simplex Algorithm of George Dantzig

Methods for Finding Bases

CS3220 Lecture Notes: QR factorization and orthogonal transformations

Row Echelon Form and Reduced Row Echelon Form

LU Factoring of Non-Invertible Matrices

Operation Count; Numerical Linear Algebra

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

Optimal Scheduling for Dependent Details Processing Using MS Excel Solver

Polynomial Neural Network Discovery Client User Guide

Least-Squares Intersection of Lines

Question 2: How do you solve a matrix equation using the matrix inverse?

Introduction to Matrix Algebra

Mathematics Course 111: Algebra I Part IV: Vector Spaces

FUZZY CLUSTERING ANALYSIS OF DATA MINING: APPLICATION TO AN ACCIDENT MINING SYSTEM

Inner Product Spaces

Mehtap Ergüven Abstract of Ph.D. Dissertation for the degree of PhD of Engineering in Informatics

Factorization Theorems

Numerical Methods I Solving Linear Systems: Sparse Matrices, Iterative Methods and Non-Square Systems

Numerical methods for American options

Solutions to Math 51 First Exam January 29, 2015

Java Modules for Time Series Analysis

x = + x 2 + x

Constrained Least Squares

Continuity of the Perron Root

Roots of Equations (Chapters 5 and 6)

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

Lecture 4: Partitioned Matrices and Determinants

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above:

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

Least Squares Estimation

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

We shall turn our attention to solving linear systems of equations. Ax = b

Derivative Free Optimization

DATA ANALYSIS II. Matrix Algorithms

Epipolar Geometry. Readings: See Sections 10.1 and 15.6 of Forsyth and Ponce. Right Image. Left Image. e(p ) Epipolar Lines. e(q ) q R.

5. Orthogonal matrices

Numerical Methods I Eigenvalue Problems

PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 4: LINEAR MODELS FOR CLASSIFICATION

24. The Branch and Bound Method

D-optimal plans in observational studies

Data Mining: Algorithms and Applications Matrix Math Review

October ENSEEIHT-IRIT, Team APO collaboration with GREM 3 -LAPLACE, Toulouse. Design of Electrical Rotating Machines using

Name: Section Registered In:

( ) which must be a vector

Linear Programming. March 14, 2014

7. LU factorization. factor-solve method. LU factorization. solving Ax = b with A nonsingular. the inverse of a nonsingular matrix

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

Linear Algebra: Determinants, Inverses, Rank

Solution to Homework 2

Solving Systems of Linear Equations Using Matrices

Lecture 1: Systems of Linear Equations

Using row reduction to calculate the inverse and the determinant of a square matrix

5.5. Solving linear systems by the elimination method

Iterative Methods for Solving Linear Systems

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Linear Algebra Review. Vectors

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

4.6 Linear Programming duality

BookTOC.txt. 1. Functions, Graphs, and Models. Algebra Toolbox. Sets. The Real Numbers. Inequalities and Intervals on the Real Number Line

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2

Modern Optimization Methods for Big Data Problems MATH11146 The University of Edinburgh

Linear Algebraic Equations, SVD, and the Pseudo-Inverse

1 VECTOR SPACES AND SUBSPACES

Lecture Notes 2: Matrices as Systems of Linear Equations

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. (

Examination paper for TMA4205 Numerical Linear Algebra

CS 5614: (Big) Data Management Systems. B. Aditya Prakash Lecture #18: Dimensionality Reduc7on

Transcription:

Interval Pseudo-Inverse Matrices and Interval Greville Algorithm P V Saraev Lipetsk State Technical University, Lipetsk, Russia psaraev@yandexru Abstract This paper investigates interval pseudo-inverse matrices We state an Interval Greville algorithm and extensions with bisections for calculation of interval pseudo-inverse matrices and give the examples of interval pseudo-inversion application for estimation of solutions of systems of linear equations, and show applications for estimations of solutions and pseudo-solutions in a least squares sense Keywords: interval analysis, interval pseudo-inversion, interval Greville algorithm, pseudo-solution AMS subject classifications: 65G20, 65G40 1 Introduction For any square interval matrix A IR n n an interval inverse matrix is determined as the minimal interval matrix A 1 IR n n so that A 1 { A 1 : A A } [2] If A A A 1 then A is regular If condition ρ mid A < 1 holds, where mid A is the midpoint matrix of A, = rad A is the radius matrix, ρ is the spectral radius, then A is called strongly regular [6] Some algorithms for computation of interval inverse matrices can also be found in [5] Our main topics of investigation are the development of algorithms for bounds computation of interval inverse matrices and the determination of conditions for simple bounds identification This paper generalizes and extends the difinition of interval inverse matrices to interval pseudo-inverse matrices for non-regular square or rectangular matrices 2 Interval Pseudo-Inverse Matrices For a real rectangular matrix A R m n of any rank, the pseudo-inverse matrix also known as the Moore-Penrose inverse matrix or the Moore-Penrose generalized Submitted: September 12, 2013; Revised: October 31, 2013; Accepted: December 4, 2013 147

148 Saraev, Interval Pseudo-Inverse Matrices inverse matrix A + R n m is the only matrix satisfying the four conditions of Moore- Penrose [1]: AA + A = A, A + AA + = A +, AA + T = AA +, A + A T = A + A 1 It exists for any matrix In the case of a regular square matrix it equals the usual inverse matrix For any interval matrix A IR m n we define the interval pseudo-inverse matrix A + IR n m as the minimal interval matrix so that A + { A + : A A } A + includes all real pseudo-inverse matrices A + for all A A [7] Contrary to the interval inverse matrix we do not need any assumptions of regularity on the matrix A Hence the interval pseudo-inverse matrix is defined for any interval matrix A Unfortunately there are no algorithms for its computation There is an interval algorithm for the computation of a real pseudo-inverse matrix [9], but it is not suitable for interval pseudo-inverse matrix computation In many applications we need enclosure for A + instead of an exact interval pseudoinverse matrix Such an enclosure can be computed by an interval modification of the well-known Greville algorithm for real pseudo-inverse matrix computation [1] 3 Basic Interval Greville Algorithm This algorithm was first introduced in [7] Let A IR m n with a k as its k-th column, where k = 1,, n Let A k be the submatrix of A constructed from the first k columns of A, A k = a 1 a 2 a k, where a i is the i-th column of A, i = 1,, n If k = 1 then A 1 = a 1 For k = 2,, n it is clear that A k = A k 1 a k Algorithm 1 Call: IntPseudoInverseA Input: A interval matrix Output: A + enclosure of pseudo-inverse matrix Step k = 1 Assume We have that d 1 = a 1 2 = m i=1 a 2 i1 0, if d 1 = 0, a T A + 1 1 =, if d 1 > 0, d 1 0 at 1, otherwise, d 1 where 0 IR m is the null interval vector and vectors Steps k = 2,, n Matrix A + k can be computed by the formula A + A + k = k 1 I a kf k, f k is the inteval hull of union of interval

Reliable Computing 18, 2013 149 where I is the unitary matrix of the order m, and c k = I A k 1 A + k 1a k, c T k d k = c k 2,, if d k > 0, d k a T k A + k 1 T A + k 1 f k = 1 + A + k 1 a k, if d 2 k = 0, c T k a T k A + k 1 T A + k 1 d k 1 + A + k 1 a, else k 2 A + n is the final estimation of the matrix A + 4 Discussion of the Algorithm The resulting interval pseudo-inverse matrix A + n may contain infinite bounds in some cases The probability of this situation is increased for wide matrices and matrices with large sizes If for any step k we will have f k = [, + ] [, + ] the work of the algorithm can be interrupted, and the result is the matrix [, + ] [, + ] A + =, [, + ] [, + ] showing that the result can be any matrix of R n m, not a particularly helpful insight This matrix would not be useful for subsequent calculations We need a way to compute the degree of usability of the matrix A + An accuracy criterion can be based on satisfaction of the Moore-Penrose conditions and defined as t = AA + A A + A + AA + A + + AA + T AA + + A + A T A + A Another criterion is the width of A + Use of an interval hull is not necessary if we can work with generalized interval arithmetic In this case we have to use the union of a finite number of boxes Even for real matrices the result can be an interval matrix because of rounding errors The proposed algorithm can be applied to the computation of ε-extensions A ε of real matrices A It can be used for unstable real matrix pseudo-inversion detection When A + ε is wide or the accuracy criterion t has a large upper bound, the pseudoinversion operation is unstable The recurrent interval Greville algorithm can be applied not by columns but by rows That is recommended if m > n, that is, if the count of rows is greater than the count of columns The matrix A + A T + T 2

150 Saraev, Interval Pseudo-Inverse Matrices can be taken as the result The proposed interval Greville algorithm has the property of monotonicity: if A B then A + B + This follows from the monotonicity of interval arithmetic operations 5 Modified Greville Algorithm with Bisections The basic Greville algorithm can lead to huge overestimations of pseudo-inverse matrices, but we can obtain better results using monotonicity of operations Let us see any bisection of the given matrix A into two interval matrices A 1 and A 2 by any coordinate Because A 1 A2 = A, A + 1 A+ and A + 2 A+ we have that A + A + 1 A + 2 We will not lose any solution A +, but the bounds of the estimation can be better We can construct any division of A i, i = 1,, p, such as p A i = A, and then i=1 A + p A + i Let T Z 0 be the depth count of bisections On every step 0 t T we use bisection by the widest coordinate The recursive algorithm can be applied to improve estimation of interval pseudo-inverse matrices Algorithm 2 Call: IntPseudoInverseBisectA, T, t Input: A interval matrix, T depth of bisections, t current depth Output: A + estimation of the interval pseudo-inverse matrix Step 1 If t = T then we return A + computed by the basic interval Greville algorithm: i=1 A + = IntPseudoInverseA Step 2 If t < T then i, j = argmax i,j width A ij We bisect by the element i, j into matrices A 1 and A 2 Step 3 Then we make two recursive calls to this algorithm: A + i = IntPseudoInverseBisectA i, T, t + 1, i = 1, 2 Step 4 Return A + 1 A + 2 If the depth T = 0 then the modified algorithm is basic interval Greville algorithm Obviously, the algorithm with a greater value of T can give tighter results For every increment of T, the computation time increases by a factor of approximately 2 because two times as many matrices are computed Instead of bisection by the widest coordinate we can bisect by any other strategy, for example by the smallest coordinate or randomly Also we can use intersections of results computed with different bisection strategies

Reliable Computing 18, 2013 151 6 Examples of Interval Pseudo-Inverse Matrices The proposed algorithms were realized in the C++ language using the C++ Builder XE2 environment The developed computer program was used for numerical experiments on a computer with an Intel Celeron 186 GHz CPU, 1 Gb RAM and the Microsoft Windows Vista operating system Let us see some examples of computation of interval pseudo-inverse matrices Our examples show how the results depend on the parameter T of Algorithm 2 1 Let A = [1, 2] IR be given The true result is A + = [05, 1] Table 1 contains estimation and accuracy of computations We see from it that accuracy of estimation of the interval pseudo-inverse matrix increases when the depth T increases For T = 15 we already have very good estimation Table 1: Results for Example 1 Depth T Estimation of A + t width A + Time, min:sec 0 [02500, 20000] [0, 1371875] 17500 1 [03750, 15000] [0, 557969] 11250 5 [04921, 10313] [0, 173699] 05392 10 [04997, 10010] [0, 157992] 05013 15 [04999, 10001] [0, 157501] 05002 20 [04999, 10001] [0, 157501] 05002 00:22 2 Let A = [2, 4] [ 2, 1] IR 2 2 [ 1, 2] [2, 4] be a well-known matrix taken from [3] This matrix is regular, and its interval inverse matrix can be computed exactly using interval determinant and adjoint matrix [8]: A 1 [1/6, 1] [ 1/2, 1] = [ 1, 1/2] [1/6, 1] Results are given in Tables 2 and 3 These tables show that the basic interval Greville algorithm and its extension with bisections when the depth T is small give unsatisfactory results Increasing T leads to increased accuracy We also note that the time for computation with T = 20 is large enough 3 Let us consider the matrix from the system of linear equations [4] [2, 3] [0, 1] [1, 2] [2, 3] Results are given in Tables 4 and 5 Interpretation of results is the same as for Example 2 Contrary to the previous example, we obtain a useful result even for depth T = 5 4 Let us consider the matrix [1, 2] [2, 3] [1, 2] [ 1, 1] [2, 3] [0, 1]

152 Saraev, Interval Pseudo-Inverse Matrices Table 2: Estimation of the interval pseudo-inverse matrix for Example 2 Depth T Estimation of A + Time, min:sec 0 1 5 [ 06505, 241336] [ 137949, 214130] 10 [ 214130, 137949] [00426, 126689] [00734, 35609] [ 22261, 44174] 15 00:03 [ 44174, 22261] [00999, 33209] [01413, 18900] [ 11394, 21210] 20 02:06 [ 21210, 11394] [01298, 18744] Table 3: Accuracy of the interval pseudo-inverse matrix for Example 2 Depth T t width A + 0 [0, + ] + 1 [0, + ] + 5 [0, + ] + 10 [0, 800074217958] 352078 15 [0, 1726228187] 66434 20 [0, 251387173] 32604 Table 4: Estimation of the interval pseudo-inverse matrix for Example 3 Depth T Estimation of A + Time, min:sec 0 1 [02240, 132170] [ 77032, 03201] 5 [ 157515, 00134] [00624, 97063] [02881, 30290] [ 18939, 00679] 10 [ 37079, 00703] [02260, 28724] [03117, 17873] [ 10653, 00324] 15 00:03 [ 19130, 01000] [03102, 17664] [03227, 13076] [ 07342, 00159] 20 02:19 [ 13567, 01082] [03258, 13134]

Reliable Computing 18, 2013 153 Table 5: Accuracy of the interval pseudo-inverse matrix for Example 3 Depth T t width A + 0 [0, + ] + 1 [0, + ] + 5 [0, 27723982393] 157381 10 [0, 151878851] 36376 15 [0, 25946570] 18129 20 [0, 10466976] 12482 This matrix is rectangular, so an interval inverse matrix is undefined for it Results are shown in Tables 6 and 7 We note the increase in the accuracy of estimation when T is increased, as in Example 3 Table 6: Estimation of the interval pseudo-inverse matrix for Example 4 Depth T Estimation of A + Time, min:sec 0 1 5 [ 2358145, 06544] [00145, 2306975] 10 [ 871795, 1116408] [ 1089520, 853497] [ 08928, 2733233] [ 2668085, 12718] [ 84930, 02954] [00939, 95901] 15 [ 33600, 39459] [ 44933, 38531] 00:06 [ 00017, 100504] [ 107529, 02457] [ 23703, 01954] [01644, 31050] 20 [ 09243, 14099] [ 16295, 12288] 03:46 [00879, 31175] [ 33554, 01615] 5 Let us consider the matrix with crisp values 1 3 0 0 1 3

154 Saraev, Interval Pseudo-Inverse Matrices Table 7: Accuracy of the interval pseudo-inverse matrix for Example 4 Depth T t width A + 0 [0, + ] + 1 [0, + ] + 5 [0, + ] + 10 [0, 950238500568, 4360] 27421601 15 [0, 22380471275] 109985 20 [0, 340908096] 35168 Even the basic interval Greville algorithm gives a good result: [00499, 00501] [0, 0] [00499, 00501] [01500, 01500] [0, 0] [01500, 01500] Computation errors in this case are insignificant 6 If we consider an interval extension of the matrix from Example 5 [09999, 1001] [29999, 30001] [ 00001, 00001] [ 00001, 00001], [09999, 1001] [29999, 30001] we obtain useless result for the basic and modified algorithms: [, ] [, ] [, ] [, ] [, ] [, ] The reason for such a result is the discontinuous nature of pseudo-inversion due to existence of real matrices of different ranks within the interval matrix 7 Application to Estimation of Linear Equations Systems Solutions and Pseudo-Solutions Interval pseudo-inversion can be used to estimate solutions or pseudo-solutions of systems of linear equations Although is not suitable for optimal estimation, it can be efficiently used for an iterative improvement of estimation by the interval Gauss-Seidel method, for instance It is known [1] that solutions or minimal pseudo-solutions in the least squared sense of a system Ax = b in the real case can be found from the relation x = A + b, 3 where A and b are a known matrix and a vector, respectively, and x is an unknown vector Relation 3 allows us to compute a vector x such that Ax b 2 and x 2 are minimal For an interval system of linear algebraic equations Ax = b

Reliable Computing 18, 2013 155 we have to find an x which contains the set of all solutions x for any A A and b b Hence, x = A + b 4 contains all solutions and minimal pseudo-solutions if the system Ax = b is inconsistent Formula 4 gives an analytic enclosure of the solution to an interval linear system Let us consider the example from [4]: [2, 3] [0, 1] x1 = [1, 2] [2, 3] The minimal interval box containing all solutions is x min = x 2 [ 120, 90] [ 60, 240] [0, 120] [60, 240] Interval pseudo-inverse matrices for this matrix A are given in Table 4 Results are given in Table 8 The interval pseudo-inverse matrix computed with parameter T = 20 is close to interval solution and can be used as good initial approximation Table 8: Estimation of the set of solutions Depth T Estimation of x width x Time, min:sec [, + ] 0 + [, + ] [ 18487500, 16628295] 5 42159341 [ 18864302, 23295039] [ 4545175, 3797517] 10 11207472 [ 4313799, 6893674] [ 2556499, 2222492] 15 6348739 00:03 [ 2109405, 4239334] [ 1761879, 1607234] 20 4584617 02:19 [ 1432525, 3152092] Formula 4 also can solve systems with a rectangular interval matrix A Let us consider the system [1, 2] [2, 3] [ 20, 20] [1, 2] [ 1, 1] x1 = [10, 90] x [2, 3] [0, 1] 2 [0, 100] This system is overdetermined Instead of its solution, we have to find a pseudosolution Interval pseudo-inverse matrices for this matrix A are given in Table 6 Results are shown in Table 9 The vector on the right side is wide, so the result is also wide, even for T = 20 The value Ax b 2 estimates the computation accuracy If its lower bound is greater than zero, the system is inconsistent So the system has no solutions for any A A and b b

156 Saraev, Interval Pseudo-Inverse Matrices Table 9: Estimations of the set of solutions Depth T Estimation of x width x Time, min:sec [, + ] 0 + [, + ] [ 126517095, 420962877] 10 54747, 9972 [ 411004630, 124225933] [ 4724241, 15300130] 15 22346323 00:06 [ 16714830, 5631493] [ 1305874, 4860415] 20 7331211 03:46 [ 5442885, 1888328] 8 Conclusion This article proposes basic and modified Greville algorithms for the computation of estimations of interval pseudo-inverse matrices, which can be used for analytic construction of upper bounds of solutions of systems of linear equations with matrices of any rank Our algorithms also can be used for initial approximation of solution bounds and further application of known methods such as Gauss-Seidel Interval pseudo-inverse matrices are also useful for 2-norm optimization problems In the linear case, they are equivalent to problems of computation of pseudo-solutions of systems of linear equations References [1] A Albert Regression and the Moore-Penrose Pseudoinverse Academic Press, New York and London, 2003 [2] G Alefeld and J Herzberger Introduction to Interval Computations Academic Press, New York, 1983 [3] W Barth and E Nuding Optimale Lösung von Intervallgleichunssystemen Computing, 12:117 125, 1974 [4] ER Hansen On linear algebraic equations with interval coefficients In ER Hansen, editor, Topics in Interval Analysis, pages 35 36 Oxford University Press, London, 1969 [5] T Nirmala, D Datta, H S Kushwaha, and K Ganesan Inverse interval matrix: a new approach Applied Mathematical Sciences, 513:607 624, 2011 [6] J Rohn Inverse interval matrix SIAM J Num Anal, 303:864 870, 1993 [7] P Saraev Interval pseudo-inverses: computation and applications In 15th GAMM-IMACS International Symposium on Scientific Computing, Computer Arithmetic and Verified Numerics SCAN-2012: Book of abstracts, pages 153 154, Novosibirsk, 2012 Institute of Computational Technologies [8] S Shary Finite Interval Analysis in Russian http://wwwnscru/interval/ Library/InteBooks/SharyBookpdf, 2013 [9] X Zhang, J Cai, and Y Wei Interval iterative methods for computing Moore- Penrose inverse Applied Mathematics and Computation, 1831:522 532, 2006