Lecture 28: Mathematical Insight and Engineering.

Slides:



Advertisements
Similar presentations
2.3 Modeling Real World Data with Matrices
Advertisements

SOLVING SYSTEMS OF LINEAR EQUATIONS. Overview A matrix consists of a rectangular array of elements represented by a single symbol (example: [A]). An individual.
Matrices & Systems of Linear Equations
Maths for Computer Graphics
Matrices. Special Matrices Matrix Addition and Subtraction Example.
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.
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.
ECIV 520 Structural Analysis II Review of Matrix Algebra.
Part 3 Chapter 8 Linear Algebraic Equations and Matrices PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The.
Matrix Mathematics in MATLAB and Excel
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
Intro to Matrices Don’t be scared….
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 10 Review: Matrix Algebra
ECON 1150 Matrix Operations Special Matrices
Matrix Entry or element Rows, columns Dimensions Matrix Addition/Subtraction Scalar Multiplication.
4.4 & 4.5 Notes Remember: Identity Matrices: If the product of two matrices equal the identity matrix then they are inverses.
Array Addition  Two arrays can be added if and only if both arrays have exactly the same dimensions.  Assuming the dimension requirement is satisfied,
MATLAB for Engineers 4E, by Holly Moore. © 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected by Copyright.
Learner’s Guide to MATLAB® Chapter 2 : Working with Arrays.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
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.
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
Matrix Computations ELEC 206 Computer Applications for Electrical Engineers Dr. Ron Hayne.
13.6 MATRIX SOLUTION OF A LINEAR SYSTEM.  Examine the matrix equation below.  How would you solve for X?  In order to solve this type of equation,
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.
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.
Matrix Computations ELEC 206 Computer Applications for Electrical Engineers Dr. Ron Hayne.
Sec 4.1 Matrices.
MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 1 Introduction to Matrix Narong Aphiratsakun, D.Eng.
Finishing up Chapter 5. Will this code enter the if statement? G=[30,55,10] if G
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
3.5 Perform Basic Matrix Operations Add Matrices Subtract Matrices Solve Matric equations for x and y.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Precalculus Section 14.1 Add and subtract matrices Often a set of data is arranged in a table form A matrix is a rectangular.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 3 - Chapter 8 Linear Algebraic Equations and Matrices.
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.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices.
MTH108 Business Math I Lecture 20.
13.4 Product of Two Matrices
Linear Algebraic Equations and Matrices
12-1 Organizing Data Using Matrices
Multiplying Matrices.
Linear Algebra review (optional)
Chapter 7 Matrix Mathematics
Linear Algebraic Equations and Matrices
Linear independence and matrix rank
Matrix Operations SpringSemester 2017.
Multiplying Matrices.
7.3 Matrices.
Lecture 11 Matrices and Linear Algebra with MATLAB
Unit 3: Matrices
ARRAY DIVISION Identity matrix Islamic University of Gaza
Multiplying Matrices.
3.6 Multiply Matrices.
1.8 Matrices.
Matrix Operations SpringSemester 2017.
1.8 Matrices.
Multiplying Matrices.
Multiplying Matrices.
Multiplying Matrices.
Presentation transcript:

Lecture 28: Mathematical Insight and Engineering

Matrices Matrices are commonly used in engineering computations. A matrix generally has more than one row and more than one column. Scalar multiplication and matrix addition and subtraction are performed element by element.

Matrix Operations Transpose Multiplication Exponentiation Inverse Determinants Left division

Transpose In mathematics texts you will often see the transpose indicated with superscript T A T The MATLAB syntax for the transpose is A'

The transpose switches the rows and columns

The dot product is sometimes called the scalar product The sum of the results when you multiply two vectors together, element by element. Dot Products

* || * * + + Equivalent statements

Matrix Multiplication Matrix multiplication results in an array where each element is a dot product. In general, the results are found by taking the dot product of each row in matrix A with each column in Matrix B

A: m x n B: n x p

Because matrix multiplication is a series of dot products the number of columns in matrix A must equal the number of rows in matrix B For an mxn matrix multiplied by an nxp matrix m x n n x p These dimensions must match The resulting matrix will have these dimensions

Matrix Powers Raising a matrix to a power is equivalent to multiplying itself the requisite number of times A 2 is the same as A*A A 3 is the same as A*A*A Raising a matrix to a power requires it to have the same number of rows and columns

Matrix Inverse MATLAB offers two approaches The matrix inverse function  inv(A) Raising a matrix to the -1 power  A -1

A matrix times its inverse is the identity matrix Equivalent approaches to finding the inverse of a matrix

Not all matrices have an inverse Called Singular Ill-conditioned matrices Attempting to take the inverse of a singular matrix results in an error statement

Determinants Related to the matrix inverse If the determinant is equal to 0, the matrix does not have an inverse The MATLAB function to find a determinant is det(A)

|A| = A(1, 1)*A(2, 2) - A(1, 2)*A(2, 1) |A| = A(1,1)*A(2,2)*A(3,3) + A(1, 2)*A(2,3)*A(3,1) + A(1,3)*A(2,1)*a(3,2) - A(3,1)*A(2,2)*A(1,3) - A(3,2)*A(2,3)*A(1,1) - A(3,3)*A(2,1)*A(1,2)

Solutions to Systems of Linear Equations

Using Matrix Nomenclature and AX=B

We can solve this problem using the matrix inverse approach This approach is easy to understand, but its not the more efficient computationally

Matrix left division uses Gaussian elimination, which is much more efficient, and less prone to round-off error

Practice Question Solution: B

Practice Question Solution: B