4 System of Linear Equations PDF
4 System of Linear Equations PDF
SystemofLinearEquationsGuassianElimination
Strictly as per the compliance and regulations of:
© 2015. Suriya Gharib, Syeda Roshana Ali, Rabia Khan, Nargis Munir & Memoona khanam. This is a research/review paper,
distributed under the terms of the Creative Commons Attribution-Noncommercial 3.0 Unported License http://creative
commons.org/licenses/by-nc/3.0/), permitting all non-commercial use, distribution, and reproduction inany medium, provided the
original work is properly cited.
System of Linear Equations, Guassian
Elimination
Suriya Gharib α, Syeda Roshana Ali σ, Rabia Khan ρ, Nargis Munir Ѡ & Memoona khanam¥
Abstract- In this paper linear equations are discussed in detail II. History of Guassian Elimination[2]
along with elimination method. Guassian elimination and
Guass Jordan schemes are carried out to solve the linear Classic books on the History of Mathematics,
2015
system of equation. This paper comprises of matrix as well as recent studies on this subject, place the
introduction, and the direct methods for linear equations. The
Year
origins of Guassian Elimination in a variety of ancient
goal of this research was to analyze different elimination texts from different places and times: China, Greece,
techniques of linear equations and measure the performance
Rome, India, medieval Arabic countries, and European
of Guassian elimination and Guass Jordan method, in order to 23
find their relative importance and advantage in the field of Renaissance. However, it is not exact to say that these
ancient texts describe what we understand today as the
A
system of equation is a set or collection of Isaac Newton who lectured on Algebraas it appeared in
equations solved together. Collection of linear Renaissance texts.
equations is termed as system of linear equations. Isaac Newton established first the rules of
They are often based on same set of variables. Various Gaussian elimination as they are still presented in
methods have been evolved to solve the linear current high school textbooks. Carl Friedrich Gauss
equations but there is no best method yet proposed for developed efficient methods for solving normal
:
𝑎𝑎 𝑛𝑛 ,𝑛𝑛 +1
⎣ a1n a2n a3n … ann ⎦ ⎣𝑥𝑥𝑛𝑛 ⎦ 12. for j = i+1 to n
13. sum = sum + aij * xj
Step 1: Store the coefficients in an augmented matrix. 14. next j
The superscript on aij means that this is the first time that 15. xi = ( ai,n+1 - sum )/aii
a number is stored in location (i, j).
16. next i
𝑎𝑎11 𝑎𝑎12 𝑎𝑎13 … 𝑎𝑎1𝑛𝑛 𝑎𝑎1,𝑛𝑛+1
17. end
⎡ 𝑎𝑎21 𝑎𝑎22 𝑎𝑎23 … 𝑎𝑎2𝑛𝑛 𝑎𝑎2,𝑛𝑛+1 ⎤
⎢ 𝑎𝑎
⎢ 31 𝑎𝑎32 𝑎𝑎33 … 𝑎𝑎3𝑛𝑛 �� 𝑎𝑎3,𝑛𝑛+1 ⎥⎥ c) Guassian Elimination Through Partial Pivoting
⎢ : : : ⎥ In actual computational practice, it is necessary
⎣ 𝑎𝑎1𝑛𝑛 𝑎𝑎2𝑛𝑛 𝑎𝑎3𝑛𝑛 … 𝑎𝑎𝑛𝑛𝑛𝑛 𝑎𝑎𝑛𝑛,𝑛𝑛+1 ⎦ to permute the rows of the matrix A (equivalently, the
Step 2 : If necessary, shift rows so that a11 ≠ 0 , equations of the system Ax = b) for obtaining a reliable
theneliminate x1 in row2 through n .The new elements algorithm.
are written aij to indicate that this is thesecond time that The permutations are performed on line as GE
a number has been stored in the matrix atlocation ( i , j ). proceeds and several permutation (or pivoting). Partial
pivoting involves the following steps:
𝑎𝑎11 𝑎𝑎12 𝑎𝑎13 … 𝑎𝑎1𝑛𝑛 𝑎𝑎1,𝑛𝑛+1
⎡ 0 𝑎𝑎22 𝑎𝑎23 … 𝑎𝑎2𝑛𝑛 𝑎𝑎2,𝑛𝑛+1 ⎤ Step 1: Select the equation having the larger 1st
⎢ 0 𝑎𝑎 𝑎𝑎 … 𝑎𝑎 � 𝑎𝑎 ⎥ coefficient in system of equation and place it at the 1st
⎢ 32 33 3𝑛𝑛 � 3,𝑛𝑛+1 ⎥
: : ⎥ entity of matrix.
⎢ :
⎣ 0 𝑎𝑎2𝑛𝑛 𝑎𝑎3𝑛𝑛 … 𝑎𝑎𝑛𝑛𝑛𝑛 𝑎𝑎𝑛𝑛,𝑛𝑛+1 ⎦
2 3 −1 1 6 4 1 9
Step 3 : New elements are written aij indicate that this is
�2 5 1 3� > � 2 5 1 3 �
thethird time that a number has been stored in the
6 4 1 9 2 3 −1 1
matrix at location ( i , j ) .
© 2015
1 Global Journals Inc. (US)
System of Linear Equations, Guassian Elimination
Step 2 : Now perform the elementary row operations properties of the vertices has been a major research in
and convert the matrix into upper triangular form by the last decades. Also work on optimal elimination tree
using the pivot equation. The resultant matrix after was carried out, which proved of no importance in
operations may result in the form: sparsity preserving elimination trees, looking towards
6 4 1 9 optimal elimination trees could result in non linear fill.
� 0 5 1 3 � There has been minimum use of tree related graphs
0 0 −1 1 elimination outside the sparse Guassian Elimination.
Cholesky factor is described in terms of different set of
Step 3 : Make the equation equal to the number of vertices: sets of predecessor and successor, chain
variables and determine the solution of equation. elimination and elimination sets. The model of Guassian
d) LU Factorization Guassian Elimination Elimination gives a precise description of interaction
2015
LU factorization is the most important between master, sub problems which are hidden in
mathematical concept used in Guassian Elimination formulation of dynamic programming. In case of solving
Year
method. It plays a key role in the implementation of GE blocked linear equations with PDS matrices, proposed
in modern computers, and, finally, it is essential to model of computation is a straightforward extension of
facilitate the rounding error analysis of the algorithm. LU Guassian Elimination (point wise). 25
factorization method is performed in three steps [5]: Transformation associated with elimination of
forj= i + 1 to N+1 do
14, 2012.
aki = fl(aki/aij) 3. Yadanar Mon, Lai lai win kyi, “performance
26
for j= i+1 to N+1 do comparison of guassian elimination and guass
akj = fl(akj-akj*aij) Jordan”, International Journal of Computer &
( C ) Volume XV Issue V Version I
2 14 25
3 16 31 Jordan Reduction in Solving Linear Equations”,
4 20 36 February 1989.
5 26 39
6 29 56
7 46 76
Comparison through execution time
From the above mentioned results its clear that
Guassian elimination is more faster than Guass Jordan
method. Therefore, an efficient technique for solving
linear system of equations, determining the values of
unknowns in less time and less complicated procedure.
VII. Conclusion
There are different direct and indirect methods
which are used to compute the linear system of
equations. Guassian Elimination is a type of direct
method used to calculate the unknown variables. Many
scientific and engineering domains of computation may
take the form of linear equations. The equations in this
field may contain large number of variables and hence it
is important to solve these equations in an efficient
manner. This paper comprises of Guassian Elimination
method an efficient method to solve these equations.
Although the comparison on the basis of execution time
is carried out along with the Guass Jordan method and
© 2015
1 Global Journals Inc. (US)