Matrices. Math 240 Calculus III. Wednesday, July 10, Summer 2013, Session II. Matrices. Math 240. Definitions and Notation.

Similar documents
Phys 201. Matrices and Determinants

Matrix Arithmetic. j=1

Mathematics 13: Lecture 10

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

Elementary Row Operations on Matrices

Matrices. Chapter Definitions and Notations

Linear Algebra V = T = ( 4 3 ).

Prepared by: M. S. KumarSwamy, TGT(Maths) Page

ICS 6N Computational Linear Algebra Matrix Algebra

Lecture 3: Matrix and Matrix Operations

Math 360 Linear Algebra Fall Class Notes. a a a a a a. a a a

A matrix over a field F is a rectangular array of elements from F. The symbol

1 Matrices and matrix algebra

CS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages:

CLASS 12 ALGEBRA OF MATRICES

Kevin James. MTHSC 3110 Section 2.1 Matrix Operations

Math 240 Calculus III

10: Representation of point group part-1 matrix algebra CHEMISTRY. PAPER No.13 Applications of group Theory

Calculus II - Basic Matrix Operations

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

Matrix Operations. Linear Combination Vector Algebra Angle Between Vectors Projections and Reflections Equality of matrices, Augmented Matrix

Matrix Arithmetic. a 11 a. A + B = + a m1 a mn. + b. a 11 + b 11 a 1n + b 1n = a m1. b m1 b mn. and scalar multiplication for matrices via.

Matrix Basic Concepts

MATRICES. a m,1 a m,n A =

Linear Algebra and Matrix Inversion

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

Matrices and Vectors

Matrices and systems of linear equations

Matrices BUSINESS MATHEMATICS

Matrix Multiplication

Section 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.. a m1 a m2 a mn

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

Matrices: 2.1 Operations with Matrices

Matrix Algebra: Definitions and Basic Operations

Elementary maths for GMT

n 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

CS 246 Review of Linear Algebra 01/17/19

ELEMENTARY LINEAR ALGEBRA

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Chapter 2 Notes, Linear Algebra 5e Lay

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

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

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

Fundamentals of Engineering Analysis (650163)

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

Linear Equations in Linear Algebra

Lecture Notes in Linear Algebra

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

MATH2210 Notebook 2 Spring 2018

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Lecture 3 Linear Algebra Background

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

Introduction. Vectors and Matrices. Vectors [1] Vectors [2]

M. Matrices and Linear Algebra

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Appendix C Vector and matrix algebra

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

Matrix & Linear Algebra

Matrices and Determinants

Arrays: Vectors and Matrices

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

* is a row matrix * An mxn matrix is a square matrix if and only if m=n * A= is a diagonal matrix if = 0 i

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

Linear Equations and Matrix

POLI270 - Linear Algebra

Systems of Linear Equations and Matrices

Math 4377/6308 Advanced Linear Algebra

Chapter 2: Matrices and Linear Systems

Systems of Linear Equations and Matrices

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

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

Review of linear algebra

Matrices. 1 a a2 1 b b 2 1 c c π

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

Stage-structured Populations

MTH 35, SPRING 2017 NIKOS APOSTOLAKIS

Foundations of Cryptography

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

Definition. A matrix is a rectangular array of numbers enclosed by brackets (plural: matrices).

Matrices and Linear Algebra

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

MATH 2030: MATRICES ,, a m1 a m2 a mn If the columns of A are the vectors a 1, a 2,...,a n ; A is represented as A 1. .

Graduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1

Exercise Set Suppose that A, B, C, D, and E are matrices with the following sizes: A B C D E

Announcements Monday, October 02

Announcements Wednesday, October 10

Linear Algebra March 16, 2019

INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRICES

We could express the left side as a sum of vectors and obtain the Vector Form of a Linear System: a 12 a x n. a m2

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

ELEMENTARY LINEAR ALGEBRA

x + 2y + 3z = 8 x + 3y = 7 x + 2z = 3

Example. We can represent the information on July sales more simply as

Basic Concepts in Linear Algebra

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

Transcription:

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 rows and n vertical columns. These numbers are called the entries or elements of the matrix. Example a 11 a 12... a 1n a 21 a 22... a 2n A =...... a m1 a m2... a mn is an m n matrix. It can be written more succinctly as A = [a ij ]. Two matrices are equal if they have the same size (identical numbers of rows and columns) and the same entries.

Row and column vectors function Definition A 1 n matrix is called a row n-vector, or simply a row vector. An n 1 matrix is called a column n-vector, or a column vector. The elements of a such a vector are its components. Examples 1. The matrix a = [ 2 3 1 4 5 7] is a row 3-vector. 1 2. b = 1 3 is a column 4-vector. 4

function Row and column vectors Any matrix can be written as a list of row or column vectors. Example The matrix has three row 4-vectors: and we can write 2 1 3 4 A = 1 2 1 1 3 1 2 5 a 1 = [ 2 1 3 4 ], a 2 = [ 1 2 1 1 ], and a 3 = [ 3 1 2 5 ] a 1 A = a 2. a 3

function Row and column vectors Any matrix can be written as a list of row or column vectors. Example The matrix 2 1 3 4 A = 1 2 1 1 3 1 2 5 has four column 3-vectors: 2 1 3 4 b 1 = 1, b 2 = 2, b 3 = 1, and b 4 = 1 3 1 2 5 and we can write A = [ b 1 b 2 b 3 b 4 ].

