MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2



Similar documents
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices

MATHEMATICS FOR ENGINEERING BASIC ALGEBRA

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

Name: Section Registered In:

1 Introduction to Matrices

Solving Linear Systems, Continued and The Inverse of a Matrix

The Characteristic Polynomial

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

Typical Linear Equation Set and Corresponding Matrices

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Matrix Algebra in R A Minimal Introduction

Solving simultaneous equations using the inverse matrix

Introduction to Matrix Algebra

Using row reduction to calculate the inverse and the determinant of a square matrix

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Style. Learning Outcomes

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

Here are some examples of combining elements and the operations used:

Solving Systems of Linear Equations Using Matrices

Introduction to Matrices for Engineers

1 Determinants and the Solvability of Linear Systems

K80TTQ1EP-??,VO.L,XU0H5BY,_71ZVPKOE678_X,N2Y-8HI4VS,,6Z28DDW5N7ADY013

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Solution to Homework 2

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

Equations, Inequalities & Partial Fractions

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

5.5. Solving linear systems by the elimination method

Row Echelon Form and Reduced Row Echelon Form

Linear Algebra Notes for Marsden and Tromba Vector Calculus

6. Cholesky factorization

Lecture 2 Matrix Operations

x = + x 2 + x

Question 2: How do you solve a matrix equation using the matrix inverse?

Notes on Determinant

Data Mining: Algorithms and Applications Matrix Math Review

MATH APPLIED MATRIX THEORY

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. (

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Chapter 17. Orthogonal Matrices and Symmetries of Space

Lecture Notes 2: Matrices as Systems of Linear Equations

Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving MATLAB Tutorial VI

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

26. Determinants I. 1. Prehistory

Matrix Differentiation

1.2 Solving a System of Linear Equations

Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors

Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = i.

Solving Systems of Linear Equations

Systems of Linear Equations

DETERMINANTS TERRY A. LORING

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

Hill s Cipher: Linear Algebra in Cryptography

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

160 CHAPTER 4. VECTOR SPACES

[1] Diagonal factorization

Linear Equations ! $ & " % & " 11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development

Domain of a Composition

2.3. Finding polynomial functions. An Introduction:

Linear Algebra and TI 89

Linear Algebra: Vectors

The Determinant: a Means to Calculate Volume

18.06 Problem Set 4 Solution Due Wednesday, 11 March 2009 at 4 pm in Total: 175 points.

8 Square matrices continued: Determinants

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above:

Brief Introduction to Vectors and Matrices

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.

Section 5.3. Section 5.3. u m ] l jj. = l jj u j + + l mj u m. v j = [ u 1 u j. l mj

MATHEMATICS FOR ENGINEERING BASIC ALGEBRA

Unit 18 Determinants

521493S Computer Graphics. Exercise 2 & course schedule change

LINEAR ALGEBRA. September 23, 2010

Multiple regression - Matrices

Solutions to Math 51 First Exam January 29, 2015

9 MATRICES AND TRANSFORMATIONS

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form

SOLVING COMPLEX SYSTEMS USING SPREADSHEETS: A MATRIX DECOMPOSITION APPROACH

Reciprocal Cost Allocations for Many Support Departments Using Spreadsheet Matrix Functions

An Introduction to Hill Ciphers Using Linear Algebra

Lecture 1: Systems of Linear Equations

Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components

( ) which must be a vector

Excel supplement: Chapter 7 Matrix and vector algebra

Circuits 1 M H Miller

LAB 11: MATRICES, SYSTEMS OF EQUATIONS and POLYNOMIAL MODELING

MAT188H1S Lec0101 Burbulla

Linearly Independent Sets and Linearly Dependent Sets

Similar matrices and Jordan form

University of Lille I PC first year list of exercises n 7. Review

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d.

by the matrix A results in a vector which is a reflection of the given

Section 8.2 Solving a System of Equations Using Matrices (Guassian Elimination)

Lecture 3: Finding integer solutions to systems of linear equations

MBA Jump Start Program

Vector and Matrix Norms

Transcription:

MATHEMATICS FO ENGINEES BASIC MATIX THEOY TUTOIAL This is the second of two tutorials on matrix theory. On completion you should be able to do the following. Explain the general method for solving simultaneous equations. Calculate determinants. Calculate minors and cofactors. Define and form the adjoint matrix. Define and form the inverse matrix. Define the augmented matrix. Use all the above to solve simultaneous equations.. INTODUCTION In tutorial on matrices you were introduced to some of the basic terms and operations that we can do with them. In this tutorial we shall look at more advanced ideas and how they are used to solve simultaneous equations. D.J. Dunn

. OUTLINE TO A of SIMULTANEOUS EQUATIONS WITH A MATIX An important use of matrix theory is the solution of problems with more than two unknown variables and because the method is based on strict rules, it is suitable for use in computer programmes. Consider how three simultaneous equations are presented as a vector. The Matrix A is called the COEFFICIENT MATIX and it is formed from an array of numbers made from the coefficients a a The column vector b is made from the coefficients b, b and the column Vector X is made up from the variables x, y and z. The column vector b is the product of matrix A and X. a x + a y + a z = b a x + a y + a z = b a x + a y + a z = b We write this as A X = b Suppose that we had a matrix B such that AB = I (The unit matrix). We could then state : ABX = I X = B b X = B b This gives a numerical solution for X. The problem is finding the matrix B such that AB = I. This is a matrix called the inverse matrix and we must understand the following work in order to find it.. DETEMINANTS The determinant of a matrix is a single number that results from performing a specific operation on the array. It will be used later to solve simultaneous equations. The determinant of a matrix A is denoted as det A or A. The rule for finding the determinant can only be applied to a square matrix and the following is an explanation of it. For a single element array the determinant is the element. A = [a ] A = a For a x array the determinant is found as follows. A = (a a ) - (a a ) WOKED EXAMPLE No. Calculate A A = ()(-) ()(4) = -4 - = -6 WOKED EXAMPLE No. Find the determinant of a x unit matrix. A = ()() ()() = D.J. Dunn

An important point to remember is that the determinant of all unit matrices is. For larger square arrays, the rule for finding the determinant is more complicated and it is crucial to understand the following work in order to do it. 4. MINOS AND COFACTOS If we cross out one row and one column of a matrix and find the determinant of the remaining array, we have the minor. The minor is designated M and the subscript is the number of the row and column eliminated. The cofactor is numerically the same as the minor but changes sign for every position in the row or column and the change in sign is indicated by the pattern shown. This is designated with a letter corresponding to the elements so in this case the minor would be A and from the sign pattern we find A = M. Consider how we find the determinant of the following x matrix. STEP Put a line through row and column leaving the elements shown. Find the determinant of the x array enclosed in the square. This is called the MINO of a and designated M. The COFACTO is A = M STEP Put a line through row and column leaving the elements shown. Form these into a x array and find the determinant. The result is the Minor M. The COFACTO is A = - M STEP Put a line through row and column leaving the elements shown. Form these into a x array and find the determinant. The result is the Minor M. The COFACTO is A = M The determinant of the whole array is now found from : A = a A + a A + a A For larger arrays the method is the same but the process is repeated until we are left with a x array. The cofactors take on the sign as indicated by the element position shown. D.J. Dunn

WOKED EXAMPLE No. Find the determinant of A a = A = - a = - A = - a = 4 A = - A = a A + a A + a A = () (-) + (-)(-) + (4)(-) = - SELF ASSESSMENT EXECISE No. Find the determinant of the following x matrices. Answers A = 4 B = -8 C = - D.J. Dunn 4

. ADJOINT MATIX Another concept used in matrix methods is the Adjoint or Adjugate matrix. This has very useful properties in the solution of problems. This is a matrix formed from all the cofactors of the original matrix and then transposed. We designate this with adj If we had x matrix designated A, the Adjoint is given as: WOKED EXAMPLE No.4 Find the adjoint of the x matrix shown. Go on to find the product of A and adj A First find all the cofactors. emember to use the pattern for the sign changes. Now make a new matrix and transpose it to find the Adjoint. Now multiply A by adj A D.J. Dunn

An important point to emerge here is that A adj A always produces a square matrix with all elements zero except the leading diagonal which has all the same elements. ecall that: If a matrix is multiplied by a constant, all the elements are multiplied by a constant. A unit matrix is one with all elements zero except the leading diagonal in which the elements are. The determinant of the unit matrix is. It follows that the product of a constant (A) with the unit matrix is as shown. The determinant of a matrix with all the leading elements A and all other elements zero, is A. Hence if a unit matrix is multiplied by det A, the elements of the leading diagonal will all be det A It also follows that A adj A = det A x the unit matrix. i.e. In the last example, the determinant of matrix A is clearly - and this could be verified by finding det A by the usual method. 6. INVESE MATIX We are on the last stage now and next we will be able to solve simultaneous equations. Suppose we had two matrices A and B such that the product is the unit matrix, i.e. AB = I and it follows that BA = I Matrix B is the inverse of matrix A so we denote it A and replace B with this, so AA = I We have already used the relationship A adj A = A I So equating we have The important result is A adj A = A AA adj A = A A A = (adj A)/ A D.J. Dunn 6

WOKED EXAMPLE No. Find the inverse of A given First find all the cofactors. Next find the adjoint of A Next find the determinant of A A =()() + ()() + ()() = 4 Now find the inverse of A A = (adj A)/ A D.J. Dunn

. SOLVING SIMULTANEOUS EQUATIONS You will find more useful examples on this at http://tutorial.math.lamar.edu/allbrowsers/4/augmentedmatrix.asp Consider the three equations x y + z = x y + z = 4 -x + y - z = - A solution exists if we can manipulate all the coefficients to the form x + y + z = a x + y + z = b x + y + z = c The matrix form would be as shown. It would follow that x = a, y = b and z = c AUGMENTED MATIX If we write the matrix in this form it is called an augmented matrix. This makes it easier for us to manipulate the figures and turn the coefficient matrix into a unit matrix. emember that we can do the following to the simultaneous equations without changing the validity. ) We can swap the order of the equations as written down without materially changing anything. ) We can multiply any equation by a constant and the equality is maintained. ) We can form new equations by adding a multiple of any one to another. In the augmented matrix this means we can perform the same operations on the rows (not forgetting that it apples to the fourth column as well). The symbol means 'swap' and means 'becomes'. WOKED EXAMPLE No.6 Solve x - y = 4 and x + y = Write the augmented matrix This method requires that we have a as the first element. This can be done in this case by swapping the rows. Next we need to make the element below the into a zero. This is achieved by multiplying row by - and adding it to row to form a new row. This is within the rules explained above. Now we must make the last element into by dividing the second row by - Now the last operation is to make the into a and this can be done by multiplying row by - and adding it to row. The solution is x = 4, y = - D.J. Dunn 8

WOKED EXAMPLE No. Solve x + y - z = x - y + z = x y - z = Write the augmented matrix and manipulate / / / / / + + hence x =, y = - and z = This method requires a bit of intuition so a method that uses strict rules is covered next. D.J. Dunn 9

SOLVING WITH INVESE MATICES We started the tutorial by saying if a matrix B existed such that AB = I then the numerical solution for X is X = B b The matrix B is the inverse of A so we have X = A b The next worked example uses the same material as the last worked example. WOKED EXAMPLE No.8 Solve the x, y and z given the three simultaneous equations. x + y + z = 8 x y z = -4 x + y z = 6 Create the following matrix. Find the inverse of A using the method outlined earlier. Now solve X = A b emember the multiplication rule and note we divide the result by 4 ow x column = ¼{()(8) + ()(-4) + ()(6)} = ¼{6-8} = ow x column = ¼{()(8) + (-)(-4) + ()(6)} = ¼{} = ow x column = ¼{()(8) + ()(-4) + (-)(6)} = ¼{} = The solution is x =, y = and z = These values may be substituted back into the original equations to check them out. D.J. Dunn

SELF ASSESSMENT EXECISE No. Solve the following simultaneous equations. x + y + z = x y z = x + y z = -. x - y - z = 6 x + y = x + y z = 6. x + y + z = x + y z = - x + 4y z = -8 4. x y = -9 x + y =. x y = 8 x + y = 4 Answers are on the next page. D.J. Dunn

ANSWES to SAE. x =, y = - z =. x = y = - z =. x = y = - z = 4. x =. y = 4. x = 4 y = -4 D.J. Dunn