Graphics (INFOGR), , Block IV, lecture 8 Deb Panja. Today: Matrices. Welcome
|
|
- Isabel Horton
- 5 years ago
- Views:
Transcription
1 Graphics (INFOGR), , Block IV, lecture 8 Deb Panja Today: Matrices Welcome 1
2 Today Matrices: why and what? Matrix operations Determinants Adjoint/adjugate and inverse of matrices Geometric interpretation of determinants 2
3 Spatial transformations part II of the course 3
4 Spatial transformations part II of the course Why matrices? you need to execute such spatial transformations (a lot!) matrices are the vehicles you need for these tasks 4
5 Spatial transformations part II of the course Why matrices? you need to execute such spatial transformations (a lot!) matrices are the vehicles you need for these tasks That means: it s nearly impossible to dissociate matrices from transformations they achieve 5
6 Bigger scheme of things: three upcoming maths lectures 6
7 Bigger scheme of things: three upcoming maths lectures 7
8 Bigger scheme of things: three upcoming maths lectures It s been a choice to make a clean separation this way! 8
9 What is a matrix? 9
10 What is a matrix? 10
11 What is a matrix? You ll store it on a computer as a two-dimensional array: arr[3][3] 11
12 Why matrices? Example: (more about that in the next lecture) 12
13 Matrices 13
14 Matrices Dimension of the above matrix: m n when m = n, the matrix is called a square matrix a ij (i [1, m], j [1, n]) are the matrix elements/coefficients shorthand notation A = {a ij } 14
15 Matrices Dimension of the above matrix: m n when m = n, the matrix is called a square matrix a ij (i [1, m], j [1, n]) are the matrix elements/coefficients shorthand notation A = {a ij } A d-dimensional vector is a d 1 matrix an m n matrix: n vertical concatenation of m-dimensional vectors 15
16 Matrices Dimension of the above matrix: m n when m = n, the matrix is called a square matrix a ij (i [1, m], j [1, n]) are the matrix elements/coefficients shorthand notation A = {a ij } A d-dimensional vector is a d 1 matrix an m n matrix: n vertical concatenation of m-dimensional vectors A scalar is a 1 1 matrix 16
17 Special matrices Diagonal matrix: square matrix with a ij = 0 for i j; e.g., (a diagonal matrix is by definition a square matrix) 17
18 Special matrices Diagonal matrix: square matrix with a ij = 0 for i j; e.g., (a diagonal matrix is by definition a square matrix) Identity matrix: diagonal matrix with a ii = 1, e.g., (denoted by I, an identity matrix is also by definition a square matrix) 18
19 Special matrices Diagonal matrix: square matrix with a ij = 0 for i j; e.g., (a diagonal matrix is by definition a square matrix) Identity matrix: diagonal matrix with a ii = 1, e.g., (denoted by I, an identity matrix is also by definition a square matrix) Null matrix (denoted by Ø or O): a ij = 0, e.g., 19
20 Matrix operations 20
21 Addition of matrices 21
22 Addition of matrices Can only add matrices of same dimensions! 22
23 Scalar multiplication of matrices 23
24 Addition and scalar multiplication of matrices 24
25 Subtraction of matrices A and B are matrices of the same dimensions; then A B = A+( 1)B; e.g., (can only subtract matrices of same dimensions!) 25
26 Matrix multiplication A and B are m n and n p dimensional matrices respectively then C = AB is an m p-dimensional matrix 26
27 Matrix multiplication A and B are m n and n p dimensional matrices respectively then C = AB is an m p-dimensional matrix n matrix elements c ij = a ik b kj k=1 on a computer: c ij = 0; for (k = 1; k <= n; k++) c ij += a ik b kj e.g., 27
28 Vectors u = Vector dot product as a matrix multiplication u 1 u 2.. u d u v = [u 1 u 2... u d ] and v = v 1 v 2.. v d v 1 v 2.. v d = v u = u 1v 1 + u 2 v u d v d 28
29 Matrix multiplication properties In general, AB BA! (i.e., they do not commute) however, AB = BA if both A and B are diagonal in particular, IA = AI = A and AØ = ØA = Ø A(B + C) = AB + AC, (A + B)C = AC + BC: distributive (AB)C = A(BC): associative 29
30 Transpose of a matrix 30
31 Transpose of a matrix A T = transpose(a); (A T ) T = A 31
32 Determinants and cofactors (only for square matrices!) 32
33 Determinants Determinant of matrix A det(a), or A ; a scalar quantity Also as Determinants and cofactors are inextricably linked 33
34 Determinant (1 1 matrices) Determinant of a 1 1 matrix is the value of its element e.g., A = [ 5], det(a) = 5 34
35 Consider the 2 2 matrix A = Determinant (2 2 matrices) det(a) = a 11 cof(a 11 ) + a 12 cof(a 12 ) [ ] a11 a 12 a 21 a 22 35
36 Consider the 2 2 matrix A = Determinant (2 2 matrices) [ ] a11 a 12 a 21 a 22 det(a) = a 11 cof(a 11 ) + a 12 cof(a 12 ) = a 21 cof(a 21 ) + a 22 cof(a 22 ) 36
37 Consider the 2 2 matrix A = Determinant (2 2 matrices) [ ] a11 a 12 a 21 a 22 det(a) = a 11 cof(a 11 ) + a 12 cof(a 12 ) = a 21 cof(a 21 ) + a 22 cof(a 22 ) = a 11 cof(a 11 ) + a 21 cof(a 21 ) 37
38 Consider the 2 2 matrix A = Determinant (2 2 matrices) [ ] a11 a 12 a 21 a 22 det(a) = a 11 cof(a 11 ) + a 12 cof(a 12 ) = a 21 cof(a 21 ) + a 22 cof(a 22 ) = a 11 cof(a 11 ) + a 21 cof(a 21 ) = a 12 cof(a 12 ) + a 22 cof(a 22 ) 38
39 Consider the 2 2 matrix A = Determinant (2 2 matrices) det(a) = a 11 cof(a 11 ) + a 12 cof(a 12 ) cof(a ij ) = ( 1) i+j det(minor(a ij )) [ ] a11 a 12 a 21 a 22 minor(a ij ) is the matrix without the i-th row and j-th column of A Q. What is the determinant of the above matrix A? 39
40 Consider the 2 2 matrix A = Determinant (2 2 matrices) det(a) = a 11 cof(a 11 ) + a 12 cof(a 12 ) cof(a ij ) = ( 1) i+j det(minor(a ij )) [ ] a11 a 12 a 21 a 22 minor(a ij ) is the matrix without the i-th row and j-th column of A Q. What is the determinant of of the above matrix A? A. cof(a 11 ) = det(a 22 ) = a 22 ; cof(a 12 ) = det(a 12 ) = a 21 det(a) = a 11 a 22 a 12 a 21 ; note also that det(a) = det(a T ) Example: 40
41 Determinant (3 3 matrices) Consider the 3 3 matrix A = a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 det(a) = a 11 cof(a 11 ) + a 12 cof(a 12 ) + a 13 cof(a 13 ) 41
42 Determinant (3 3 matrices) Consider the 3 3 matrix A = a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 det(a) = a 11 cof(a 11 ) + a 12 cof(a 12 ) + a 13 cof(a 13 ) = a 21 cof(a 21 ) + a 22 cof(a 22 ) + a 23 cof(a 23 ) 42
43 Determinant (3 3 matrices) Consider the 3 3 matrix A = a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 det(a) = a 11 cof(a 11 ) + a 12 cof(a 12 ) + a 13 cof(a 13 ) a = a 22 a a 32 a 33 a 12 a 21 a 23 a 31 a 33 + a 13 a 21 a 22 a 31 a 32 = a 11 a 22 a 33 a 11 a 23 a 32 + a 12 a 23 a 31 a 12 a 21 a 33 + a 13 a 21 a 32 a 13 a 22 a 31 = det(a T ) Example: 43
44 Determinant (3 3 matrices), Sarrus rule 44
45 Determinant (3 3 matrices), Sarrus rule Does not work for 2 2, 4 4,... matrices 45
46 Adjoint/adjugate and inverse (only for square matrices!) 46
47 Cofactor matrix and adjoint/adjugate Cofactor matrix C = {c ij } of matrix A = {a ij } i.e., c ij = cof(a ij ) example: Adjoint/adjugate(A) adj(a) = transpose(cof(a)) 47
48 Inverse of A A 1 = adj(a) A Inverse of a matrix Has the property AA 1 = A 1 A = I (identity matrix) Inverse does not exist if A = 0; then A is a singular matrix 48
49 Geometric interpretation of determinants 49
50 Determinants of 2 2 matrices [ ] a11 a Consider the 2 2 matrix A = 12, a 21 a 22 [ ] [ ] a11 a12 and the two vectors u = and v = a 21 a 22 then det(a) is the oriented area of the parallelogram formed by ( u, v) Oriented area is positive if u to v requires a counterclockwise rotation. Otherwise oriented area is negative. 50
51 Consider the 3 3 matrix A = and the three vectors u = Determinants of 3 3 matrices a 11 a 21 a 31 a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33, v = a 12 a 22 a 23, and w = a 13 a 23 a 33 then det(a) is the oriented volume of the parallelepiped formed by ( u, v, w) Oriented volume is positive if ( u, v, w) forms a right-handed co-ordinate system. Otherwise oriented volume is negative. 51
52 Consider the 3 3 matrix A = and the three vectors u = Determinants of 3 3 matrices a 11 a 21 a 31 a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33, v = a 12 a 22 a 23, and w = a 13 a 23 a 33 then det(a) is the oriented volume of the parallelepiped formed by ( u, v, w) Oriented volume is positive if ( u, v, w) forms a right-handed co-ordinate system. Otherwise oriented volume is negative. Q. How to determine ( u, v, w) s handedness? 52
53 Cross product and handedness of a co-ordinate system Right-handed co-ordinate system: ˆx ŷ = ẑ, ŷ ẑ = ˆx, ẑ ˆx = ŷ i.e., (ˆx ŷ) ẑ > 0 etc. (this is what we will use) Left-handed co-ordinate system: ˆx ŷ = ẑ, ŷ ẑ = ˆx, ẑ ˆx = ŷ i.e., (ˆx ŷ) ẑ < 0 etc. 53
54 Consider the 3 3 matrix A = and the three vectors u = Determinants of 3 3 matrices a 11 a 21 a 31 a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33, v = a 12 a 22 a 23, and w = a 13 a 23 a 33 then det(a) is the oriented volume of the parallelepiped formed by ( u, v, w) Oriented volume is positive if ( u, v, w) forms a right-handed co-ordinate system. Otherwise oriented volume is negative. Q. How to determine ( u, v, w) s handedness? A. Check if ( u v) w is > < 0 54
55 Consider the n n matrix A = and the vectors u 1 = Determinants of n n matrices a 11 a 21 a 31..., u 2 = a 11 a 12 a a 21 a 22 a a 31 a 32 a a 12 a 22 a 23..., u 3 =, a 13 a 23 a 33...,... then det(a) is the oriented volume of the n-dimensional parallelepiped Q. What is the determinant when, e.g., u 3 = λ u 1 + µ u 2? 55
56 Consider the n n matrix A = and the vectors u 1 = Determinants of n n matrices a 11 a 21 a 31..., u 2 = a 11 a 12 a a 21 a 22 a a 31 a 32 a a 12 a 22 a 23..., u 3 =, a 13 a 23 a 33...,... then det(a) is the oriented volume of the n-dimensional parallelepiped Q. What is the determinant when, e.g., u 3 = λ u 1 + µ u 2? A. 0 (use the oriented volume argument!) 56
57 Summary: matrices Why? The operations defined for matrices make them special matrix dimensions, special matrices (diagonal, identity, null) Matrix operations (addition, scalar multiplication, subtraction, matrix multiplication, transpose) Determinants (only for square matrices!) Adjoint/adjugate and inverse of matrices (only for square matrices!) Geometric interpretation of determinants Next class: transformations (with matrices) 57
58 Finally, references... Book chapter 5: Linear algebra (leave out Sec. 5.4) 58
Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices
Graphics 2009/2010, period 1 Lecture 4 Matrices m n matrices Matrices Definitions Diagonal, Identity, and zero matrices Addition Multiplication Transpose and inverse The system of m linear equations in
More informationMATRICES 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 informationElementary maths for GMT
Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1
More informationPhys 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 informationM. 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 informationLinear 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 informationLecture 3: Matrix and Matrix Operations
Lecture 3: Matrix and Matrix Operations Representation, row vector, column vector, element of a matrix. Examples of matrix representations Tables and spreadsheets Scalar-Matrix operation: Scaling a matrix
More informationGraphics (INFOGR), , Block IV, lecture 1 Deb Panja. Today: Vectors, and vector algebra in 2D. Welcome
Graphics (INFOGR), 2017-18, Block IV, lecture 1 Deb Panja Today: Vectors, and vector algebra in 2D Welcome 1 Ray tracing part I of the course 2 Ray tracing part I of the course Why vectors? you need to
More informationMaterials 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 informationn n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full
n n matrices Matrices Definitions Diagonal, Identity, and zero matrices Addition Multiplication Transpose and inverse The system of m linear equations in n variables x 1, x 2,..., x n a 11 x 1 + a 12 x
More informationLecture 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 informationMatrix 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 informationReview 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 informationMatrices BUSINESS MATHEMATICS
Matrices BUSINESS MATHEMATICS 1 CONTENTS Matrices Special matrices Operations with matrices Matrix multipication More operations with matrices Matrix transposition Symmetric matrices Old exam question
More informationLinear 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 informationLinear Algebra review Powers of a diagonalizable matrix Spectral decomposition
Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Prof. Tesler Math 283 Fall 2018 Also see the separate version of this with Matlab and R commands. Prof. Tesler Diagonalizing
More information[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of
. Matrices A matrix is any rectangular array of numbers. For example 3 5 6 4 8 3 3 is 3 4 matrix, i.e. a rectangular array of numbers with three rows four columns. We usually use capital letters for matrices,
More information. 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 informationChapter 2 Notes, Linear Algebra 5e Lay
Contents.1 Operations with Matrices..................................1.1 Addition and Subtraction.............................1. Multiplication by a scalar............................ 3.1.3 Multiplication
More informationMATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.
MATH 311-504 Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product. Determinant is a scalar assigned to each square matrix. Notation. The determinant of a matrix A = (a ij
More informationMatrix Operations: Determinant
Matrix Operations: Determinant Determinants Determinants are only applicable for square matrices. Determinant of the square matrix A is denoted as: det(a) or A Recall that the absolute value of the determinant
More informationLinear Algebra review Powers of a diagonalizable matrix Spectral decomposition
Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Prof. Tesler Math 283 Fall 2016 Also see the separate version of this with Matlab and R commands. Prof. Tesler Diagonalizing
More informationComponents and change of basis
Math 20F Linear Algebra Lecture 16 1 Components and change of basis Slide 1 Review: Isomorphism Review: Components in a basis Unique representation in a basis Change of basis Review: Isomorphism Definition
More informationMATH 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 informationMATRICES 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 informationLinear Algebra and Matrix Inversion
Jim Lambers MAT 46/56 Spring Semester 29- Lecture 2 Notes These notes correspond to Section 63 in the text Linear Algebra and Matrix Inversion Vector Spaces and Linear Transformations Matrices are much
More informationCS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages:
CS100: DISCRETE STRUCTURES Lecture 3 Matrices Ch 3 Pages: 246-262 Matrices 2 Introduction DEFINITION 1: A matrix is a rectangular array of numbers. A matrix with m rows and n columns is called an m x n
More informationMATH2210 Notebook 2 Spring 2018
MATH2210 Notebook 2 Spring 2018 prepared by Professor Jenny Baglivo c Copyright 2009 2018 by Jenny A. Baglivo. All Rights Reserved. 2 MATH2210 Notebook 2 3 2.1 Matrices and Their Operations................................
More informationLecture 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 informationICS 6N Computational Linear Algebra Matrix Algebra
ICS 6N Computational Linear Algebra Matrix Algebra Xiaohui Xie University of California, Irvine xhx@uci.edu February 2, 2017 Xiaohui Xie (UCI) ICS 6N February 2, 2017 1 / 24 Matrix Consider an m n matrix
More informationCP3 REVISION LECTURES VECTORS AND MATRICES Lecture 1. Prof. N. Harnew University of Oxford TT 2013
CP3 REVISION LECTURES VECTORS AND MATRICES Lecture 1 Prof. N. Harnew University of Oxford TT 2013 1 OUTLINE 1. Vector Algebra 2. Vector Geometry 3. Types of Matrices and Matrix Operations 4. Determinants
More informationMATH 1210 Assignment 4 Solutions 16R-T1
MATH 1210 Assignment 4 Solutions 16R-T1 Attempt all questions and show all your work. Due November 13, 2015. 1. Prove using mathematical induction that for any n 2, and collection of n m m matrices A 1,
More informationSection 9.2: Matrices.. a m1 a m2 a mn
Section 9.2: Matrices Definition: A matrix is a rectangular array of numbers: a 11 a 12 a 1n a 21 a 22 a 2n A =...... a m1 a m2 a mn In general, a ij denotes the (i, j) entry of A. That is, the entry in
More informationLinear 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 informationMatrices. 1 a a2 1 b b 2 1 c c π
Matrices 2-3-207 A matrix is a rectangular array of numbers: 2 π 4 37 42 0 3 a a2 b b 2 c c 2 Actually, the entries can be more general than numbers, but you can think of the entries as numbers to start
More informationVectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes.
Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes Matrices and linear equations A matrix is an m-by-n array of numbers A = a 11 a 12 a 13 a 1n a 21 a 22 a 23 a
More informationFoundations of Cryptography
Foundations of Cryptography Ville Junnila, Arto Lepistö viljun@utu.fi, alepisto@utu.fi Department of Mathematics and Statistics University of Turku 2017 Ville Junnila, Arto Lepistö viljun@utu.fi, alepisto@utu.fi
More informationPOLI270 - 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 information7.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 informationKevin James. MTHSC 3110 Section 2.1 Matrix Operations
MTHSC 3110 Section 2.1 Matrix Operations Notation Let A be an m n matrix, that is, m rows and n columns. We ll refer to the entries of A by their row and column indices. The entry in the i th row and j
More informationMath 360 Linear Algebra Fall Class Notes. a a a a a a. a a a
Math 360 Linear Algebra Fall 2008 9-10-08 Class Notes Matrices As we have already seen, a matrix is a rectangular array of numbers. If a matrix A has m columns and n rows, we say that its dimensions are
More informationMath Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT
Math Camp II Basic Linear Algebra Yiqing Xu MIT Aug 26, 2014 1 Solving Systems of Linear Equations 2 Vectors and Vector Spaces 3 Matrices 4 Least Squares Systems of Linear Equations Definition A linear
More informationMath 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 informationMatrix Arithmetic. j=1
An m n matrix is an array A = Matrix Arithmetic a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn of real numbers a ij An m n matrix has m rows and n columns a ij is the entry in the i-th row and j-th column
More informationReview of Basic Concepts in Linear Algebra
Review of Basic Concepts in Linear Algebra Grady B Wright Department of Mathematics Boise State University September 7, 2017 Math 565 Linear Algebra Review September 7, 2017 1 / 40 Numerical Linear Algebra
More informationJim Lambers MAT 610 Summer Session Lecture 1 Notes
Jim Lambers MAT 60 Summer Session 2009-0 Lecture Notes Introduction This course is about numerical linear algebra, which is the study of the approximate solution of fundamental problems from linear algebra
More informationMath 240 Calculus III
The Calculus III Summer 2015, Session II Wednesday, July 8, 2015 Agenda 1. of the determinant 2. determinants 3. of determinants What is the determinant? Yesterday: Ax = b has a unique solution when A
More informationA FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic
A FIRST COURSE IN LINEAR ALGEBRA An Open Text by Ken Kuttler Matrix Arithmetic Lecture Notes by Karen Seyffarth Adapted by LYRYX SERVICE COURSE SOLUTION Attribution-NonCommercial-ShareAlike (CC BY-NC-SA)
More informationINSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRICES
1 CHAPTER 4 MATRICES 1 INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRICES 1 Matrices Matrices are of fundamental importance in 2-dimensional and 3-dimensional graphics programming
More informationUnit 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 informationMatrix Representation
Matrix Representation Matrix Rep. Same basics as introduced already. Convenient method of working with vectors. Superposition Complete set of vectors can be used to express any other vector. Complete set
More information8-15. Stop by or call (630)
To review the basics Matrices, what they represent, and how to find sum, scalar product, product, inverse, and determinant of matrices, watch the following set of YouTube videos. They are followed by several
More informationLinear Algebra (Review) Volker Tresp 2018
Linear Algebra (Review) Volker Tresp 2018 1 Vectors k, M, N are scalars A one-dimensional array c is a column vector. Thus in two dimensions, ( ) c1 c = c 2 c i is the i-th component of c c T = (c 1, c
More informationMATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics
MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam This study sheet will not be allowed during the test Books and notes will not be allowed during the test Calculators and cell phones
More informationEquality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.
Introduction Matrix Operations Matrix: An m n matrix A is an m-by-n array of scalars from a field (for example real numbers) of the form a a a n a a a n A a m a m a mn The order (or size) of A is m n (read
More informationMatrices. 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 informationQuantum Computing Lecture 2. Review of Linear Algebra
Quantum Computing Lecture 2 Review of Linear Algebra Maris Ozols Linear algebra States of a quantum system form a vector space and their transformations are described by linear operators Vector spaces
More information1 Last time: determinants
1 Last time: determinants Let n be a positive integer If A is an n n matrix, then its determinant is the number det A = Π(X, A)( 1) inv(x) X S n where S n is the set of n n permutation matrices Π(X, A)
More informationMatrices. Math 240 Calculus III. Wednesday, July 10, Summer 2013, Session II. Matrices. Math 240. Definitions and Notation.
function Matrices Calculus III Summer 2013, Session II Wednesday, July 10, 2013 Agenda function 1. 2. function function Definition An m n matrix is a rectangular array of numbers arranged in m horizontal
More informationTOPIC 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 information1 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 informationThings 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 informationIntroduction to Matrix Algebra
Introduction to Matrix Algebra August 18, 2010 1 Vectors 1.1 Notations A p-dimensional vector is p numbers put together. Written as x 1 x =. x p. When p = 1, this represents a point in the line. When p
More informationMathematics 13: Lecture 10
Mathematics 13: Lecture 10 Matrices Dan Sloughter Furman University January 25, 2008 Dan Sloughter (Furman University) Mathematics 13: Lecture 10 January 25, 2008 1 / 19 Matrices Recall: A matrix is a
More information1 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 informationCS 246 Review of Linear Algebra 01/17/19
1 Linear algebra In this section we will discuss vectors and matrices. We denote the (i, j)th entry of a matrix A as A ij, and the ith entry of a vector as v i. 1.1 Vectors and vector operations A vector
More information1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?
. Let m and n be two natural numbers such that m > n. Which of the following is/are true? (i) A linear system of m equations in n variables is always consistent. (ii) A linear system of n equations in
More information3 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 informationA 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 informationChapter 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 informationLecture 2: Vector-Vector Operations
Lecture 2: Vector-Vector Operations Vector-Vector Operations Addition of two vectors Geometric representation of addition and subtraction of vectors Vectors and points Dot product of two vectors Geometric
More informationUndergraduate 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 informationSection 1.6. M N = [a ij b ij ], (1.6.2)
The Calculus of Functions of Several Variables Section 16 Operations with Matrices In the previous section we saw the important connection between linear functions and matrices In this section we will
More informationGraduate 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 informationMath 3191 Applied Linear Algebra
Math 191 Applied Linear Algebra Lecture 8: Inverse of a Matrix Stephen Billups University of Colorado at Denver Math 191Applied Linear Algebra p.1/0 Announcements We will not make it to section. tonight,
More informationMatrix Multiplication
3.2 Matrix Algebra Matrix Multiplication Example Foxboro Stadium has three main concession stands, located behind the south, north and west stands. The top-selling items are peanuts, hot dogs and soda.
More informationWhat is the Matrix? Linear control of finite-dimensional spaces. November 28, 2010
What is the Matrix? Linear control of finite-dimensional spaces. November 28, 2010 Scott Strong sstrong@mines.edu Colorado School of Mines What is the Matrix? p. 1/20 Overview/Keywords/References Advanced
More informationMath 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008
Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008 Exam 2 will be held on Tuesday, April 8, 7-8pm in 117 MacMillan What will be covered The exam will cover material from the lectures
More informationLinear Equations and Matrix
1/60 Chia-Ping Chen Professor Department of Computer Science and Engineering National Sun Yat-sen University Linear Algebra Gaussian Elimination 2/60 Alpha Go Linear algebra begins with a system of linear
More informationDM559 Linear and Integer Programming. Lecture 3 Matrix Operations. Marco Chiarandini
DM559 Linear and Integer Programming Lecture 3 Matrix Operations Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline and 1 2 3 and 4 2 Outline and 1 2
More informationLinear 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 informationBasic Concepts in Linear Algebra
Basic Concepts in Linear Algebra Grady B Wright Department of Mathematics Boise State University February 2, 2015 Grady B Wright Linear Algebra Basics February 2, 2015 1 / 39 Numerical Linear Algebra Linear
More informationMath Linear Algebra Final Exam Review Sheet
Math 15-1 Linear Algebra Final Exam Review Sheet Vector Operations Vector addition is a component-wise operation. Two vectors v and w may be added together as long as they contain the same number n of
More informationChapter 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 informationMath 4377/6308 Advanced Linear Algebra
2.3 Composition Math 4377/6308 Advanced Linear Algebra 2.3 Composition of Linear Transformations Jiwen He Department of Mathematics, University of Houston jiwenhe@math.uh.edu math.uh.edu/ jiwenhe/math4377
More informationKnowledge Discovery and Data Mining 1 (VO) ( )
Knowledge Discovery and Data Mining 1 (VO) (707.003) Review of Linear Algebra Denis Helic KTI, TU Graz Oct 9, 2014 Denis Helic (KTI, TU Graz) KDDM1 Oct 9, 2014 1 / 74 Big picture: KDDM Probability Theory
More information7.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 informationPractical Linear Algebra: A Geometry Toolbox
Practical Linear Algebra: A Geometry Toolbox Third edition Chapter 4: Changing Shapes: Linear Maps in 2D Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book www.farinhansford.com/books/pla
More information2.1 Matrices. 3 5 Solve for the variables in the following matrix equation.
2.1 Matrices Reminder: A matrix with m rows and n columns has size m x n. (This is also sometimes referred to as the order of the matrix.) The entry in the ith row and jth column of a matrix A is denoted
More informationCLASS 12 ALGEBRA OF MATRICES
CLASS 12 ALGEBRA OF MATRICES Deepak Sir 9811291604 SHRI SAI MASTERS TUITION CENTER CLASS 12 A matrix is an ordered rectangular array of numbers or functions. The numbers or functions are called the elements
More informationMatrices and Linear Algebra
Contents Quantitative methods for Economics and Business University of Ferrara Academic year 2017-2018 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2
More informationLinear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds
Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds These notes are meant to provide a brief introduction to the topics from Linear Algebra that will be useful in Math3315/CSE3365, Introduction
More informationReview 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 informationReview 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 informationSection 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.
Section 9.2: Matrices Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns. That is, a 11 a 12 a 1n a 21 a 22 a 2n A =...... a m1 a m2 a mn A
More informationFundamentals 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 informationNOTES on LINEAR ALGEBRA 1
School of Economics, Management and Statistics University of Bologna Academic Year 207/8 NOTES on LINEAR ALGEBRA for the students of Stats and Maths This is a modified version of the notes by Prof Laura
More informationAnswer Key for Exam #2
Answer Key for Exam #. Use elimination on an augmented matrix: 8 6 7 7. The corresponding system is x 7x + x, x + x + x, x x which we solve for the pivot variables x, x x : x +7x x x x x x x x x x x Therefore
More information1 The Basics: Vectors, Matrices, Matrix Operations
14.102, Math for Economists Fall 2004 Lecture Notes, 9/9/2004 These notes are primarily based on those written by George Marios Angeletos for the Harvard Math Camp in 1999 and 2000, and updated by Stavros
More informationSection 12.4 Algebra of Matrices
244 Section 2.4 Algebra of Matrices Before we can discuss Matrix Algebra, we need to have a clear idea what it means to say that two matrices are equal. Let's start a definition. Equal Matrices Two matrices
More information