Midterm for Introduction to Numerical Analysis I, AMSC/CMSC 466, on 10/29/2015

Similar documents
1 Inner Product and Orthogonality

22m:033 Notes: 7.1 Diagonalization of Symmetric Matrices

1 Last time: least-squares problems

DIAGONALIZATION. In order to see the implications of this definition, let us consider the following example Example 1. Consider the matrix

I. Multiple Choice Questions (Answer any eight)

A = 3 1. We conclude that the algebraic multiplicity of the eigenvalues are both one, that is,

j=1 u 1jv 1j. 1/ 2 Lemma 1. An orthogonal set of vectors must be linearly independent.

Elementary Linear Algebra

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

9.1 Eigenvectors and Eigenvalues of a Linear Map

Recall : Eigenvalues and Eigenvectors

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

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

Solution of Linear Equations


a 11 a 12 a 11 a 12 a 13 a 21 a 22 a 23 . a 31 a 32 a 33 a 12 a 21 a 23 a 31 a = = = = 12

Cayley-Hamilton Theorem

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Exercise Set 7.2. Skills

MAT Linear Algebra Collection of sample exams

Linear Algebra Practice Problems

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

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

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

Math 315: Linear Algebra Solutions to Assignment 7

MTH 5102 Linear Algebra Practice Final Exam April 26, 2016

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

MATH 235. Final ANSWERS May 5, 2015

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

The Singular Value Decomposition

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

Math 108b: Notes on the Spectral Theorem

(b) If a multiple of one row of A is added to another row to produce B then det(b) =det(a).

(a) II and III (b) I (c) I and III (d) I and II and III (e) None are true.

Diagonalization of Matrix

MATH 221, Spring Homework 10 Solutions

Foundations of Matrix Analysis

Applied Linear Algebra in Geoscience Using MATLAB

Worksheet for Lecture 25 Section 6.4 Gram-Schmidt Process

Quantum Computing Lecture 2. Review of Linear Algebra

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

A Brief Outline of Math 355

Check that your exam contains 30 multiple-choice questions, numbered sequentially.

Lecture 8 : Eigenvalues and Eigenvectors

Agenda: Understand the action of A by seeing how it acts on eigenvectors.

Solutions to Final Exam

Math 24 Spring 2012 Sample Homework Solutions Week 8

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

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Mobile Robotics 1. A Compact Course on Linear Algebra. Giorgio Grisetti

LINEAR ALGEBRA BOOT CAMP WEEK 4: THE SPECTRAL THEOREM

CS 323: Numerical Analysis and Computing

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

MATH 1553-C MIDTERM EXAMINATION 3

Announcements Monday, November 06

Fall TMA4145 Linear Methods. Exercise set Given the matrix 1 2

Gaussian Elimination without/with Pivoting and Cholesky Decomposition

Review problems for MA 54, Fall 2004.

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you.

Problem # Max points possible Actual score Total 120

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

EK102 Linear Algebra PRACTICE PROBLEMS for Final Exam Spring 2016

MATH 423 Linear Algebra II Lecture 33: Diagonalization of normal operators.

Final A. Problem Points Score Total 100. Math115A Nadja Hempel 03/23/2017

Lecture 15, 16: Diagonalization

Algebra II. Paulius Drungilas and Jonas Jankauskas

LINEAR ALGEBRA SUMMARY SHEET.

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

1 Solutions to selected problems

5.3.5 The eigenvalues are 3, 2, 3 (i.e., the diagonal entries of D) with corresponding eigenvalues. Null(A 3I) = Null( ), 0 0

EXERCISES ON DETERMINANTS, EIGENVALUES AND EIGENVECTORS. 1. Determinants

There are six more problems on the next two pages

4. Linear transformations as a vector space 17

Linear Algebra- Final Exam Review

INTRODUCTION TO LIE ALGEBRAS. LECTURE 2.

CS 246 Review of Linear Algebra 01/17/19

Online Exercises for Linear Algebra XM511

HW3 - Due 02/06. Each answer must be mathematically justified. Don t forget your name. 1 2, A = 2 2

COMP 558 lecture 18 Nov. 15, 2010

Econ Slides from Lecture 7

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

Here each term has degree 2 (the sum of exponents is 2 for all summands). A quadratic form of three variables looks as

EIGENVALUES AND EIGENVECTORS 3

1. Select the unique answer (choice) for each problem. Write only the answer.

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

Chapter 3. Determinants and Eigenvalues

Lecture 3: QR-Factorization

Mathematical Foundations

MAC Module 12 Eigenvalues and Eigenvectors. Learning Objectives. Upon completing this module, you should be able to:

MAC Module 12 Eigenvalues and Eigenvectors

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

Third Midterm Exam Name: Practice Problems November 11, Find a basis for the subspace spanned by the following vectors.

Math 4242 Fall 2016 (Darij Grinberg): homework set 8 due: Wed, 14 Dec b a. Here is the algorithm for diagonalizing a matrix we did in class:

SUMMARY OF MATH 1600

MATH 369 Linear Algebra

Cheat Sheet for MATH461

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

235 Final exam review questions

Math 250B Midterm II Information Spring 2019 SOLUTIONS TO PRACTICE PROBLEMS

Transcription:

