Introduction to Matrix Algebra

Size: px
Start display at page:

Download "Introduction to Matrix Algebra"

Transcription

1 Introduction to Clayton Webb CRMDA University of Kansas August 2015

2 Motivation Outline Where we are headed Introduction Motivation We learned how to calculate correlation and regression coefficients in introductory statistics. - ˆρ x,y = Cov(x,y) σ x σ y - ˆβ1 = ( (Y i Ȳ )(X 1i X 1 ))( (X 2i X 2 ) 2 ) (( (Y i Ȳ )(X 2i X 2 )))( (X 1i X 1 )(X 2i X 2 )) ( (X 1i X 1 ) 2 )( (X 2i X 2 ) 2 ) ( (X 1i X 1 )(X 3i X 3 )) 2 When we did these toy examples we had small samples - 20,30,etc. In applied analysis we tend to have larger N. Trying to calculate regression and correlation coefficients this way becomes intractable.

3 Motivation Outline Where we are headed Introduction Motivation Linear algebra (matrix algebra) allows for algebraic manipulation on a larger scale. Data analysis requires a basic understanding of matrix algebra. - Many important texts and articles are written in matrix notation. - What s going on under the hood? - Linear algebra is necessary for statistics. OLS MLE Time Series Our data are already shaped like large matrices. We might as well learn how to use them.

4 Motivation Outline Where we are headed Introduction Outline 1 Defintions 2 - Addition - Subtraction - - Division () 3 - Correlation - Regression - R

5 Motivation Outline Where we are headed Introduction Where we are headed Correlation R = S 1 VS 1 Regression β = (X X ) 1 X Y

6 Basics Special Matrices Basics Matrix A matrix is a rectangular array of numbers, parameters, variables, or other values. a b c d e f g h i j k l a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33

7 Basics Special Matrices Basics Matrix Elements - the individual values in a matrix. Dimensions - The dimensions of a matrix are defined by the number of rows (r) and columns (c). - Rows (r) - the values in the horizontal lines. - Columns (c) - the values in the vertical lines. - A r c matrix has r rows and c columns. - Unless stated otherwise, rows are always given before columns when discussing dimensions. Matrices are usually represented in texts with capital letters.

8 Basics Special Matrices Basics Matrix A double subscript refers to a particular value in a matrix. The row value is given then the column value is given. a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 a 12 Second value in row one a 22 Second value in row two a 31 First value in row three

9 Basics Special Matrices Basics Vector Vectors are special matrices that contain only one row or column. Row vector - r 1 matrix. Column vector - 1 c matrix. r = [ b 1 b 2 b 3 ] c = Vectors are usually represented in texts with lower case letters so readers can differentiate between matrices and vectors.

10 Basics Special Matrices Basics Scalar A scalar is a single number. 1, 2, and 3 are all scalars. Scalars are not 1 1 matrices, they are just numbers. The difference is important because the mathematical operations that can be performed on matrices and vectors are different from the operations that can be performed on scalars. For example, there is a difference between scalar and matrix multiplication. - Scalar multiplication - a matrix or vector is multiplied by a scalar to produce a new matrix or vector. - Matrix multiplication - a matrix or vector is multiplied by another matrix or vector to produce a new matrix or vector.

11 Basics Special Matrices Special Matrices Square matrix - a matrix with the same number of rows and columns (r=c). Sometimes referred to as n n matrices. Triangular matrix - a special kind of square matrix containing several zero elements. - Upper triangular - a square matrix where all the elements above the main diagonal are zero. - Lower tirangular - a square matrix where all the elements below the main diagonal are zero. - A diagonal matrix is upper and lower triangular.

12 Basics Special Matrices Special Matrices Diagonal matrix - a matrix that only contains elements on the main diagonal. All off diagonal elements are 0. Identity matrix - a matrix that only contains ones on the main diagonal. All off diagonal elements are 0 Symmetrical matrix - a square matrix that is equal to its transpose. - Transpose - a matrix that changes rows to columns and columns to rows. - Transpose A is A or A T

13 Basics Special Matrices Special Matrices Transpose A = a b c p q r u v w A = a p u b q v c r w

14 Conformability Conformable matrix - a matrix is conformable if its dimensions are suitable for defining some operation. The conformability of a matrix to an operation depends on the operation. - Addition and subtraction - A and B must have the same dimensions. - - A must be square. - - c of the lead (first) matrix must equal r in the lag (second) matrix. 3 3 and yes 3 2 and yes 3 3 and no

15 Addition (subtraction) of matrices is simply adding (subtracting) the corresponding elements of two matrices. These operations are only possible if the matrices have the same dimensions. That is, the matrices must have the same number of rows and columns. The matrix of sums (differences) will have the same dimensions as the original matrix. A = B =

16 Addition = A + B = C =

17 Subtraction A B = C = =

18 In linear algerbra, there are several different types of multiplication. We will discuss three: - Matrix multiplication - The multiplication of two matrices. - Scalar multiplication - The multiplication of all the elements of a matrix by a scalar. - Vector multiplication - The multiplication of a row vector by a column vector.

19 Order Order is very important for matrix multiplication. Changing the order can give you completely different answers. AB BA You can also get different shapes of matrices. There is an easy rule to keep track of what answer you will get. 1 Write the dimensions of the lead and lag matrices. 2 If the inner values match the matrix is conformable. 3 The outer values tell you the rows and columns for the solution. This is also an easy way to check if you are setting up your matrices correctly.

20 Scalar Scalar multiplication - multiplying a matrix by a scalar. s > 1 scale up. s < 1 scale down. Order does not matter = =

21 Scalar = =

