SlideShare a Scribd company logo
7
Most read
8
Most read
9
Most read
Numerical Matrix methods
for solving the
System of Linear algebraic
equations
By Poonam Deshpande
Team 5 - RC 1229
Pre-requisites for this topic
Students should have the knowledge of
• Definition of a Matrix
• Different types of matrices
• Upper and lower triangular matrices
• Matrix algebra like addition, subtraction and
multiplication of matrices
• System of Linear Algebraic Equations
Learning Objectives:
• To understand how to write a System of Linear Algebraic
Equations in the matrix equation form.
• To enable students to understand how to solve the large
system of Linear algebraic equations using iterative
numerical methods and how to write a programing code
for these matrix methods
• To master the numerical methods like Gauss-Jordan
method, Crout’s Method, Iterative Method, and Gauss-
Seidel Method for solving the System of Linear Algebraic
Equations
• To develop the analytical ability to apply these learnings to
the real world problems
Learning Outcomes
• Students will be able to understand what is the System of
Linear Algebraic Equations and how to write a System of
Linear Algebraic Equations in the matrix equation form
• Students will be able to understand and master the
numerical methods like Gauss-Jordan method, Crout’s
Method, Iterative Method, and Gauss-Seidal Method for
solving the large System of Linear Algebraic Equations
• Students will be able to write a programing code for these
matrix methods
• Students will develop the analytical ability to apply these
learnings to the real world problems
System of linear algebraic equations
Consider the system of linear algebraic equations given by
𝑎11 𝑥1 + 𝑎12 𝑥2 + ⋯ … … + 𝑎1𝑛 𝑥 𝑛 = 𝑏1
𝑎21 𝑥1 + 𝑎22 𝑥2 + ⋯ … … + 𝑎2𝑛 𝑥 𝑛 = 𝑏2
.
.
𝑎 𝑚1 𝑥1 + 𝑎 𝑚2 𝑥2 + ⋯ … … + 𝑎 𝑚𝑛 𝑥 𝑛 = 𝑏 𝑚
Which can be written in the matrix equation form as
𝐴𝑋 = 𝐵
Here
• A is the Co-efficient matrix
• X the solution matrix (which to be calculated) and
• B is the constant matrix.
Numerical Matrix methods
• Gauss-Jordan Method
• Crout’s Method
• Iterative Method
• Gauss-Seidel method
Crout’s Method
Consider the matrix equation of the system of 3 equations in
3 unknowns
𝐴𝑋 = 𝐵
We write matrix A as a product of an Upper and Lower
Triangular matrices[1]
𝐴 = 𝐿𝑈
Where, 𝐿 =
𝑙11 0 0
𝑙21 𝑙22 0
𝑙31 𝑙32 𝑙33
𝑎𝑛𝑑 𝑈 =
1 𝑢12 𝑢13
0 1 𝑢23
0 0 1
[1] http://ktuce.ktu.edu.tr/~pehlivan/numerical_analysis/chap02/Cholesky.pdf
Crout’s Method (cont.)
Since 𝑨 = 𝑳𝑼 ∴ 𝑨𝑿 = 𝑩 (1)
Gives 𝑳𝑼𝑿 = 𝑩 (2)
Let us take 𝑼𝑿 = 𝒀 (3)
𝑌 is some unknown matrix which is to be evaluated
Then 𝐋𝐘 = 𝐁 (4)
Therefore to find the solution of the system (1) we will have
to solve (4) and then (3), but before that we will have to
evaluate the values of L and U
Algorithm for Crout’s Method
Use the following steps to solve the System of Linear algebraic
equations.
• Step 1: Write 𝐴 = 𝐿𝑈 =
𝑙11 0 0
𝑙21 𝑙22 0
𝑙31 𝑙32 𝑙33
1 𝑢12 𝑢13
0 1 𝑢23
0 0 1
• Step 2: Calculate the Product of L and U
𝑎11 𝑎12 𝑎13
𝑎21 𝑎22 𝑎23
𝑎31 𝑎32 𝑎33
=
𝑙11 𝑙11 𝑢12 𝑙11 𝑢13
𝑙21 𝑙21 𝑢12 + 𝑙22 𝑙21 𝑢13 + 𝑙22 𝑢23
𝑙31 𝑙31 𝑢12 + 𝑙32 𝑙31 𝑢13 + 𝑙32 𝑢23 + 𝑙33
Algorithm for Crout’s Method (cont.)
• Step 3: write 𝐿 and 𝑈
• Step 4: Solve 𝐿𝑌 = 𝐵 by forward substitution
• Step 5: Solve 𝑈𝑋 = 𝑌 by backward substitution
Thank You
Example
Solve the following system of equations by Crout’s Method
2𝑥1 − 4𝑥2 + 𝑥3 = 4,
6𝑥1 + 2𝑥2 − 𝑥3 = 10,
−2𝑥1 + 6𝑥2 − 2𝑥3 = −6
Crout s method for solving system of linear equations
Crout s method for solving system of linear equations
Thank You

