Matrices: 2.1 Operations with Matrices

Similar documents
Kevin James. MTHSC 3110 Section 2.1 Matrix Operations

Matrix Multiplication

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

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

Matrix Basic Concepts

ICS 6N Computational Linear Algebra Matrix Algebra

Elementary Row Operations on Matrices

Mathematics 13: Lecture 10

Phys 201. Matrices and Determinants

Math 4377/6308 Advanced Linear Algebra

Definition of Equality of Matrices. Example 1: Equality of Matrices. Consider the four matrices

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

Matrix Arithmetic. j=1

Elementary maths for GMT

Matrices. Chapter Definitions and Notations

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

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

Lecture 3 Linear Algebra Background

Section 9.2: Matrices.. a m1 a m2 a mn

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

Matrix Algebra & Elementary Matrices

Matrix Algebra: Definitions and Basic Operations

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.

1111: Linear Algebra I

Announcements Wednesday, October 10

Announcements Monday, October 02

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

Matrix representation of a linear map

The Matrix Vector Product and the Matrix Product

Calculus II - Basic Matrix Operations

Chapter 2. Ma 322 Fall Ma 322. Sept 23-27

1 Matrices and matrix algebra

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.

Fall Inverse of a matrix. Institute: UC San Diego. Authors: Alexander Knop

Matrices and RRE Form

Matrices BUSINESS MATHEMATICS

Matrix representation of a linear map

CLASS 12 ALGEBRA OF MATRICES

Stage-structured Populations

Chapter 1: Systems of Linear Equations

Section 1.1: Systems of Linear Equations

PH1105 Lecture Notes on Linear Algebra.

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

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

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

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

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

Matrices and Linear Algebra

b 1 b 2.. b = b m A = [a 1,a 2,...,a n ] where a 1,j a 2,j a j = a m,j Let A R m n and x 1 x 2 x = x n

Math 1314 Week #14 Notes

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

1111: Linear Algebra I

Linear Algebra and Matrix Inversion

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

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

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. .

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

Lecture 4: Products of Matrices

Math 3C Lecture 20. John Douglas Moore

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

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

Linear Algebra I Lecture 8

Some Notes on Linear Algebra

TOPIC III LINEAR ALGEBRA

Linear Equations in Linear Algebra

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

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

Section 12.4 Algebra of Matrices

ENGR-1100 Introduction to Engineering Analysis. Lecture 21. Lecture outline

B553 Lecture 5: Matrix Algebra Review

4-1 Matrices and Data

Matrix operations Linear Algebra with Computer Science Application

Lecture 22: Section 4.7

Introduction to Matrices

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

Linear Algebra Practice Problems

Basic Concepts in Linear Algebra

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.

7.6 The Inverse of a Square Matrix

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

Matrices and Vectors

Review of Basic Concepts in 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.

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

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

Numerical Analysis Lecture Notes

Systems of Linear Equations and Matrices

MATH2210 Notebook 2 Spring 2018

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

Matrices and Determinants

MATH.2720 Introduction to Programming with MATLAB Vector and Matrix Algebra

ftdt. We often drop the parentheses and write Tf instead of Tf. We could also write in this example Tfx 0

Lecture 9: Submatrices and Some Special Matrices

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

2.1 Matrices. 3 5 Solve for the variables in the following matrix equation.

Arrays: Vectors and Matrices

Systems of Linear Equations and Matrices

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

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

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

Transcription:

Goals In this chapter and section we study matrix operations: Define matrix addition Define multiplication of matrix by a scalar, to be called scalar multiplication. Define multiplication of two matrices, to be called matrix multiplication.

Definition Preview Matrices were defined in 1.2 as an array, with m rows and n columns: a 11 a 12 a 13 a 1n a 11 a 12 a 13 a 1n a 21 a 22 a 13 a 2n a 31 a 32 a 33 a 3n Or a 21 a 22 a 13 a 2n a 31 a 32 a 33 a 3n a m1 a m2 a m3 a mn a m1 a m2 a m3 a mn where a ij are real numbers (for this class).

Size, row and column matrix This matrix above is said to have size m n, because it has m rows and n columns. A matrix with equal number of rows and columns is called a square matrix. A square matrix of size n n is said to have order n. If a matrix has only one row, it is called a row matrix. Likewise, if a matrix has only one column, it is called a column matrix.

