Solving Linear Systems

Summary

This path solves linear algebraic systems Ax=b with ARn×n . Direct methods factor or triangularize A ; iterative methods build a sequence x(k)x .

Prerequisites

Linear Maps (Not Affine Lines)

A map T is linear when

T(u+v)=T(u)+T(v),T(cu)=cT(u)

for all vectors u,v and scalars c .[1]

In particular, T(x)=ax+b with b0 is affine, not linear, because T(0)=b0 . Linear systems in this path are of the form Ax=b , where the unknown enters linearly through the matrix A . (The system is still called linear when b0 .)

Learning Order

  1. Direct Methods - Triangular System — forward/back substitution
  2. Gaussian Elimination — triangularization + back substitution
  3. LU Factorization A=LU or PA=LU
  4. Iterative Methods — fixed-point form x(k+1)=Tx(k)+c
  5. Gauss-Jacobi Method
  6. Gauss-Seidel Method
  7. Sufficient Convergence Condition for Gauss-Jacobi

Topic Map

Direct vs Iterative

Family Idea Typical use
Direct Finite arithmetic factorization / elimination Dense moderate n , many b after one factorization
Iterative Split A=MN , iterate Mx(k+1)=Nx(k)+b Large sparse systems, good initial guesses

Always check the residual bAx after computing x .

Connections

References


  1. Definition of linear maps; standard linear algebra. Numerical methods overview: NIST DLMF Ch. 3, https://dlmf.nist.gov/3 ↩︎