Introduction to Applied Linear Algebra with MATLAB

Similar documents
1 Number Systems and Errors 1

APPLIED NUMERICAL LINEAR ALGEBRA

Numerical Methods in Matrix Computations

Applied Linear Algebra

Today s class. Linear Algebraic Equations LU Decomposition. Numerical Methods, Fall 2011 Lecture 8. Prof. Jinbo Bi CSE, UConn

Introduction to Numerical Analysis

Math 411 Preliminaries

Applied Numerical Analysis

Applied Linear Algebra in Geoscience Using MATLAB

Contents. Preface for the Instructor. Preface for the Student. xvii. Acknowledgments. 1 Vector Spaces 1 1.A R n and C n 2

NUMERICAL COMPUTATION IN SCIENCE AND ENGINEERING

(Mathematical Operations with Arrays) Applied Linear Algebra in Geoscience Using MATLAB

FINITE-DIMENSIONAL LINEAR ALGEBRA

Preface. 2 Linear Equations and Eigenvalue Problem 22

Contents. Preface... xi. Introduction...

Introduction to Numerical Analysis

Numerical Methods - Numerical Linear Algebra

Preface to Second Edition... vii. Preface to First Edition...

TEACHING NUMERICAL LINEAR ALGEBRA AT THE UNDERGRADUATE LEVEL by Biswa Nath Datta Department of Mathematical Sciences Northern Illinois University

LINEAR ALGEBRA: NUMERICAL METHODS. Version: August 12,

EIGENVALUE PROBLEMS. EIGENVALUE PROBLEMS p. 1/4

MATHEMATICS. Course Syllabus. Section A: Linear Algebra. Subject Code: MA. Course Structure. Ordinary Differential Equations

Numerical Analysis Fall. Gauss Elimination

Numerical Solution of partial differential equations

Index. for generalized eigenvalue problem, butterfly form, 211

Chapter 9: Gaussian Elimination

Algebra C Numerical Linear Algebra Sample Exam Problems

Numerical Mathematics

Preliminary/Qualifying Exam in Numerical Analysis (Math 502a) Spring 2012

MATCOM and Selected MATCOM Functions

Numerical Linear Algebra

Applied Linear Algebra in Geoscience Using MATLAB