22 Vector Vector multiplication - multiplication of two vectors. Order matters and 3 1 produces and 1 3 produces 3 3 [ ] 1 4 = = = 60 3

23 Vector 1 4 [ ] = =

24 Matrix There are several types of matrix multiplication, but people typically use matrix multiplication to refer to a specfic operation. Order matters. You can multiply matrices by vectors. Square matrices have special features. a b c p q r u v w α β γ λ µ ν ρ σ τ = aα + bλ + cρ aβ + bµ + cσ aγ + bν + cτ pα + qλ + rρ pβ + qµ + rσ pγ + qν + rτ uα + vλ + wρ uβ + vµ + wσ uγ + vν + wτ

25 Matrix α β γ λ µ ν ρ σ τ a b c p q r u v w = αa + βp + γu αb + βq + γv αc + βr + γw λa + µp + νu λb + µq + νv λc + µr + νw ρa + σp + τu ρb + σq + τv ρc + σr + τw

26 Matrix (1) + 6(4) + 9(3) 9(1) + 6(3) + 9(2) 9(2) + 6(3) + 9(4) = 8(1) + 7(4) + 7(3) 8(1) + 7(3) + 7(2) 8(2) + 7(3) + 7(4) 5(1) + 8(4) + 8(3) 5(1) + 8(3) + 8(2) 5(2) + 8(3) + 8(4) = =

27 Matrix (9) + 1(8) + 2(5) 1(6) + 1(7) + 2(8) 1(9) + 1(7) + 2(8) = 4(9) + 3(8) + 3(5) 4(6) + 3(7) + 3(8) 4(9) + 3(7) + 3(8) 3(9) + 2(8) + 4(5) 3(6) + 2(7) + 4(8) 3(9) + 2(7) + 4(8) = =

28 Matrix [ ] [ ] 9(9) + 6(8) + 9(5) 9(6) + 6(7) + 9(8) = 8(9) + 7(8) + 7(5) 8(6) + 7(7) + 7(8) [ ] [ ] = =

29 Matrix 1 1 [ ] (9) + 1(8) 1(6) + 1(7) 1(9) + 1(7) = 4(9) + 3(8) 4(6) + 3(7) 4(9) + 3(7) 3(9) + 2(8) 3(6) + 2(7) 3(9) + 2(7) = =

30 The invere of a matrix A is A 1 A matix only has an inverse if it is square and non-singular. Square matrix - a matrix with the same number of rows (r) and columns (c). Singular matrix - a matrix with linear dependence between at least two rows or columns. Non-singular matrix - a matrix without linear dependence. A matrix with a non-zero determinant. Later we will see how to use determinants to test for linear dependence.

31 Multiplying a matrix by its inverse reduces it to an identity matrix. AA 1 = I = A 1 A This condition can be used to test whether or not you have found the inverse of a matrix. The inverse of a matrix in linear algebra perfroms the same function as a reciprocal in regular algerbra = 1

32 A 1 = 1 adj(a) adj(a) = A A A 1 Inverse A Determinant adj(a) Adjoint The inverse of a matrix is the adjoint matrix divided by the determinant.

33 Determinant A determinant is a useful quantity because it is used to calculate the inverse of a matrix. The logic of calculating a determinant is easiest to understand with a simple 2 2 example. Consider the following matrix. [ ] a b A = p q The equation for the determinant is A = a q b p

34 Determinant This formula works for a 2 2 matrix but will not for larger matrices. For larger matrices we will need to use the Laplace expansion. This process requires minors and cofactors. Minor - the determinant of a submatrix formed by deleting the ith row and the jth column of a matrix. Cofactor - a minor with a specific sign.

35 Determinant - Minor a b c p q r u v w M a = q v r w, M b = p u r w, M c = p u q v, M p = b v c w, M v = a p c r, M w = a p b q,

36 Determinant - Minor To calculate a determinant using minors one chooses a column or row, constructs the minors, and calculates the determinants of the submatrices. M a = q r v w, M b = p r u w, M c = p q u v, A = a[q(w) r(v)] b[p(w) r(u)] + c[p(v) q(u)]

37 Determinant - Minor M 8 = A = , M 3 = , M 2 = , A = 8[4(3) 7(1)] 3[6(3) 7(5)] + 2[6(1) 4(5)] = 8[5] 3[ 17] + 2[ 14] = = 63

38 Determinant - Cofactor A cofactor is a minor with a perscribed sign. The rule for the sign is C rc = ( 1) r+c M rc r is the row number. c is the column number M rc is the minor for the value in row (r) and column (c). - If r + c is even then the cofactor is positive. - If r + c is odd then the cofactor is negative. The cofactor is a more general form of a minor.

39 Determinant - Cofactor Now we can specify the formula for the determinant without worrying about the sign for each minor. A = a b c p q r u v w The cofactors for the first row are C a = q r v w, C b = p u r w, C c = p u q v,

40 Determinant - Cofactor Using the cofactors, the determinant can be calculated A = a C a + b C b + c C c This is the same formula as before, but we don t have to keep track of the sign if we use the cofactor rule. This general form is the basis for the Laplace expansion. We can extend the formula to a 4 4 square matrix. A = a C a + b C b + c C c + d C d

41 Determinant - Laplace Expansion A 5 5 square matrix. And so on. A = a C a + b C b + c C c + d C d + e C e We just need to remember to change the signs for the cofactors based on the rule. Assuming we are using the first row for the 5 5 the minor form is A = a M a b M b + c M c d M d + e M e

42 Determinant - Laplace Expansion The expansion becomes more cumbersome to do by hand as you add additional rows and columns. You have to find the determinants for each of the 4 4 cofactors to find the determinant for a 5 5. For each 4 4 you have to find all the determinants for each of the 3 3 cofactors for these matrices. For each of the 3 3 cofactors you have to find the determinants for all the 2 2 cofactors. The general form is useful, but we would not do this without a computer.

