Project Topic

THE COMPARISON OF GAUSSIAN ELIMINATION AND CHOLESKY DECOMPOSITION METHODS TO LINEAR SYSTEM OF EQUATIONS.

Project Attributes
 Format: MS word ::   Chapters: 1-5 ::   Pages: 82 ::   Attributes: Questionnaire, Data Analysis,Abstract  ::   1038 people found this useful

Project Department

Project Body

LINEAR SYSTEM OF EQUATIONS

    1. INTRODUCTION

A wide variety of problems lead ultimately to the need to solve a linear system of equation linear system of equations are associated with many problems in engineering and science as well as with applications of mathematics to the social sciences and the quantitative study of business and economic problems.

In 1985, according to Atkinson, system of Simultaneous linear equation occur in solving problems in a wide variety of areas with respect to mathematics, statistics, physical quantities (examples are temperature, voltage, population management and displacement). Social sciences, engineering and business. They arise directly in solving real life problems.

The world sometimes reveals itself to us as observable relationships among the relevant variables what it does make evident are relationship that describe how both the variable and their rate of change   affect each other.

Apparently, such life changing problem gives rise to systems of simultaneous linear equation. In almost every human activities, man seems to be compelled to uncover fundamental relationship that  exist among the objects he observes. According to Maron in 1982, he said in order to make the relationship that exist between variables explicit, we frequently attempt to make a mathematical model that will accurately reflect real life situation. Many mathematical model that will accurately reflect real life situation. Many mathematical models have the same basic structure although disparity in Symbolic rotation may be utilized, which can arise from economics, transportation, which need may arise to make efficient allocation among several points or to solve the growth of population in which units of x1, x2 ...., xn arises from net flow from one point to another or in relationship to population growth, that is, number of individuals in a particular age group at a particular time.

There are various methods in solving linear system of simultaneous equations. In numerical analysis the techniques and methods for solving system of linear equations belongs to two categories: Direct and Iterative methods. The direct methods obtain the exact solution (in real arithmetic) in finitely many operations where as iterative method generate a sequence of approximations that only converge in the limit to the solution. The direct method falls into two categories or clam that is the Gaussian elimination method and cholesky decomposition method. Some others are matrix inverse method and LU factorization method and the Cramer’s rule method.

The elimination approach reduces the given system of equations to a form from which the solution can be obtained by simple substitution since calculators and computers have some limit to the number of digits for their use this may lead to round-off errors and produces poorer results. Generally, the direct method are best for full or bounded matrices where as iterative methods are best for very large and sparse matrices. The iterative method provide an alternative to the direct methods for solving systems of linear equations. This method involves assumption of some initial values which are then refined repeatedly till they reach some accepter rang of accuracy. The Jacobi and Gawn-siedel methods are good examples of the iterative method.

Systems of linear equations may be grouped as follows

 

System of linear equations

Inconsistent

No solution

Consistent

Unique solution

Infinite no solution

 

 

 

 

 

 

 

 

 

 

The system of linear equations are divided into consistent and inconsistent and inconsistent.

                   The inconsistent equation is an equation that has numbers that are not all zero that is the equation has no solution.

For example

                   X + 2y – 3z = 4

                          Y + 2z = 5

The consistent equation is an equation that has numbers that are all zero, that is, the equation has a solution. There are two cases

CASE I

                   r = n, that is, there are so many non-zero equations as unknowns. Then we can successfully solve uniquely for the unknowns and there exist a unique solution for the system.

CASE II

r < n, m that is, there are more unknowns than there are non-zero equations. Thus, we arbitrarily assign values to the unknowns and then solve uniquely for the unknowns. Accordingly, there exist an infinite number or solutions. For example

                                                         

Since there is no equation of the form 0 = c with c0 the system is consistent. Furthermore since there are three unknowns and three non zero equations the system has a unique solution.

Also, the system

                   X + 2y – 3z + w = 4

                          y + 2z +3w = 5

is consistent and since there are more unknowns than non-zero equations, the system has an infinite number of solution. On the other hand, a linear system can be written in matrice form as follows

A x = b.

A linear equation X1, X2, ..., Xn is obtained by requiring the linear combination to assume a prescribed value b, that is

Such equation  arise frequently generally as n x n linear system is

 

However it will be necessary to introduce the basic fundamental principles of matrices in linear systems because matrices makes it possible to describe linear systems in a simple way that makes solving n x n linear systems seem like solving ordinary system of equations as follows:-

                  

Besides, matrices can be used to show how to generalize the Newton Raphson method to solve non-linear n x n systems.

    1. Solving Linear Systems

The linear system in explicit form

For X1, X2, X3,..., Xn are unknowns,

