Applied Linear Algebra in Geoscience Using MATLAB

Similar documents
Applied Linear Algebra in Geoscience Using MATLAB

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

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

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS

(Linear equations) Applied Linear Algebra in Geoscience Using MATLAB

Linear Algebra Massoud Malek

Conceptual Questions for Review

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

MATH 235: Inner Product Spaces, Assignment 7

INNER PRODUCT SPACE. Definition 1

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

Orthonormal Bases; Gram-Schmidt Process; QR-Decomposition

2. Review of Linear Algebra

Linear Algebra Review. Vectors

Review of Some Concepts from Linear Algebra: Part 2

Applied Linear Algebra in Geoscience Using MATLAB

Chapter 6: Orthogonality

6 Inner Product Spaces

Math 24 Spring 2012 Sample Homework Solutions Week 8

Review problems for MA 54, Fall 2004.

Dot Products. K. Behrend. April 3, Abstract A short review of some basic facts on the dot product. Projections. The spectral theorem.

EXAM. Exam 1. Math 5316, Fall December 2, 2012

Inner products. Theorem (basic properties): Given vectors u, v, w in an inner product space V, and a scalar k, the following properties hold:

Linear Algebra Practice Problems

MATH 304 Linear Algebra Lecture 20: The Gram-Schmidt process (continued). Eigenvalues and eigenvectors.

homogeneous 71 hyperplane 10 hyperplane 34 hyperplane 69 identity map 171 identity map 186 identity map 206 identity matrix 110 identity matrix 45

22m:033 Notes: 7.1 Diagonalization of Symmetric Matrices

No books, no notes, no calculators. You must show work, unless the question is a true/false, yes/no, or fill-in-the-blank question.

Linear Algebra- Final Exam Review

Math 302 Outcome Statements Winter 2013

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

APPLICATIONS The eigenvalues are λ = 5, 5. An orthonormal basis of eigenvectors consists of

5.) For each of the given sets of vectors, determine whether or not the set spans R 3. Give reasons for your answers.

Math 290, Midterm II-key

SUMMARY OF MATH 1600

Remark 1 By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

