1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.

Slides:



Advertisements
Similar presentations
Matrices & Systems of Linear Equations
Advertisements

3_3 An Useful Overview of Matrix Algebra
Linear Algebraic Equations
Chapter 2 Basic Linear Algebra
Review of Matrix Algebra
Chapter 2 Matrices Definition of a matrix.
Ch 7.2: Review of Matrices For theoretical and computation reasons, we review results of matrix theory in this section and the next. A matrix A is an m.
Part 3 Chapter 8 Linear Algebraic Equations and Matrices PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The.
Pam Perlich Urban Planning 5/6020
Chapter 5 Determinants.
Intro to Matrices Don’t be scared….
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
3.8 Matrices.
1 Operations with Matrice 2 Properties of Matrix Operations
1 Chapter 3 Matrix Algebra with MATLAB Basic matrix definitions and operations were covered in Chapter 2. We will now consider how these operations are.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
5  Systems of Linear Equations: ✦ An Introduction ✦ Unique Solutions ✦ Underdetermined and Overdetermined Systems  Matrices  Multiplication of Matrices.
1.3 Matrices and Matrix Operations.
Chapter 2 Solving Linear Systems Matrix Definitions –Matrix--- Rectangular array/ block of numbers. –The size/order/dimension of a matrix: (The numbers.
Systems and Matrices (Chapter5)
ECON 1150 Matrix Operations Special Matrices
 Row and Reduced Row Echelon  Elementary Matrices.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
Matrix Inversion.
Presentation by: H. Sarper
Matrices. Given below is a record of all the types of books kept in a class library. TypeFictionGeneral Malay2547 Chinese4072 English8085.
Chapter 4 Matrices By: Matt Raimondi.
4.1 Matrix Operations What you should learn: Goal1 Goal2 Add and subtract matrices, multiply a matrix by a scalar, and solve the matrix equations. Use.
1.3 Matrices and Matrix Operations. Definition A matrix is a rectangular array of numbers. The numbers in the array are called the entries in the matrix.
CMPS 1371 Introduction to Computing for Engineers MATRICES.
8.1 Matrices & Systems of Equations
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
Lecture 28: Mathematical Insight and Engineering.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
Matrices. Definitions  A matrix is an m x n array of scalars, arranged conceptually as m rows and n columns.  m is referred to as the row dimension.
Matrix Algebra and Regression a matrix is a rectangular array of elements m=#rows, n=#columns  m x n a single value is called a ‘scalar’ a single row.
Solving Linear Systems of Equations
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 02 Chapter 2: Determinants.
Chapter 3 Determinants Linear Algebra. Ch03_2 3.1 Introduction to Determinants Definition The determinant of a 2  2 matrix A is denoted |A| and is given.
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
Slide Copyright © 2009 Pearson Education, Inc. 7.3 Matrices.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
STROUD Worked examples and exercises are in the text Programme 5: Matrices MATRICES PROGRAMME 5.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
Section 2.1 Determinants by Cofactor Expansion. THE DETERMINANT Recall from algebra, that the function f (x) = x 2 is a function from the real numbers.
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
STROUD Worked examples and exercises are in the text PROGRAMME 5 MATRICES.
Matrices. Matrix - a rectangular array of variables or constants in horizontal rows and vertical columns enclosed in brackets. Element - each value in.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Copyright © Cengage Learning. All rights reserved. 8 Matrices and Determinants.
Matrices Introduction.
College Algebra Chapter 6 Matrices and Determinants and Applications
MTH108 Business Math I Lecture 20.
12-1 Organizing Data Using Matrices
Chapter 7 Matrix Mathematics
5 Systems of Linear Equations and Matrices
Linear Algebraic Equations and Matrices
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
7.3 Matrices.
Lecture 11 Matrices and Linear Algebra with MATLAB
Matrices and Matrix Operations
Matrices.
1.8 Matrices.
Matrix Operations SpringSemester 2017.
1.8 Matrices.
Presentation transcript:

1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their use is very important in simplifying large arrays of equations and in determining their solutions. In particular, computer algorithms for manipulating large arrays are simplified greatly by matrix notation and operations.

2 A particular reason for introducing matrices at this point is that MATLAB is heavily matrix oriented. One does not have to be an expert in matrix theory to utilize the powerful features of MATLAB, but it is very helpful to understand some of the terminology and manipulations. This chapter will deal with those basic elements of matrix theory that can be used for that purpose. The term linear algebra is often used to represent the general theory of matrices and the associated algebraic operations.

3 General Form of a Matrix of Size m x n with m Rows and n Columns

4 Square Matrix If m = n, the matrix is said to be square. In this case, the matrix could be designated as an m x m matrix.

5 Vectors A matrix having only one row is called a row matrix. A matrix having only one column is called a column matrix. A matrix of either form is called a vector. The row matrix is called a row vector and the column matrix is called a column vector.

6 Scalars A 1 x 1 matrix is called a scalar and is the form of most variables considered in simple algebraic forms.

7 Transpose The transpose of a matrix A is denoted as A’ and is obtained by interchanging the rows and columns. Thus, if A has a size of m x n, A’ will have a size of n x m. If the transpose operation is applied twice, the original matrix is restored.

8 Example 2-1. Determine the size of the matrix shown below. The matrix has 2 rows and 3 columns. Its size is 2 x 3.

9 Example 2-2. Determine the size of the matrix shown below. The matrix has 3 rows and 2 columns. Its size is 3 x 2.

10 Example 2-3. Determine the size of the matrix shown below. The matrix has 3 rows and 3 columns. Its size is 3 x 3. It is a square matrix.

11 Example 2-4. Express the integer values of time from 0 to 5 s as a row vector. The size of the vector is 1 x 6.

12 Example 2-5. Express the variables x 1, x 2, and x 3 as a column vector.

13 Example 2-6. Determine the transpose of the matrix A below.

14 Addition and Subtraction of Matrices Matrices can be added together or subtracted from each other if and only if they are of the same size. Corresponding elements are added or subtracted.

15 Multiplication of Two Matrices Two matrices can be multiplied together only if the number of columns of the first matrix is equal to the number of rows of the second matrix. This means that

16 Multiplication of Two Matrices (Continuation) The number of rows in the product matrix is equal to the number of rows in the first matrix and the number of columns in the product matrix is equal to the number of columns in the second matrix.

17 Multiplication of Two Matrices (Continuation) An element in the product matrix is obtained by summing successive products of elements in the row of the first with elements of the column of the second.

18 Division of Matrices ? There is no such thing as division of matrices. However, matrix inversion can be viewed in some sense as a procedure similar to division. This process will be considered later.

19 Example 2-7. Determine C = A + B for the matrices shown below.

20 Example 2-8. Determine D = A - B for the matrices shown below.

21 Example 2-9. For the matrices of Examples 2-1 and 2-2, determine possible orders of multiplication.

22 Example For the matrices of Examples 2-1 and 2-2, determine C=AB.

23 Example Continuation.

24 Example For the matrices of Examples 2-1 and 2-2, determine D=BA.

25 Determinants The determinant of a matrix A can be determined only for a square matrix. It is a scalar value. Various representations are shown as follows:

26 Determinant of 2 x 2 Matrix

27 Determinants of Higher-Order For determinants of matrices of higher order than 2 x 2, the process can become tedious. There are many “tricks”, but some are useful only when the matrix has simple numbers. The text provides a procedure based on minors and cofactors, but since the ultimate goal is to use MATLAB, that procedure will not be covered on these slides. Instead, formulas for the 3 x 3 case will be provided.

28 Determinant of 3 x 3 Matrix

29 Singular Matrix If det(A)=0, the matrix is said to be singular. If the matrix represents the coefficients of a set of simultaneous equations, it means that the equations are not independent of each other and cannot be solved uniquely.

30 Example Determine the determinant of the matrix shown below.

31 Examples 2-13, 2-14, and 2-15 These 3 examples involve computations concerning the minors and cofactors of a 3 x 3 matrix and will not covered in this presentation. The results that follow these computations will be considered in a later example.

32 Identity Matrix

33 Inverse Matrix The inverse of a matrix A is denoted by A -1 and is defined by the equation that follows.

34 Inverse of a 2 x 2 Matrix

35 Example Determine the inverse of the matrix A below.

36 Example The inverse of A below is developed in the text.

37 Simultaneous Linear Equations

38 Matrix Form of Simultaneous Linear Equations

39 Define variables as follows:

40 Matrix Solution Development

41 The general form and the final solution follow.

42 Example Use matrices to solve the simultaneous equations below.

43 Example Continuation.

44 Example Continuation.

45 Transformation of Linear Variables

46 Transformation Continuation

47 Transformation Continuation

48 Example For the system of equations provided below, determine the z values in terms of the x values.

49 Example Continuation.

50 Example Continuation.