Numerical Computing with MATLAB

Chapter 2: Linear Equations

One of the problems encountered most frequently in scientific computation is the solution of systems of simultaneous linear equations. This chapter covers the solution of linear systems by Gaussian elimination and the sensitivity of the solution to errors in the data and roundoff errors in the computation.

2.1 Solving Linear Systems

With matrix notation, a system of simultaneous linear equations is written

In the most frequent case, when there are as many equations as unknowns, A is a given square matrix of order n, b is a given column vector of n components, and x is an unknown column vector of n components.

Students of linear algebra learn that the solution to Ax = b can be written x = A ?1 b, where A ?1 is the inverse of A. However, in the vast majority of practical computational problems, it is unnecessary and inadvisable to actually compute A ?1. As an extreme but illustrative example, consider a system consisting of just one equation, such as

The best way to solve such a system is by division:

Use of the matrix inverse would lead to

The inverse requires more arithmetic a division and a multiplication instead of just a division and produces a less accurate answer. Similar considerations apply to systems of more than one equation. this is even true in the common situation where there are several systems of equations with the same matrix A

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Polarimeters
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.