Announcements Tuesday, April 17

Similar documents
Announcements Monday, November 13

Announcements Monday, November 06

Announcements Monday, November 20

Announcements September 19

Announcements Wednesday, November 01

Announcements Monday, November 13

Math Matrix Algebra

Announcements Wednesday, November 01

Announcements Monday, September 18

Announcements: Nov 10

Announcements Monday, October 29

ICS 6N Computational Linear Algebra Symmetric Matrices and Orthogonal Diagonalization

Announcements Monday, November 26

Announcements Wednesday, November 7

Lecture 15, 16: Diagonalization

Announcements Monday, November 26

Announcements Wednesday, November 7

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

Math 2802 Applications of Linear Algebra. School of Mathematics Georgia Institute of Technology

A A x i x j i j (i, j) (j, i) Let. Compute the value of for and

MAT 1302B Mathematical Methods II

Math 410 Linear Algebra Summer Session American River College

Announcements Wednesday, August 30

MATH 1553-C MIDTERM EXAMINATION 3

Announcements August 31

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

Quadratic forms. Here. Thus symmetric matrices are diagonalizable, and the diagonalization can be performed by means of an orthogonal matrix.

Announcements Wednesday, September 20

Recall : Eigenvalues and Eigenvectors

How does a calculator compute 2?

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

Announcements Wednesday, August 30

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

Announcements Monday, September 17

Math 200 A and B: Linear Algebra Spring Term 2007 Course Description

Econ Slides from Lecture 7

80 min. 65 points in total. The raw score will be normalized according to the course policy to count into the final score.

235 Final exam review questions

Math 1553 Introduction to Linear Algebra. School of Mathematics Georgia Institute of Technology

MATH 221, Spring Homework 10 Solutions

7. Symmetric Matrices and Quadratic Forms

Math Linear Algebra Spring Term 2014 Course Description

MATH. 20F SAMPLE FINAL (WINTER 2010)

Announcements Wednesday, November 15

Math 462: Homework 2 Solutions

Econ Slides from Lecture 8

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

MATH 1553, C. JANKOWSKI MIDTERM 3

Math 21b. Review for Final Exam

Solutions to Review Problems for Chapter 6 ( ), 7.1

MATH 5720: Unconstrained Optimization Hung Phan, UMass Lowell September 13, 2018

MAT 211, Spring 2015, Introduction to Linear Algebra.

MATH 220 FINAL EXAMINATION December 13, Name ID # Section #

THE UNIVERSITY OF HONG KONG DEPARTMENT OF MATHEMATICS

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

Today: eigenvalue sensitivity, eigenvalue algorithms Reminder: midterm starts today

Math Matrix Algebra

From Lay, 5.4. If we always treat a matrix as defining a linear transformation, what role does diagonalisation play?

Announcements Monday, September 25

Math 205 A B Final Exam page 1 12/12/2012 Name

Math 308 Practice Final Exam Page and vector y =

1. Background: The SVD and the best basis (questions selected from Ch. 6- Can you fill in the exercises?)

Math 200D - Linear Algebra Fall Term 2017 Course Description

Math 224, Fall 2007 Exam 3 Thursday, December 6, 2007

CENTRAL TEXAS COLLEGE SYLLABUS FOR MATH 2318 Linear Algebra. Semester Hours Credit: 3

MAT188H1S LINEAR ALGEBRA: Course Information as of February 2, Calendar Description:

Eigenvalues, Eigenvectors, and Diagonalization

Lecture 6, Sci. Comp. for DPhil Students

18.06 Professor Strang Quiz 3 May 2, 2008

Midterm 2 Solutions, MATH 54, Linear Algebra and Differential Equations, Fall 2014

Lecture 3 Eigenvalues and Eigenvectors

Announcements Wednesday, October 25

Problem # Max points possible Actual score Total 120

Transpose & Dot Product

Section Instructors: by now you should be scheduled into one of the following Sections:

Undergraduate Mathematical Economics Lecture 1

MA/OR/ST 706: Nonlinear Programming Midterm Exam Instructor: Dr. Kartik Sivaramakrishnan INSTRUCTIONS

MATH 450: Mathematical statistics

May 9, 2014 MATH 408 MIDTERM EXAM OUTLINE. Sample Questions

March 8, 2010 MATH 408 FINAL EXAM SAMPLE