43 Determinant - One can use the properties of matrices and determinants to make determinants easier to calculate. 1 Adding or subtracting a nonzero multiple of one row (or column) from another row (or column) will have no effect on the determinant. 2 Interchanging any two rows or columns of a matrix will change the sign, but not the absolute value, of the determinant. 3 Multiplying the elements of any row or column by a constant will cause the determinant to be multiplied by the constant.

44 Determinant - 4 The determinant of a triangular matrix is equal to the product of the elements on the principal diagonal. 5 The determinant of a matrix equals the determinant of its transpose: A = A. 6 If all the elements of any column or row are zero, the determinant is zero. 7 If two rows or columns are identitical or proportional they are linearly dependent. This means the determinant is zero.

45 Determinant - The determinant can be used as a test for linear dependence. In practice, our columns will be our variables and our rows will be our observations. If we need the inverse to calculate quantities of interest, having rows or columns that are equal or proportional will create problems. - Rank (ρ) - the maxium number of linearly indpendent rows or columns in the matrix. - In a square matrix c = r. So we can say the matrix is n n. ρ(a) = n, A is non-singular. No linear dependence. ρ(a) < n, A is singular and there is linear dependence.

46 Adjoint We have calculated the determinant. To calculate the inverse we need to calculate the adjoint matrix. Adjoint matrix (AdjA)- the transpose of a cofactor matrix. Cofactor matrix (C A ) - a matrix in which every element of the matrix is replaced with its cofactor. a b c A = p q r u v w, C A = C a C b C c C p C q C r C u C v C w, AdjA = C a C p C u C b C q C v C c C r C w

47 Adjoint Steps for calculating an adjoint matrix 1 Construct the cofactor matrix. 2 Calculate the determinant for each sub-cofactor matrix to calculate the cofactor matrix. 3 Find the transpose of the cofactor matrix. A =

48 Adjoint C A =

49 Adjoint C A = 4(3) 7(1) 6(3) 7(5) 6(1) 4(5) 3(3) 2(1) 8(3) 2(5) 8(1) 3(5) 3(7) 2(4) 8(7) 2(6) 8(4) 3(6) C A =

50 Adjoint C A = C A = , AdjA = C A =

51 Inverse Now that we have the determinant and the adjoint matrix we can calculate the inverse matrix. A 1 = 1 A AdjA The inverse matrix for the example is A 1 = =

52 Inverse We can check to see if we calculated the inverse correctly by multiplying the original matrix by the inverse. AA 1 = AA 1 = I = A 1 A = Note: Your results will rarely be this clean. You can check your answers in R and you should be able to get close.

53 Matrix algebra follows slightly different rules than regular algebra. Understanding the similarities and differences is important for understanding how you can manipulate matrices. Commutative law Associative law Distributive law

54 Commutative Law The commutative law says you can swap numbers around and still get the same answer when you add or multiply. a + b = b + a a b = b a Matrix addition is commutative. A + B = B + A Matrix multiplication is not commuatative. A B B A

55 Associative Law The associative law says that it doesn t matter how you group numbers. Matrix addition is associative. (a + b) + c = a + (b + c) (a b) c = a (b c) (A + B) + C = A + (B + C) Matrix multiplication is associative. (A B) C = A (B C)

56 Distributive Law The distributive law says that multiplying a number by a group of numbers added together is the same as doing each multiplication separately. a (b + c) = a b + a c The distributive law also applies to matrices. A (B + C) = A B + A C (B + C) A = B A + C A

57 Summary The order of multiplication matters with matrices. Pre- and Post- multiplication can give you different answers. - Scalar multiplication is commutative. - ka = Ak You can move terms for addition, subtraction, and multiplication because terms are associative, but you have to be careful about the rules of conformability. You can distribute terms with matrices.

58 Special Cases Identity matrices are commutative, associative, and distributive for multiplication. AIB = IAB = ABI = AB Transpose doesn t distribute how you might expect. (AB) = B A Exponential operator only works with square matrices. The inverse of a transpose. A 4 = AAAA (A ) 1 = (A 1 )

59 Correlation Regression Application Correlation 1 Organize your variables into columns of a matrix. 2 Generate a vector of column means. 3 Center your data matrix by subtracting the column mean from each observation. 4 Compute a cross product matrix by multiplying the centered matrix by its inverse. 5 Divide the cross product matrix by the number of observations (or n 1) to produce the variance covariance matrix. - Variances - diagonal - Covariances - offdiagonal

60 Correlation Regression Application Correlation 6 Create a diagonal matrix containing only the variances. 7 Create a diagonal matrix of standard deviations by taking the square root of this matrix. 8 Pre and post multiply the variance covariance matrix by the inverse of the standard deviation matrix. 9 The correlation coefficients are on the off diagonal. The diagonal should be ones because each variable is perfectly correlated with itself.

61 Correlation Regression Application Regression 1 Calculate the regression coefficients with the following formula. (X X ) 1 X Y = β 2 Estimate the predicted Y using the coefficients. 3 Calculate the errors using Y Ŷ

62 Correlation Regression Application Regression 4 Calculate the sum of the squared errors 5 Calculate the variance covariance matrix for the errors. 6 Pull the variances from the diagonal. 7 Calculate the standard errors for the coefficients.

63 Correlation Regression

Review from Bootcamp: Linear Algebra

Review from Bootcamp: Linear Algebra Review from Bootcamp: Linear Algebra D. Alex Hughes October 27, 2014 1 Properties of Estimators 2 Linear Algebra Addition and Subtraction Transpose Multiplication Cross Product Trace 3 Special Matrices

