100% found this document useful (1 vote)
11 views

Full Download Elements of Matrix Modeling and Computing with MATLAB 1st Edition Robert E. White PDF DOCX

The document provides links to various eBooks related to MATLAB and computational mathematics, including titles like 'Elements of Matrix Modeling and Computing with MATLAB' and 'Signals and Systems with MATLAB Computing and Simulink.' It offers instant digital downloads in multiple formats such as PDF, ePub, and MOBI. Additionally, it includes copyright information and a detailed table of contents for one of the featured books.

Uploaded by

emadisalise9
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
11 views

Full Download Elements of Matrix Modeling and Computing with MATLAB 1st Edition Robert E. White PDF DOCX

The document provides links to various eBooks related to MATLAB and computational mathematics, including titles like 'Elements of Matrix Modeling and Computing with MATLAB' and 'Signals and Systems with MATLAB Computing and Simulink.' It offers instant digital downloads in multiple formats such as PDF, ePub, and MOBI. Additionally, it includes copyright information and a detailed table of contents for one of the featured books.

Uploaded by

emadisalise9
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

Download the Full Version of the Ebook with Added Features ebookname.

com

Elements of Matrix Modeling and Computing with


MATLAB 1st Edition Robert E. White

https://ebookname.com/product/elements-of-matrix-modeling-
and-computing-with-matlab-1st-edition-robert-e-white/

OR CLICK HERE

DOWLOAD NOW

Download more ebook instantly today at https://ebookname.com


Instant digital products (PDF, ePub, MOBI) available
Download now and explore formats that suit you...

Computational mathematics models methods and analysis with


MATLAB and MPI 1st Edition Robert E. White

https://ebookname.com/product/computational-mathematics-models-
methods-and-analysis-with-matlab-and-mpi-1st-edition-robert-e-white/

ebookname.com

Signals and Systems with MATLAB Computing and Simulink


Modeling 4th Edition Steven T Karris

https://ebookname.com/product/signals-and-systems-with-matlab-
computing-and-simulink-modeling-4th-edition-steven-t-karris/

ebookname.com

Micromechatronics Modeling Analysis and Design with MATLAB


2nd ed Edition Giurgiutiu

https://ebookname.com/product/micromechatronics-modeling-analysis-and-
design-with-matlab-2nd-ed-edition-giurgiutiu/

ebookname.com

Prophecy in the Book of Jeremiah Beihefte Zur Zeitschrift


Fur Die Alttestamentliche Wissenschaft 1st Edition Hans M.
Barstad
https://ebookname.com/product/prophecy-in-the-book-of-jeremiah-
beihefte-zur-zeitschrift-fur-die-alttestamentliche-wissenschaft-1st-
edition-hans-m-barstad/
ebookname.com
Peasant Economy Culture and Politics of European Russia
1800 1921 Esther Kingston-Mann (Editor)

https://ebookname.com/product/peasant-economy-culture-and-politics-of-
european-russia-1800-1921-esther-kingston-mann-editor/

ebookname.com

Preachers Poets and the Early English Lyric Siegfried


Wenzel

https://ebookname.com/product/preachers-poets-and-the-early-english-
lyric-siegfried-wenzel/

ebookname.com

Alexander Kirienko Ilizarov Technique for Complex Foot and


Ankle Deformities 1st Edition Alexander Kirienko

https://ebookname.com/product/alexander-kirienko-ilizarov-technique-
for-complex-foot-and-ankle-deformities-1st-edition-alexander-kirienko/

ebookname.com

Balancing wealth and health the battle over intellectual


property and access to medicines in Latin America 1st
Edition Dreyfuss
https://ebookname.com/product/balancing-wealth-and-health-the-battle-
over-intellectual-property-and-access-to-medicines-in-latin-
america-1st-edition-dreyfuss/
ebookname.com

Practical Psychodermatology 1st Edition Bewley

https://ebookname.com/product/practical-psychodermatology-1st-edition-
bewley/

ebookname.com
Your Rights in the Workplace 8th Edition Barbara Kate Repa
J.D.

https://ebookname.com/product/your-rights-in-the-workplace-8th-
edition-barbara-kate-repa-j-d/

ebookname.com
Elements of Matrix
Modeling and
Computing
with
MATLAB ®
Elements of Matrix
Modeling and
Computing
with
MATLAB ®

Robert E. White

Boca Raton London New York

Chapman & Hall/CRC is an imprint of the


Taylor & Francis Group, an informa business
CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742

© 2007 by Taylor & Francis Group, LLC


