20.1 INTRODUCTION

Solving systems of linear equations is found in almost all areas of engineering and scientific applications. A system of linear equations is generally expressed in matrix form as

(20.1) c20e001

where A is the system matrix, which is an n × n matrix, x is the unknown vector of n components, and b is a vector of constants. Techniques for solving linear systems could be direct or iterative. Direct techniques are appropriate for small systems (small values of n) where computational errors will be small. Iterative techniques are more appropriate for large systems where an assumed solution is refined after each iteration while suppressing computational noise. Table 20.1 summarizes the different direct and indirect techniques used to solve linear systems. Reference 129 explains in detail how such techniques are used.

Table 20.1 Direct and Indirect Techniques Used to Solve Linear Systems

Direct techniquesComment
Forward substitutionSystem matrix lower triangular
Back substitutionSystem matrix upper triangular
LU factorizationConvert system matrix to equivalent triangular system. L is lower triangular matrix and U is upper triangular matrix.
Gaussian eliminationConvert system matrix to equivalent triangular system
LDMt factorizationConvert system matrix to three special matrices. L is lower triangular matrix, D is diagonal matrix, and M is a Gaussian transformation matrix such that ...

Get Algorithms and Parallel Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.