More information

Introduction to Matrices

Introduction to Matrices 214 Analysis and Design of Feedback Control Systems Introduction to Matrices Derek Rowell October 2002 Modern system dynamics is based upon a matrix representation of the dynamic equations governing the

More information

Linear Algebra, Vectors and Matrices

Linear Algebra, Vectors and Matrices Linear Algebra, Vectors and Matrices Prof. Manuela Pedio 20550 Quantitative Methods for Finance August 2018 Outline of the Course Lectures 1 and 2 (3 hours, in class): Linear and non-linear functions on

More information

Phys 201. Matrices and Determinants

Phys 201. Matrices and Determinants Phys 201 Matrices and Determinants 1 1.1 Matrices 1.2 Operations of matrices 1.3 Types of matrices 1.4 Properties of matrices 1.5 Determinants 1.6 Inverse of a 3 3 matrix 2 1.1 Matrices A 2 3 7 =! " 1

More information

Appendix A: Matrices

Appendix A: Matrices Appendix A: Matrices A matrix is a rectangular array of numbers Such arrays have rows and columns The numbers of rows and columns are referred to as the dimensions of a matrix A matrix with, say, 5 rows

More information

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices Matrices A. Fabretti Mathematics 2 A.Y. 2015/2016 Table of contents Matrix Algebra Determinant Inverse Matrix Introduction A matrix is a rectangular array of numbers. The size of a matrix is indicated

More information

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion Chapter 2:Determinants Section 2.1: Determinants by cofactor expansion [ ] a b Recall: The 2 2 matrix is invertible if ad bc 0. The c d ([ ]) a b function f = ad bc is called the determinant and it associates

More information

MATRICES The numbers or letters in any given matrix are called its entries or elements

MATRICES The numbers or letters in any given matrix are called its entries or elements MATRICES A matrix is defined as a rectangular array of numbers. Examples are: 1 2 4 a b 1 4 5 A : B : C 0 1 3 c b 1 6 2 2 5 8 The numbers or letters in any given matrix are called its entries or elements

More information

Math Camp Notes: Linear Algebra I

Math Camp Notes: Linear Algebra I Math Camp Notes: Linear Algebra I Basic Matrix Operations and Properties Consider two n m matrices: a a m A = a n a nm Then the basic matrix operations are as follows: a + b a m + b m A + B = a n + b n

More information

MATRICES AND MATRIX OPERATIONS

MATRICES AND MATRIX OPERATIONS SIZE OF THE MATRIX is defined by number of rows and columns in the matrix. For the matrix that have m rows and n columns we say the size of the matrix is m x n. If matrix have the same number of rows (n)

More information

Matrices. In this chapter: matrices, determinants. inverse matrix

Matrices. In this chapter: matrices, determinants. inverse matrix Matrices In this chapter: matrices, determinants inverse matrix 1 1.1 Matrices A matrix is a retangular array of numbers. Rows: horizontal lines. A = a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 a 41 a

More information

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

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2 MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS SYSTEMS OF EQUATIONS AND MATRICES Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

ECON 186 Class Notes: Linear Algebra

ECON 186 Class Notes: Linear Algebra ECON 86 Class Notes: Linear Algebra Jijian Fan Jijian Fan ECON 86 / 27 Singularity and Rank As discussed previously, squareness is a necessary condition for a matrix to be nonsingular (have an inverse).

More information

Linear Algebra V = T = ( 4 3 ).

Linear Algebra V = T = ( 4 3 ). Linear Algebra Vectors A column vector is a list of numbers stored vertically The dimension of a column vector is the number of values in the vector W is a -dimensional column vector and V is a 5-dimensional

More information

POLI270 - Linear Algebra

POLI270 - Linear Algebra POLI7 - Linear Algebra Septemer 8th Basics a x + a x +... + a n x n b () is the linear form where a, b are parameters and x n are variables. For a given equation such as x +x you only need a variable and

More information

Matrices and Determinants

