Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-gvh9x Total loading time: 0 Render date: 2024-07-17T02:26:13.729Z Has data issue: false hasContentIssue false

16 - Matrices and Solution of Linear Systems

Published online by Cambridge University Press:  08 February 2010

K. Chen
Affiliation:
University of Liverpool
Peter J. Giblin
Affiliation:
University of Liverpool
A. Irving
Affiliation:
University of Liverpool
Get access

Summary

Linear systems of algebraic equations are one of the most important subjects in mathematics, since most other subjects, methods and problems involve or reduce to this subject.

Aims of the project

As numerical methods involve truncations and finite precisions, we investigate their effect on solution accuracy. Most of us know some theory about linear systems but may not be aware of the good or bad choice of solution methods on computers, what determines the accuracy of the numerical solution and whether an obtained solution can be improved. Large scale problems arising from practice often involve sparse matrices and special techniques can be developed. This project addresses all such issues.

Mathematical ideas used

You have learnt that to solve Ax = b you just type x = A\b. To investigate the sensitivity of the solution x with regard to the matrix A (or its condition number) and the right-hand side vector b, we use a controllable number of digits in our calculations. The use of iterative refinements is illustrated. Finally we discuss how a sparse matrix may be condensed towards band forms by use of permutation matrices.

MATLAB techniques used

Seven M-files lin_solv.m, chop.m, lu2.m, lu3.m, lu4.m, solv6.m and spar_ex.m are used to assist this project. The last two M-files are listed in the chapter. Here chop.m, used to fix digits, is used by lu2.m, lu3.m and lu4.m. You will get useful experience of MATLAB's easy and simple commands for both dense and sparse matrices.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 1999

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×