1 2 3 1 1 2 x = + x 2 + x 4 1 0 1



Similar documents
Chapter 6. Orthogonality

Similar matrices and Jordan form

LINEAR ALGEBRA. September 23, 2010

[1] Diagonal factorization

1 Introduction to Matrices

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

α = u v. In other words, Orthogonal Projection

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

Linear Algebra Review. Vectors

Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.

by the matrix A results in a vector which is a reflection of the given

x + y + z = 1 2x + 3y + 4z = 0 5x + 6y + 7z = 3

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.

Eigenvalues and Eigenvectors

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

Orthogonal Projections

is in plane V. However, it may be more convenient to introduce a plane coordinate system in V.

LS.6 Solution Matrices

LINEAR ALGEBRA W W L CHEN

Review Jeopardy. Blue vs. Orange. Review Jeopardy

Similarity and Diagonalization. Similar Matrices

Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Lectures notes on orthogonal matrices (with exercises) Linear Algebra II - Spring 2004 by D. Klain

Inner Product Spaces and Orthogonality

DATA ANALYSIS II. Matrix Algorithms

3.2 Sources, Sinks, Saddles, and Spirals

18.06 Problem Set 4 Solution Due Wednesday, 11 March 2009 at 4 pm in Total: 175 points.

MAT 242 Test 3 SOLUTIONS, FORM A

Orthogonal Diagonalization of Symmetric Matrices

Chapter 17. Orthogonal Matrices and Symmetries of Space

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

4.3 Least Squares Approximations

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Applied Linear Algebra

Question 2: How do you solve a matrix equation using the matrix inverse?

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Applied Linear Algebra I Review page 1

SALEM COMMUNITY COLLEGE Carneys Point, New Jersey COURSE SYLLABUS COVER SHEET. Action Taken (Please Check One) New Course Initiated

Recall that two vectors in are perpendicular or orthogonal provided that their dot

The Singular Value Decomposition in Symmetric (Löwdin) Orthogonalization and Data Compression

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 3: Wednesday, Feb 8

Brief Introduction to Vectors and Matrices

Inner product. Definition of inner product

Lecture 5: Singular Value Decomposition SVD (1)

Math 215 HW #6 Solutions

5. Orthogonal matrices

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

Using row reduction to calculate the inverse and the determinant of a square matrix

Examination paper for TMA4115 Matematikk 3

CONTROLLABILITY. Chapter Reachable Set and Controllability. Suppose we have a linear system described by the state equation

Vector Notation: AB represents the vector from point A to point B on a graph. The vector can be computed by B A.

Linear Algebraic Equations, SVD, and the Pseudo-Inverse

1 VECTOR SPACES AND SUBSPACES

Section 5.3. Section 5.3. u m ] l jj. = l jj u j + + l mj u m. v j = [ u 1 u j. l mj

Solving Linear Systems, Continued and The Inverse of a Matrix

9 MATRICES AND TRANSFORMATIONS

Math 312 Homework 1 Solutions

MATH2210 Notebook 1 Fall Semester 2016/ MATH2210 Notebook Solving Systems of Linear Equations... 3

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.

Elasticity Theory Basics

8 Square matrices continued: Determinants

160 CHAPTER 4. VECTOR SPACES

Linear Algebra Notes for Marsden and Tromba Vector Calculus

3. Let A and B be two n n orthogonal matrices. Then prove that AB and BA are both orthogonal matrices. Prove a similar result for unitary matrices.

Section Inner Products and Norms

Kirchhoff's Current Law (KCL)

Introduction to Matrix Algebra

Notes on Symmetric Matrices

Inner Product Spaces

Solutions to Math 51 First Exam January 29, 2015

Data Mining: Algorithms and Applications Matrix Math Review

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

1 Determinants and the Solvability of Linear Systems

APPLICATIONS. are symmetric, but. are not.

Computing Orthonormal Sets in 2D, 3D, and 4D

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

6. Cholesky factorization

More than you wanted to know about quadratic forms

Physics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus

Name: Section Registered In:

Vector Math Computer Graphics Scott D. Anderson

ISOMETRIES OF R n KEITH CONRAD

5.3 The Cross Product in R 3

Lecture 14: Section 3.3

( ) which must be a vector

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = i.

3. INNER PRODUCT SPACES

The Determinant: a Means to Calculate Volume

Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University

Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

Lecture 1: Schur s Unitary Triangularization Theorem

Dimensionality Reduction: Principal Components Analysis

MATH1231 Algebra, 2015 Chapter 7: Linear maps

1 Sets and Set Notation.

Transcription:

(d) If the vector b is the sum of the four columns of A, write down the complete solution to Ax = b. 1 2 3 1 1 2 x = + x 2 + x 4 1 0 0 1 0 1

2. (11 points) This problem finds the curve y = C + D 2 t which gives the best least squares fit to the points (t, y) = (0, 6), (1, 4), (2, 0). (a) Write down the 3 equations that would be satisfied if the curve went through all 3 points. C + 1D = 6 C + 2D = 4 C + 4D = 0 (b) Find the coefficients C and D of the best curve y = C + D2 t. 1 1 1 1 1 3 7 A T A = 1 2 = 1 2 4 7 21 1 4 6 1 1 1 10 A T b = 4 = 1 2 4 14 0 Solve A T Axˆ = A T b : 3 7 C 10 C 1 21 7 10 8 = gives = =. 7 21 D 14 D 14 7 3 14 2 (c) What values should y have at times t = 0, 1, 2 so that the best curve is y = 0? The projection is p = (0, 0, 0) if A T b = 0. In this case, b = values of y = c(2, 3, 1).

3. (11 points) Suppose Av i = b i for the vectors v 1,..., v n and b 1,..., b n in R n. Put the v s into the columns of V and put the b s into the columns of B. (a) Write those equations Av i = b i in matrix form. What condition on which vectors allows A to be determined uniquely? Assuming this condition, find A from V and B. A [v 1 v n ] = [b 1 b n ] or AV = B. Then A = BV 1 if the v s are independent. (b) Describe the column space of that matrix A in terms of the given vectors. The column space of A consists of all linear combinations of b 1,, b n. (c) What additional condition on which vectors makes A an invertible matrix? Assuming this, find A 1 from V and B. If the b s are independent, then B is invertible and A 1 = V B 1.

4. (11 points) (a) Suppose x k is the fraction of MIT students who prefer calculus to linear algebra at year k. The remaining fraction y k = 1 x k prefers linear algebra. At year k + 1, 1/5 of those who prefer calculus change their mind (possibly after taking 18.03). Also at year k + 1, 1/10 of those who prefer linear algebra change their mind (possibly because of this exam). x k+1 x k 1 Create the matrix A to give = A and find the limit of A k as k. y k+1 y k 0.8 A =.2.1.9. 1/3 The eigenvector with = 1 is. 2/3 1 This is the steady state starting from. 0 2 of all students prefer linear algebra! I agree. 3 (b) Solve these differential equations, starting from x(0) = 1, y(0) = 0 : dx dt = 3x 4y dy dt = 2x 3y. 3 A = 2 4 3. has eigenvalues 1 = 1 and 2 = 1 with eigenvectors x 1 = (2, 1) and x 2 = (1, 1). The initial vector (x(0), y(0)) = (1, 0) is x 1 x 2. So the solution is (x(t), y(t)) = e t (2, 1) + e t (1, 1).

x(0) x(t) (c) For what initial conditions does the solution to this differential equation y(0) y(t) lie on a single straight line in R 2 for all t? If the initial conditions are a multiple of either eigenvector (2, 1) or (1, 1), the solution is at all times a multiple of that eigenvector.

5. (11 points) (a) Consider a 120 rotation around the axis x = y = z. Show that the vector i = (1, 0, 0) is rotated to the vector j = (0, 1, 0). (Similarly j is rotated to k = (0, 0, 1) and k is rotated to i.) How is j i related to the vector (1, 1, 1) along the axis? 1 j i = 1 0 1 is orthogonal to the axis vector 1. 1 So are k j and i k. By symmetry the rotation takes i to j, j to k, k to i. (b) Find the matrix A that produces this rotation (so Av is the rotation of v). Explain why A 3 = I. What are the eigenvalues of A? A 3 = I because this is three 120 rotations (so 360 ). The eigenvalues satisfy 3 = 1 so = 1, e 2 i/3, e 2 i/3 = e 4 i/3. (c) If a 3 by 3 matrix P projects every vector onto the plane x+2y+z = 0, find three eigenvalues and three independent eigenvectors of P. No need to compute P. The plane is perpendicular to the vector (1, 2, 1). This is an eigenvector of P with = 0. The vectors ( 2, 1, 0) and (1, 1, 1) are eigenvectors with = 0.

6. (11 points) This problem is about the matrix 1 2 A = 2 4. 3 6 (a) Find the eigenvalues of A T A and also of AA T. For both matrices find a complete set of orthonormal eigenvectors. A T A = 1 2 2 4 3 6 1 2 3 2 4 6 = 14 28 28 56 1 1 1 2 has 1 = 70 and 2 = 0 with eigenvectors x 1 = and x 2 =. 5 2 5 1 1 2 5 10 15 1 2 3 AA T = 2 4 = 10 20 30 has 1 = 70, 2 = 0, 3 = 0 with 2 4 6 3 6 15 30 45 1 2 3 1 1 1 x 1 = 2 and x 2 = 1 and x 3 = 6. 14 3 5 0 70 5 (b) If you apply the Gram-Schmidt process (orthonormalization) to the columns of this matrix A, what is the resulting output? Gram-Schmidt will find the unit vector 1 1 q 1 = 2. 14 3 But the construction of q 2 fails because column 2 = 2 (column 1).

(c) If A is any m by n matrix with m > n, tell me why AA T cannot be positive definite. Is A T A always positive definite? (If not, what is the test on A?) Answer AA T is m by m but its rank is not greater than n (all columns of AA T are combinations of columns of A). Since n < m, AA T is singular. A T A is positive definite if A has full colum rank n. (Not always true, A can even be a zero matrix.)

7. (11 points) This problem is to find the determinants of 1 1 1 1 0 1 1 1 x 1 1 1 A = 1 1 1 1 1 1 1 0 B = 1 1 1 1 1 1 1 0 C = 1 1 1 1 1 1 1 0 1 1 0 0 1 1 0 0 1 1 0 0 (a) Find det A and give a reason. det A = 0 because two rows are equal. (b) Find the cofactor C 11 and then find det B. This is the volume of what region in R 4? The cofactor C 11 = 1. Then det B = det A C 11 = 1. This is the volume of a box in R 4 with edges = rows of B. (c) Find det C for any value of x. You could use linearity in row 1. det C = xc 11 + det B = x + 1. Check this answer (zero), for x = 1 when C = A.

8. (11 points) (a) When A is similar to B = M 1 AM, prove this statement: If A k 0 when k, then also B k 0. A and B have the same eigenvalues. If A k 0 then all < 1. Therefore B k 0. (b) Suppose S is a fixed invertible 3 by 3 matrix. This question is about all the matrices A that are diagonalized by S, so that S 1 AS is diagonal. Show that these matrices A form a subspace of 3 by 3 matrix space. (Test the requirements for a subspace.) If A 1 and A 2 are in the space, they are diagonalized by S. Then S 1 (ca 1 + da 2 )S is diagonal + diagonal = diagonal. (c) Give a basis for the space of 3 by 3 diagonal matrices. Find a basis for the space in part (b) all the matrices A that are diagonalized by S. A basis for the diagonal matrices is 1 0 0 D 1 = 0 D 2 = 1 D 3 = 0 0 0 1 Then SD 1 S 1, SD 2 S 1, SD 3 S 1 are all diagonalized by S: a basis for the subspace.

(b) Compute the matrix A T A. What is its rank? What is its nullspace? 3 1 1 1 A T A = 1 3 1 1 1 1 3 1 1 1 1 3 has rank 3 like A. The nullspace is the line through (1, 1, 1, 1). (c) Suppose v 1 = 1 and v 4 = 0. If each edge contains a unit resistor, the currents (w 1, w 2, w 3, w 4, w 5, w 6 ) on the 6 edges will be w = Av by Ohm s Law. Then Kirchhoff s Current Law (flow in = flow out at every node) gives A T w = 0 which means A T Av = 0. Solve A T Av = 0 for the unknown voltages v 2 and v 3. Find all 6 currents w 1 to w 6. How much current enters node 4? Note: As stated there is no solution (my apologies!). All solutions to A T Av = 0 are multiples of (1, 1, 1, 1) which rules out v 1 = 1 and v 4 = 0. Intended problem: I meant to solve the reduced equations using KCL only at nodes 2 and 3. In fact symmetry gives v 2 = v 3 = 1. Then the currents are w 2 1 = w 2 = w 5 = 1 1 w 6 = 2 around the sides and w 3 = 1 and w 4 = 0 (symmetry). So w 3 + w 5 + w 6 = 2 is the total current into node 4.

MIT OpenCourseWare http://ocw.mit.edu 18.06 Linear Algebra Spring 2010 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.