Matrices and Determinants Chapter1 Matrices and Determinants 11 INTRODUCTION Matrix means an arrangement or array Matrices (plural of matrix) were introduced by Cayley in 1860 A matrix A is rectangular array of m n numbers (or

More information

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to 1.1. Introduction Linear algebra is a specific branch of mathematics dealing with the study of vectors, vector spaces with functions that

More information

The Laplace Expansion Theorem: Computing the Determinants and Inverses of Matrices

The Laplace Expansion Theorem: Computing the Determinants and Inverses of Matrices The Laplace Expansion Theorem: Computing the Determinants and Inverses of Matrices David Eberly, Geometric Tools, Redmond WA 98052 https://www.geometrictools.com/ This work is licensed under the Creative

More information

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Outcomes

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Outcomes The Inverse of a Matrix 7.4 Introduction In number arithmetic every number a 0has a reciprocal b written as a or such that a ba = ab =. Similarly a square matrix A may have an inverse B = A where AB =

More information

Matrices. Chapter Definitions and Notations

Matrices. Chapter Definitions and Notations Chapter 3 Matrices 3. Definitions and Notations Matrices are yet another mathematical object. Learning about matrices means learning what they are, how they are represented, the types of operations which

More information

Elementary Row Operations on Matrices

Elementary Row Operations on Matrices King Saud University September 17, 018 Table of contents 1 Definition A real matrix is a rectangular array whose entries are real numbers. These numbers are organized on rows and columns. An m n matrix

More information

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations. POLI 7 - Mathematical and Statistical Foundations Prof S Saiegh Fall Lecture Notes - Class 4 October 4, Linear Algebra The analysis of many models in the social sciences reduces to the study of systems

More information

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra 1.1. Introduction SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear algebra is a specific branch of mathematics dealing with the study of vectors, vector spaces with functions that

More information

A primer on matrices

A primer on matrices A primer on matrices Stephen Boyd August 4, 2007 These notes describe the notation of matrices, the mechanics of matrix manipulation, and how to use matrices to formulate and solve sets of simultaneous

More information

Fundamentals of Engineering Analysis (650163)

Fundamentals of Engineering Analysis (650163) Philadelphia University Faculty of Engineering Communications and Electronics Engineering Fundamentals of Engineering Analysis (6563) Part Dr. Omar R Daoud Matrices: Introduction DEFINITION A matrix is

More information

Lecture Notes in Linear Algebra

Lecture Notes in Linear Algebra Lecture Notes in Linear Algebra Dr. Abdullah Al-Azemi Mathematics Department Kuwait University February 4, 2017 Contents 1 Linear Equations and Matrices 1 1.2 Matrices............................................

More information

A Review of Matrix Analysis

A Review of Matrix Analysis Matrix Notation Part Matrix Operations Matrices are simply rectangular arrays of quantities Each quantity in the array is called an element of the matrix and an element can be either a numerical value

More information

Linear Algebra Primer

Linear Algebra Primer Introduction Linear Algebra Primer Daniel S. Stutts, Ph.D. Original Edition: 2/99 Current Edition: 4//4 This primer was written to provide a brief overview of the main concepts and methods in elementary

More information

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns. MATRICES After studying this chapter you will acquire the skills in knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns. List of

More information

Foundations of Matrix Analysis

Foundations of Matrix Analysis 1 Foundations of Matrix Analysis In this chapter we recall the basic elements of linear algebra which will be employed in the remainder of the text For most of the proofs as well as for the details, the

More information

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.

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. Matrices Operations Linear Algebra Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0 The rectangular array 1 2 1 4 3 4 2 6 1 3 2 1 in which the

More information

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations Chapter 1: Systems of linear equations and matrices Section 1.1: Introduction to systems of linear equations Definition: A linear equation in n variables can be expressed in the form a 1 x 1 + a 2 x 2

More information

Matrix Basic Concepts

Matrix Basic Concepts Matrix Basic Concepts Topics: What is a matrix? Matrix terminology Elements or entries Diagonal entries Address/location of entries Rows and columns Size of a matrix A column matrix; vectors Special types

More information

SCHOOL OF BUSINESS, ECONOMICS AND MANAGEMENT BUSINESS MATHEMATICS / MATHEMATICAL ANALYSIS

SCHOOL OF BUSINESS, ECONOMICS AND MANAGEMENT BUSINESS MATHEMATICS / MATHEMATICAL ANALYSIS SCHOOL OF BUSINESS, ECONOMICS AND MANAGEMENT BUSINESS MATHEMATICS / MATHEMATICAL ANALYSIS Unit Six Moses Mwale e-mail: moses.mwale@ictar.ac.zm BBA 120 Business Mathematics Contents Unit 6: Matrix Algebra

More information

Graduate Mathematical Economics Lecture 1

Graduate Mathematical Economics Lecture 1 Graduate Mathematical Economics Lecture 1 Yu Ren WISE, Xiamen University September 23, 2012 Outline 1 2 Course Outline ematical techniques used in graduate level economics courses Mathematics for Economists

More information

Unit 3: Matrices. Juan Luis Melero and Eduardo Eyras. September 2018

Unit 3: Matrices. Juan Luis Melero and Eduardo Eyras. September 2018 Unit 3: Matrices Juan Luis Melero and Eduardo Eyras September 2018 1 Contents 1 Matrices and operations 4 1.1 Definition of a matrix....................... 4 1.2 Addition and subtraction of matrices..............

More information

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

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in Chapter 4 - MATRIX ALGEBRA 4.1. Matrix Operations A a 11 a 12... a 1j... a 1n a 21. a 22.... a 2j... a 2n. a i1 a i2... a ij... a in... a m1 a m2... a mj... a mn The entry in the ith row and the jth column

More information

Review of Linear Algebra

Review of Linear Algebra Review of Linear Algebra Definitions An m n (read "m by n") matrix, is a rectangular array of entries, where m is the number of rows and n the number of columns. 2 Definitions (Con t) A is square if m=

More information

Matrices. Chapter What is a Matrix? We review the basic matrix operations. An array of numbers a a 1n A = a m1...

Matrices. Chapter What is a Matrix? We review the basic matrix operations. An array of numbers a a 1n A = a m1... Chapter Matrices We review the basic matrix operations What is a Matrix? An array of numbers a a n A = a m a mn with m rows and n columns is a m n matrix Element a ij in located in position (i, j The elements

More information

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 )

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 ) Direct Methods for Linear Systems Chapter Direct Methods for Solving Linear Systems Per-Olof Persson persson@berkeleyedu Department of Mathematics University of California, Berkeley Math 18A Numerical

More information

Linear Algebra (part 1) : Matrices and Systems of Linear Equations (by Evan Dummit, 2016, v. 2.02)

Linear Algebra (part 1) : Matrices and Systems of Linear Equations (by Evan Dummit, 2016, v. 2.02) Linear Algebra (part ) : Matrices and Systems of Linear Equations (by Evan Dummit, 206, v 202) Contents 2 Matrices and Systems of Linear Equations 2 Systems of Linear Equations 2 Elimination, Matrix Formulation

More information

Chapter 2. Matrix Arithmetic. Chapter 2

Chapter 2. Matrix Arithmetic. Chapter 2 Matrix Arithmetic Matrix Addition and Subtraction Addition and subtraction act element-wise on matrices. In order for the addition/subtraction (A B) to be possible, the two matrices A and B must have the