CRC Press is an imprint of Taylor & Francis Group, an Informa business

No claim to original U.S. Government works


Version Date: 20110713

International Standard Book Number-13: 978-1-4200-0995-8 (eBook - PDF)

This book contains information obtained from authentic and highly regarded sources. Reasonable efforts
have been made to publish reliable data and information, but the author and publisher cannot assume
responsibility for the validity of all materials or the consequences of their use. The authors and publishers
have attempted to trace the copyright holders of all material reproduced in this publication and apologize to
copyright holders if permission to publish in this form has not been obtained. If any copyright material has
not been acknowledged please write and let us know so we may rectify in any future reprint.

Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmit-
ted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented,
including photocopying, microfilming, and recording, or in any information storage or retrieval system,
without written permission from the publishers.

For permission to photocopy or use material electronically from this work, please access www.copyright.
com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood
Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that provides licenses and
registration for a variety of users. For organizations that have been granted a photocopy license by the CCC,
a separate system of payment has been arranged.

Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used
only for identification and explanation without intent to infringe.
Visit the Taylor & Francis Web site at
http://www.taylorandfrancis.com

and the CRC Press Web site at


http://www.crcpress.com
Contents

List of Figures vii

List of Tables xi

Preface xiii

Introduction xv

1 Vectors in the Plane 1


1.1 Floating Point and Complex Numbers . . . . . . . . . . . . . . . 1
1.2 Complex Valued Functions . . . . . . . . . . . . . . . . . . . . . 10
1.3 Vectors in R2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.4 Dot Product and Work . . . . . . . . . . . . . . . . . . . . . . . . 27
1.5 Lines and Curves in R2 and C . . . . . . . . . . . . . . . . . . . . 38

2 Vectors in Space 47
2.1 Vectors and Dot Product . . . . . . . . . . . . . . . . . . . . . . 47
2.2 Cross and Box Products . . . . . . . . . . . . . . . . . . . . . . . 56
2.3 Lines and Curves in R3 . . . . . . . . . . . . . . . . . . . . . . . 67
2.4 Planes in R3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
2.5 Extensions to Rq . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

3 Ax = d: Unique Solution 95
3.1 Matrix Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
3.2 Matrix Products . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
3.3 Special Cases of Ax = d . . . . . . . . . . . . . . . . . . . . . . . 117
3.4 Row Operations and Gauss Elimination . . . . . . . . . . . . . . 127
3.5 Inverse Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
3.6 OX Factorization . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
3.7 Determinants and Cramer’s Rule . . . . . . . . . . . . . . . . . . 159

4 Ax = d: Least Squares Solution 171


4.1 Curve Fitting to Data . . . . . . . . . . . . . . . . . . . . . . . . 171
4.2 Normal Equations . . . . . . . . . . . . . . . . . . . . . . . . . . 182

v
vi CONTENTS

4.3 Multilinear Data Fitting . . . . . . . . . . . . . . . . . . . . . . . 191


4.4 Parameter Identification . . . . . . . . . . . . . . . . . . . . . . . 199

5 Ax = d: Multiple Solutions 209


5.1 Subspaces and Solutions in R3 . . . . . . . . . . . . . . . . . . . 209
5.2 Row Echelon Form . . . . . . . . . . . . . . . . . . . . . . . . . . 220
5.3 Nullspaces and Equilibrium Equations . . . . . . . . . . . . . . . 230

6 Linear Initial Value Problems 243


6.1 First Order Linear . . . . . . . . . . . . . . . . . . . . . . . . . . 243
6.2 Second Order Linear . . . . . . . . . . . . . . . . . . . . . . . . . 250
6.3 Homogeneous and Complex Solution . . . . . . . . . . . . . . . . 257
6.4 Nonhomogeneous Dierential Equations . . . . . . . . . . . . . . 263
6.5 System Form of Linear Second Order . . . . . . . . . . . . . . . . 272

7 Eigenvalues and Dierential Equations 281


7.1 Solution of x0 = Dx by Elimination . . . . . . . . . . . . . . . . . 281
7.2 Real Eigenvalues and Eigenvectors . . . . . . . . . . . . . . . . . 289
7.3 Solution of x0 = Dx + f (w) . . . . . . . . . . . . . . . . . . . . . . 296

8 Image Processing in Space Domain 311


8.1 Matrices and Images . . . . . . . . . . . . . . . . . . . . . . . . . 311
8.2 Contrast and Histograms . . . . . . . . . . . . . . . . . . . . . . 321
8.3 Blurring and Sharpening . . . . . . . . . . . . . . . . . . . . . . . 331