University of Toronto Solutions to MAT188H1F TERM TEST of Tuesday, October 30, 2012 Duration: 100 minutes

Announcements Wednesday, October 10

Transpose & Dot Product

Chapter 5. Eigenvalues and Eigenvectors

Chapter 3 Transformations

q n. Q T Q = I. Projections Least Squares best fit solution to Ax = b. Gram-Schmidt process for getting an orthonormal basis from any basis.

Math 110 (Fall 2018) Midterm II (Monday October 29, 12:10-1:00)

Final Review Written by Victoria Kala SH 6432u Office Hours R 12:30 1:30pm Last Updated 11/30/2015

MATH 304 Linear Algebra Lecture 33: Bases of eigenvectors. Diagonalization.

CHEMISTRY 3A INTRODUCTION TO CHEMISTRY SPRING

MATH 345 Differential Equations

UNIT 6: The singular value decomposition.

Math 3191 Applied Linear Algebra

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

Archive of past papers, solutions and homeworks for. MATH 224, Linear Algebra 2, Spring 2013, Laurence Barker

Linear Algebra Solutions 1

Chapter 4 & 5: Vector Spaces & Linear Transformations

Announcements Monday, October 02

MA 265 FINAL EXAM Fall 2012

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

Transcription:

Announcements Tuesday, April 17 Please fill out the CIOS form online. It is important for me to get responses from most of the class: I use these for preparing future iterations of this course. If we get an 80% response rate before the final, I ll drop the two lowest quiz grades instead of one. Office hours: Tuesdays-Thursdays 4 5pm, Clough 248 As always, TAs office hours are posted on the website. Math Lab at Clough is also a good place to visit. Grades: All quiz and Midterm s grades are uploaded Participation points will be posted during exam period Optional Assignment: due by email on April 20th (midnight)

Section 7.3 Constrained Optimization

Motivation: How to allocate resources Problem: The government wants to repair w 1 hundred miles of public roads w 2 hundred acres of parks Resources are limited, so cannot work on more than 3 miles of roads or 2 acres of park; general condition is: 4w1 2 + 9w2 2 36 How to allocate resources? Utility function: Considering overall benefits, want to maximize q(w 1, w 2) = w 1w 2. (i.e.do not focus solely on roads nor parks) How would you maximize utility q(w 1, w 2)?

Constrained Optimization Optimization problems Maximize (or minimize) the value of a given function. This a broad and important area, here we only focus on quadratic functions. Example What is the maximum value possible for Q(x) = 3x 2 1 + 3x 2 2? under the constraint x 2 = 1 Q(x) = 3x 2 1 + 7x 2 2? under the constraint x 2 = 1

The constraint in these optimization problems We will keep the restriction that vectors x in R n have unit length; x = 1, x x = 1 x T x = 1 or more commonly used: x 2 1 + x 2 2 + x 2 n. Example Q(x) = 3x1 2 + 7x2 2 Plot this function in 3-dimension as: x 1 x 2 Q(x) The constrained optimization problem Given a quadratic form Q(x), restricted to unit vectors, What is the maximum and minimum values of Q(x), which vectors attain such extremes?

An easy case: no cross-product Example If Q(x) = 3x 2 1 + 7x 2 2, and constraint is x T x = 1. What are the maximum and minimum values of Q(x), which vectors attain such values? The constraint means x 2 1 + x 2 2 = 1, so for any such vector x: Q(x) = 3x1 2 + 7x2 2 7x1 2 + 7x2 2 7(x1 2 + x2 2 ) = 7 ( ) 0 attained by vectors ± 1 Q(x) = 3x1 2 + 7x2 2 3x1 2 + 3x2 2 3(x1 2 + x2 2 ) = 3 ( ) 1 attained by vectors ± 0

Another easy case: no cross-product Example If Q(x) = 2x 2 1 + 4x 2 2 + x 3, and constraint is x T x = 1. What are the maximum and minimum values of Q(x), which vectors attain such values? 2 0 0 The associated matrix is A = 0 4 0 with eigenvalues 1, 2, 4. 0 0 1 0 The maximum value is 4, attained by ± 1 0 0 The minimum value is 1, attained by ± 0 1 Eigenvalues Answer seems: The largest and smallest eigenvalues (and eigenvectors) of A. How does it work in general?