More information

3 Matrix Algebra. 3.1 Operations on matrices

3 Matrix Algebra. 3.1 Operations on matrices 3 Matrix Algebra A matrix is a rectangular array of numbers; it is of size m n if it has m rows and n columns. A 1 n matrix is a row vector; an m 1 matrix is a column vector. For example: 1 5 3 5 3 5 8

More information

TOPIC III LINEAR ALGEBRA

TOPIC III LINEAR ALGEBRA [1] Linear Equations TOPIC III LINEAR ALGEBRA (1) Case of Two Endogenous Variables 1) Linear vs. Nonlinear Equations Linear equation: ax + by = c, where a, b and c are constants. 2 Nonlinear equation:

More information

Chapter 7. Linear Algebra: Matrices, Vectors,

Chapter 7. Linear Algebra: Matrices, Vectors, Chapter 7. Linear Algebra: Matrices, Vectors, Determinants. Linear Systems Linear algebra includes the theory and application of linear systems of equations, linear transformations, and eigenvalue problems.

More information

M. Matrices and Linear Algebra

M. Matrices and Linear Algebra M. Matrices and Linear Algebra. Matrix algebra. In section D we calculated the determinants of square arrays of numbers. Such arrays are important in mathematics and its applications; they are called matrices.

More information

Introduction to Determinants

Introduction to Determinants Introduction to Determinants For any square matrix of order 2, we have found a necessary and sufficient condition for invertibility. Indeed, consider the matrix The matrix A is invertible if and only if.

More information

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat Linear Algebra Lecture 2 1.3.7 Matrix Matrix multiplication using Falk s

More information

Digital Workbook for GRA 6035 Mathematics

Digital Workbook for GRA 6035 Mathematics Eivind Eriksen Digital Workbook for GRA 6035 Mathematics November 10, 2014 BI Norwegian Business School Contents Part I Lectures in GRA6035 Mathematics 1 Linear Systems and Gaussian Elimination........................

More information

1300 Linear Algebra and Vector Geometry

1300 Linear Algebra and Vector Geometry 1300 Linear Algebra and Vector Geometry R. Craigen Office: MH 523 Email: craigenr@umanitoba.ca May-June 2017 Matrix Inversion Algorithm One payoff from this theorem: It gives us a way to invert matrices.

More information

Appendix C Vector and matrix algebra

Appendix C Vector and matrix algebra Appendix C Vector and matrix algebra Concepts Scalars Vectors, rows and columns, matrices Adding and subtracting vectors and matrices Multiplying them by scalars Products of vectors and matrices, scalar

More information

MATRICES AND ITS APPLICATIONS

MATRICES AND ITS APPLICATIONS MATRICES AND ITS Elementary transformations and elementary matrices Inverse using elementary transformations Rank of a matrix Normal form of a matrix Linear dependence and independence of vectors APPLICATIONS

More information

Undergraduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1 Undergraduate Mathematical Economics Lecture 1 Yu Ren WISE, Xiamen University September 15, 2014 Outline 1 Courses Description and Requirement 2 Course Outline ematical techniques used in economics courses

More information

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1 1 Rows first, columns second. Remember that. R then C. 1 A matrix is a set of real or complex numbers arranged in a rectangular array. They can be any size and shape (provided they are rectangular). A

More information

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes Determinants 7.3 Introduction Among other uses, determinants allow us to determine whether a system of linear equations has a unique solution or not. The evaluation of a determinant is a key skill in engineering

More information

1 Matrices and Systems of Linear Equations

1 Matrices and Systems of Linear Equations Linear Algebra (part ) : Matrices and Systems of Linear Equations (by Evan Dummit, 207, v 260) Contents Matrices and Systems of Linear Equations Systems of Linear Equations Elimination, Matrix Formulation

More information

Determinants. Samy Tindel. Purdue University. Differential equations and linear algebra - MA 262

Determinants. Samy Tindel. Purdue University. Differential equations and linear algebra - MA 262 Determinants Samy Tindel Purdue University Differential equations and linear algebra - MA 262 Taken from Differential equations and linear algebra by Goode and Annin Samy T. Determinants Differential equations

More information

Chapter 3. Determinants and Eigenvalues

Chapter 3. Determinants and Eigenvalues Chapter 3. Determinants and Eigenvalues 3.1. Determinants With each square matrix we can associate a real number called the determinant of the matrix. Determinants have important applications to the theory

More information

Announcements Wednesday, October 25

Announcements Wednesday, October 25 Announcements Wednesday, October 25 The midterm will be returned in recitation on Friday. The grade breakdown is posted on Piazza. You can pick it up from me in office hours before then. Keep tabs on your

More information

Chapter 2. Square matrices

Chapter 2. Square matrices Chapter 2. Square matrices Lecture notes for MA1111 P. Karageorgis pete@maths.tcd.ie 1/18 Invertible matrices Definition 2.1 Invertible matrices An n n matrix A is said to be invertible, if there is a

More information

REVIEW FOR EXAM II. The exam covers sections , the part of 3.7 on Markov chains, and

REVIEW FOR EXAM II. The exam covers sections , the part of 3.7 on Markov chains, and REVIEW FOR EXAM II The exam covers sections 3.4 3.6, the part of 3.7 on Markov chains, and 4.1 4.3. 1. The LU factorization: An n n matrix A has an LU factorization if A = LU, where L is lower triangular

More information

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

Introduction to Quantitative Techniques for MSc Programmes SCHOOL OF ECONOMICS, MATHEMATICS AND STATISTICS MALET STREET LONDON WC1E 7HX Introduction to Quantitative Techniques for MSc Programmes SCHOOL OF ECONOMICS, MATHEMATICS AND STATISTICS MALET STREET LONDON WC1E 7HX September 2007 MSc Sep Intro QT 1 Who are these course for? The September

