0% found this document useful (0 votes)
3 views26 pages

Solving Linear Algebraic Equations

This document covers numerical methods for solving systems of linear algebraic equations, including direct methods like Gauss Elimination and LU Decomposition, as well as iterative methods such as the Jacobi and Gauss-Seidel methods. It explains the background of linear equations, their matrix forms, and provides examples for each method. The document emphasizes the importance of these methods in handling complex systems with multiple variables.

Uploaded by

abduselamhusen49
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views26 pages

Solving Linear Algebraic Equations

This document covers numerical methods for solving systems of linear algebraic equations, including direct methods like Gauss Elimination and LU Decomposition, as well as iterative methods such as the Jacobi and Gauss-Seidel methods. It explains the background of linear equations, their matrix forms, and provides examples for each method. The document emphasizes the importance of these methods in handling complex systems with multiple variables.

Uploaded by

abduselamhusen49
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

NUMERICAL METHODS

(CEng3102)
BY- Hiwot G.
Department- Civil Engineering
Office- B16-R3
Email- hiwote0915@gmailcom
CHAPTER THREE
Solutions of Systems of Linear Algebraic
Equations

• Introduction
• Gauss Elimination Method
• LU Decomposition Method
• Iterative Solution of Linear Systems
– Gauss-Seidel Method
– Jacobi Method
Numerical Methods
Introduction
• A number of problems in numerical analysis can be
reduced to, or approximated by, a system of linear
equations.
• Systems of a linear equations that have to be solved
simultaneously arise in problems that include several
(possibly many) variables that are dependent on each other

• A system of two (or three) equations with two (or three)


unknowns can be solved manually by substitution or other
mathematical methods

• Solving a system in this way is practically impossible as the


number of equations (and unknowns) increases beyond
three
Numerical Methods

Solving a System of Linear Equations: 1. Background


• A general form of a system of n linear algebraic
equations is:
Numerical Methods
The matrix form of the equations is shown as:

Direct Method
• The system of equations that is initially given in general
form, is manipulated to an equivalent system of equations
that can be easily solved
• Three systems of equations that can be easily solved are
Upper Triangular form
Lower Triangular form
Diagonal form
Numerical Methods

Direct Method > Upper Triangular Form


It is shown in the equation below;
The system in this form has all zero coefficients
below the diagonal and is solved by a procedure
called back substitution.
Numerical Methods

In the case of four equation, the solution is given by;

For a system of n equations in UPPER triangular form, a


general formula for the solution using BACK substitution is:
Numerical Methods

Direct Method >Lower Triangular form


It is shown in the equation;
The system in this form has all zero
coefficients above the diagonal and is
solved by a procedure called forward
substitution.

In the case of four equation, the solution is given


by;

A system of four equations in lower triangular form.

The Lower and Upper


Triangular forms are used in the
LU decomposition form)
Numerical Methods
Two types of numerical methods :
DIRECT method
• Gauss Elimination method
• Gauss Jordan method
• LU decomposition method
ITERATIVE method
• Jacobi method
• Gauss Seidel method
Numerical Methods
 GAUSS ELIMINATION METHOD
In the Gauss elimination method, the system of equations is manipulated into an
equivalent system of equations that has the form:

Matrix form of the equivalent system


• The 1st equation of the equivalent system is the same as 1st equation of the
original system
• In the 2nd equation, the variable x1 is eliminated.
• In the 3rd equation, the variables x1 and x2 are eliminated.
• In the 4th equation, the variables x1, x2 and x3 are eliminated.

equivalen
t system
Numerical Methods
Example 1

Determine the value of x by using Gauss Elimination


method.
Numerical Methods
Solution:-
We can represent the system of equation in a
matrix form
Numerical Methods
Cont….
Numerical Methods
 Gauss Jordan method

Example 2
Determine the value of x by using Gauss-Jordan Elimination
method.
Numerical Methods
Solution:-
We can represent the system of equation in a matrix form
Numerical Methods
Cont…
Numerical Methods
Cont…
Numerical Methods
 LU decomposition method
Example 3
Determine the value of x by using LU Decomposition method.

Solution:-
We can represent the system of equation in a matrix form
Numerical Methods
Cont…

We can represent the system of equation in a matrix form


Numerical Methods
Cont…
We can represent the system of equation in a matrix form
Numerical Methods
Cont…
Numerical Methods
Cont…
You can use Gauss Elimination Method

You can use Gauss Elimination Method


Numerical Methods
 Jacobi method
Example 4
Carry out the first three iterations of the solution of the following system
of equations using the Gauss-Jacobi iterative method. For the first guess of
the solution, take the value of all the unknowns to be one.

Solution:-

Carry out the first three iterations of the solution of the following system of
equations using the Gauss-Jacobi iterative method. For the first guess of the
solution, take the value of all the unknowns to be one
Numerical Methods
Cont…
The system of equations satisfies the diagonally dominance condition
Numerical Methods
Cont…

You might also like