9 Image Processing in Frequency Domain 343


9.1 Laplace and Fourier Transforms . . . . . . . . . . . . . . . . . . . 343
9.2 Properties of DFT . . . . . . . . . . . . . . . . . . . . . . . . . . 351
9.3 DFT in Rq × Rq . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
9.4 Frequency Filters in Rq × Rq . . . . . . . . . . . . . . . . . . . . 370

A Solutions to Odd Exercises 381

Bibliography 397

Index 399
List of Figures

1.1.1 Complex Numbers as Arrows . . . . . . . . . . . . . . . . . . . . 4


1.1.2 Norm(} 2 ) and Angle(} 2 ) . . . . . . . . . . . . . . . . . . . . . . 7
1.2.1 A!ne, Square and Square Root of z . . . . . . . . . . . . . . . . 13
1.2.2 Solutions of } 12 = 1 . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.3.1 A Vector in the Plane . . . . . . . . . . . . . . . . . . . . . . . . 20
1.3.2 f2 = d2 + e2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1.3.3 f2 = e2 + d2  2de cos() . . . . . . . . . . . . . . . . . . . . . . 22
$
 $ $ 
 $ $

1.3.4 d + e >d  e and v e . . . . . . . . . . . . . . . . . . . . . . . 23
1.4.1 Trigonometric Identity and Dot Product . . . . . . . . . . . . . 31
1.4.2 Area and Dot Product . . . . . . . . . . . . . . . . . . . . . . . 33
1.4.3 Linearly Independent Vectors . . . . . . . . . . . . . . . . . . . . 34
1.4.4 Work and a Ramp . . . . . . . . . . . . . . . . . . . . . . . . . . 35
1.4.5 Torque on a Wheel . . . . . . . . . . . . . . . . . . . . . . . . . 35
1.4.6 Work with Independent Paths . . . . . . . . . . . . . . . . . . . 36
1.5.1 Line Given a Point and Direction . . . . . . . . . . . . . . . . . 39
1.5.2 Minimum Distance of Point to a Line . . . . . . . . . . . . . . . 41
1.5.3 Cycloid and Wheel . . . . . . . . . . . . . . . . . . . . . . . . . 43
1.5.4 Cycloid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
1.5.5 Two-tone Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

2.1.1 Point in Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48


2.1.2 Vector in Space . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
2.1.3 Vector Addition in Space . . . . . . . . . . . . . . . . . . . . . . 50
2.2.1 Unit Vector Cross Products . . . . . . . . . . . . . . . . . . . . . 58
2.2.2 Projected Area . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
2.2.3 Box Product and Volume . . . . . . . . . . . . . . . . . . . . . . 64
2.2.4 Determinant and Volume . . . . . . . . . . . . . . . . . . . . . . 65
2.3.1 Vector Equation and Minimum Distance . . . . . . . . . . . . . 68
2.3.2 Distance between Two Lines . . . . . . . . . . . . . . . . . . . . 71
2.3.3 Helix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
2.3.4 Projectile in Space . . . . . . . . . . . . . . . . . . . . . . . . . . 75
2.4.1 Normal and Point . . . . . . . . . . . . . . . . . . . . . . . . . . 77
2.4.2 Three Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

vii
viii LIST OF FIGURES

2.4.3 Linear Combination of Vectors . . . . . . . . . . . . . . . . . . . 79


2.4.4 Minimum Distance to a Plane . . . . . . . . . . . . . . . . . . . 81
2.5.1 Mesh of Image Matrix . . . . . . . . . . . . . . . . . . . . . . . . 92
2.5.2 Imwrite of Image Matrix . . . . . . . . . . . . . . . . . . . . . . 92
2.5.3 Negative Image Matrix . . . . . . . . . . . . . . . . . . . . . . . 92

3.1.1 Box with Fixed Volume . . . . . . . . . . . . . . . . . . . . . . . 101


3.1.2 Cost of a Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
3.1.3 Two-bar Truss . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
3.1.4 Two-loop Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
3.2.1 Heat Conduction in a Wire . . . . . . . . . . . . . . . . . . . . . 112
3.2.2 Steady State Heat Diusion . . . . . . . . . . . . . . . . . . . . 114
3.3.1 Temperature in Wire with Current . . . . . . . . . . . . . . . . . 125
3.4.1 Six-bar Truss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
3.5.1 Five-bar Truss . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
3.6.1 Three-loop Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . 155
3.6.2 Potential in a Single-loop Circuit . . . . . . . . . . . . . . . . . . 156
3.7.1 Three-tank Mixing . . . . . . . . . . . . . . . . . . . . . . . . . . 167