More information

a11 a A = : a 21 a 22

a11 a A = : a 21 a 22 Matrices The study of linear systems is facilitated by introducing matrices. Matrix theory provides a convenient language and notation to express many of the ideas concisely, and complicated formulas are

More information

William Stallings Copyright 2010

William Stallings Copyright 2010 A PPENDIX E B ASIC C ONCEPTS FROM L INEAR A LGEBRA William Stallings Copyright 2010 E.1 OPERATIONS ON VECTORS AND MATRICES...2 Arithmetic...2 Determinants...4 Inverse of a Matrix...5 E.2 LINEAR ALGEBRA

More information

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to:

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to: MAC 2 Module Determinants Learning Objectives Upon completing this module, you should be able to:. Determine the minor, cofactor, and adjoint of a matrix. 2. Evaluate the determinant of a matrix by cofactor

More information

Mathematics. EC / EE / IN / ME / CE. for

Mathematics.   EC / EE / IN / ME / CE. for Mathematics for EC / EE / IN / ME / CE By www.thegateacademy.com Syllabus Syllabus for Mathematics Linear Algebra: Matrix Algebra, Systems of Linear Equations, Eigenvalues and Eigenvectors. Probability

More information

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway Linear Algebra: Lecture Notes Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway November 6, 23 Contents Systems of Linear Equations 2 Introduction 2 2 Elementary Row

More information

ECON2285: Mathematical Economics