DEN: Linear algebra numerical view (GEM: Gauss elimination method for reducing a full rank matrix to upper-triangular

Numerical Analysis. A Comprehensive Introduction. H. R. Schwarz University of Zürich Switzerland. with a contribution by

Conceptual Questions for Review

NUMERICAL MATHEMATICS AND COMPUTING

Iterative Methods. Splitting Methods

Department of Mathematics California State University, Los Angeles Master s Degree Comprehensive Examination in. NUMERICAL ANALYSIS Spring 2015

Matrix notation. A nm : n m : size of the matrix. m : no of columns, n: no of rows. Row matrix n=1 [b 1, b 2, b 3,. b m ] Column matrix m=1

LINEAR AND NONLINEAR PROGRAMMING

Math 102, Winter Final Exam Review. Chapter 1. Matrices and Gaussian Elimination

MS&E 318 (CME 338) Large-Scale Numerical Optimization

Numerical Methods I: Eigenvalues and eigenvectors

Data Fitting and Uncertainty

TABLE OF CONTENTS INTRODUCTION, APPROXIMATION & ERRORS 1. Chapter Introduction to numerical methods 1 Multiple-choice test 7 Problem set 9

Matrix Algorithms. Volume II: Eigensystems. G. W. Stewart H1HJ1L. University of Maryland College Park, Maryland

Numerical Methods with MATLAB

Numerical Methods for Engineers. and Scientists. Applications using MATLAB. An Introduction with. Vish- Subramaniam. Third Edition. Amos Gilat.

Matrix decompositions

Math 411 Preliminaries

MATRIX AND LINEAR ALGEBR A Aided with MATLAB

Matrix decompositions

Preface to the Second Edition. Preface to the First Edition

Lecture # 11 The Power Method for Eigenvalues Part II. The power method find the largest (in magnitude) eigenvalue of. A R n n.

Linear algebra & Numerical Analysis

Computational Methods CMSC/AMSC/MAPL 460. Eigenvalues and Eigenvectors. Ramani Duraiswami, Dept. of Computer Science

Here is an example of a block diagonal matrix with Jordan Blocks on the diagonal: J

(Linear equations) Applied Linear Algebra in Geoscience Using MATLAB

AIMS Exercise Set # 1

Computing Eigenvalues and/or Eigenvectors;Part 2, The Power method and QR-algorithm

Applied Linear Algebra in Geoscience Using MATLAB

Lecture Notes for Inf-Mat 3350/4350, Tom Lyche

MA3025 Course Prerequisites

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Math 405: Numerical Methods for Differential Equations 2016 W1 Topics 10: Matrix Eigenvalues and the Symmetric QR Algorithm

Outline. Math Numerical Analysis. Errors. Lecture Notes Linear Algebra: Part B. Joseph M. Mahaffy,

A Method for Constructing Diagonally Dominant Preconditioners based on Jacobi Rotations

G1110 & 852G1 Numerical Linear Algebra

x x2 2 + x3 3 x4 3. Use the divided-difference method to find a polynomial of least degree that fits the values shown: (b)

CPE 310: Numerical Analysis for Engineers

NUMERICAL METHODS FOR ENGINEERING APPLICATION

Computational Methods. Systems of Linear Equations

Linear Algebraic Equations

6. Iterative Methods for Linear Systems. The stepwise approach to the solution...

Miller Objectives Alignment Math

Linear Algebra Linear Algebra : Matrix decompositions Monday, February 11th Math 365 Week #4

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science

Main matrix factorizations

Chapter 2. Solving Systems of Equations. 2.1 Gaussian elimination

Linear algebra for MATH2601: Theory

MATH 3511 Lecture 1. Solving Linear Systems 1

CS 323: Numerical Analysis and Computing

Solving Linear Systems of Equations

Chapter 7 Iterative Techniques in Matrix Algebra

Numerical Linear Algebra And Its Applications

Linear System of Equations

Math/Phys/Engr 428, Math 529/Phys 528 Numerical Methods - Summer Homework 3 Due: Tuesday, July 3, 2018

A THEORETICAL INTRODUCTION TO NUMERICAL ANALYSIS

5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns

Math Introduction to Numerical Analysis - Class Notes. Fernando Guevara Vasquez. Version Date: January 17, 2012.

Numerical Analysis for Engineers and Scientists

TMA4125 Matematikk 4N Spring 2017

Linear Algebraic Equations

Linear System of Equations

Contents. Preface to the Third Edition (2007) Preface to the Second Edition (1992) Preface to the First Edition (1985) License and Legal Information

nonlinear simultaneous equations of type (1)

Linear Algebra I for Science (NYC)

Math Models of OR: The Revised Simplex Method

MAT 610: Numerical Linear Algebra. James V. Lambers

The residual again. The residual is our method of judging how good a potential solution x! of a system A x = b actually is. We compute. r = b - A x!

Transcription:

Sigam Series in Applied Mathematics Volume 7 Rizwan Butt Introduction to Applied Linear Algebra with MATLAB Heldermann Verlag

Contents Number Systems and Errors 1 1.1 Introduction 1 1.2 Number Representation and Base of Numbers 1 1.2.1 Normalized Floating-point Representation 3 1.2.2 Rounding and Chopping 5 1.3 Error 6 1.4 Sources of Errors 7 1.4.1 Human Error 7 1.4.2 Truncation Error 8 1.4.3 Round-off Error 8 1.5 Effect of Round-off Errors in Arithmetic Operation 9 1.5.1 Rounding off Errors in Addition and Subtraction 9 1.5.2 Rounding off Errors in Multiplication 10 1.5.3 Rounding off Errors in Division 12 1.5.4 Rounding off Errors in Powers and roots 14 1.6 Summary 15 1.7 Problems 17 Systems of Linear Equations 19 2.1 Introduction 19 2.1.1 Linear System in Matrix Notation 23 2.2 Properties of Matrices and Determinant 25 2.2.1 Introduction of Matrices 25 2.2.2 Some Special Matrix Forms 29 2.2.3 The Determinant of Matrix 40 2.3 Numerical Methods for Linear Systems 45 2.4 Direct Methods for Linear Systems 46 2.4.1 Cramer's Rule 46 2.4.2 Gaussian Elimination Method 49 2.4.3 Pivoting Strategies 61 2.4.4 Gauss-Jordan Method 66 2.4.5 LU Decomposition Method 71 2.4.6 Tridiagonal Systems of linear equations 90

VIII Contents 2.5 Applications 93 2.5.1 Curve Fitting, Electric Networks and Traffic Flow 93 2.5.2 Heat Conduction 100 2.5.3 Chemical Solutions and Balancing Chemical Equations... 102 2.5.4 Manufacturing, Social, and Financial Issues 105 2.5.5 Allocation of Resources 109 2.6 Summary 110 2.7 Problems 112 3 Conditioning of Linear Systems 123 3.1 Introduction 123 3.2 Norms of Vectors and Matrices 123 3.3 Errors in Solving Linear Systems 127 3.4 Summary 138 3.5 Problems 139 4 Iterative Methods for Linear Systems 143 4.1 Introduction 143 4.2 Jacobi Iterative Method 144 4.3 Gauss-Seidel Iterative Method 149 4.4 Convergence Criteria 153 4.5 Eigenvalues and Eigenvectors 158 4.6 Successive Over-Relaxation Method 165 4.7 Conjugate Gradient Method 171 4.8 Iterative Refinement 175 4.9 Summary 177 4.10 Problems 178 5 The Eigenvalue problems 183 5.1 Introduction 183 5.2 Linear Algebra and Eigenvalues Problems 193 5.3 Diagonalization of Matrices 197 5.4 Basic Properties of Eigenvalue Problems 209 5.5 Some Results of Eigenvalues Problems 224 5.6 Applications of Eigenvalue Problems 227 5.6.1 System of Differential Equations 227 5.6.2 Difference Equations 233 5.7 Summary 237 5.8 Problems 238 6 Numerical Computation of Eigenvalues 243 6.1 Introduction 243 6.2 Vector Iterative Methods for Eigenvalues 244 6.2.1 Power Method 244

Contents IX 6.2.2 Inverse Power Method 248 6.2.3 Shifted Inverse Power Method 251 6.3 Location of the Eigenvalues 255 6.3.1 Gerschgorin Circles Theorem 255 6.3.2 Rayleigh Quotient 256 6.4 Intermediate Eigenvalues 258 6.5 Eigenvalues of Symmetric Matrices 261 6.5.1 Jacobi Method 262 6.5.2 Sturm Sequence Iteration 268 6.5.3 Given's Method 271 6.5.4 Householder's Method 275 6.6 Matrix Decomposition Methods 279 6.6.1 QR Method 279 6.6.2 LR Method 283 6.6.3 Upper Hessenberg Form 285 6.6.4 Singular Value Decomposition 292 6.7 Summary 299 6.8 Problems 300 7 Approximating Functions 307 7.1 Introduction 307 7.2 Polynomial Approximation 308 7.2.1 Aitken's Method 308 7.3 Least Squares Approximation 312 7.3.1 Linear Least Squares 313 7.3.2 Polynomial Least Squares 317 7.3.3 Nonlinear Least Squares 321 7.3.4 Least Squares Plane 328 7.3.5 Least Squares Solution of a Overdetermined System 330 7.3.6 Least Squares with QR Decomposition 334 7.3.7 Least Squares with Singular Value Decomposition 339 7.4 Summary 344 7.5 Problems 345 8 Linear Programming 351 8.1 Introduction 351 8.2 General Formulation 352 8.2.1 Terminology 353 8.3 Linear programming Problems 353 8.4 Graphical Solution of LP Models 356 8.4.1 Reversed Inequality Constraints 362 8.4.2 Equality Constraints 362 8.4.3 Minimum Value of a Function 362 8.4.4 Linear Program in Canonical Form 368

X Contents 8.4.5 Linear Program in Standard Form 369 8.4.6 Some Important Definitions 372 8.5 The Simplex Method 373 8.5.1 Unrestricted-in-Sign Variables 381 8.6 Finding a Feasible Basis 383 8.6.1 Big M Simplex Method 385 8.6.2 Two-Phase Simplex Method 387 8.7 Duality 391 8.7.1 Comparison of Primal and Dual Problems 393 8.7.2 Primal-Dual Problems in Standard Form 395 8.8 Sensitivity Analysis in Linear Programming 400 8.9 Summary 402 8.10 Problems 403 Appendices 413 A Complex Numbers and Inner Products 413 A.I Complex Numbers 413 A. 1.1 Geometric Representation of Complex Number 414 A. 1.2 Operations on Complex Numbers 414 A.1.3 Polar Form of Complex Number 416 A. 1.4 Matrices with Complex Entries 419 A. 1.5 Solving Systems with Complex Entries 420 A.1.6 Determinants of Complex Numbers 420 A.I.7 Complex Eigenvalues and Eigenvectors 421 A.2 Inner Product Space 421 A.2.1 Properties of Inner Products 422 A.2.2 Complex Inner Products 425 B Introduction of MATLAB 427 B.I MATLAB Built-in-Functions 463 B.2 Symbolic Computation 465 B.3 Symbolic Math Toolbox Functions 481 B.4 Index of MATLAB Programs 482 C Answers to Selected Problems 485 Bibliography 508 Index 509