4.1.1 Sales Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174


4.1.2 Least Squares Function for Sales Data . . . . . . . . . . . . . . . 176
4.1.3 Radioactive Decay . . . . . . . . . . . . . . . . . . . . . . . . . . 179
4.2.1 World Population Prediction . . . . . . . . . . . . . . . . . . . . 188
4.4.1 US Population and Logistic Model . . . . . . . . . . . . . . . . . 204
4.4.2 Temperature Data and Curve Fit . . . . . . . . . . . . . . . . . 207

5.3.1 Bar e with Four Forces . . . . . . . . . . . . . . . . . . . . . . . 237


5.3.2 Fluid Flow in Four Cells . . . . . . . . . . . . . . . . . . . . . . 239

6.2.1 Mass-Spring System . . . . . . . . . . . . . . . . . . . . . . . . . 251


6.3.1 Variable Damped Mass-Spring . . . . . . . . . . . . . . . . . . . 263
6.4.1 Forced Mass-Spring . . . . . . . . . . . . . . . . . . . . . . . . . 271
6.5.1 Series LRC Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . 273
6.5.2 Tuned Circuit with Modulated Signal . . . . . . . . . . . . . . . 279

7.3.1 Heat Diusion in Thin Wire . . . . . . . . . . . . . . . . . . . . 308

8.1.1 Pollen Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312


8.1.2 Enhanced Pollen Image . . . . . . . . . . . . . . . . . . . . . . . 312
8.1.3 Aerial Photo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
8.1.4 Enhanced Aerial Photo . . . . . . . . . . . . . . . . . . . . . . . 313
8.1.5 Mars Rover Photo . . . . . . . . . . . . . . . . . . . . . . . . . . 314
8.1.6 Enhanced Mars Rover Photo . . . . . . . . . . . . . . . . . . . . 314
8.1.7 Moon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
8.1.8 Sharper Moon Image . . . . . . . . . . . . . . . . . . . . . . . . 315
8.1.9 Plot of the Matrix C . . . . . . . . . . . . . . . . . . . . . . . . 317
LIST OF FIGURES ix

8.1.10 Image of Letter C . . . . . . . . . . . . . . . . . . . . . . . . . 317


8.1.11 Negative Image . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
8.1.12 Matrix NCSU . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
8.1.13 Image of NCSU . . . . . . . . . . . . . . . . . . . . . . . . . . 319
8.1.14 Negative Image of NCSU . . . . . . . . . . . . . . . . . . . . . 319
8.1.15 Center Grain in Pollen . . . . . . . . . . . . . . . . . . . . . . . 320
8.2.1 Histogram of Pollen Image . . . . . . . . . . . . . . . . . . . . . 322
8.2.2 Histogram of Lighter Pollen Image . . . . . . . . . . . . . . . . . 324
8.2.3 Lighter Pollen Image . . . . . . . . . . . . . . . . . . . . . . . . 325
8.2.4 Piecewise Linear Function . . . . . . . . . . . . . . . . . . . . . 326
8.2.5 Histogram for Enhanced Pollen Image . . . . . . . . . . . . . . . 328
8.2.6 Higher Contrast Pollen Image . . . . . . . . . . . . . . . . . . . 328
8.2.7 Mars Rover Image Using Power 1/2 . . . . . . . . . . . . . . . . 330
8.2.8 Mars Rover Image Using Power 2 . . . . . . . . . . . . . . . . . 330
8.3.1 Deblurred 1D Image . . . . . . . . . . . . . . . . . . . . . . . . . 334
8.3.2 Original NCSU . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
8.3.3 Blurred NCSU . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
8.3.4 Deblurred NCSU . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
8.3.5 Increased Contrast Pollen . . . . . . . . . . . . . . . . . . . . . . 338
8.3.6 Brighter and Sharper Pollen . . . . . . . . . . . . . . . . . . . . 339
8.3.7 Original Moon Image . . . . . . . . . . . . . . . . . . . . . . . . 340
8.3.8 Brightened and Sharpened . . . . . . . . . . . . . . . . . . . . . 341

9.2.1 DFT of Sine and Cosine . . . . . . . . . . . . . . . . . . . . . . . 354