Given aij for each ij = 1, 2, ..., n and bi for each i = 1,2,...,n are scalars

          According to Maron and  Atkinson in 1982 and 1985 respectively, says, that the definition of matrix multiplication makes it possible to write this linear system compactly as a single matrix equation.

AX = b ................................................................(3)

Where A is a given n x n matrix assumed to be non-singular, b is a given column vector and X is the solution vector to be determined that is

       ..... (4)

If A is a non-singular, then the numerical vector A-1b satisfies equation (2) above because

          However, any numerical vector X for AX=b must by A-1 satisfy vector X = A-1b

          Also, if A is non-singular, then any b, the system AX=b has a unique solution given by X = A-1b

          But X = A-1b makes it easy to solve the system AX=b where A-1 is known.

However, the easiest way to solve a 2 x 2 linear system is to use

It is invertible if the only if ad – bc  such that

The above equation can be called formula for  A-1  when n= 2

It can easily be seen or verified that if n > 2 and all that is  required is the solution of a single n x n system AX = b, then finding A-1 and then multiplying b is generally not the most efficient way to obtain the solution. However, we shall consistently denote the solution of AX = b as A-1b even if   is not actually obtained as the product A-1b.

    1. METHODS OF SOLVING LINEAR SYSTEM OF EQUATION.

          We are interest at this point in discussing methods for solving linear systems and we shall restrict ourselves to system of the form AX = b where a unique solution exist.

          In trying to find solutions to system for linear equation of the type AX = b, many methods can be adopted. In reality, there are many methods of solution but choice of methods varies in computation and also depends on efficiency and accuracy.

A large part of numerical analysis is concerned with why and how errors exist in mathematical problems. So there is the search for methods which minimizes the totality of these errors, such methods include

1) Cramer’s Rule

2) Triangular Decomposition method

3) Iterative method

4) Direct method

5) Repeated direct method

 

CRAMER’S RULE

          We consider the linear system (3) Supposed that A is non-singular, the equation (3) can be re-written as X = A-1b

          If det A 0, then the unique solution of AX = b is

And Aj is the matrix obtained by replacing the jth column of A by b.

          Finding X by Cramer’s rule requires evaluating the determinant of A and of n additional n x n matrices A1, A2, ..., An. The arrow rules makes crammer’s rule convenient when n = 2 and reasonably easy to use when n = 3. However, for n  the efficient evaluation of det A alone is det A =

 (-1)p (product of the pivots of L/U) where P is the number of row interchanges used to get L/U is even or odd.

Let

Be a linear system of n equations in n unknown and let A = [aij] be the coefficient matrix so that we can write the given system as AX = b where

         

If , the system has a unique solution

         

Where A1 is the matrix obtained from A by replacing the ith  column of A by b. If /A/0, then A is non-singular, hence

 

 

This means that

         

Now let

          If we evaluate /Ai/ by expanding about the ith column, we find that /Ai/ = A1i b1 + a2ib2 + ... + Anibn

Hence

For i = 1, 2, ..., n. In the expression for Xi, the determinant /Ai/ of A1 can be calculated by another method.

THE TRIANGULAR DECOMPOSITION METHOD

          The method of triangular decomposition is set out to decompose a square matrix into a product of lower triangular matrix  and the upper triangular matrix   where  A =   

But for this project, we shall be discussing the method used by cholesky. There are two ways:-That which have unit lower triangular matrix  and that which has unit upper triangular matrix .

In the case of a 4 x 4 matrix we have

Multiplying the rows of L by the first column of U we get L11=a11, L21 =a21, L31= a31, L41 = a41 the first column of L is the same as the first of a. we now multiply the first row of L by the columns of U.

           Which

Thus the first row of U is determined. In this method, we alternate between getting a column of L and a row of U, so we get column of L equation for the second column of L by multiplying the rows of L

By    

Which gives

         

Proceeding in the same fashion, the equation we need are

           

                The general formula for getting elements of L and U corresponding to the coefficient matrix for n simultaneously can be written as

         

For j = 1, the rule for L reduces to Lij = aij

For i =1, the rule for U reduces to

Get the complete project »

Can't find what you are looking for?
Call 0906 809 7513

  • Subscribe to Free Job Alert
    Enter your email below and click subscribe

    LATEST JOB VACANCIES


    We require the services of an experienced Business Development Manager with a wide range of business clientele and a network of c... Read more

    Regulate day-to-day operations of unit in conjunction with Departmental Heads, Manager, Executive Chef, Security. Cordinate and l... Read more

    FINANCE OFFICER

    LEAD Enterprise Support Company Limited in (Lagos State)
    Job Objective: The Finance Officer will assist the Finance/Admin Manager in the implementation of the HMO’s accounting policies an... Read more

    Copyright © 2024 All Right Reserved CVClue
    A Subsidiary of EMINENT INFO TECH VENTURES