Notations 1. Often, a matrix is denoted by uppercase letters: A, B,.... 2. We also denote the above matrix as [a ij ]. 3. We may write A = [a ij ].

Equality Preview Two matrices A = [a ij ], B = [b ij ] are equal, if they have same size (m n) and a ij = b ij for 1 i m, 1 j n.

Addition Preview If A = [a ij ], B = [b ij ] are two matrices of same size m n, then their sum is defined to be the m n matrix given by A + B = [a ij + b ij ]. So, the sum is obtained by adding the respective entries. If the sizes of two matrices are different, then the sum is NOT defined.

In this context of matrices of real numbers, by a scalar we mean a real number. If A = [a ij ] is a m n matrix and c is a scalar, then the scalar multiplication of A by c is the m n matrix given by ca = [ca ij ]. Therefore, ca is obtained by multiplying each entry of A by c.

of Addition 1 1 0 3 Let A = 3 10, B = 7 a 7 3 b 3 1 2 Then A + B = 10 10 + a, 7 + b 0

of scalar multiplication Let A = [ 1 1 3 10 7 3 Then scalar multiplication by 11 gives [ ] 11 11 33 11A = 110 77 33 ]

Suppose A = [a ij ] is a matrix of size m n and B = [b ij ] is a matrix of size n p. Then, the product AB is an m p matrix n AB = [c ij ] where c ij = a ik b kj = a i1 b 1j +a i2 b 2j + +a in b nj. k=1 Remarks. The (i, j) th entry c ij is obtained by combining the i th row of A and j th column of B. We required that the number of columns of A is equal to the number of rows of B. If they are unequal, then the product AB is NOT defined.

= a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn c 11 c 12 c 1p c 21 c 22 c 2p c m1 c m2 c mp b 11 b 12 b 1p b 21 b 22 b 2p b n1 b n2 b np c 12 = a 11 b 12 +a 12 b 22 + +a 1n b n2

of matrix multiplication Let A = [ 1 1 3 10 7 3 ], B = 1 1 1 0 2 1 Since number of columns of A and number of rows of B are same, the product AB is defined.,

We have [ ] 1 1 + 1 1 + ( 3) 2 1 1 + 1 0 + ( 3) 1 AB = 10 1 + 7 1 + ( 3) 2 10 1 + 7 0 + ( 3) 1 = [ 4 2 11 7 Remark. Note BA is ALSO defined, which will be a 3 3 matrix. You can compute it similarly. ]

Matrix form of Linear Systems A system of linear linear equations can be written in a matrix form: Ax = b where a x 1 b 11 a 12 a 13 a 1n 1 x = x 2, b = b 2, A = a 21 a 22 a 13 a 2n a 31 a 32 a 33 a 3n x n b m a m1 a m2 a m3 a mn Here A is the coefficient matrix.

2.1.1 Preview The solutions of a system can also be written in the matrix form. The system of equations { 2x y z = 0 is same as x +3y z = 0 ( 2 1 1 1 3 1 ) x y z = ( 0 0 )

Continued Preview Its solutions, can be (computed and) written in one of the two ways: x 4 x = 4t, y = t, z = 7t OR y z = t 1 7 where t is a parameter.

2.1.2 Preview The system from 1.1 x 1 +4x 3 = 13 2x 1 x 2 +.5x 3 = 3.5 2x 1 2x 2 7x 3 = 19 1 0 4 2 1.5 2 2 7 x 1 x 2 x 3 = is same as 13 3.5 19

Continued Preview Its solution, computed in 1.2 can be written as x 1 13 4 x 2 = 22.5 + t 7.5 x 3 0 1

2.1.3 Preview The system from 1.1 x 1 +3x 4 = 4 6x 2 3x 3 3x 4 = 0 3x 2 2x 4 = 1 2x 1 x 2 +4x 3 = 5 1 0 0 3 0 6 3 3 0 3 0 2 2 1 4 0 x 1 x 2 x 3 x 4 = is same as 4 0 1 5

Continued Preview Its solution can be written as x 1 x 2 x 3 x 4 = 1 1 1 1