9.2.2 Noisy Sine Function . . . . . . . . . . . . . . . . . . . . . . . . . 359
9.2.3 Filtered Sine Image . . . . . . . . . . . . . . . . . . . . . . . . . 360
9.3.1 2D DFT of Sine and Cosine . . . . . . . . . . . . . . . . . . . . 364
9.3.2 Noisy 2D Sine Wave . . . . . . . . . . . . . . . . . . . . . . . . . 367
9.3.3 Mesh Plot of Noisy Sine Wave . . . . . . . . . . . . . . . . . . . 368
9.3.4 DFT of Noisy Sine Wave . . . . . . . . . . . . . . . . . . . . . . 368
9.3.5 Low-pass Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
9.3.6 Filtered DFT of Sine Wave . . . . . . . . . . . . . . . . . . . . . 369
9.3.7 Filtered Sine Wave . . . . . . . . . . . . . . . . . . . . . . . . . . 370
9.4.1 Noisy NCSU Image . . . . . . . . . . . . . . . . . . . . . . . . . 372
9.4.2 Low-pass Filtering of NCSU . . . . . . . . . . . . . . . . . . . . 373
9.4.3 Ideal Low-pass NCSU . . . . . . . . . . . . . . . . . . . . . . . . 373
9.4.4 Band-reject Filtering of NCSU . . . . . . . . . . . . . . . . . . . 374
9.4.5 Band-reject Filtered NCSU . . . . . . . . . . . . . . . . . . . . . 374
9.4.6 Light and Noisy Aerial Image . . . . . . . . . . . . . . . . . . . 376
9.4.7 Filtering Aerial Image . . . . . . . . . . . . . . . . . . . . . . . . 376
9.4.8 Filtered Aerial Image . . . . . . . . . . . . . . . . . . . . . . . . 377
9.4.9 Micro Chip Image . . . . . . . . . . . . . . . . . . . . . . . . . . 378
9.4.10 Sharpening of Micro Chip Image . . . . . . . . . . . . . . . . . 378
9.4.11 Sharpened Micro Chip Image . . . . . . . . . . . . . . . . . . . 379
List of Tables

4.1.1 Computer Sales Data . . . . . . . . . . . . . . . . . . . . . . . . 173


4.1.2 World Population Data . . . . . . . . . . . . . . . . . . . . . . . 174
4.1.3 Radioactive Decay Data . . . . . . . . . . . . . . . . . . . . . . . 178
4.3.1 Multlinear Data . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
4.3.2 Price Data for Three Markets . . . . . . . . . . . . . . . . . . . . 193
4.3.3 Home Appraisal Data . . . . . . . . . . . . . . . . . . . . . . . . 195
4.3.4 Three-tank Mixing Data . . . . . . . . . . . . . . . . . . . . . . . 197
4.4.1 US Population Data . . . . . . . . . . . . . . . . . . . . . . . . . 202
4.4.2 Temperature Data . . . . . . . . . . . . . . . . . . . . . . . . . . 205

xi
Preface

An important objective of this book is to provide "math-on-time" for second


year students of science and engineering. The student should have had one
semester of calculus. The student most likely would take this matrix course
concurrently with the second semester of calculus or would use this text for in-
dependent study of these important topics. This text fills in often missed topics
in the first year of calculus including complex numbers and functions, matri-
ces, algebraic systems, curve fitting, elements of linear dierential equations,
transform methods and some computation tools.
Chapters one and two have introductory material on complex numbers, 2D
and 3D vectors and their products, which are often covered in the beginning of
multivariable calculus. Here a connection is established between the geometric
and algebraic approaches to these topics. This is continued into chapters three,
four and five where higher order algebraic systems are solved via row operations,
inverse matrices and LU factorizations. Linearly independent vectors and sub-
spaces are used to solve over and under determined systems. Chapters six and
seven describe first and second order linear dierential equations and introduce
eigenvalues and eigenvectors for the solution of linear systems of initial value
problems. The last two chapters use transform methods to filter distorted im-
ages or signals. The discrete Fourier transform is introduced via the continuous
versions of the Laplace and Fourier transforms. The discrete Fourier transform
properties are derived from the Fourier matrix representation and are used to
do image filtering in the frequency domain.
The first five chapters can be used as a two-credit course (28 50-minute
classes). Among the nine chapters there is more than enough material for a
three-credit course. This three-credit matrix course when coupled with a nine-
or ten-credit calculus sequence can serve as a more "diverse" alternative to the
traditional twelve-credit calculus sequence. The twelve-credit calculus sequence
can be adapted to this alternative by reducing the precalculus, moving some of
2D and 3D vectors and dierential equations into the matrix course, and using
computing tools to do the complicated computations and graphing.
Most sections have some applications, which should indicate the utility of the
mathematics being studied. Seven basic applications are developed in various
sections of the text and include circuits, trusses, mixing tanks, heat conduc-
tion, data modeling, motion of a mass and image filters. The applications are