ECON2285: Mathematical Economics ECON2285: Mathematical Economics Yulei Luo FBE, HKU September 2, 2018 Luo, Y. (FBE, HKU) ME September 2, 2018 1 / 35 Course Outline Economics: The study of the choices people (consumers, firm managers,

More information

Matrices A brief introduction

Matrices A brief introduction Matrices A brief introduction Basilio Bona DAUIN Politecnico di Torino Semester 1, 2014-15 B. Bona (DAUIN) Matrices Semester 1, 2014-15 1 / 41 Definitions Definition A matrix is a set of N real or complex

More information

Matrices and Vectors

Matrices and Vectors Matrices and Vectors James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 11, 2013 Outline 1 Matrices and Vectors 2 Vector Details 3 Matrix

More information

POL 213: Research Methods

POL 213: Research Methods Brad 1 1 Department of Political Science University of California, Davis April 15, 2008 Some Matrix Basics What is a matrix? A rectangular array of elements arranged in rows and columns. 55 900 0 67 1112

More information

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

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p Math Bootcamp 2012 1 Review of matrix algebra 1.1 Vectors and rules of operations An p-dimensional vector is p numbers put together. Written as x 1 x =. x p. When p = 1, this represents a point in the

More information

. a m1 a mn. a 1 a 2 a = a n

. a m1 a mn. a 1 a 2 a = a n Biostat 140655, 2008: Matrix Algebra Review 1 Definition: An m n matrix, A m n, is a rectangular array of real numbers with m rows and n columns Element in the i th row and the j th column is denoted by

More information

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

1 Matrices and Systems of Linear Equations. a 1n a 2n March 31, 2013 16-1 16. Systems of Linear Equations 1 Matrices and Systems of Linear Equations An m n matrix is an array A = (a ij ) of the form a 11 a 21 a m1 a 1n a 2n... a mn where each a ij is a real

More information

ELE/MCE 503 Linear Algebra Facts Fall 2018

ELE/MCE 503 Linear Algebra Facts Fall 2018 ELE/MCE 503 Linear Algebra Facts Fall 2018 Fact N.1 A set of vectors is linearly independent if and only if none of the vectors in the set can be written as a linear combination of the others. Fact N.2

More information

A primer on matrices

A primer on matrices A primer on matrices Stephen Boyd August 4, 2007 These notes describe the notation of matrices, the mechanics of matrix manipulation, and how to use matrices to formulate and solve sets of simultaneous

More information

EE731 Lecture Notes: Matrix Computations for Signal Processing

EE731 Lecture Notes: Matrix Computations for Signal Processing EE731 Lecture Notes: Matrix Computations for Signal Processing James P. Reilly c Department of Electrical and Computer Engineering McMaster University September 22, 2005 0 Preface This collection of ten

More information

Evaluating Determinants by Row Reduction

Evaluating Determinants by Row Reduction Evaluating Determinants by Row Reduction MATH 322, Linear Algebra I J. Robert Buchanan Department of Mathematics Spring 2015 Objectives Reduce a matrix to row echelon form and evaluate its determinant.

More information

Lecture 7: Vectors and Matrices II Introduction to Matrices (See Sections, 3.3, 3.6, 3.7 and 3.9 in Boas)

Lecture 7: Vectors and Matrices II Introduction to Matrices (See Sections, 3.3, 3.6, 3.7 and 3.9 in Boas) Lecture 7: Vectors and Matrices II Introduction to Matrices (See Sections 3.3 3.6 3.7 and 3.9 in Boas) Here we will continue our discussion of vectors and their transformations. In Lecture 6 we gained

More information

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic Unit II - Matrix arithmetic matrix multiplication matrix inverses elementary matrices finding the inverse of a matrix determinants Unit II - Matrix arithmetic 1 Things we can already do with matrices equality

More information

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

MATH 240 Spring, Chapter 1: Linear Equations and Matrices MATH 240 Spring, 2006 Chapter Summaries for Kolman / Hill, Elementary Linear Algebra, 8th Ed. Sections 1.1 1.6, 2.1 2.2, 3.2 3.8, 4.3 4.5, 5.1 5.3, 5.5, 6.1 6.5, 7.1 7.2, 7.4 DEFINITIONS Chapter 1: Linear

More information

Chapter 5 Matrix Approach to Simple Linear Regression

Chapter 5 Matrix Approach to Simple Linear Regression STAT 525 SPRING 2018 Chapter 5 Matrix Approach to Simple Linear Regression Professor Min Zhang Matrix Collection of elements arranged in rows and columns Elements will be numbers or symbols For example:

More information

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and Section 5.5. Matrices and Vectors A matrix is a rectangular array of objects arranged in rows and columns. The objects are called the entries. A matrix with m rows and n columns is called an m n matrix.

More information

Multiplying matrices by diagonal matrices is faster than usual matrix multiplication.

Multiplying matrices by diagonal matrices is faster than usual matrix multiplication. 7-6 Multiplying matrices by diagonal matrices is faster than usual matrix multiplication. The following equations generalize to matrices of any size. Multiplying a matrix from the left by a diagonal matrix

More information

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra 1/33

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra 1/33 Linear Algebra 1/33 Vectors A vector is a magnitude and a direction Magnitude = v Direction Also known as norm, length Represented by unit vectors (vectors with a length of 1 that point along distinct

More information

chapter 5 INTRODUCTION TO MATRIX ALGEBRA GOALS 5.1 Basic Definitions

chapter 5 INTRODUCTION TO MATRIX ALGEBRA GOALS 5.1 Basic Definitions chapter 5 INTRODUCTION TO MATRIX ALGEBRA GOALS The purpose of this chapter is to introduce you to matrix algebra, which has many applications. You are already familiar with several algebras: elementary

More information

Definition 2.3. We define addition and multiplication of matrices as follows.

Definition 2.3. We define addition and multiplication of matrices as follows. 14 Chapter 2 Matrices In this chapter, we review matrix algebra from Linear Algebra I, consider row and column operations on matrices, and define the rank of a matrix. Along the way prove that the row

More information

Lecture 6: Geometry of OLS Estimation of Linear Regession

Lecture 6: Geometry of OLS Estimation of Linear Regession Lecture 6: Geometry of OLS Estimation of Linear Regession Xuexin Wang WISE Oct 2013 1 / 22 Matrix Algebra An n m matrix A is a rectangular array that consists of nm elements arranged in n rows and m columns

More information

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and Section 5.5. Matrices and Vectors A matrix is a rectangular array of objects arranged in rows and columns. The objects are called the entries. A matrix with m rows and n columns is called an m n matrix.

More information

Topic 1: Matrix diagonalization

Topic 1: Matrix diagonalization Topic : Matrix diagonalization Review of Matrices and Determinants Definition A matrix is a rectangular array of real numbers a a a m a A = a a m a n a n a nm The matrix is said to be of order n m if it

More information

Stat 206: Linear algebra

Stat 206: Linear algebra Stat 206: Linear algebra James Johndrow (adapted from Iain Johnstone s notes) 2016-11-02 Vectors We have already been working with vectors, but let s review a few more concepts. The inner product of two

More information

Basic Linear Algebra in MATLAB

Basic Linear Algebra in MATLAB Basic Linear Algebra in MATLAB 9.29 Optional Lecture 2 In the last optional lecture we learned the the basic type in MATLAB is a matrix of double precision floating point numbers. You learned a number

More information

UNIT 3 MATRICES - II

UNIT 3 MATRICES - II Algebra - I UNIT 3 MATRICES - II Structure 3.0 Introduction 3.1 Objectives 3.2 Elementary Row Operations 3.3 Rank of a Matrix 3.4 Inverse of a Matrix using Elementary Row Operations 3.5 Answers to Check

More information

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3 Linear Algebra Row Reduced Echelon Form Techniques for solving systems of linear equations lie at the heart of linear algebra. In high school we learn to solve systems with or variables using elimination

More information

Presentation by: H. Sarper. Chapter 2 - Learning Objectives

Presentation by: H. Sarper. Chapter 2 - Learning Objectives Chapter Basic Linear lgebra to accompany Introduction to Mathematical Programming Operations Research, Volume, th edition, by Wayne L. Winston and Munirpallam Venkataramanan Presentation by: H. Sarper

More information

Matrices. Chapter Keywords and phrases. 3.2 Introduction

Matrices. Chapter Keywords and phrases. 3.2 Introduction Chapter 3 Matrices 3.1 Keywords and phrases Special matrices: (row vector, column vector, zero, square, diagonal, scalar, identity, lower triangular, upper triangular, symmetric, row echelon form, reduced

More information

Linear Systems and Matrices

Linear Systems and Matrices Department of Mathematics The Chinese University of Hong Kong 1 System of m linear equations in n unknowns (linear system) a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.......

More information

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix MATRIX DETERMINANTS Summary Uses... 1 1 Reminder Definition and components of a matrix... 1 2 The matrix determinant... 2 3 Calculation of the determinant for a matrix... 2 4 Exercise... 3 5 Definition

More information

Review of Vectors and Matrices

Review of Vectors and Matrices A P P E N D I X D Review of Vectors and Matrices D. VECTORS D.. Definition of a Vector Let p, p, Á, p n be any n real numbers and P an ordered set of these real numbers that is, P = p, p, Á, p n Then P

More information

Lecture 3 Linear Algebra Background

Lecture 3 Linear Algebra Background Lecture 3 Linear Algebra Background Dan Sheldon September 17, 2012 Motivation Preview of next class: y (1) w 0 + w 1 x (1) 1 + w 2 x (1) 2 +... + w d x (1) d y (2) w 0 + w 1 x (2) 1 + w 2 x (2) 2 +...

More information