More Related Content

PPT
Lecture 4 5 Urm Shear Walls
PDF
densidad-de-muros
PPTX
Newton’s Forward & backward interpolation
PPTX
ETHICAL HACKING PPT
PPTX
Deep web Seminar
PPT
numerical methods
PPTX
Application of matrices in real life and matrix
PPS
Electric Current
Lecture 4 5 Urm Shear Walls
densidad-de-muros
Newton’s Forward & backward interpolation
ETHICAL HACKING PPT
Deep web Seminar
numerical methods
Application of matrices in real life and matrix
Electric Current

What's hot (20)

PPTX
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
PPTX
Runge Kutta Method
PPT
Vector calculus
PPT
Gauss sediel
PDF
Numerical Methods - Power Method for Eigen values
PPTX
presentation on Euler and Modified Euler method ,and Fitting of curve
PDF
Study Material Numerical Differentiation and Integration
PPTX
Linear dependence & independence vectors
DOCX
B.tech ii unit-4 material vector differentiation
PPTX
Rank nullity theorem
PDF
LINEAR DIFFERENTIAL EQUATION & BERNOULLI`S EQUATION
PDF
Recurrence relations
PPTX
Runge Kurta method of order Four and Six
PPT
introduction to Numerical Analysis
PDF
Multiple Choice Questions - Numerical Methods
PPTX
Gauss Forward And Backward Central Difference Interpolation Formula
PPTX
stirling method maths
PPTX
Thomas algorithm
PPTX
Runge kutta method -by Prof.Prashant Goad(R.C.Patel Institute of Technology,...
PPTX
nth Derivatives.pptx
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
Runge Kutta Method
Vector calculus
Gauss sediel
Numerical Methods - Power Method for Eigen values
presentation on Euler and Modified Euler method ,and Fitting of curve
Study Material Numerical Differentiation and Integration
Linear dependence & independence vectors
B.tech ii unit-4 material vector differentiation
Rank nullity theorem
LINEAR DIFFERENTIAL EQUATION & BERNOULLI`S EQUATION
Recurrence relations
Runge Kurta method of order Four and Six
introduction to Numerical Analysis
Multiple Choice Questions - Numerical Methods
Gauss Forward And Backward Central Difference Interpolation Formula
stirling method maths
Thomas algorithm
Runge kutta method -by Prof.Prashant Goad(R.C.Patel Institute of Technology,...
nth Derivatives.pptx
Ad

Viewers also liked (20)

DOC
Solution of System of Linear Equations
DOCX
Matlab code for crout method
PPTX
Cholesky method and Thomas
PPTX
Direct Methods to Solve Linear Equations Systems
PPTX
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
PPT
Numerical Methods
PPT
Applications of numerical methods
PPTX
Chapter 4: Linear Algebraic Equations
PPT
NUMERICAL METHODS -Iterative methods(indirect method)
PPTX
LINEAR EQUATION IN TWO VARIABLES PPT
PPT
Linear Equations
PPT
Lecture#3 Algorithms and computing
PPT
Linear equations
PPTX
Slope & rate of change practice
PPTX
Solving systems substitution
PPT
3.3 solving systems of inequalities
DOCX
Choleskymethod
 
PPTX
Specials Methods
 
PPT
Matrix factorization
PPT
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
Solution of System of Linear Equations
Matlab code for crout method
Cholesky method and Thomas
Direct Methods to Solve Linear Equations Systems
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
Numerical Methods
Applications of numerical methods
Chapter 4: Linear Algebraic Equations
NUMERICAL METHODS -Iterative methods(indirect method)
LINEAR EQUATION IN TWO VARIABLES PPT
Linear Equations
Lecture#3 Algorithms and computing
Linear equations
Slope & rate of change practice
Solving systems substitution
3.3 solving systems of inequalities
Choleskymethod
 
Specials Methods
 
Matrix factorization
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
Ad

Similar to Crout s method for solving system of linear equations (20)

PDF
Data Analysis and Algorithms Lecture 1: Introduction
PPTX
Linear Algebra in python programming....
PPTX
Unit 3-Numerical Algorithms (3).pptx .is of topic data structures and algorithm
PDF
11_Học máy cơ bản_Hồi quy tuyến tính.pdf
PPT
Machine Learning Unit 2_Supervised Learning
PPTX
Math ppt.pptx ,
PPSX
How to Solve Linear Equation with the help of Liner Equation Calculator?
PPTX
QR II lect 10 (modeling with system).pptx
PPTX
System of linear equations
PPTX
system of linear equations by Diler
PDF
Paper Study: Melding the data decision pipeline
PPTX
Linear Algebra and Matlab tutorial
PPTX
Linear Programing.pptx
PDF
Topical Revision Notes Additional Mathematics O Level 1st Xander Yun
PPT
linear equation system with 2 and 3 variables
PDF
Lecture 6.1 6.2 bt
PPTX
Alg II Unit 3-6-solvingsystemsmatrices
PPTX
Alg II 3-6 Solving Systems - Matrices
PPTX
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
PDF
CS345-Algorithms-II-Lecture-1-CS345-2016.pdf
Data Analysis and Algorithms Lecture 1: Introduction
Linear Algebra in python programming....
Unit 3-Numerical Algorithms (3).pptx .is of topic data structures and algorithm
11_Học máy cơ bản_Hồi quy tuyến tính.pdf
Machine Learning Unit 2_Supervised Learning
Math ppt.pptx ,
How to Solve Linear Equation with the help of Liner Equation Calculator?
QR II lect 10 (modeling with system).pptx
System of linear equations
system of linear equations by Diler
Paper Study: Melding the data decision pipeline
Linear Algebra and Matlab tutorial
Linear Programing.pptx
Topical Revision Notes Additional Mathematics O Level 1st Xander Yun
linear equation system with 2 and 3 variables
Lecture 6.1 6.2 bt
Alg II Unit 3-6-solvingsystemsmatrices
Alg II 3-6 Solving Systems - Matrices
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
CS345-Algorithms-II-Lecture-1-CS345-2016.pdf

Recently uploaded (20)

PDF
Pre independence Education in Inndia.pdf
PDF
01-Introduction-to-Information-Management.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Cell Structure & Organelles in detailed.
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
GDM (1) (1).pptx small presentation for students
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Institutional Correction lecture only . . .
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
Pre independence Education in Inndia.pdf
01-Introduction-to-Information-Management.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Abdominal Access Techniques with Prof. Dr. R K Mishra
Cell Structure & Organelles in detailed.
Final Presentation General Medicine 03-08-2024.pptx
Renaissance Architecture: A Journey from Faith to Humanism
GDM (1) (1).pptx small presentation for students
102 student loan defaulters named and shamed – Is someone you know on the list?
human mycosis Human fungal infections are called human mycosis..pptx
Institutional Correction lecture only . . .
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Classroom Observation Tools for Teachers
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPH.pptx obstetrics and gynecology in nursing
STATICS OF THE RIGID BODIES Hibbelers.pdf
Supply Chain Operations Speaking Notes -ICLT Program
2.FourierTransform-ShortQuestionswithAnswers.pdf

Crout s method for solving system of linear equations

  • 1. Numerical Matrix methods for solving the System of Linear algebraic equations By Poonam Deshpande Team 5 - RC 1229
  • 2. Pre-requisites for this topic Students should have the knowledge of • Definition of a Matrix • Different types of matrices • Upper and lower triangular matrices • Matrix algebra like addition, subtraction and multiplication of matrices • System of Linear Algebraic Equations
  • 3. Learning Objectives: • To understand how to write a System of Linear Algebraic Equations in the matrix equation form. • To enable students to understand how to solve the large system of Linear algebraic equations using iterative numerical methods and how to write a programing code for these matrix methods • To master the numerical methods like Gauss-Jordan method, Crout’s Method, Iterative Method, and Gauss- Seidel Method for solving the System of Linear Algebraic Equations • To develop the analytical ability to apply these learnings to the real world problems
  • 4. Learning Outcomes • Students will be able to understand what is the System of Linear Algebraic Equations and how to write a System of Linear Algebraic Equations in the matrix equation form • Students will be able to understand and master the numerical methods like Gauss-Jordan method, Crout’s Method, Iterative Method, and Gauss-Seidal Method for solving the large System of Linear Algebraic Equations • Students will be able to write a programing code for these matrix methods • Students will develop the analytical ability to apply these learnings to the real world problems
  • 5. System of linear algebraic equations Consider the system of linear algebraic equations given by 𝑎11 𝑥1 + 𝑎12 𝑥2 + ⋯ … … + 𝑎1𝑛 𝑥 𝑛 = 𝑏1 𝑎21 𝑥1 + 𝑎22 𝑥2 + ⋯ … … + 𝑎2𝑛 𝑥 𝑛 = 𝑏2 . . 𝑎 𝑚1 𝑥1 + 𝑎 𝑚2 𝑥2 + ⋯ … … + 𝑎 𝑚𝑛 𝑥 𝑛 = 𝑏 𝑚 Which can be written in the matrix equation form as 𝐴𝑋 = 𝐵 Here • A is the Co-efficient matrix • X the solution matrix (which to be calculated) and • B is the constant matrix.
  • 6. Numerical Matrix methods • Gauss-Jordan Method • Crout’s Method • Iterative Method • Gauss-Seidel method
  • 7. Crout’s Method Consider the matrix equation of the system of 3 equations in 3 unknowns 𝐴𝑋 = 𝐵 We write matrix A as a product of an Upper and Lower Triangular matrices[1] 𝐴 = 𝐿𝑈 Where, 𝐿 = 𝑙11 0 0 𝑙21 𝑙22 0 𝑙31 𝑙32 𝑙33 𝑎𝑛𝑑 𝑈 = 1 𝑢12 𝑢13 0 1 𝑢23 0 0 1 [1] http://ktuce.ktu.edu.tr/~pehlivan/numerical_analysis/chap02/Cholesky.pdf
  • 8. Crout’s Method (cont.) Since 𝑨 = 𝑳𝑼 ∴ 𝑨𝑿 = 𝑩 (1) Gives 𝑳𝑼𝑿 = 𝑩 (2) Let us take 𝑼𝑿 = 𝒀 (3) 𝑌 is some unknown matrix which is to be evaluated Then 𝐋𝐘 = 𝐁 (4) Therefore to find the solution of the system (1) we will have to solve (4) and then (3), but before that we will have to evaluate the values of L and U
  • 9. Algorithm for Crout’s Method Use the following steps to solve the System of Linear algebraic equations. • Step 1: Write 𝐴 = 𝐿𝑈 = 𝑙11 0 0 𝑙21 𝑙22 0 𝑙31 𝑙32 𝑙33 1 𝑢12 𝑢13 0 1 𝑢23 0 0 1 • Step 2: Calculate the Product of L and U 𝑎11 𝑎12 𝑎13 𝑎21 𝑎22 𝑎23 𝑎31 𝑎32 𝑎33 = 𝑙11 𝑙11 𝑢12 𝑙11 𝑢13 𝑙21 𝑙21 𝑢12 + 𝑙22 𝑙21 𝑢13 + 𝑙22 𝑢23 𝑙31 𝑙31 𝑢12 + 𝑙32 𝑙31 𝑢13 + 𝑙32 𝑢23 + 𝑙33
  • 10. Algorithm for Crout’s Method (cont.) • Step 3: write 𝐿 and 𝑈 • Step 4: Solve 𝐿𝑌 = 𝐵 by forward substitution • Step 5: Solve 𝑈𝑋 = 𝑌 by backward substitution
  • 12. Example Solve the following system of equations by Crout’s Method 2𝑥1 − 4𝑥2 + 𝑥3 = 4, 6𝑥1 + 2𝑥2 − 𝑥3 = 10, −2𝑥1 + 6𝑥2 − 2𝑥3 = −6