Numerical Linear Algebra Software

Total Page:16

File Type:pdf, Size:1020Kb

Numerical Linear Algebra Software Numerical Linear Algebra Software Michael C. Grant Introduction ² Basic computations: BLAS, ATLAS ² Linear systems and factorizations: LAPACK ² Sparse matrices ² Prof. S. Boyd, EE392o, Stanford University Numerical linear algebra in optimization Many optimization algorithms (e.g. barrier methods, primal/dual methods) requires the solution of a sequence of structured linear systems; for example, Newton's method: H¢x = g; H , 2f(x); g , f(x) ¡ r r The bulk of memory usage and computation time is spent constructing and solving these systems. How do we know this? theoretical complexity analysis ² pro¯ling|a method for measuring the resources consumed by various ² subroutines of a program during execution Therefore, writing e±cient code to solve optimization problems requires competence in numerical linear algebra software Prof. S. Boyd, EE392o, Stanford University 1 How to write numerical linear algebra software DON'T! Whenever possible, rely on existing, mature software libraries for performing numerical linear algebra computations. By doing so... You can focus on other important issues, such as the higher-level ² algorithm and the user interface The amount of code you will need to write will be greatly reduced... ² ...thereby greatly reducing the number of bugs that you will introduce ² You will be insulated from subtle and di±cult numerical accuracy issues ² Your code will run faster|sometimes dramatically so ² Prof. S. Boyd, EE392o, Stanford University 2 Netlib A centralized clearinghouse for some of the best-known numerical software: http://www.netlib.org Maintained by the University of Tennessee, the Oak Ridge National ² Laboratory, and colleagues worldwide Most of the code is public domain or freely licensed ² Much written in FORTRAN 77 (gasp!) ² A useful list of freely available linear algebra libraries: http://www.netlib.org/utk/people/JackDongarra/la-sw.html Prof. S. Boyd, EE392o, Stanford University 3 The Basic Linear Algebra Subroutines (BLAS) Written by people who had the foresight to understand the future bene¯ts of a standard suite of \kernel" routines for linear algebra. Created and organized in three levels: Level 1, 1973-1977: O(n) vector operations: addition, scaling, dot ² products, norms Level 2, 1984-1986: O(n2) matrix-vector operations: matrix-vector ² products, triangular matrix-vector solves, rank-1 and symmetric rank-2 updates Level 3, 1987-1990: O(n3) matrix-matrix operations: matrix-matrix ² products, triangular matrix solves, low-rank updates Prof. S. Boyd, EE392o, Stanford University 4 BLAS operations Level 1 addition/scaling ®x, ®x + y T dot products, norms x y, x 2, x 1 k k k k Level 2 matrix/vector products ®Ax + ¯y, ®AT x + ¯y rank 1 updates A + ®xyT , A + ®xxT rank 2 updates A + ®xyT + ®yxT triangular solves ®T ¡1x, ®T ¡T x Level 3 matrix/matrix products ®AB + ¯C, ®ABT + ¯C ®AT B + ¯C, ®AT BT + ¯C rank-k updates ®AAT + ¯C, ®AT A + ¯C rank-2k updates ®AT B + ®BT A + ¯C triangular solves ®T ¡1C, ®T ¡T C Prof. S. Boyd, EE392o, Stanford University 5 Level 1 BLAS naming convention All BLAS routines have a Fortran-inspired naming convention: cblas_ X XXXX pre¯x data type operation Data types: s single precision real d double precision real c single precision complex z double precision complex Operations: axpy y ®x + y dot r xT y à T à nrm2 r x 2 = px x asum r x 1 = xi à k k à k k i j j Example: P cblas_ddot double precision real dot product Prof. S. Boyd, EE392o, Stanford University 6 BLAS naming convention: Level 2/3 cblas_ X XX XXX pre¯x data type structure operation Matrix structure: tr triangular tp packed triangular tb banded triangular sy symmetric sp packed symmetric sb banded symmetric hy Hermitian hp packed Hermitian hn banded Hermitian ge general gb banded general Operations: mv y ®Ax + ¯y sv x A¡1x (triangular only) r Aà A + xxT r2 Aà A + xyT + yxT mm C à ®AB + ¯C r2k C à ®ABT + ®BAT + ¯C à à Examples: cblas_dtrmv double precision real triangular matrix-vector product cblas_dsyr2k double precision real symmetric rank-2k update Prof. S. Boyd, EE392o, Stanford University 7 Using BLAS e±ciently Always choose a higher-level BLAS routine over multiple calls to a lower-level BLAS routine, even when the results would be the same k T m£n m n A A + xiy ; A R ; xi R ; yi R à i 2 2 2 Xi=1 Two choices: k separate calls to the Level 2 routine cblas_dger T T T A A + x1y1 ; A A + x2y2 ; : : : A A + xky à à à k or a single call to the Level 3 routine cblas_dgemm T A A + XY ; X , x1 : : : xk ; Y , y1 : : : yk à £ ¤ £ ¤ The Level 3 choice will perform much better in practice. Prof. S. Boyd, EE392o, Stanford University 8 Is BLAS necessary? Why use BLAS at all when writing your own routines is so easy? A A + XY T A Rm£n; X Rm£p; Y Rn£p à 2 2 2 p Aij Aij + XikYjk à kX=1 void matmultadd( int m, int n, int p, double* A, const double* X, const double* Y ) { int i, j, k; for ( i = 0 ; i < m ; ++i ) for ( j = 0 ; j < n ; ++j ) for ( k = 0 ; k < p ; ++k ) A[ i + j * n ] += X[ i + k * p ] * Y[ j + k * p ]; } Why use BLAS when the code is this simple? Prof. S. Boyd, EE392o, Stanford University 9 Is BLAS necessary? The answer: performance|a factor of 5 to 10 times or more. It is not trivial to write numerical code on today's computers that achieves high performance, due to pipelining, memory bandwidth, cache architectures, etc. The acceptance of BLAS as a standard interface for numerical linear algebra has made practical a number of e®orts to produce highly-optimized BLAS libraries One free example: ATLAS http://math-atlas.sourceforge.net uses automated code generation and testing methods (basically, automated trial-and-error) to generate an optimized BLAS library for a speci¯c computer Prof. S. Boyd, EE392o, Stanford University 10 Improving performance through blocking Blocking can be used to improve the performance of matrix/vector and matrix/matrix multiplications, Cholesky factorizations, etc.. T A11 A12 X11 T T A + XY + Y11 Y21 à ·A21 A22¸ ·X21¸ £ ¤ The optimal block size is not easy to determine: it depends on the speci¯c architecture of the processor, cache, and memory. But once they are chosen, each block can be computed separately, and ordered in a manner which minimizes memory tra±c; e.g. T T A11 A11 + X11Y11; A12 A12 + X11Y21; à à T T A21 A21 + X21Y11; A22 A22 + X21Y21 à à Prof. S. Boyd, EE392o, Stanford University 11 The Matrix Template Library Having just sung the praises of the BLAS, here is an alternative for C++: http://www.osl.iu.edu/research/mtl/intro.php3 Uses the most advanced features of C++ for flexibility and performance ² Supports structured matrices (triangular, symmetric, banded, etc.) ² Uses blocked algorithms to improve performance ² Also supports LAPACK, sparse matrices ² Attractively licensed ² It looks interesting. Has anyone tried this? Prof. S. Boyd, EE392o, Stanford University 12 The Linear Algebra PACKage (LAPACK) LAPACK contains a variety of subroutines for solving linear systems and performing a number of common matrix decompositions and factorizations. First release: February 1992; latest version (3.0): May 2000 ² Supercedes predecessors EISPACK and LINPACK ² Supports the same data types (single/double precision, real/complex) ² and matrix structure types (symmetric, banded, etc.) as BLAS Uses BLAS for internal computations ² Routines divided into three categories: auxiliary routines, computational ² routines, and driver routines Prof. S. Boyd, EE392o, Stanford University 13 LAPACK Computational Routines Computational routines are designed to perform single, speci¯c computational tasks: factorizations: LU, LLT /LLH, LDLT /LDLH, QR, LQ, QRZ, ² generalized QR and RQ symmetric/Hermitian and nonsymmetric eigenvalue decompositions ² singular value decompositions ² generalized eigenvalue and singular value decompositions ² Prof. S. Boyd, EE392o, Stanford University 14 LAPACK Driver Routines Driver routines call computational routines in sequence to solve a variety of standard linear algebra problems, including: Linear equations: AX = B; ² Linear least squares problems: ² minimizex b Ax 2 minimize y k ¡ k subject to dk =k By Generalized linear least squares problems: ² minimizex c Ax 2 minimize y subject to Bk x¡= d k subject to dk =k Ax + By Standard and generalized eignenvalue and singular value problems: ² AZ = ¤Z; A = U§V T ; Z = ¤BZ Prof. S. Boyd, EE392o, Stanford University 15 A LAPACK usage example Consider the task of solving P AT d r x = a ·A 0 ¸ ·dv¸ ·rb¸ n m for dx R , dv R , where 2 2 P Rn£n; P = P T 0 2  m£n n m A R ; ra R ; rb R ; (m < n) 2 2 2 Linear systems with this structure occur quite often in KKT-based optimization algorithms Prof. S. Boyd, EE392o, Stanford University 16 A LAPACK usage example: option 1 The coe±cient matrix is symmetric inde¯nite, so a permuted LDLT factorization exists: P A QLDLT QT ·A 0¸ ! The computational routine dsytrf performs this factorization the driver routine dsysv uses dsytrf to compute this factorization and performs the remaining computations to determine the solution: d 1 1 r x = QT L¡ D¡ L¡T Q a ·dv¸ ·rb¸ Prof. S. Boyd, EE392o, Stanford University 17 A LAPACK usage example: option 2 A bit of algebraic manipulation yields ¡1 T ¡1 ¡1 ¡1 ¡1 T dv = (AP A ) (AP ra rb); dx = P ra P A dv: ¡ ¡ So ¯rst, we solve the system P A~ r~a = A ra £ ¤ £ ¤ for A~ and r~a; then we can construct and solve T (AA~ )dv = Ar~a rb ¡ using a second call to dspsv; ¯nally, dx = r~a Ad~ v.
Recommended publications
  • Special Western Canada Linear Algebra Meeting (17W2668)
    Special Western Canada Linear Algebra Meeting (17w2668) Hadi Kharaghani (University of Lethbridge), Shaun Fallat (University of Regina), Pauline van den Driessche (University of Victoria) July 7, 2017 – July 9, 2017 1 History of this Conference Series The Western Canada Linear Algebra meeting, or WCLAM, is a regular series of meetings held roughly once every 2 years since 1993. Professor Peter Lancaster from the University of Calgary initiated the conference series and has been involved as a mentor, an organizer, a speaker and participant in all of the ten or more WCLAM meetings. Two broad goals of the WCLAM series are a) to keep the community abreast of current research in this discipline, and b) to bring together well-established and early-career researchers to talk about their work in a relaxed academic setting. This particular conference brought together researchers working in a wide-range of mathematical fields including matrix analysis, combinatorial matrix theory, applied and numerical linear algebra, combinatorics, operator theory and operator algebras. It attracted participants from most of the PIMS Universities, as well as Ontario, Quebec, Indiana, Iowa, Minnesota, North Dakota, Virginia, Iran, Japan, the Netherlands and Spain. The highlight of this meeting was the recognition of the outstanding and numerous contributions to the areas of research of Professor Peter Lancaster. Peter’s work in mathematics is legendary and in addition his footprint on mathematics in Canada is very significant. 2 Presentation Highlights The conference began with a presentation from Prof. Chi-Kwong Li surveying the numerical range and connections to dilation. During this lecture the following conjecture was stated: If A 2 M3 has no reducing eigenvalues, then there is a T 2 B(H) such that the numerical range of T is contained in that of A, and T has no dilation of the form I ⊗ A.
    [Show full text]
  • 500 Natural Sciences and Mathematics
    500 500 Natural sciences and mathematics Natural sciences: sciences that deal with matter and energy, or with objects and processes observable in nature Class here interdisciplinary works on natural and applied sciences Class natural history in 508. Class scientific principles of a subject with the subject, plus notation 01 from Table 1, e.g., scientific principles of photography 770.1 For government policy on science, see 338.9; for applied sciences, see 600 See Manual at 231.7 vs. 213, 500, 576.8; also at 338.9 vs. 352.7, 500; also at 500 vs. 001 SUMMARY 500.2–.8 [Physical sciences, space sciences, groups of people] 501–509 Standard subdivisions and natural history 510 Mathematics 520 Astronomy and allied sciences 530 Physics 540 Chemistry and allied sciences 550 Earth sciences 560 Paleontology 570 Biology 580 Plants 590 Animals .2 Physical sciences For astronomy and allied sciences, see 520; for physics, see 530; for chemistry and allied sciences, see 540; for earth sciences, see 550 .5 Space sciences For astronomy, see 520; for earth sciences in other worlds, see 550. For space sciences aspects of a specific subject, see the subject, plus notation 091 from Table 1, e.g., chemical reactions in space 541.390919 See Manual at 520 vs. 500.5, 523.1, 530.1, 919.9 .8 Groups of people Add to base number 500.8 the numbers following —08 in notation 081–089 from Table 1, e.g., women in science 500.82 501 Philosophy and theory Class scientific method as a general research technique in 001.4; class scientific method applied in the natural sciences in 507.2 502 Miscellany 577 502 Dewey Decimal Classification 502 .8 Auxiliary techniques and procedures; apparatus, equipment, materials Including microscopy; microscopes; interdisciplinary works on microscopy Class stereology with compound microscopes, stereology with electron microscopes in 502; class interdisciplinary works on photomicrography in 778.3 For manufacture of microscopes, see 681.
    [Show full text]
  • Mathematics (MATH) 1
    Mathematics (MATH) 1 MATH 103 College Algebra and Trigonometry MATHEMATICS (MATH) Prerequisites: Appropriate score on the Math Placement Exam; or grade of P, C, or better in MATH 100A. MATH 100A Intermediate Algebra Notes: Credit for both MATH 101 and 103 is not allowed; credit for both Prerequisites: Appropriate score on the Math Placement Exam. MATH 102 and MATH 103 is not allowed; students with previous credit in Notes: Credit earned in MATH 100A will not count toward degree any calculus course (Math 104, 106, 107, or 208) may not earn credit for requirements. this course. Description: Review of the topics in a second-year high school algebra Description: First and second degree equations and inequalities, absolute course taught at the college level. Includes: real numbers, 1st and value, functions, polynomial and rational functions, exponential and 2nd degree equations and inequalities, linear systems, polynomials logarithmic functions, trigonometric functions and identities, laws of and rational expressions, exponents and radicals. Heavy emphasis on sines and cosines, applications, polar coordinates, systems of equations, problem solving strategies and techniques. graphing, conic sections. Credit Hours: 3 Credit Hours: 5 Max credits per semester: 3 Max credits per semester: 5 Max credits per degree: 3 Max credits per degree: 5 Grading Option: Graded with Option Grading Option: Graded with Option Prerequisite for: MATH 100A; MATH 101; MATH 103 Prerequisite for: AGRO 361, GEOL 361, NRES 361, SOIL 361, WATS 361; MATH 101 College Algebra AGRO 458, AGRO 858, NRES 458, NRES 858, SOIL 458; ASCI 340; Prerequisites: Appropriate score on the Math Placement Exam; or grade CHEM 105A; CHEM 109A; CHEM 113A; CHME 204; CRIM 300; of P, C, or better in MATH 100A.
    [Show full text]
  • "Mathematics in Science, Social Sciences and Engineering"
    Research Project "Mathematics in Science, Social Sciences and Engineering" Reference person: Prof. Mirko Degli Esposti (email: [email protected]) The Department of Mathematics of the University of Bologna invites applications for a PostDoc position in "Mathematics in Science, Social Sciences and Engineering". The appointment is for one year, renewable to a second year. Candidates are expected to propose and perform research on innovative aspects in mathematics, along one of the following themes: Analysis: 1. Functional analysis and abstract equations: Functional analytic methods for PDE problems; degenerate or singular evolution problems in Banach spaces; multivalued operators in Banach spaces; function spaces related to operator theory.FK percolation and its applications 2. Applied PDEs: FK percolation and its applications, mathematical modeling of financial markets by PDE or stochastic methods; mathematical modeling of the visual cortex in Lie groups through geometric analysis tools. 3. Evolutions equations: evolutions equations with real characteristics, asymptotic behavior of hyperbolic systems. 4. Qualitative theory of PDEs and calculus of variations: Sub-Riemannian PDEs; a priori estimates and solvability of systems of linear PDEs; geometric fully nonlinear PDEs; potential analysis of second order PDEs; hypoellipticity for sums of squares; geometric measure theory in Carnot groups. Numerical Analysis: 1. Numerical Linear Algebra: matrix equations, matrix functions, large-scale eigenvalue problems, spectral perturbation analysis, preconditioning techniques, ill- conditioned linear systems, optimization problems. 2. Inverse Problems and Image Processing: regularization and optimization methods for ill-posed integral equation problems, image segmentation, deblurring, denoising and reconstruction from projection; analysis of noise models, medical applications. 3. Geometric Modelling and Computer Graphics: Curves and surface modelling, shape basic functions, interpolation methods, parallel graphics processing, realistic rendering.
    [Show full text]
  • Randnla: Randomized Numerical Linear Algebra
    review articles DOI:10.1145/2842602 generation mechanisms—as an algo- Randomization offers new benefits rithmic or computational resource for the develop ment of improved algo- for large-scale linear algebra computations. rithms for fundamental matrix prob- lems such as matrix multiplication, BY PETROS DRINEAS AND MICHAEL W. MAHONEY least-squares (LS) approximation, low- rank matrix approxi mation, and Lapla- cian-based linear equ ation solvers. Randomized Numerical Linear Algebra (RandNLA) is an interdisci- RandNLA: plinary research area that exploits randomization as a computational resource to develop improved algo- rithms for large-scale linear algebra Randomized problems.32 From a foundational per- spective, RandNLA has its roots in theoretical computer science (TCS), with deep connections to mathemat- Numerical ics (convex analysis, probability theory, metric embedding theory) and applied mathematics (scientific computing, signal processing, numerical linear Linear algebra). From an applied perspec- tive, RandNLA is a vital new tool for machine learning, statistics, and data analysis. Well-engineered implemen- Algebra tations have already outperformed highly optimized software libraries for ubiquitous problems such as least- squares,4,35 with good scalability in par- allel and distributed environments. 52 Moreover, RandNLA promises a sound algorithmic and statistical foundation for modern large-scale data analysis. MATRICES ARE UBIQUITOUS in computer science, statistics, and applied mathematics. An m × n key insights matrix can encode information about m objects ˽ Randomization isn’t just used to model noise in data; it can be a powerful (each described by n features), or the behavior of a computational resource to develop discretized differential operator on a finite element algorithms with improved running times and stability properties as well as mesh; an n × n positive-definite matrix can encode algorithms that are more interpretable in the correlations between all pairs of n objects, or the downstream data science applications.
    [Show full text]
  • Advances in Matrices, Finite And
    Journal of Applied Mathematics Advances in Matrices, Finite and Guest Editors: P. N. Shivakumar, Panayiotis Psarrakos, K. C. Sivakuma r, Yang Zhang, and Carlos da Fonseca Advances in Matrices, Finite and Infinite, with Applications 2014 JournalofAppliedMathematics Advances in Matrices, Finite and Infinite, with Applications 2014 Guest Editors: P. N. Shivakumar, Panayiotis J. Psarrakos, K. C. Sivakumar, Yang Zhang, and Carlos M. da Fonseca Copyright © 2014 Hindawi Publishing Corporation. All rights reserved. This is a special issue published in “Journal of Applied Mathematics.” All articles are open access articles distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Editorial Board Saeid Abbasbandy, Iran Ru-Dong Chen, China Laura Gardini, Italy Mina B. Abd-El-Malek, Egypt Zhang Chen, China Bernard J. Geurts, The Netherlands Mohamed A. Abdou, Egypt Zhi-Zhong Chen, Japan Sandip Ghosal, USA Subhas Abel, India Xinkai Chen, Japan Pablo Gonzlez-Vera, Spain Jnos Abonyi, Hungary Rushan Chen, China Alexander N. Gorban, UK M. Montaz Ali, South Africa Ke Chen, UK Laurent Gosse, Italy Mohammad R, Aliha, Iran Eric Cheng, Hong Kong Keshlan S. Govinder, South Africa Carlos J. S. Alves, Portugal Ching-Hsue Cheng, Taiwan Said R. Grace, Egypt Mohamad Alwash, USA Qi Cheng, USA Jose L. Gracia, Spain Igor Andrianov, Germany Chin-Hsiang Cheng, Taiwan Maurizio Grasselli, Italy Boris Andrievsky, Russia Jin Cheng, China Zhi-Hong Guan, China Whye-Teong Ang, Singapore Hui Cheng, China Nicola Guglielmi, Italy Abul-Fazal M. Arif, Saudi Arabia Francisco Chiclana, UK Fred´ eric´ Guichard, Canada Sabri Arik, Turkey Jen-Tzung Chien, Taiwan Kerim Guney, Turkey Ali R.
    [Show full text]
  • Numerical Linear Algebra and Matrix Analysis
    Numerical Linear Algebra and Matrix Analysis Higham, Nicholas J. 2015 MIMS EPrint: 2015.103 Manchester Institute for Mathematical Sciences School of Mathematics The University of Manchester Reports available from: http://eprints.maths.manchester.ac.uk/ And by contacting: The MIMS Secretary School of Mathematics The University of Manchester Manchester, M13 9PL, UK ISSN 1749-9097 1 exploitation of matrix structure (such as sparsity, sym- Numerical Linear Algebra and metry, and definiteness), and the design of algorithms y Matrix Analysis to exploit evolving computer architectures. Nicholas J. Higham Throughout the article, uppercase letters are used for matrices and lower case letters for vectors and scalars. Matrices are ubiquitous in applied mathematics. Matrices and vectors are assumed to be complex, unless ∗ Ordinary differential equations (ODEs) and partial dif- otherwise stated, and A = (aji) denotes the conjugate ferential equations (PDEs) are solved numerically by transpose of A = (aij ). An unsubscripted norm k · k finite difference or finite element methods, which lead denotes a general vector norm and the corresponding to systems of linear equations or matrix eigenvalue subordinate matrix norm. Particular norms used here problems. Nonlinear equations and optimization prob- are the 2-norm k · k2 and the Frobenius norm k · kF . lems are typically solved using linear or quadratic The notation “i = 1: n” means that the integer variable models, which again lead to linear systems. i takes on the values 1; 2; : : : ; n. Solving linear systems of equations is an ancient task, undertaken by the Chinese around 1AD, but the study 1 Nonsingularity and Conditioning of matrices per se is relatively recent, originating with Arthur Cayley’s 1858 “A Memoir on the Theory of Matri- Nonsingularity of a matrix is a key requirement in many ces”.
    [Show full text]
  • A History of Modern Numerical Linear Algebra
    Gene Golub, Stanford University 1 A History of Modern Numerical Linear Algebra Gene H. Golub Stanford University Gene Golub, Stanford University 2 What is Numerical Analysis? (a.k.a Scientific Computing) The definitions are becoming shorter... Webster’s New Collegiate Dictionary (1973): • ”The study of quantitative approximations to the solutions of mathematical problems including consideration of the errors and bounds to the errors involved.” The American Heritage Dictionary (1992): • ”The study of approximate solutions to mathematical problems, taking into account the extent of possible errors.” L. N. Trefethen, Oxford University (1992): • ”The study of algorithms for the problems of continuous mathematics.” Gene Golub, Stanford University 3 Numerical Analysis: How It All Started Numerical analysis motivated the development of the earliest computers. Ballistics • Solution of PDE’s • Data Analysis • Early pioneers included: J. von Neumann, A. M. Turing In the beginning... von Neumann & Goldstine (1947): ”Numerical Inversion of Matrices of High Order” Gene Golub, Stanford University 4 Numerical Linear Algebra Numerical Linear Algebra (NLA) is a small but active area of research: Less than 200 active, committed persons. But the community involves many scientists. Gene Golub, Stanford University 5 Top Ten Algorithms in Science (Jack Dongarra, 2000) 1. Metropolis Algorithm for Monte Carlo 2. Simplex Method for Linear Programming 3. Krylov Subspace Iteration Methods 4. The Decompositional Approach to Matrix Computations 5. The Fortran Optimizing Compiler 6. QR Algorithm for Computing Eigenvalues 7. Quicksort Algorithm for Sorting 8. Fast Fourier Transform 9. Integer Relation Detection 10. Fast Multipole Method Red: Algorithms within the exclusive domain of NLA research. • Blue: Algorithms strongly (though not exclusively) connected to NLA research.
    [Show full text]
  • Mathematics (MATH) 1
    Mathematics (MATH) 1 MATHEMATICS (MATH) MATH 505: Mathematical Fluid Mechanics 3 Credits MATH 501: Real Analysis Kinematics, balance laws, constitutive equations; ideal fluids, viscous 3 Credits flows, boundary layers, lubrication; gas dynamics. Legesgue measure theory. Measurable sets and measurable functions. Prerequisite: MATH 402 or MATH 404 Legesgue integration, convergence theorems. Lp spaces. Decomposition MATH 506: Ergodic Theory and differentiation of measures. Convolutions. The Fourier transform. MATH 501 Real Analysis I (3) This course develops Lebesgue measure 3 Credits and integration theory. This is a centerpiece of modern analysis, providing a key tool in many areas of pure and applied mathematics. The course Measure-preserving transformations and flows, ergodic theorems, covers the following topics: Lebesgue measure theory, measurable sets ergodicity, mixing, weak mixing, spectral invariants, measurable and measurable functions, Lebesgue integration, convergence theorems, partitions, entropy, ornstein isomorphism theory. Lp spaces, decomposition and differentiation of measures, convolutions, the Fourier transform. Prerequisite: MATH 502 Prerequisite: MATH 404 MATH 507: Dynamical Systems I MATH 502: Complex Analysis 3 Credits 3 Credits Fundamental concepts; extensive survey of examples; equivalence and classification of dynamical systems, principal classes of asymptotic Complex numbers. Holomorphic functions. Cauchy's theorem. invariants, circle maps. Meromorphic functions. Laurent expansions, residue calculus. Conformal
    [Show full text]
  • A Complete Treatment of Linear Algebra
    C5106 FL.qxd 3/14/07 5:07 PM Page 1 C5106 FL NEW! Editor-in-Chief Leslie Hogben, Iowa State University, Ames, USA Associate Editors Richard A. Brualdi, University of Wisconsin–Madison, USA Anne Greenbaum, University of Washington, Seattle, USA Roy Mathias, University of Birmingham, UK A volume in the series Discrete Mathematics and Its Applications Edited by Kenneth H. Rosen, Monmouth University, West Long Branch, New Jersey, USA Contents LINEAR ALGEBRA A COMPLETE TREATMENT OF LINEAR ALGEBRA BASIC LINEAR ALGEBRA The Handbook of Linear Algebra provides comprehensive cover- Vectors, Matrices and Systems of Linear age of linear algebra concepts, applications, and computational Equations software packages in an easy-to-use handbook format. The Linear Independence, Span, and Bases esteemed international contributors guide you from the very ele- Linear Transformations mentary aspects of the subject to the frontiers of current research. Determinants and Eigenvalues The book features an accessible layout of parts, chapters, and sec- Inner Product Spaces, Orthogonal tions, with each section containing definition, fact, and example Projection, Least Squares and Singular segments. The five main parts of the book encompass the funda- Value Decomposition mentals of linear algebra, combinatorial and numerical linear alge- bra, applications of linear algebra to various mathematical and non- MATRICES WITH SPECIAL PROPERTIES mathematical disciplines, and software packages for linear algebra Canonical Forms computations. Within each section, the facts (or theorems) are pre- Unitary Similarity, Normal Matrices and sented in a list format and include references for each fact to encourage further reading, Spectral Theory while the examples illustrate both the definitions and the facts.
    [Show full text]
  • Math 477 – Numerical Linear Algebra
    Math 477 – Numerical Linear Algebra Course Description from Bulletin: Fundamentals of matrix theory; least squares problems; computer arithmetic, conditioning and stability; direct and iterative methods for linear systems; eigenvalue problems. (3-0-3) Enrollment: Elective for AM and other majors. Textbook(s): Lloyd N. Trefethen and D. Bau, Numerical Linear Algebra, SIAM (1997), ISBN 0-89871-361-7. D. Kincaid and W. Cheney, Numerical Analysis: Mathematics of Scientific Computing, 3rd Ed, Brooks/Cole (2002), ISBN 0-534-38905-8. Other required material: Matlab Prerequisites: MATH 350 Introduction to Computational Mathematics or MMAE 350, or consent of the instructor Objectives: 1. Students will learn the basic matrix factorization methods for solving systems of linear equations and linear least squares problems. 2. Students will learn basic computer arithmetic and the concepts of conditioning and stability of a numerical method. 3. Students will learn the basic numerical methods for computing eigenvalues. 4. Students will learn the basic iterative methods for solving systems of linear equations. 5. Students will learn how to implement and use these numerical methods in Matlab (or another similar software package). Lecture schedule: 3 50 minutes (or 2 75 minutes) lectures per week Course Outline: Hours 1. Fundamentals 5 a. Matrix-vector multiplication b. Orthogonal vectors and matrices c. Norms d. Computer arithmetic 2. Singular Value Decomposition 3 3. QR Factorization and Least Squares 8 a. Projectors b. QR factorization c. Gram-Schmidt orthogonalization d. Householder triangularization e. Least squares problems 4. Conditioning and Stability 5 a. Conditioning and condition numbers b. Stability 5. Systems of Equations 5 a. Gaussian elimination b.
    [Show full text]
  • Numerical Linear Algebra Texts in Applied Mathematics 55
    Grégoire Allaire 55 Sidi Mahmoud Kaber TEXTS IN APPLIED MATHEMATICS Numerical Linear Algebra Texts in Applied Mathematics 55 Editors J.E. Marsden L. Sirovich S.S. Antman Advisors G. Iooss P. Holmes D. Barkley M. Dellnitz P. Newton Texts in Applied Mathematics 1. Sirovich: Introduction to Applied Mathematics. 2. Wiggins: Introduction to Applied Nonlinear Dynamical Systems and Chaos. 3. Hale/Koc¸ak: Dynamics and Bifurcations. 4. Chorin/Marsden: A Mathematical Introduction to Fluid Mechanics, 3rd ed. 5. Hubbard/West: Differential Equations: A Dynamical Systems Approach: Ordinary Differential Equations. 6. Sontag: Mathematical Control Theory: Deterministic Finite Dimensional Systems, 2nd ed. 7. Perko: Differential Equations and Dynamical Systems, 3rd ed. 8. Seaborn: Hypergeometric Functions and Their Applications. 9. Pipkin: A Course on Integral Equations. 10. Hoppensteadt/Peskin: Modeling and Simulation in Medicine and the Life Sciences, 2nd ed. 11. Braun: Differential Equations and Their Applications, 4th ed. 12. Stoer/Bulirsch: Introduction to Numerical Analysis, 3rd ed. 13. Renardy/Rogers: An Introduction to Partial Differential Equations. 14. Banks: Growth and Diffusion Phenomena: Mathematical Frameworks and Applications. 15. Brenner/Scott: The Mathematical Theory of Finite Element Methods, 2nd ed. 16. Van de Velde: Concurrent Scientific Computing. 17. Marsden/Ratiu: Introduction to Mechanics and Symmetry, 2nd ed. 18. Hubbard/West: Differential Equations: A Dynamical Systems Approach: Higher-Dimensional Systems. 19. Kaplan/Glass: Understanding Nonlinear Dynamics. 20. Holmes: Introduction to Perturbation Methods. 21. Curtain/Zwart: An Introduction to Infinite-Dimensional Linear Systems Theory. 22. Thomas: Numerical Partial Differential Equations: Finite Difference Methods. 23. Taylor: Partial Differential Equations: Basic Theory. 24. Merkin: Introduction to the Theory of Stability of Motion.
    [Show full text]