"); hg.document.close(); } function ptip(){ hg=window.open('','','toolbar=no,width=400,height=100,top=0,left=0'); hg.document.open(); hg.document.writeln(""); hg.document.writeln("Positive definite "); hg.document.close(); } function sclose(){ hg.window.close(); }
L U Decomposition method : In these methods the coefficient matrix A of the given system of equatiron AX = b  is written as a product of a Lower triangulat matrix L and an Upper trigular matrix U, such that A = LU where the elements of L = (lij = 0 for i < j) and the elements of U = (uij = 0 for i > j) that is, the matrices  L and U look like
L =  
l11
 0 
 0 
 . . . 
 0 
 
l21
l22
0
. . .
0
. . .
. . .
. . .
. . .
. . .
ln1
ln2
. . .
. . .
lnn

 
U =  
u11
 u12
 . . . 
 u1n
 
0
u22
0
u2n
. . .
. . .
. . .
. . .
0
0
. . .
unn
Now using the rules of matrix multiplication
li1u1j + li2u2j + . . . + linunj = ai5  where  j = 1(1)n & i = 1(1)n
This gives a system of n2 equations for the (n2 + 1) unknowns(the non-zero elements in L and U). To make the number of unknowns and the number of equations equal one can fix the diagonal element either in L or in U as '1' then solve the n2 equations for the remaining n2 unknowns in L and U. This can be written as
j-1
   
li1 = aij
S
lik
ukj
 
k=1

 
i-1
   
uij = aij
S
lik
ukj / lii
 
k=1

uii = 1

Once the matrix A is --- into LU form we can write the system as LUx = b
if Ux = y Þ Ly = b
solve y from Ly = b and x from Ux = y.
Since L and U are respectively lower diagonal and upper diagonal in structure we can use forward subsititution and back substitution to find y and x from the respective equations.


Example:
 
 

Cholesky decomposition : The LU decomposition defined in the previous section can be simplified if the coefficient matrix A in the given system of equations Ax = b is symmetric and positive definite. In this case the decomposition can be modified as A = LLT so that it is sifficient to compute the lower triangular matrix L and the upper triangular matrix can be obtained by taking the transpose of L that U = LT. Once A is decomposed into LU(Here LLT) the same iterative scheme used in LU decomposition method can be used here to compute the unknown vector X. That by solving two systems Uy = b first and then Lx = y.
 
 

Solution of Transcendental Equations | Solution of Linear System of Algebraic Equations | Interpolation & Curve Fitting
Numerical Differentiation & Integration | Numerical Solution of Ordinary Differential Equations
Numerical Solution of Partial Differential Equations