
A01_SAUE6454_03_SE_FM PEARSON/SAUER August 8, 2017 16:31 Page-i Numerical Analysis THIRD EDITION Timothy Sauer George Mason University A01_SAUE6454_03_SE_FM PEARSON/SAUER August 8, 2017 16:31 Page-ii Director, Portfolio Management: Deirdre Lynch Executive Editor: Jeff Weidenaar Editorial Assistant: Jennifer Snyder Content Producer: Tara Corpuz Managing Producer: Scott Disanno Producer: Jean Choe Product Marketing Manager: Yvonne Vannatta Field Marketing Manager: Evan St. Cyr Marketing Assistant: Jon Bryant Senior Author Support/Technology Specialist: Joe Vetere Manager, Rights and Permissions: Gina Cheselka Manufacturing Buyer: Carol Melville, LSC Communications Cover Image: Gyn9037/ Shutterstock Text and Cover Design, Illustrations, Production Coordination, Composition: Integra Software Services Pvt. Ltd Copyright c 2018, 2012, 2006 by Pearson Education, Inc. All Rights Reserved. Printed in the United States of America. This publication is protected by copyright, and permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise. For information regarding permissions, request forms and the appropriate contacts within the Pearson Education Global Rights & Permissions department, please visit www.pearsoned.com/permissions/. Photo Credits: Page 1 Zsolt Biczo/ Shutterstock; Page 26 Polonio Video/ Shutterstock; Page 41 DEA PICTURE LIBRARY / Getty Images; Page 74 Redswept /Shutterstock; Page 144 Rosenfeld Images, Ltd./Photo Researchers, Inc.; Page 196 dolgachov/ 123RF; Page 253 wklzzz / 123RF; Page 293 UPPA/Photoshot; Page 366 Paul Springett 04/Alamy Stock Photo; Page 394 iStock/Getty Images Plus; Page 453 xPACIFICA / Alamy; Page 489 Picture Alliance/Photoshot; Page 518 Chris Rout/Alamy Stock Photo; Pages 528 & 534 Toni Angermayer/Photo Researchers, Inc.; Page 556 Jinx Photography Brands/Alamy Stock Photo; Page 593 Astronoman /Shutterstock. Text Credits: Page 50 J. H. Wilkinson, The perfidious polynomial, In ed. by Gene H. Golub. Studies in Numerical Analysis. Mathematical Association of America, 24 (1984); Page 153 & Page 188 “Author-created using the software from MATLAB. The MathWorks, Inc., Natick, Massachusetts, USA, http://www.mathworks.com.”; Page 454 Von Neumann, John (1951). “Various techniques used in connection with random digits.” In A. S. Householder, G. E. Forsythe, and H. H. Germond, eds., Proceedings of Symposium on “Monte Carlo Method” held June-July 1949 in Los Angeles. Journal of Research of the National Bureau of Standards, Applied Mathematics Series, no. 12, pp 36–38 (Washington, D.C.: USGPO, 1951) Summary written by George E. Forsythe. Reprinted in von Neumann, John von Neumann Collected Works, ed. A. H. Taub, vol. 5 (New York: Macmillan, 1963) Vol. V, pp 768–770; Page 622 Author-created using the software from MATLAB. The MathWorks, Inc., Natick, Massachusetts, USA, http://www.mathworks.com.; Page 623 Author-created using the software from MATLAB. The MathWorks, Inc., Natick, Massachusetts, USA, http://www.mathworks.com. PEARSON, ALWAYS LEARNING, and MYLAB are exclusive trademarks owned by Pearson Education, Inc. or its affiliates in the U.S. and/or other countries. Unless otherwise indicated herein, any third-party trademarks that may appear in this work are the property of their respective owners and any references to third-party trademarks, logos or other trade dress are for demonstrative or descriptive purposes only. Such references are not intended to imply any sponsorship, endorsement, authorization, or promotion of Pearson’s products by the owners of such marks, or any relationship between the owner and Pearson Education, Inc. or its affiliates, authors, licensees or distributors. Library of Congress Cataloging-in-Publication Data Names: Sauer, Tim, author. Title: Numerical analysis / Timothy Sauer, George Mason University. Description: Third edition. | Hoboken : Pearson, [2019] | Includes bibliographical references and index. Identifiers: LCCN 2017028491| ISBN 9780134696454 (alk. paper) | ISBN 013469645X (alk. paper) Subjects: LCSH: Numerical analysis. | Mathematical analysis. Classification: LCC QA297 .S348 2019 | DDC 518–dc23 LC record available at https://lccn.loc.gov/2017028491 117 ISBN 10: 0-13-469645-X ISBN 13: 978-0-13-469645-4 A01_SAUE6454_03_SE_FM PEARSON/SAUER August 8, 2017 16:31 Page-iii Contents PREFACE xi CHAPTER 0 Fundamentals 1 0.1 Evaluating a Polynomial 1 0.2 Binary Numbers 5 0.2.1 Decimal to binary 6 0.2.2 Binary to decimal 7 0.3 Floating Point Representation of Real Numbers 8 0.3.1 Floating point formats 8 0.3.2 Machine representation 12 0.3.3 Addition of floating point numbers 14 0.4 Loss of Significance 17 0.5 Review of Calculus 21 Software and Further Reading 24 CHAPTER 1 Solving Equations 26 1.1 The Bisection Method 27 1.1.1 Bracketing a root 27 1.1.2 How accurate and how fast? 30 1.2 Fixed-Point Iteration 33 1.2.1 Fixed points of a function 33 1.2.2 Geometry of Fixed-Point Iteration 36 1.2.3 Linear convergence of Fixed-Point Iteration 36 1.2.4 Stopping criteria 42 1.3 Limits of Accuracy 46 1.3.1 Forward and backward error 46 1.3.2 The Wilkinson polynomial 49 1.3.3 Sensitivity of root-finding 50 1.4 Newton’s Method 54 1.4.1 Quadratic convergence of Newton’s Method 56 1.4.2 Linear convergence of Newton’s Method 58 1.5 Root-Finding without Derivatives 64 1.5.1 Secant Method and variants 64 1.5.2 Brent’s Method 67 Reality Check 1: Kinematics of the Stewart platform 70 Software and Further Reading 72 A01_SAUE6454_03_SE_FM PEARSON/SAUER August 8, 2017 16:31 Page-iv iv | Contents CHAPTER 2 Systems of Equations 74 2.1 Gaussian Elimination 74 2.1.1 Naive Gaussian elimination 75 2.1.2 Operation counts 77 2.2 The LU Factorization 82 2.2.1 Matrix form of Gaussian elimination 82 2.2.2 Back substitution with the LU factorization 85 2.2.3 Complexity of the LU factorization 86 2.3 Sources of Error 89 2.3.1 Error magnification and condition number 89 2.3.2 Swamping 95 2.4 The PA = LU Factorization 99 2.4.1 Partial pivoting 99 2.4.2 Permutation matrices 101 2.4.3 PA = LU factorization 102 Reality Check 2: The Euler–Bernoulli Beam 107 2.5 Iterative Methods 110 2.5.1 Jacobi Method 111 2.5.2 Gauss–Seidel Method and SOR 113 2.5.3 Convergence of iterative methods 116 2.5.4 Sparse matrix computations 117 2.6 Methods for symmetric positive-definite matrices 122 2.6.1 Symmetric positive-definite matrices 122 2.6.2 Cholesky factorization 124 2.6.3 Conjugate Gradient Method 127 2.6.4 Preconditioning 132 2.7 Nonlinear Systems of Equations 136 2.7.1 Multivariate Newton’s Method 136 2.7.2 Broyden’s Method 139 Software and Further Reading 143 CHAPTER 3 Interpolation 144 3.1 Data and Interpolating Functions 145 3.1.1 Lagrange interpolation 146 3.1.2 Newton’s divided differences 147 3.1.3 How many degree d polynomials pass through n points? 150 3.1.4 Code for interpolation 151 3.1.5 Representing functions by approximating polynomials 153 3.2 Interpolation Error 157 3.2.1 Interpolation error formula 158 3.2.2 Proof of Newton form and error formula 159 3.2.3 Runge phenomenon 162 3.3 Chebyshev Interpolation 164 3.3.1 Chebyshev’s theorem 165 3.3.2 Chebyshev polynomials 167 3.3.3 Change of interval 169 A01_SAUE6454_03_SE_FM PEARSON/SAUER August 8, 2017 16:31 Page-v Contents |v 3.4 Cubic Splines 173 3.4.1 Properties of splines 174 3.4.2 Endpoint conditions 180 3.5 Bézier Curves 185 Reality Check 3: Fonts from Bézier curves 190 Software and Further Reading 194 CHAPTER 4 Least Squares 196 4.1 Least Squares and the Normal Equations 196 4.1.1 Inconsistent systems of equations 197 4.1.2 Fitting models to data 201 4.1.3 Conditioning of least squares 205 4.2 A Survey of Models 208 4.2.1 Periodic data 208 4.2.2 Data linearization 211 4.3 QR Factorization 220 4.3.1 Gram–Schmidt orthogonalization and least squares 220 4.3.2 Modified Gram–Schmidt orthogonalization 227 4.3.3 Householder reflectors 228 4.4 Generalized Minimum Residual (GMRES) Method 235 4.4.1 Krylov methods 235 4.4.2 Preconditioned GMRES 237 4.5 Nonlinear Least Squares 240 4.5.1 Gauss–Newton Method 240 4.5.2 Models with nonlinear parameters 243 4.5.3 The Levenberg–Marquardt Method. 245 Reality Check 4: GPS, Conditioning, and Nonlinear Least Squares 248 Software and Further Reading 251 CHAPTER 5 Numerical Differentiation and Integration 253 5.1 Numerical Differentiation 254 5.1.1 Finite difference formulas 254 5.1.2 Rounding error 257 5.1.3 Extrapolation 259 5.1.4 Symbolic differentiation and integration 261 5.2 Newton–Cotes Formulas for Numerical Integration 264 5.2.1 Trapezoid Rule 265 5.2.2 Simpson’s Rule 267 5.2.3 Composite Newton–Cotes formulas 269 5.2.4 Open Newton–Cotes Methods 272 5.3 Romberg Integration 276 5.4 Adaptive Quadrature 279 5.5 Gaussian Quadrature 284 Reality Check 5: Motion Control in Computer-Aided Modeling 289 Software and Further Reading 291 A01_SAUE6454_03_SE_FM PEARSON/SAUER August 8, 2017 16:31 Page-vi vi | Contents CHAPTER 6 Ordinary Differential Equations 293 6.1 Initial Value Problems 294 6.1.1 Euler’s Method 295 6.1.2 Existence, uniqueness, and continuity for solutions 300 6.1.3 First-order linear equations 303 6.2 Analysis of IVP Solvers 306 6.2.1 Local and global truncation error 306 6.2.2 The explicit Trapezoid Method 310 6.2.3 Taylor Methods 313 6.3 Systems of Ordinary Differential Equations 316 6.3.1 Higher order equations 317 6.3.2 Computer simulation: the pendulum 318 6.3.3 Computer simulation: orbital mechanics 322 6.4 Runge–Kutta Methods and Applications 328 6.4.1 The
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages16 Page
-
File Size-