ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.

Slides:



Advertisements
Similar presentations
Chapter Matrices Matrix Arithmetic
Advertisements

Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
SOLVING SYSTEMS OF LINEAR EQUATIONS. Overview A matrix consists of a rectangular array of elements represented by a single symbol (example: [A]). An individual.
Maths for Computer Graphics
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 12 System of Linear Equations.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 14 Elimination Methods.
Part 3 Chapter 8 Linear Algebraic Equations and Matrices PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
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
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.
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.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 Solving Linear Systems Matrix Definitions –Matrix--- Rectangular array/ block of numbers. –The size/order/dimension of a matrix: (The numbers.
ECON 1150 Matrix Operations Special Matrices
Matrix Algebra. Quick Review Quick Review Solutions.
Fin500J Mathematical Foundations in Finance Topic 1: Matrix Algebra Philip H. Dybvig Reference: Mathematics for Economists, Carl Simon and Lawrence Blume,
CMPS 1371 Introduction to Computing for Engineers MATRICES.
Copyright © 2011 Pearson, Inc. 7.2 Matrix Algebra.
Lecture 28: Mathematical Insight and Engineering.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Unit 6 : Matrices.
Unit 3: Matrices.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
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.
2009/9 1 Matrices(§3.8)  A matrix is a rectangular array of objects (usually numbers).  An m  n (“m by n”) matrix has exactly m horizontal rows, and.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
Chapter 6 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Matrix Operations and Their Applications.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
Slide Copyright © 2009 Pearson Education, Inc. 7.3 Matrices.
MATRICES MATRIX OPERATIONS. About Matrices  A matrix is a rectangular arrangement of numbers in rows and columns. Rows run horizontally and columns run.
1.3 Matrices and Matrix Operations. A matrix is a rectangular array of numbers. The numbers in the arry are called the Entries in the matrix. The size.
Sec 4.1 Matrices.
MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 1 Introduction to Matrix Narong Aphiratsakun, D.Eng.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
Matrices and Determinants
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.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Chapter 5: Matrices and Determinants Section 5.1: Matrix Addition.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
2.1 Matrix Operations 2. Matrix Algebra. j -th column i -th row Diagonal entries Diagonal matrix : a square matrix whose nondiagonal entries are zero.
Matrices. Matrix A matrix is an ordered rectangular array of numbers. The entry in the i th row and j th column is denoted by a ij. Ex. 4 Columns 3 Rows.
MTH108 Business Math I Lecture 20.
EEE 244-3: MATRICES AND EQUATION SOLVING
Matrices and Matrix Operations
Linear Algebraic Equations and Matrices
12-1 Organizing Data Using Matrices
Matrix Operations Free powerpoints at
Linear Algebra review (optional)
Chapter 7 Matrix Mathematics
Matrix Operations.
Matrix Operations Free powerpoints at
Linear Algebraic Equations and Matrices
Matrix Operations.
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Matrix Operations Free powerpoints at
7.3 Matrices.
الوحدة السابعة : المصفوفات . تنظيم البيانات فى مصفوفات . الوحدة السابعة : المصفوفات . تنظيم البيانات فى مصفوفات . 1 جمع المصفوفات وطرحها.
2. Matrix Algebra 2.1 Matrix Operations.
Section 2.4 Matrices.
3.5 Perform Basic Matrix Operations
EEE 244-3: MATRICES AND EQUATION SOLVING
Linear Algebra review (optional)
Chapter 4 Matrices & Determinants
Matrix Operations Ms. Olifer.
Matrix Operations SpringSemester 2017.
Presentation transcript:

ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University

ES 240: Scientific and Engineering Computation. Chapter 8Overview  Matrix: –rectangular array of elements represented by a single symbol (e.g. [A]).  Element –An individual entry of a matrix –example: a 23 – a row column

ES 240: Scientific and Engineering Computation. Chapter 8 Overview (cont)  A horizontal set of elements is called a row and a vertical set of elements is called a column.  The first subscript of an element indicates the row while the second indicates the column.  The size of a matrix is given as m rows by n columns, or simply m by n (or m x n).  1 x n matrices are row vectors.  m x 1 matrices are column vectors.

ES 240: Scientific and Engineering Computation. Chapter 8 Special Matrices  Matrices where m=n are called square matrices.  There are a number of special forms of square matrices:

ES 240: Scientific and Engineering Computation. Chapter 8 Matrix Operations  Equal Matrices –Two matrices are considered equal if and only if every element in the first matrix is equal to every corresponding element in the second. –Both matrices must be the same size.  Matrix addition and subtraction – performed by adding or subtracting the corresponding elements. –Matrices must be the same size.

ES 240: Scientific and Engineering Computation. Chapter 8 Example Addition & Subtraction Example Addition & Subtraction is not defined.

ES 240: Scientific and Engineering Computation. Chapter 8 Matrix Multiplication  Scalar matrix multiplication is performed by multiplying each element by the same scalar.  If A is a row matrix and B is a column matrix, then we can form the product A  B provided that the two matrices have the same length.  The product A  B is a 1x1 matrix obtained by multiplying corresponding entries of A and B and then forming the sum.

ES 240: Scientific and Engineering Computation. Chapter 8 Example Multiplying Row to Column Example Multiplying Row to Column is not defined.

ES 240: Scientific and Engineering Computation. Chapter 8 Matrix Multiplication  If A is an mxn matrix and B is an nxq matrix, then we can form the product A  B.  The product A  B is an mxq matrix whose entries are obtained by multiplying the rows of A by the columns of B.  The entry in the i th row and j th column of the product A  B is formed by multiplying the i th row of A and j th column of B.

ES 240: Scientific and Engineering Computation. Chapter 8 Example Matrix Multiplication Example Matrix Multiplication is not defined. Matlab command: A*B – no dot multiplication

ES 240: Scientific and Engineering Computation. Chapter 8 Matrix Inverse and Transpose  The inverse of a square matrix A, denoted by A -1, is a square matrix with the property A -1 A = AA -1 = I, where I is an identity matrix of the same size. –Matlab command: inv(A), A^ -1  The transpose of a matrix involves transforming its rows into columns and its columns into rows. –(a ij ) T =a ji –Matlab command: a’ or transpose(a)

ES 240: Scientific and Engineering Computation. Chapter 8 Example Example Verify that is the inverse of checks

ES 240: Scientific and Engineering Computation. Chapter 8 Representing Linear Algebra  Matrices provide a concise notation for representing and solving simultaneous linear equations:

ES 240: Scientific and Engineering Computation. Chapter 8 Solving a Matrix Equation –If the matrix A has an inverse, then the solution of the matrix equation AX = B is given by X = A -1 B.

ES 240: Scientific and Engineering Computation. Chapter 8 Example Solving a Matrix Equation Example Solving a Matrix Equation Use a matrix equation to solve The matrix form of the equation is

ES 240: Scientific and Engineering Computation. Chapter 8 Solving With MATLAB  MATLAB provides two direct ways to solve systems of linear algebraic equations [A]{x}={b}: –Left-division x = A\b –Matrix inversion x = inv(A)*b  Disadvantages of the matrix inverse method: –less efficient than left-division –only works for square, non-singular systems.

ES 240: Scientific and Engineering Computation. Chapter 8Lab  Ex 8.9 (see pgs 193/194)