xiii
xiv PREFACE

developed from very simple models to more complex models. The reader can
locate sections pretaining to a particular application by using the index.
°R
MATLAB is used to do some of the more complicated computations. Al-
though the primary focus is to develop by-hand calculation skills, most sec-
tions at the end have some MATLAB calculations. The MATLAB m-files used
in the text are listed in the index and are included in the book’s Web site:
http://www4.ncsu.edu/~white. The approach to using computing tools in-
cludes: first, learn the math and by-hand calculations; second, use a computing
tool to confirm the by-hand calculations; third, use the computing tool to do
more complicated calculations and applications.
I hope this book will precipitate discussions concerning the core mathemat-
ical course work that scientists and engineers are required to study. Discrete
models and computing have become more common, and this has increased the
need for additional study of matrix computation, and numerical and linear al-
gebra. The precise topics, skills, theory and appropriate times to teach these
are certainly open for discussion. The matrix algebra topics in this book are
a small subset of most upper level linear algebra courses, which should be en-
hanced and taken by a number of students. This book attempts to make a
bridge from two- and three-variable problems to more realistic problems with
more variables, but it emphasizes skills more than theory.
I thank my colleagues who have contributed to many discussions about the
content of this text. And, many thanks go to my personal friends and Liz White
who have listened to me emote during the last year.

Bob White
MATLAB is a registered trademark of The MathWorks, Inc. For product
information, please contact:

The MathWorks, Inc.


3 Apple Hill Drive
Natick, MA 01760-2098 USA
Tel: 508-647-7000
Fax: 508-647-7001
E-mail: [email protected]
Web: www.mathworks.com ?http://www.mathworks.com/A.
Introduction

One can view an p×q matrix as a table of objects with p rows and q columns.
The objects are usually real or complex numbers, but they could be characters
or records of information. A simple example is data for the last 12 months of
car sales where there are p = 12 rows and q = 2 columns. The first column
will have the month’s number and the second column will have the number of
cars sold in the corresponding month. By examining the data one would like
to make a prediction about futures sales. This is where the modeling enters.
If the graph of the sales versus months "looks" like a straight line, then the
data may be modeled by a linear function of time | = pw b + f. The slope p b
and intercept f must be chosen so that the computed sales are "close" to the
car sales data. This is done by appropriate manipulations of the two column
vectors and computing a solution of the resulting system of algebraic equations.
Once p b and f have been found, the predicted sales for w larger than 12 can
easily be calculated by evaluating the linear function. The modeling process is
complicated by incorrect sales data, changing prices and other models such as
a parabolic function of time.
This text examines a variety of applications, which have matrix models and
often have algebraic systems that must be solved either by-hand calculations
or using a computing tool. Applications to projectiles, circuits, mixing tanks,
trusses, heat conduction, motion of a mass, curve fitting and image enhancement
will be initially modeled in very simple ways and then revisited so as to make
the model more accurate. This is typical of the modeling process where there is
an application, a model, mathematical method, computations and assessment
of the results. Then this cycle is repeated so as to enhance the application’s
model.
The first two chapters deal with problems in two- and three-dimensional
space where the matrices have no more than three rows or columns. Here
geometric insight can be used to understand the models. In Section 2.5 the
extension to higher dimensions is indicated for vectors and matrices, solution
to larger algebraic systems, more complicated curve fitting, time dependent
problems with systems of dierential equations and image modeling. Chapters
three, four and five have the basic matrix methods that are required to solve
systems in higher dimensions. Chapters six and seven contain time dependent
models and introduce linear systems of dierential equations. The last two

xv
xvi INTRODUCTION

chapters are an introduction to image and signal processing.


Most sections have some by-hand matrix calculations in the numbered ex-
amples, some applications and some MATLAB computations, see [4] and [6].
The focus is on the by-hand calculations, and one should carefully study the
numbered examples. Each numbered example usually has two exercises associ-
ated with it. There are also additional exercises, which may fill in some parts of
the text, be related to applications or use MATLAB. This text is not intended to
be a tutorial on MATLAB, but there are a number of short codes that may help
you understand the topics being discussed. The by-hand calculations should be
done, and MATLAB should be used to confirm these calculations. This will give
you confidence in both your understanding of the by-hand matrix computation
and the use of MATLAB. Larger dimensional problems can easily be done using
MATLAB or other computer software.
The following matrices are used in Chapters 3, 4, 5 and 9, and they can
be generalized to larger matrices enabling one to cross the bridge from models
with few variables to many variables.
5 6 5 6
0 0 0 1 0 0
]=7 0 0 0 8 L=7 0 1 0 8
0 0 0 0 0 1
5 6 5 6
1 0 0 1 7 10
H32 (3) = 7 0 1 0 8 X =7 0 2 4 8
0 3 1 0 0 3
5 6 5 6
2 1 0 200 1 1 0 200
[D g] = 7 1 2 1 0 8 b = 7 0 3@2 1
[X g] 100 8
0 1 2 70 0 0 4@3 410@3
5 6 5 6
2 1 0 0 8 6 4 2
9 1 2 1 0 : 9 6 12 8 4 :
D=9 7 0 1 2 1 8
: D1 = (1@10) 9
7 4 8 12
:
6 8
0 0 1 2 2 4 6 8
5 6
1 1 5 6
9 2 1 : 1 2 3 4 5
OV = 97 3 1 8
: UHI = 7 0 0 1 2 1 8
0 0 0 0 0
4 1
5 6
1 1 1 1
9 1 } }2 }3 :
F4 = 9
7 1 }2 1 }2 8
:

1 }3 }2 }
Chapter 1

Vectors in the Plane

This chapter contains geometric and algebraic descriptions of objects in two


dimensional space, R2 > and in the complex plane, C. The objects include vec-
tors, lines, complex valued functions and some curves. Fundamental operations
include vector addition and dot product. The basic properties of complex num-
bers and complex valued functions are introduced. Applications to navigation,
work, torque, areas and signal representation via phasors are given.

1.1 Floating Point and Complex Numbers


In this section we first discuss the integers and rational numbers. The floating
point numbers, which are used in computers, are a finite subset of the rational
numbers. The real and complex numbers are natural extensions of these. The
complex numbers also can be represented by directed line segments or vectors in
the plane. Although initially complex numbers may appear to be of questionable
value, they will be used extensively in the chapters on dierential equations and
image processing.

1.1.1 Rational Numbers


The integers are the set of whole numbers and include both positive, negative
and zero
Z  {· · ·  2> 1> 0> 1> 2> · · · }=
The addition and product of two integers are also integers. Any integer can
be uniquely factored into a product of prime numbers (an integer that is only
divisible by itself and one). For example, 90 = 51 32 21 =
The rational numbers are fractions of integers p@q where q is not zero and
p and q are integers

Q  {p@q : p> q 5 Z> q 6= 0}=

1
2 CHAPTER 1. VECTORS IN THE PLANE

The set of rational numbers has a countable but infinite number of elements.
Also, the addition and product of two rational numbers are rational numbers.

1.1.2 Real Numbers


