NMST Unit 2
NMST Unit 2
equationS
2. Direct Methods
Direct methods provide an exact solution to the system of
equations in a finite number of steps. Two widely used
direct methods are Gauss Elimination and Gauss-Jordan
Elimination.
2.1 Gauss Elimination Method
The Gauss Elimination Method is a systematic approach used
to solve a system of linear equations by transforming the
system’s augmented matrix into an upper triangular form
and then performing back-substitution.
Steps of Gauss Elimination:
1. Form the Augmented Matrix: Convert the system of
equations into an augmented matrix.
Example: Consider the following system of equations:
The augmented matrix will be:
Steps of Gauss-Jordan:
1. Form the Augmented Matrix: The system is first written
in augmented matrix form.
2. Row Operations: Use elementary row operations to
transform the matrix into the reduced row echelon
form.
3. Extract the Solution: Once the matrix is in RREF, the
solutions for the unknowns are immediately available.
Example:
For the same system of equations, after applying Gauss-
Jordan reduction, you will have the solutions in the matrix
form that directly represent the values of and
3. Iterative Methods
While direct methods give the exact solution, iterative
methods are used to obtain an approximate solution by
starting with an initial guess and refining it through
repeated iterations. These methods are often used for
large systems of equations where direct methods may be
computationally expensive.
3.1 Jacobi’s Method
The Jacobi method is an iterative technique where each
equation is solved for one unknown, and the values of the
other unknowns are treated as constants. The method is
repeated until the solution converges to the desired
accuracy.
Steps of Jacobi’s Method: