f undamentals of e ngineering a nalysis eng. hassan s. migdadi inverse of matrix. gauss-jordan...

14
FUNDAMENTALS OF ENGINEERING ANALYSIS Eng. Hassan S. Migdadi verse of Matrix. Gauss-Jordan Eliminati Part 1

Upload: thomasina-davidson

Post on 29-Dec-2015

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

FUNDAMENTALS OF ENGINEERING ANALYSIS

Eng. Hassan S. Migdadi

Inverse of Matrix. Gauss-Jordan EliminationPart 1

Page 2: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

A review of the Identity

For real numbers, what is the additive identity? Zero…. Why? Because for any real number b, 0 + b = b What is the multiplicative identity? 1 … Why? Because for any real number b, 1 * b = b

Page 3: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Identity Matrices

The identity matrix is a square matrix (same # of rows and columns) that, when multiplied by another matrix, equals that same matrix

If A is any n x n matrix and I is the n x n Identity matrix, then A * I = A and I*A = A

Page 4: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Examples

The 2 x 2 Identity matrix is:

The 3 x 3 Identity matrix is:

1 0

0 1

1 0 0

0 1 0

0 0 1

•Notice any pattern?

•Most of the elements are 0, except those in the diagonal from upper left to lower right, in which every element is 1!

Page 5: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Inverse review

Recall that we defined the inverse of a real number b to be a real number a such that a and b combined to form the identity

For example, 3 and -3 are additive inverses since 3 + -3 = 0, the additive identity

Also, -2 and – ½ are multiplicative inverses since (-2) *(- ½ ) = 1, the multiplicative identity

Page 6: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Matrix Inverses Two n x n matrices are inverses of each other if their product

is the identity Not all matrices have inverses (more on this later) Often we symbolize the inverse of a matrix by writing it with

an exponent of (-1) For example, the inverse of matrix A is A-1

A * A-1 = I, the identity matrix.. Also A-1 *A = I To determine if 2 matrices are inverses, multiply them and see

if the result is the Identity matrix!

Page 7: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Determine whether X and Y are inverses.

Check to see if X • Y = I.

Write an equation.

Matrixmultiplication

Page 8: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Now find Y • X.

Matrixmultiplication

Write an equation.

Answer: Since X • Y = Y • X = I, X and Y are inverses.

Page 9: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Determine whether P and Q are inverses.

Check to see if P • Q = I.

Write anequation.

Matrix multiplication

Answer: Since P • Q I, they are not inverses.

Page 10: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Determine whether each pair of matrices are inverses.

a.

b.

Answer: no

Answer: yes

Page 11: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Inverse of a number

When we are talking about our natural numbers, the inverse of a number is it’s reciprocal. When we multiply a number by it’s inverse we get 1.For example:

1

13 134 0.25 1

1k k

Page 12: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Inverse of a matrix

What do you think we would get if we multiplied a matrix by it’s inverse? Try it on your calculator.

1A A I A matrix multiplied by its inverse always gives us an identity matrix.

Page 13: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Inverse of a matrix

Not all matrices have an inverse.

If the determinant of a matrix is 0,

then it has no inverse and is said to be SINGULAR.All others are said to be NON-SINGULAR

Page 14: F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1

Finding Inverses 2x2

1A A I 8 10

3 4A

Let A-1 =

dc

ba

Multiplying out gives..

10

01

43

108

dc

ba

10

01

4343

108108

dbca

dbca

043

1108

ca

ca

143

0108

db

db

Can you solve these to work out A-1?

45.1

521A

So AA-1 = I