Any real number is approximated by a sequence of rational numbers. Tradi-
tionally, one uses a base ten decimal expansion with {l > h 5 Z and 0  {l ? 10

{ = ±(={1 · · · {g · · · )10h
 ±({1 @10 + · · · + {g @10g + · · · )10h =

This expansion is either a bounded increasing or decreasing sequence of rational


numbers and, therefore, by the completeness axiom for the real numbers it must
converge.

R  {±({1 @10 + · · · + {g @10g + · · · )10h : {l > h 5 Z> 0  {l ? 10}=

Real numbers contain the rational numbers, but not all real numbers are
rational. For example, consider { = 31@2 where 3 is a prime number. If { were
a rational number, then { = p@q giving 3 = p2 @q2 and 31 q2 = p2 . The
left side has an odd number of prime factors 3, and the right side has an even
number of prime factors 3. This contradicts the unique factorization property
and, hence, { cannot be a rational number.

1.1.3 Floating Point Numbers


Computers use a finite subset of the rational numbers to approximate any real
number. This set of numbers may depend on the computer being used. How-
ever, they do have the same general form and are called floating point num-
bers. Any real number { can be represented by an infinite decimal expansion
{ = ±(={1 · · · {g · · · )10h , and by truncating this we can define the chopped
floating point numbers.
Let { be any real number and denote a floating point number by

i o({) = ±={1 · · · {g 10h


 ±({1 @10 + · · · + {g @10g )10h =

This is a floating point number with base equal to 10 where {1 is not equal
to zero, {l are integers between 0 and 9, the exponent h is an integer between
given integers i and j and g is a positive integer called the precision of the
floating point system

F  {±({1 @10 + · · · + {g @10g )10h : {1 6= 0> 0  {l ? 10> 0 ? g}=

Associated with each real number, {, and its floating point approximate
number, i o({), is the floating point error, i o({)  {. This error decreases as
the precision, g, increases. Each computer calculation has some floating point
Other documents randomly have
different content
damaged disk or other medium, a computer virus, or computer
codes that damage or cannot be read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for


the “Right of Replacement or Refund” described in paragraph 1.F.3,
the Project Gutenberg Literary Archive Foundation, the owner of the
Project Gutenberg™ trademark, and any other party distributing a
Project Gutenberg™ electronic work under this agreement, disclaim
all liability to you for damages, costs and expenses, including legal
fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR
NEGLIGENCE, STRICT LIABILITY, BREACH OF WARRANTY OR
BREACH OF CONTRACT EXCEPT THOSE PROVIDED IN PARAGRAPH
1.F.3. YOU AGREE THAT THE FOUNDATION, THE TRADEMARK
OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL
NOT BE LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT,
CONSEQUENTIAL, PUNITIVE OR INCIDENTAL DAMAGES EVEN IF
YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of receiving
it, you can receive a refund of the money (if any) you paid for it by
sending a written explanation to the person you received the work
from. If you received the work on a physical medium, you must
return the medium with your written explanation. The person or
entity that provided you with the defective work may elect to provide
a replacement copy in lieu of a refund. If you received the work
electronically, the person or entity providing it to you may choose to
give you a second opportunity to receive the work electronically in
lieu of a refund. If the second copy is also defective, you may
demand a refund in writing without further opportunities to fix the
problem.

1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of damages.
If any disclaimer or limitation set forth in this agreement violates the
law of the state applicable to this agreement, the agreement shall be
interpreted to make the maximum disclaimer or limitation permitted
by the applicable state law. The invalidity or unenforceability of any
provision of this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation,


the trademark owner, any agent or employee of the Foundation,
anyone providing copies of Project Gutenberg™ electronic works in
accordance with this agreement, and any volunteers associated with
the production, promotion and distribution of Project Gutenberg™
electronic works, harmless from all liability, costs and expenses,
including legal fees, that arise directly or indirectly from any of the
following which you do or cause to occur: (a) distribution of this or
any Project Gutenberg™ work, (b) alteration, modification, or
additions or deletions to any Project Gutenberg™ work, and (c) any
Defect you cause.

Section 2. Information about the Mission


of Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new computers.
It exists because of the efforts of hundreds of volunteers and
donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project Gutenberg™’s
goals and ensuring that the Project Gutenberg™ collection will
remain freely available for generations to come. In 2001, the Project
Gutenberg Literary Archive Foundation was created to provide a
secure and permanent future for Project Gutenberg™ and future
generations. To learn more about the Project Gutenberg Literary
Archive Foundation and how your efforts and donations can help,
see Sections 3 and 4 and the Foundation information page at
www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-profit
501(c)(3) educational corporation organized under the laws of the
state of Mississippi and granted tax exempt status by the Internal
Revenue Service. The Foundation’s EIN or federal tax identification
number is 64-6221541. Contributions to the Project Gutenberg
Literary Archive Foundation are tax deductible to the full extent
permitted by U.S. federal laws and your state’s laws.

The Foundation’s business office is located at 809 North 1500 West,


Salt Lake City, UT 84116, (801) 596-1887. Email contact links and up
to date contact information can be found at the Foundation’s website
and official page at www.gutenberg.org/contact

Section 4. Information about Donations to


the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission of
increasing the number of public domain and licensed works that can
be freely distributed in machine-readable form accessible by the
widest array of equipment including outdated equipment. Many
small donations ($1 to $5,000) are particularly important to
maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws regulating


charities and charitable donations in all 50 states of the United
States. Compliance requirements are not uniform and it takes a
considerable effort, much paperwork and many fees to meet and
keep up with these requirements. We do not solicit donations in
locations where we have not received written confirmation of
compliance. To SEND DONATIONS or determine the status of
compliance for any particular state visit www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states where


we have not met the solicitation requirements, we know of no
prohibition against accepting unsolicited donations from donors in
such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot make


any statements concerning tax treatment of donations received from
outside the United States. U.S. laws alone swamp our small staff.

Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.

Section 5. General Information About


Project Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could be
freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose network of
volunteer support.
Project Gutenberg™ eBooks are often created from several printed
editions, all of which are confirmed as not protected by copyright in
the U.S. unless a copyright notice is included. Thus, we do not
necessarily keep eBooks in compliance with any particular paper
edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg Literary
Archive Foundation, how to help produce our new eBooks, and how
to subscribe to our email newsletter to hear about new eBooks.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookname.com

You might also like