Transpose function Definition If A is the matrix A = [a ij ], the transpose of A is the matrix A T = [a ji ]. If A is an m n matrix then A T is an n m matrix. Example Suppose A is the matrix Then A = [ ] 1 2 3. 4 5 6 1 4 A T = 2 5. 3 6

Types of matrices function Square An n n matrix is called a square matrix since it has the same number of rows and columns. The elements a ii make up the main diagonal. Triangular A square matrix is called upper triangular if a ij = 0 whenever i > j, that is, it has only zeros below the main diagonal. A lower triangular matrix is a square matrix with only zeros above the main diagonal, that is, a ij = 0 whenever i < j. Diagonal A diagonal matrix is a square matrix whose only nonzero entries lie along the main diagonal, that is, a ij = 0 whenever i j.

Types of matrices function Symmetric A matrix satisfying A T = A is called a symmetric matrix. Skew-symmetric A matrix that satisfies A T = A is called skew-symmetric. Notice that both symmetric and skew-symmetric matrices must be square (because if A is m n then A T is n m), a skew-symmetric matrix must have zeros along its main diagonal (because a ii = a ii ).

functions function Definition A matrix function is like a matrix, but replaces numbers with functions of a single real variable. Column vector functions and row vector functions are analogously defined. Example A(t) is a 2 3 matrix function: [ t 3 5 ] t cos t A(t) = t e t2 ln(t + 1) te t. The matrix function is only defined for values of t such that all elements are defined. In this example, A(t) is defined for values of t such that t 0 and t + 1 > 0.

function Definition If A = [a ij ] and B = [b ij ] are matrices with the same dimensions, their sum is A + B = [a ij + b ij ]. addition Similarly, their difference is Example We have [2 ] 1 3 + 4 5 0 and [ ] 2 1 3 4 5 0 A B = [a ij b ij ]. [ ] 1 0 5 = 5 2 7 [ ] 1 0 5 = 5 2 7 [ 1 1 ] 8 1 3 7 [ ] 3 1 2. 9 7 7

Scalar multiplication function A scalar is a real or complex number, as opposed to a vector or matrix. Definition If A is a matrix and s a scalar, then the product of s with A is the matrix obtained by multiplying every element of A by s. Symbolically, if A = [a ij ] then sa = [sa ij ]. Examples [ ] 2 1 If A = then 5A = 4 6 [ ] 10 5. 20 30 If A and B are matrices with the same dimensions then A B = A + ( 1)B.

Matrices behave like you expect function addition, subtraction, and scalar multiplication have familiar properties: A + B = B + A A + (B + C) = (A + B) + C 1A = A s(a + B) = sa + sb (s + t)a = sa + ta s(ta) = (st)a = (ts)a = t(sa) 0... 0 A + 0 = A 0 =..... A A = 0 0... 0 0A = 0... but matrix multiplication does not!

multiplication function Example P = C = sprockets [ belts propellers ] widget A 5 2 3 P C = widget B 6 5 0 supplier 1 supplier 2 sprockets 0.10 0.15 belts 0.50 0.30 propellers 1.00 1.10 supplier 1 [ supplier 2 ] widget A 4.50 4.65 widget B 3.10 2.40

function multiplication Definition Let A = [a ij ] be an m n matrix and B = [b jk ] be an n p matrix. Their product is the m p matrix n AB = [c ik ] where c ik = a ij b jk. j=1 If write write A as a matrix of rows and B as a matrix of columns, a 1 A =. a m and B = [ b 1 b p ], then we can express their product using the vector dot product AB = [a i b k ].

function Familiar properties of matrix multiplication In most ways matrix multiplication behaves like multiplication of scalars: A(BC) = (AB)C A(B + C) = AB + AC (A + B)C = AC + BC (sa)b = s(ab) = A(sB) Definition The identity matrix, I n (or just I), is the n n diagonal matrix with ones on the main diagonal. I 2 = [ ] 1 0, I 0 1 3 = If A is an m n matrix then 1 0 0 0 1 0, etc. 0 0 1 AI n = A and I m A = A.

multiplication is not commutative function If A and B are n n matrices, it is not always true that AB = BA. Example [ ] [ ] 1 2 3 1 If A = and B = then 1 3 2 1 [ ] [ ] 1 2 3 1 AB = = 1 3 2 1 but [ ] [ ] 3 1 1 2 BA = = 2 1 1 3 [ ] 7 1 3 4 [ ] 2 9. 3 1

function function All of the operations we discussed can be applied to matrix functions. In the case of scalar multiplication, a matrix function can be multiplied by any scalar function. Example [ ] 2 + t e If s(t) = e t 2t and A(t) =, their product is 4 cos t [ e s(t)a(t) = t ( 2 + t) e 3t ] 4e t e t. cos t

function function Additionally, we can do calculus with matrix functions! Definition Suppose A(t) = [a ij (t)] is a matrix function. Its derivative is [ ] da dt = daij (t) dt and its integral over the interval [a, b] is b [ b ] A(t) dt = a ij (t) dt. Theorem ( product rule) a If A and B are differentiable matrix functions and the product AB is defined then d (AB) = AdB dt dt + da dt B. a

function function Example [ ] 2t 1 Let A(t) = 6t 2 4e 2t. We have da dt = [ 2 0 12t 8e 2t ] and 1 A(t) dt = 0 [ ] 1 1 2 2e 2. 2