512
512
ABSTRACT
The two variable equations of 𝒂𝟏 𝒙 + 𝒂𝟐 𝒚 = 𝒃 whose degree of variables is 𝑛 = 1 are called linear equations. If the
number of variables exceeds two (𝑛), such a linear equation is called a 𝒏𝒕𝒉 variable linear equation. If the number of equations
reaches more than one (𝑚), then existed a system of 𝒎𝒕𝒉 equations, which is called a system of linear equations (𝒎 × 𝒏) and
shows the number of system equations and the number of variables in the system.
The system of linear equations forms the basis of linear algebra, which helps in solving and analyzing important issues
in the natural sciences, especially mathematics. It is also used in solving mathematical problems with the help of computer
mathematical programs. For example, it is used in the study and analysis of linear transformation as well as in solving
optimization problems.
Keywords- Linear Equations, Gauss Elimination, Gauss Jordan, Cramer’s Roll and LU decomposition or factorization
methods.
1 0 0 1
𝑖𝑓: −1𝑅3 + 𝑅1 → 𝑅1 ⇒ 𝐴 = [0 1 0] , 𝐵 = [2] ⇒
It should be tried to find the coefficient 0 0 1 3
(𝑎11 ≠ 0) of 𝑥1 . If the coefficient is equal to zero, then 𝑥1 = 1, 𝑥2 = 2, 𝑥3 = 3
use other coefficients and remove 𝑥1 from the system.
𝑎
To do this, it should be multiplied by 21 the both 3.3 Cramer’s Roll
𝑎11 ≠0
sides of first equation and it is abstracted from the Using the Cramer’s method to solve a 𝑛
second equation. unknowns and 𝑚 equations linear system. The condition
Then the both sides of first equation are for solving a linear system with this method is that; the
𝑎
multiplied by 31 and subtracted from the third determinant of the coefficients of linear system shouldn’t
𝑎11 ≠0 be zero or (its matrix must be nonsingular).
equation, continuing this operation until 𝑥1 becomes This method is used for the solving of those
zero throughout the system. linear systems where the number of unknowns equal
We study the above method in the following 𝑚 with the number of equations of the system or 𝑚 = 𝑛 and
equations and 𝑛 unknown system, which in the det 𝐴 ≠ 0.
following system all of 𝑥1 are zero. Suppose the following linear system is given:
𝑎11 𝑥1 + 𝑎12 𝑥2 +, … … … , 𝑎1𝑛 𝑥𝑛 = 𝑏1
+𝑎22 𝑥2 +, … … … 𝑎12𝑛 𝑥𝑛 = 𝑏2
{ … … … (2) a11 a12 a1n x1 b1
⋮ ⋮ ⋮ a a b
+𝑎𝑚2 𝑥2 +, … … … , 𝑎𝑚𝑛 𝑥𝑛 = 𝑏𝑚 a2n x2
A = 21 22 , X= , B = 2
Note: Follow the same procedure for all other unknown.
a n1 a n 2 a nn xn bn
115 This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)
Journal for Research in Applied Sciences ISSN: 2583-4053
and Biotechnology Volume-2 Issue-3 || June 2023 || PP. 114-117
www.jrasb.com https://doi.org/10.55544/jrasb.2.3.15
Assuming that the matrix 𝐴 is the matrix of the 𝐿 and 𝑈 are called the decomposition of 𝐴 matrix, If we
coefficient unknowns and the matrix 𝐵 is the matrix of consider the above situation in terms of linear system,
the constants numbers so: then we can write:
If det 𝐴 ≠ 0 and the matrix 𝐴 is reversible
which its revers matrix is called (𝐴)−1 ,then this 𝑎11 𝑥1 + 𝑎12 𝑥2 +, … , 𝑎1𝑛 𝑥𝑛 = 𝑏1
(𝐴)−1 matrix multiplied on the both sides of the equation
𝑎21 𝑥1 + 𝑎22 𝑥2 +, … , 𝑎2𝑛 𝑥𝑛 = 𝑏2
𝐴𝑋 = 𝐵, so it can be written as: { … (1)
⋮ ⋮ ⋮
𝑋 = 𝐴−1 𝐵
𝑎𝑚1 𝑥1 + 𝑎𝑚2 𝑥1 +, … , 𝑎𝑚𝑛 𝑥1 = 𝑏𝑚
Now with the using of adjoin matrix we can find the
value of 𝐴−1 as:
𝑎11 𝑎12 ⋯ 𝑎1𝑛 𝑏1 𝑥1
𝑎11 𝑎12 𝑎13 𝑎21 𝑎22 ⋯ 𝑎2𝑛 𝑏 𝑥2
𝐴=[ ],𝐵 = [ 2],𝑥 = [ ⋮ ]
𝐴 = [𝑎21 𝑎22 𝑎23 ] , 𝐶 = ⋮ ⋱ ⋮ ⋮
𝑎31 𝑎32 𝑎33 𝑎𝑚1 𝑎𝑚2 ⋯ 𝑎𝑚𝑛 𝑏𝑚 𝑥𝑚𝑛
𝑎22 𝑎23 𝑎21 𝑎23 𝑎21 𝑎22
+ [𝑎 𝑎 ] − [𝑎 𝑎 ] + [𝑎 𝑎 ]
32 33 31 33 31 32 𝐴𝑋 = 𝐵 … (2)
𝑎12 𝑎13 𝑎11 𝑎13 𝑎11 𝑎12
+ [𝑎 𝑎 ] − [𝑎 𝑎 ] + [𝑎 𝑎 ] = 𝐿𝑈𝑋 = 𝐵 … (3)
32 33 31 33 31 32
𝑎12 𝑎13 𝑎11 𝑎13 𝑎11 𝑎12
[+ [𝑎22 𝑎23 ] − [𝑎21 𝑎23 ] + [𝑎21 𝑎22 ]] 𝑖𝑓: 𝑈𝑋 = 𝑌 ⇒ 𝐿𝑌 = 𝐵 … (4)
𝑐11 𝑐12 𝑐13 𝑐11 𝑐21 𝑐31
Computation
[𝑐21 𝑐22 𝑐23 ] 𝑖𝑓𝐶 𝑇 ⇒ 𝑎𝑑𝑗𝐴 = [𝑐12 𝑐22 𝑐32 ]
𝑐31 𝑐32 𝑐33 𝑐13 𝑐23 𝑐33 Therefor to solve a system by the using
decomposition method, we need to take the following
Therefore, the results of the multiplication of 𝐴 and 𝐶 steps for 𝐿 and 𝑈 matrixes:
matrixes show that they 𝑥1 , 𝑥2 , … , 𝑥𝑛 are as follows: - Finding the first line of the 𝑈 matrix (𝑢11 𝑢12 𝑢13 ).
1 - Finding the first column of the 𝐿 matrix (𝑙21 , 𝑙31 ).
𝑥1 = [𝑏 𝑐 + 𝑏2 𝑐21 + ⋯ + 𝑏𝑛 𝑐𝑛1 ] - Creating the second line of the
det 𝐴 1 11
matrix( 𝑢22 𝑢23 ).
1 - Finding the second column of matrix (𝑙32 ).
𝑥2 = [𝑏 𝑐 + 𝑏2 𝑐22 + ⋯ + 𝑏𝑛 𝑐𝑛2 ]
det 𝐴 1 12 - Find the third line of the matrix (𝑢33 ).
For example, if we consider the following linear system,
1
𝑥𝑛 = [𝑏 𝑐 + 𝑏2 𝑐2𝑛 + ⋯ + 𝑏𝑛 𝑐𝑛𝑛 ] write:
det 𝐴 1 1𝑛 𝑎11 𝑥1 + 𝑎12 𝑥2 + 𝑎13 𝑥3 = 𝑏1
{𝑎21 𝑥1 + 𝑎22 𝑥2 + 𝑎23 𝑥3 = 𝑏2
The last formulas are called Cramer’s formulas, for
𝑎31 𝑥1 + 𝑎32 𝑥2 + 𝑎33 𝑥3 = 𝑏3
example we have for (3 × 3) square linear system:
116 This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)
Journal for Research in Applied Sciences ISSN: 2583-4053
and Biotechnology Volume-2 Issue-3 || June 2023 || PP. 114-117
www.jrasb.com https://doi.org/10.55544/jrasb.2.3.15
117 This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)