(v, w) = arccos( < v, w >

Chapter 3 Transformations

Final Exam, Linear Algebra, Fall, 2003, W. Stephen Wilson

MTH 2032 SemesterII

Extra Problems for Math 2050 Linear Algebra I

Linear Algebra. Session 12

Applied Linear Algebra

Remark By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

Ir O D = D = ( ) Section 2.6 Example 1. (Bottom of page 119) dim(v ) = dim(l(v, W )) = dim(v ) dim(f ) = dim(v )

Recall: Dot product on R 2 : u v = (u 1, u 2 ) (v 1, v 2 ) = u 1 v 1 + u 2 v 2, u u = u u 2 2 = u 2. Geometric Meaning:

1 Number Systems and Errors 1

Math Linear Algebra

Math 307 Learning Goals

MATH 54 - FINAL EXAM STUDY GUIDE

Definitions for Quizzes

There are two things that are particularly nice about the first basis

ft-uiowa-math2550 Assignment NOTRequiredJustHWformatOfQuizReviewForExam3part2 due 12/31/2014 at 07:10pm CST

Math 307 Learning Goals. March 23, 2010

Linear Algebra, part 3 QR and SVD

Index. book 2009/5/27 page 121. (Page numbers set in bold type indicate the definition of an entry.)

Final Exam. Linear Algebra Summer 2011 Math S2010X (3) Corrin Clarkson. August 10th, Solutions

Dot product and linear least squares problems

A Review of Linear Algebra

ORTHOGONALITY AND LEAST-SQUARES [CHAP. 6]

MATH 304 Linear Algebra Lecture 34: Review for Test 2.

The value of a problem is not so much coming up with the answer as in the ideas and attempted ideas it forces on the would be solver I.N.

LAKELAND COMMUNITY COLLEGE COURSE OUTLINE FORM

LINEAR ALGEBRA KNOWLEDGE SURVEY

I. Multiple Choice Questions (Answer any eight)

COMP 558 lecture 18 Nov. 15, 2010

7. Symmetric Matrices and Quadratic Forms

Lecture 3: Review of Linear Algebra

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

(v, w) = arccos( < v, w >

Lecture 3: Review of Linear Algebra

1. General Vector Spaces

k is a product of elementary matrices.

HOMEWORK PROBLEMS FROM STRANG S LINEAR ALGEBRA AND ITS APPLICATIONS (4TH EDITION)

Exercise Sheet 1.

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #2 Solutions

8. Diagonalization.

1. Foundations of Numerics from Advanced Mathematics. Linear Algebra

Notes on Eigenvalues, Singular Values and QR

y 2 . = x 1y 1 + x 2 y x + + x n y n 2 7 = 1(2) + 3(7) 5(4) = 3. x x = x x x2 n.

(v, w) = arccos( < v, w >

Linear Algebra. The Manga Guide. Supplemental Appendixes. Shin Takahashi, Iroha Inoue, and Trend-Pro Co., Ltd.

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

Math 462: Homework 2 Solutions

ANSWERS (5 points) Let A be a 2 2 matrix such that A =. Compute A. 2

Elementary linear algebra

MATH 22A: LINEAR ALGEBRA Chapter 4

Math 18, Linear Algebra, Lecture C00, Spring 2017 Review and Practice Problems for Final Exam

Diagonalizing Matrices

Introduction to Applied Linear Algebra with MATLAB

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Notes on singular value decomposition for Math 54. Recall that if A is a symmetric n n matrix, then A has real eigenvalues A = P DP 1 A = P DP T.

LINEAR ALGEBRA: NUMERICAL METHODS. Version: August 12,

PRACTICE FINAL EXAM. why. If they are dependent, exhibit a linear dependence relation among them.

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Algebra II. Paulius Drungilas and Jonas Jankauskas

October 25, 2013 INNER PRODUCT SPACES

1 9/5 Matrices, vectors, and their applications

ANSWERS. E k E 2 E 1 A = B

x 3y 2z = 6 1.2) 2x 4y 3z = 8 3x + 6y + 8z = 5 x + 3y 2z + 5t = 4 1.5) 2x + 8y z + 9t = 9 3x + 5y 12z + 17t = 7

Transcription:

Applied Linear Algebra in Geoscience Using MATLAB

Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional Plots Programming in MATLAB User-Defined Functions and Function Files Polynomials, Curve Fitting, and Interpolation Applications in Numerical Analysis Three-Dimensional Plots Symbolic Math Matrices Linear equations Determinants Eigenvalues and eigenvectors Orthogonal vectors and matrices Vector and matrix norms Gaussian elimination and the LU dec. Linear system applications Gram-Schmidt decomposition The singular value decomposition Least-squares problems Linear Independence Basis of a Subspace The Rank of a Matrix Implementing the QR factorization The algebraic eigenvalue problem

Orthogonal Vectors and Matrices In three-dimensional space, points are defined as ordered triples of real numbers and the distance between points (e.g. P 1 and P 2 ) is defined by Directed line segments of P 1 P 2 are introduced as three-dimensional column vectors If P is a point, we let P =OP and call P the position vector of P, where O is the origin.

Geometrical interpretations There are geometrical interpretations of equality, addition, subtraction, and scalar multiplication of vector Equality of vectors: Suppose A, B, C, D are distinct points such that no three are collinear. Then if and only if

The Inner Product Inner product defines vector length, orthonormal bases, the L 2 matrix norm, projections, and Householder reflections., y = Given these two vectors in R n, we define the inner product of x and y, written <x, y> to be the real number or In many books, the notation x y to refers to the inner product, and it is called the dot product. The inner product has the following properties:

Geometrical interpretations The notation u 2 will be used to specify the length of vector u Note that the length of each side is the length of the vector forming that side. The law of cosines tells us that This formula is usually used to determine the angle between two vectors, not to compute the inner product.

Geometrical interpretations Determine the angle between Another application of the inner product is to determine whether two vectors are perpendicular or parallel. Vectors u and v are perpendicular, when the angle θ between them is π/2. Vectors u and v are parallel when the angle between them is either 0 radians (pointing in the same direction) or π radians (pointing in opposite directions) Determine if the following vectors are parallel, perpendicular, or neither.

Orthogonal Matrices Orthogonal matrices are the most beautiful of all matrices Many tools in numerical linear algebra involve orthogonal matrices, such as the QR decomposition and the singular value decomposition (SVD) An n n matrix P is orthogonal if P T =P -1 is orthogonal, since Now, take a look at the columns of P so each column has length 1 (unit vector) Take the inner product of columns 1 and 2 A set of orthogonal vectors, each with unit length, are said to be orthonormal.

Geometrical interpretations The P (n n matrix) is an orthogonal matrix if and only if the columns of P are orthogonal and have unit length. Orthogonal matrices have other interesting properties. Among them is the fact the their determinant is always ±1. If A is a real symmetric matrix, then any two eigenvectors (corresponding to distinct eigenvalues) are orthogonal. The three eigenvectors are mutually orthogonal, and you also should note that the eigenvectors are linearly independent As a result, the matrix X is invertible. A is diagonalizable.

Geometrical interpretations Let s go one step further and build a matrix, P, whose columns are those of X converted to a unit vector Do this by dividing each column vector by its length. P is an orthogonal matrix Compute the P T AP and you will again get D. Thus, A is diagonalizable using an orthogonal matrix.

The L 2 Inner Product If functions f(t) and g(t) are continuous on the interval a t b, the L 2 inner product is Example

Cauchy-Schwarz The Cauchy-Schwarz inequality is one of the most widely used inequalities in mathematics. This occurs when u and v are parallel, or when v = cu for some scalar multiple c. For any n-dimensional vectors u and v, and equality occurs if and only if v = cu. Recall in high school geometry you were told that the sum of the lengths of two sides of a triangle is greater than the third side. This is an instance of the triangle inequality that follows by using the Cauchy-Schwarz inequality: