Linear Algebra Solutions 1

Similar documents
Linear Algebra: Linear Systems and Matrices - Quadratic Forms and Deniteness - Eigenvalues and Markov Chains

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Math Camp Notes: Linear Algebra II

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra Practice Final

3 (Maths) Linear Algebra

CS 246 Review of Linear Algebra 01/17/19

Elementary maths for GMT

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

Math Matrix Algebra

Review problems for MA 54, Fall 2004.

Fundamentals of Engineering Analysis (650163)

HW2 - Due 01/30. Each answer must be mathematically justified. Don t forget your name.

Math Linear Algebra Final Exam Review Sheet

Math Camp Notes: Linear Algebra I

spring, math 204 (mitchell) list of theorems 1 Linear Systems Linear Transformations Matrix Algebra

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

MATH 1553-C MIDTERM EXAMINATION 3

MATH 1553, C. JANKOWSKI MIDTERM 3

Topic 15 Notes Jeremy Orloff

This operation is - associative A + (B + C) = (A + B) + C; - commutative A + B = B + A; - has a neutral element O + A = A, here O is the null matrix

Functions of Several Variables

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

Linear Algebra Review. Vectors

Linear Algebra Primer

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

Chapter 3. Determinants and Eigenvalues

Math 2J Lecture 16-11/02/12

MATH 1553 PRACTICE MIDTERM 3 (VERSION B)

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

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

Appendix A: Matrices

EK102 Linear Algebra PRACTICE PROBLEMS for Final Exam Spring 2016

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

II. Determinant Functions

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

Introduction to Quantitative Techniques for MSc Programmes SCHOOL OF ECONOMICS, MATHEMATICS AND STATISTICS MALET STREET LONDON WC1E 7HX

MATH 2030: EIGENVALUES AND EIGENVECTORS

I = i 0,

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

Topic 1: Matrix diagonalization

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.

Problem # Max points possible Actual score Total 120

= main diagonal, in the order in which their corresponding eigenvectors appear as columns of E.

Linear Algebra Practice Problems

Linear Algebra 1 Exam 1 Solutions 6/12/3

Review of Basic Concepts in Linear Algebra

Math 1553, Introduction to Linear Algebra

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

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

1 Determinants. 1.1 Determinant

Columbus State Community College Mathematics Department Public Syllabus

Linear Algebra Primer

1. In this problem, if the statement is always true, circle T; otherwise, circle F.

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

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

Lecture 1 Review: Linear models have the form (in matrix notation) Y = Xβ + ε,

235 Final exam review questions

Econ 204 Supplement to Section 3.6 Diagonalization and Quadratic Forms. 1 Diagonalization and Change of Basis

Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes.

Math113: Linear Algebra. Beifang Chen

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Matrix Arithmetic. j=1

Matrices A brief introduction

18.06SC Final Exam Solutions

Math 489AB Exercises for Chapter 1 Fall Section 1.0

Recall : Eigenvalues and Eigenvectors

Matrix Representation

22m:033 Notes: 7.1 Diagonalization of Symmetric Matrices

Math 315: Linear Algebra Solutions to Assignment 7

Invertible Matrices over Idempotent Semirings

Math/CS 466/666: Homework Solutions for Chapter 3

Introduction to Matrix Algebra

Lecture Notes in Linear Algebra

Knowledge Discovery and Data Mining 1 (VO) ( )

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

Linear Algebra: Characteristic Value Problem

Properties of Matrices and Operations on Matrices

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

Math 240 Calculus III

Final Exam Practice Problems Answers Math 24 Winter 2012

Diagonalization. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

18.600: Lecture 32 Markov Chains

1 Matrices and Systems of Linear Equations. a 1n a 2n

Math 1060 Linear Algebra Homework Exercises 1 1. Find the complete solutions (if any!) to each of the following systems of simultaneous equations:

1 Last time: least-squares problems

JUST THE MATHS UNIT NUMBER 9.8. MATRICES 8 (Characteristic properties) & (Similarity transformations) A.J.Hobson

Math 314H Solutions to Homework # 3

Chapter 3 Transformations

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p

Solution: a) Let us consider the matrix form of the system, focusing on the augmented matrix: 0 k k + 1. k 2 1 = 0. k = 1

1 Inner Product and Orthogonality

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

In Class Peer Review Assignment 2

Linear Algebra in Actuarial Science: Slides to the lecture

Review of Vectors and Matrices

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

TMA Calculus 3. Lecture 21, April 3. Toke Meier Carlsen Norwegian University of Science and Technology Spring 2013

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

Linear Algebra and Matrix Inversion

Transcription:

Math Camp 1 Do the following: Linear Algebra Solutions 1 1. Let A = and B = 3 8 5 A B = 3 5 9 A + B = 9 11 14 4 AB = 69 3 16 BA = 1 4 ( 1 3. Let v = and u = 5 uv = 13 u v = 13 v u = 13 Math Camp 1 ( 7 6 3. Find A B, A + B, AB, and BA.. Find u v, u v and v u. 3. Prove that the multiplication of any matrix with its transpose yields a symmetric matrix The i, j th element of AA T, where A is m n = n k=1 = n k=1 (a ika jk = n k=1 (a jka ik The j, i th element of AA T is n k=1 = n k=1 (a jka T ki = n k=1 (a jka ik Therefore (AA T i,j = (AA T j,i, therefore A is symmetric. QED. 4. Prove that A only has an inverse if it is a square matrix. Suppose, by contradiction that A is m n and there exists A 1, where m n. If B is an inverse of A, then AB = I m m therefore B has to have m rows. But also it would be the case that BA = I n n therefore B has to have n columns, contradiction. 5. Prove the first four properties of transpose matrices above. The definition of the transpose of a matrix is given by A is a matrix such that for each element of A, a i,j = a j,i (a (A = A. Let B = A, we want to prove that B = A. By the definition of the transpose we have that b i,j = a j,i. Using the definition of the transpose again we have that B, b i,j = b j,i = a i,j. QED. 1 If you find any typo please email me: Maria_Jose_Boccardi@Brown.edu

Linear Algebra Solutions (b (A + B = A + B. The element i, j th of the matrix A + B is given by a i,j + b i,j, therefore the element i, j th of (A + B is given by a i,j + b i,j = a j,i + b j,i where a j,i and b j,i are the elements i, j th of the matrices A and N respectively. (c (αa = αa. Let B = αa, by the definition of the transpose we know that (αa = (b i,j = b j,i = αa j,i = α(a i,j (d (AB = B A. (AB i,j = (AB j,i = n a jk b ki = k=1 n a kjb ik = k=1 n b ika kj = (B A ij 6. In econometrics, we deal with a matrix called the projections matrix: A = I X (X X 1 X. Must A be square? Must X X be square? Must X be square? A has to be square, X X has to be square, X does not have to be square. 7. Show that the projection matrix in 6 is idempotent. We need to show that AA = A and A T = A. k=1 AA = (I X (X X 1 X (I X (X X 1 X = I X (X X 1 X X (X X 1 X + X (X X 1 X X (X X 1 X = I X (X X 1 X = A A = (I X (X X 1 X = I (X (X X 1 X = I X (X (X X 1 ( = I X (X X 1 X = I X (X X 1 X 8. Calculate the determinants of the following matrices: 1 (a =1 1 1 3 4 (b =-1 4 5 3 4 (c = 4 6

Math Camp 3 (d (e (f (g 4 = 4 8 1 4 5 =-5 5 6 1 1 1 1 1 3 5 3 4 5 6 = =65 9. Evaluate the following determinants: 1 1 4 (a 8 11 4 7 =157 1 9 (b 3 4 6 1 6 1 =38 5 8 1 1. Find the inverse of the matrix 1 1 1 1 1 1 1 1 1 Therefore A 1 = 1 11. Prove that for a 3 3 matrix, one may find the determinant by a cofactor expansion along any row or column in the matrix. Just do the calculations and prove that all the formulas are the same. 1. Determine the ranks of the matrices below. How many linearly independent rows are in each? Which have inverses? 1 (a 1 1 Rank = and it is invertible since the determinant is different from zero. 3 4 (b 4 5 Rank = and it is invertible since the determinant is different from zero. 3 4 (c 4 6 Rank = and it is invertible since the determinant is different from zero.

4 Linear Algebra Solutions (d ( 4 4 8 Rank =1 and it is not invertible since the determinant is zero. (e 1 4 5 5 6 Rank =3 and it is invertible since the determinant is different from zero. 1 1 (f 1 1 (g Quadratic forms Rank = and it is not invertible since the determinant is zero. LD 1 3 5 3 4 5 6 Rank =4 and it is invertible since the determinant is different from zero. (Column and 3 are 1. Express the quadratic form as a matrix product involving a symmetric coefficient matrix. (a Q = 8x 1 x x 1 31x ( 1 4 4 31 (b Q = 3x 1 x 1 x + 4x 1 x 3 + 5x + 4x 3 x x 3 3 1 1 5 1 1 4. List all the principal minors of the 4 4 matrix A = a 11 a 1 a 13 a 14 a 1 a a 3 a 4 a 31 a 3 a 33 a 34 a 41 a 4 a 43 a 44 First order principal minors: a 11, a, a 33 and a 44. Second order principal minors: a11 a 1 a 1 a a33 a 34 a 43 a 44 a a 4 a 4 a 44

Math Camp 5 The third order principal minors are: The fourth order principal minor is A 3. Prove that: a11 a 14 a 41 a 44 ( a a 3 a 3 a 33 a11 a 13 a 31 a 33 a a 3 a 4 a 3 a 33 a 34 a 4 a 43 a 44 a 11 a 13 a 14 a 31 a 33 a 34 a 41 a 43 a 44 a 11 a 1 a 14 a 1 a a 4 a 41 a 4 a 44 a 11 a 1 a 13 a 1 a a 3 a 31 a 3 a 33 (a Every diagonal matrix whose diagonal elements are all positive is positive definite. If every element in the diagonal in a diagonal matrix are positive then we have that for all x x Ax = n a ii x i > (b Every diagonal matrix whose diagonal elements are all negative is negative definite. Same argument as before i=1 (c Every diagonal matrix whose diagonal elements are all positive or zero is positive semidefinite. Same argument as before (d Every diagonal matrix whose diagonal elements are all negative or zero is negative semidefinite. Same argument as before. (e All other diagonal matrices are indefinite. 4. Determine the definiteness of the following matrices:

6 Linear Algebra Solutions (a ( 1 1 1 Positive definite 3 4 (b 4 5 Indefinite 3 4 (c 4 6 negative definite 4 (d 4 8 Positive semidefinite 1 (e 4 5 5 6 indefinite 1 1 (f 1 1 (g negative semidefinite 1 3 5 3 4 5 6 indefinite 1. Find the eigenvalues and the corresponding eigenvectors for the following matrices: (a ( 3 8 1 λ 1 = 1 and the associated eigenvector is v 1 = (, 1 (b (c λ = 3 and the associated eigenvector is v = (3, 1 9 4 λ 1 = 4 and the associated eigenvector is v 1 = ( 3, 1 3 4 λ 1 = 3 and the associated eigenvector is v 1 = ( 1 3, 1 λ = 3 and the associated eigenvector is v = ( 1 3, 1 7 (d 1 It has not real eigenvalues, the complex are: λ 1, = ± 3i

Math Camp 7 (e (f ( λ 1 = and the associated eigenvectors are v 1 = (1, and v = (, 1 1 1 λ 1 = 1 and the associated eigenvectors are v 1 = (1, and v = (, 1. Determine whether the following matrices are diagonalizable: (a 1 NO 3 (b 1 1 NO (if we are considering matrices with only real entries 3 (c 1 NO 1 1 (d 1 3 4 13 1 (e NO (if we are considering matrices with only real entries 1 1 1 1 3 3 NO 3. Diagonalize the following matrices, if possible: 14 1 (a 17 ( 4 3 P = 5 4 1 1 15 P 1 = 16 1 Λ = 1 (b 6 1 1 P = 3 1 1 3 1 P 1 = 3 1 Λ = 1

8 Linear Algebra Solutions (c (d 1 1 1 1 1 P = 1 1 1 1 1 1 P 1 = 1 Λ = 1 3 3 P = P 1 Λ = 1 1 1 1 3 3 1 4. (midterm exam You have the following transition probability matrix of a discrete state Markov chain: 1 4 1 1 4 1 1 1 1 1 1 4 4 4 4 What is the probability that the system is in state at time n + given that it was in state 3 at time n? We want to find P rob(s n+ = S n = 3 that is P rob(s n+ = S n = 3 = P rob(s n+ = S n+1 = 1P rob(s n+1 = 1 S n = 3 + P rob(s n+ = S n+1 = P rob(s n+1 = S n = 3 + P rob(s n+ = S n+1 = 3P rob(s n+1 = 3 S n = 3 + P rob(s n+ = S n+1 = 4P rob(s n+1 = 4 S n = 3 = 1 1 4 + 1 + 1 + 1 4 = 1 8 5. (Homework problem Suppose that the weather can be sunny or cloudy and the weather conditions on succesive mornings form a Markov chain with stationary transition probabilities. Suppose that the transition matrix is as follows (.7.3.6.4

Math Camp 9 where sunny is state 1 and cloudy is state. If it is cloudy on a given day, what is the probability that it will also be cloudy the next day? P rob(s t+1 = S t = =.4 6. (Homework problem Suppose that three boys 1,, and 3 are throwing the ball to one another. Whenever 1 has the ball, he throws it to with a probability of.. Whenever has the ball, he will throw it to 1 with probability.6. Whenever 3 has the ball, he is equally likely to throw it to 1 or. (a Construct the transition probability matrix..8 P =.6.4.5.5 (b If each of the boys is equally likely to have the ball at a certain time n, which boy is most likely to have the ball at time n +? x n = ( 1 3, 1 3, 1 3 therefore we have that x n+ = xp P = ( 11 3 7 3 5 P = ( 17 5 41 15 9 75 therefore Boy 3 is most likely to have the ball at time n+