The Constrained Optimization theorem Theorem Let A be a symmetric matrix and Q(x) = x T Ax a quadratic function Maximum: the maximum value of Q(x) subject to x T x = 1 equals the largest eigenvalue M of A. This maximum is attained by an eigenvector of A corresponding to M. Minimum: the minimum value of Q(x) subject to x T x = 1 equals the smallest eigenvalue m of A. This minimum is attained by an eigenvector of A corresponding to m. How to use this information? To find maximum/minimum values of Q(x), under restriction x T x = 1: Find the eigenvalues of A, list them in decreasing order λ 1 λ 2 λ n. Then maximum is M = λ 1 and minimum is m = λ n.

Why it works for all quadratic functions? From Section 7.2 Recall all quadratic functions Q(x) have A symmetric matrix associated A, An orthogonal diagonalization for A = PDP T, Form is equivalent to Q(y) = λ 1y1 2 + λ 2y2 2 + λ nyn 2, under a suitable change of variables x = Py The problem for Q(y): Maximum is largest of λ i s, say λ 1. Then vector attaining maximum is e 1. The problem for Q(x): can use Q(y) because P orthonormal! The maximum is Q(e 1) = Q(Pe 1) = λ 1 attained by Pe 1 (first column of P).

Example Example What is the maximum value of Q(x) = x T Ax subject to x T x = 1, 3 2 1 A = 2 3 1. 1 1 4 For maximum value: compute the characteristic equation of A Then the maximum value is 6. det(a λi ) = 0 = (λ 6)(λ 3)(λ 1). For unit vector attaining Q(x) = 6: Find eigenvector of A corresponding to 6, and normalize it! Get both using a decompostion of A...

Have access to orthogonal diagonalization? Example What is the vector ( attaining ) the maximum value of Q(x) = x T Ax subject to 3 1 x T x = 1, A =. 1 3 If you have the orthogonal diagonalization of A: ( 1/ 2 1/ 2 1/ 2 1/ 2 ) ( 4 0 0 2 ) ( ) 1/ 2 1/ 2 1/ 2 1/ 2 The maximum value is 4 and the vectors ( attaining ) such 1/ 2 value are ± 1/ 2

Poll Poll What is the vector attaining the maximum value of Q(x) = x T Ax subject to x T x = 1 and x T u = 0, when ( ) ( ) 3 1 1/ 2 A =, u = 1 3 1/. 2 A = ( 1/ 2 1/ 2 1/ 2 1/ 2 ) ( 4 0 0 2 ) ( ) 1/ 2 1/ 2 1/ 2 1/ 2 Using orthogonal diagonalization of A: With the new constraint the maximum value is 2 and the vectors ( attaining ) such 1/ 2 value are ± 1/ 2

Additional constraints Other eigenvalues/eigenvectors Let A be a symmetric matrix. Let λ 1, λ 2,... λ n be the eigenvalues of A listed in decreasing order. Let A = PDP T be an orthogonal diagonalization where diagonal entries in D are λ 1, λ 2,..., λ n and columns in P are u 1, u 2,..., u n. The maximum value of x T Ax subject to the constraints x T x = 1 and x T u 1 = 0 is the second largest eigenvalue λ 2, attained by ±u 2. The maximum value of x T Ax subject to the constraints x T x = 1 and x T u 1 = 0, x T u 2 = 0 is the third largest eigenvalue λ 3, attained by ±u 3. Can you see a pattern?

Back to the application: setup problem Problem: The government wants to repair w 1 hundred miles of public roads and w 2 hundred acres of parks. 1. Maximize work done! constrain to 4w 1 + 9w 2= 36 2. Fit to quadratic optimization template (additional change of variables) x 1 = w1 3 x 2 = w2 2, new constraint: x 2 1 + x 2 2 = 1. 3. New utility function: subject to x 2 1 + x 2 2 = 1, maximize Q(x 1, x 2) = (3x 1)(2x 2) = 6x 1x 2.

Back to the application: interpretation The associated matrix A to Q(x 1, x 2) = 6x 1x 2 has orthogonal diagonalization: ( ) 0 3 A = = PDP T ; 3 0 with This means: P = 1 ( ) 1 1, D = 2 1 1 Q(x 1, x 2) is maximized when x 1 = x 2 = 1 2, and the utility function has value 3. Translates to: ( ) 3 0. 0 3 The utility function q(w 1, w 2) is maximized when w 1 = 3 2 and w 2 = 2 2, and the utility function has the same value 3.