Midterm for Introduction to Numerical Analysis I, AMSC/CMSC 466, on 10/29/2015 The test lasts 1 hour and 15 minutes. No documents are allowed. The use of a calculator, cell phone or other equivalent electronic device is not allowed. There are four exercises and 7 pages. Exercise 1. Give the LU decomposition of 1 4 4 A = 2 7 8. 1 5 6 Solution. Applying Gaussian elimination, one obtains 1 0 0 1 4 4 L = 2 1 0, U = 0 1 0. 1 1 1 0 0 2 1

Exercise 2. Let A be an upper triangular matrix of size N. How many multiplications/divisions are needed to solve Ax = y? Solution. Starting from the last row, one has x N = y N /A NN which requires 1 division. At row number i, one has x i = (y i N j=i+1 A ij x j )/A ii, that is 1 division and N i multiplications. This gives for all rows N divisions and N i=1 (N i) = N 1 k=0 k = N (N 1)/2 multiplications for a total of N 2 /2 + N/2. 2

Exercise 3. We wish to use Newton s method to find a root to 1. Prove that f has exactly one root. f(x) = x sin(x). Solution. First of all obviously f(0) = 0 so there is at least one root. Then f (x) = 1 cos x so f (x) 0 for all x and cannot vanish on an interval. Therefore f is strictly increasing and there is exactly 1 root. 2. Recall what Newton s method consists in. Solution. Newton s method consists in calculating a recursive sequence of approximations given by the following formula for a given starting point x 0. x n+1 = x n f(x n) f (x n ), 3

3. We define N f = x f(x). Calculate N f (x) f (x) and prove that it is continuous on R with N f (0) = 2. 3 Solution. N f is obviously well defined around 0 except at x = 0 since f (0) = 0. On the other hand, recalling that sin x = x x 3 /6 + O(x 5 ) and cos x = 1 x 2 /2 + O(x 4 ), one has that as x 0 N f (x) N f (0) x 0 = 1 x sin x x (1 cos x) = 1 x x + x3 /6 + O(x 5 ) x 3 /2 + O(x 5 ) = 1 x3 /6 + O(x 5 ) x 3 /2 + O(x 5 ) 1 2 6 = 2 3, proving that N f is differentiable at 0 with N f (0) = 2/3. 4. Deduce that there exists ε > 0 s.t. if x 0 < ε then the sequence defined by x k+1 = N f (x k ) converges to 0. Solution. We have just proved that N f is C 1 with N f (0) = 0 and N f (0) < 1. A theorem from class then implies that 0 is a stable point and that the sequence x k converges to 0 provided that x 0 is close enough. 4

5. What is the order of convergence? Solution. As N f (0) < 1 and N f (0) 0, the same result from class implies that the method is linear, order of convergence 1. This can also be recovered by calculating x k+1 x k = N f(x k ) x k = N f(x k ) 0 x k 0 N f(0) = 2/3. 5

Exercise 4 Consider A M N (R). 1. Assume that u is an eigenvector of A T A, i.e. A T A u = λu. Show that A u is an eigenvector of A A T if A u 0. Solution. One has that A T A u = λ u and so multiplying by A on the left of the equality A A T A u = A A T (A u) = λ A u. This proves that A u is an eigenvector provided that it is different from 0 of course. 2. Deduce that A T A and A A T have the same eigenvalues if A is invertible. What could happen if A is not invertible? Solution. As a symmetric matrix, A T A is diagonalizable in an orthonormal basis e 1... e N with corresponding eigenvalues λ 1... λ N. If A is invertible then A e 1,..., A e N is also a basis giving N eigenvectors for A A T with the same eigenvalues. Hence A A T and A T A have the same eigenvalues. If A is not invertible then one can still diagonalize A T A on e 1... e N. A e i will be an eigenvector for A A T unless A e i = 0 which means A T A e i = 0 and so λ i = 0. Let us thus separate the eigenvectors and eigenvalues of A T A: Assume that e 1... e k correspond to the null space of A T A while e k+1... e N all have eigenvalues λ i 0. Now A e k+1... A e N are linearly independent; otherwise for some linear combination u, one would have A u = 0 which implies A T A u = 0 whereas u cannot belong to the null space of A T A (it is a linear combination of independent vectors orthogonal to the null space). Consequently A A T also has at least N k eigenvectors with non 0 eigenvalues. On the other hand, one can make the same argument by diagonalizing A A T and using A T instead of A. Therefore A A T and A T A have exactly the same non 0 eigenvalues (with the same multiplicity). Since they both must have N eigenvalues in total, they actually still have the same spectrum. 6

3. Assume that A is diagonalizable and invertible and denote by λ M the largest eigenvalues of A in absolute value. Prove that A 2 λ M, and deduce that the largest eigenvalue of A T A is larger than λ 2 M. Give an example where A 2 > λ 2 M. Solution. Denote by u the eigenvector associated with λ M and observe that A 2 = max x 0 A x 2 x 2 A u 2 u 2 λ M. Now denote by Λ the largest eigenvalue of A T A. We have seen in class that A 2 = Λ which implies that Λ λ 2 M. Finally it is sometimes possible to have a strict inequality. Take for example [ ] 1 1 A =, 0 1 with hence λ M = 1. But then [ ] 1 0 A T =, A T A = 1 1 [ ] 1 1, 1 2 with characteristic polynomial (1 λ)(2 λ) 1 = λ 2 3λ + 1 with Λ = (3 + 5)/2 > 1. 7