Solving Linear Systems Syed Nasrullah

Slides:



Advertisements
Similar presentations
Linear Algebra Applications in Matlab ME 303. Special Characters and Matlab Functions.
Advertisements

Here is a preview of one type of problem we are going to solve using matrices. Solve this system of equations:
Section 9.6 Determinants and Inverses Objectives To understand how to find a determinant of a 2x2 matrix. To understand the identity matrix. Do define.
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
EXAMPLE 2 Solve a matrix equation SOLUTION Begin by finding the inverse of A = Solve the matrix equation AX = B for the 2 × 2 matrix X. 2 –7 –1.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
Solving System of Linear Equations. 1. Diagonal Form of a System of Equations 2. Elementary Row Operations 3. Elementary Row Operation 1 4. Elementary.
Using Inverse Matrices Solving Systems. You can use the inverse of the coefficient matrix to find the solution. 3x + 2y = 7 4x - 5y = 11 Solve the system.
Using Matrices to Solve a System of Equations. Multiplicative Identity Matrix The product of a square matrix A and its identity matrix I, on the left.
Matrix Equations Step 1: Write the system as a matrix equation. A three-equation system is shown below.
3.5 Solution by Determinants. The Determinant of a Matrix The determinant of a matrix A is denoted by |A|. Determinants exist only for square matrices.
Review of Matrices Or A Fast Introduction.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 9 Matrices and Determinants.
4.4 & 4.5 Notes Remember: Identity Matrices: If the product of two matrices equal the identity matrix then they are inverses.
4.6 Matrix Equations and Systems of Linear Equations In this section, you will study matrix equations and how to use them to solve systems of linear equations.
Chapter 4 Matrices By: Matt Raimondi.
14.3 Matrix Equations and Matrix Solutions to 2x2 Systems OBJ: Use the Inverse of a 2 x 2 Matrix to solve a system of equations.
4-5 Matrix Inverses and Solving Systems Warm Up Lesson Presentation
2.5 - Determinants & Multiplicative Inverses of Matrices.
Lesson 7.6 & 7.7 Inverses of a Square Matrix & Determinant.
Lecture 28: Mathematical Insight and Engineering.
8.3 Another Way of Solving a System of Equations Objectives: 1.) Learn to find the inverse matrix 2.) Use the inverse matrix to a system of equations.
1. Inverse of A 2. Inverse of a 2x2 Matrix 3. Matrix With No Inverse 4. Solving a Matrix Equation 1.
4.7 Identity and Inverse Matrices and Solving Systems of Equations Objectives: 1.Determine whether two matrices are inverses. 2.Find the inverse of a 2x2.
Inverse Matrices and Matrix Equations Dr. Shildneck Fall, 2015.
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.
Identity What number is the multiplication identity for real numbers? For matrices, n x n--square matrices, has 1’s on main diagonal and zeros elsewhere.
Unit 3: Matrices.
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.
4.5 Matrices, Determinants, Inverseres -Identity matrices -Inverse matrix (intro) -An application -Finding inverse matrices (by hand) -Finding inverse.
Copyright © 2011 Pearson Education, Inc. Solving Linear Systems Using Matrices Section 6.1 Matrices and Determinants.
Warm- Up Solve the following systems using elimination or substitution : 1. x + y = 6 -3x + y = x + 4y = 7 x + 2y = 7.
4.7 Solving Systems using Matrix Equations and Inverses
4.8 Using matrices to solve systems! 2 variable systems – by hand 3 or more variables – using calculator!
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.
Chapter 4 Section 5 and 6 Finding and Using Inverses Algebra 2 Notes February 26, 2009.
1.7 Linear Independence. in R n is said to be linearly independent if has only the trivial solution. in R n is said to be linearly dependent if there.
Solving Linear Equations with Justification of Properties.
More on Matrices Quiz : Friday, Oct. 16 Unit 1 Test: Oct. 23 ( tentative ) WOTD: affable: adj: courteous and pleasant, sociable, easy to speak.
2.5 – Determinants and Multiplicative Inverses of Matrices.
Use Inverse Matrices to Solve Linear Systems Objectives 1.To find the inverse of a square matrix 2.To solve a matrix equation using inverses 3.To solve.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
10.4 Matrix Algebra. 1. Matrix Notation A matrix is an array of numbers. Definition Definition: The Dimension of a matrix is m x n “m by n” where m =
College Algebra Chapter 6 Matrices and Determinants and Applications
Use Inverse Matrices to Solve Linear Systems
12-4: Matrix Methods for Square Systems
3. 3 Solving Equations Using Addition or Subtraction 3
Linear Algebraic Equations and Matrices
10.5 Inverses of Matrices and Matrix Equations
Multiplication of Matrices
4.3 Determinants & Cramer’s Rule
7.3 Matrices.
Matrix Algebra.
Use Inverse Matrices to Solve Linear Systems
Solving Linear Systems Using Inverse Matrices
Lecture 11 Matrices and Linear Algebra with MATLAB
Use Inverse Matrices to Solve 2 Variable Linear Systems
Unit 3: Matrices
Inverse Matrices and Matrix Equations
ARRAY DIVISION Identity matrix Islamic University of Gaza
3.8 Use Inverse Matrices to Solve Linear Systems
5 minutes Warm-Up Multiply Matrix A times Matrix B.
Multiplication of Matrices
1.8 Matrices.
1.8 Matrices.
Using matrices to solve Systems of Equations
Solving Linear Systems of Equations - Inverse Matrix
Presentation transcript:

Solving Linear Systems Syed Nasrullah Lab 3 Solving Linear Systems Syed Nasrullah

Method 1 Finding Determinants To Solving Linear Systems 2 × 2 matrix

Example : - Compute the determinants of the following matrices : det(A) = (1)(4) - (2)(3) = 4 - 6 = -2. - + det(A) = (3)(5)(5) + (1)(9)(2) + (4)(1)(6) - (3)(9)(6) - (1)(1)(5) - (4)(5)(2) = 75 + 18 + 24 - 162 - 5 - 40 = -90

Finding Determinants using Matlab

Solving Linear Systems “ using Determinates ” Determinants can be used to find out if a linear system of equations has a solution. Consider the following set of equations: 5x + 2y − 9z = 44 −9x − 3y + 2z = 11 6x + 7y + 3z =5 1’st step : find the determinant of the coefficient matrix A.

The solution of the system 2’nd step : create a column vector of the numbers on the right-hand side of the system. Then using left division, and the vector which will appear is the solution of the linear equation. Left Division = b / A The solution of the system

Method 2 Finding the Inverse of a Matrix To Solving Linear Systems The Identity Matrix ( I ) is the n × n matrix , each main diagonal entry is a 1 and for which all other entries are 0. For Example

[ -ͨ ᵃ ] Solve the linear equation “ using inverse Matrix ” : 6 -2 B= 5 2 A =1/(ad-bc) [ ᵈ -ᵇ ] [ -ͨ ᵃ ] A = 1 /[ (3*(-2)-(-2) *(6) ] -2 2 - 6 3 X = A * B = -1.0000 -4.0000 3x − 2y = 5 6x − 2y = 2 -1 -1 -1

Solving Linear Systems “ using inverse Matrix ” 5x + 2y − 9z = 44 −9x − 2y + 2z = 11 6x + 7y + 3z = 44 Solving Linear Systems “ using inverse Matrix ” 1’st step : find the inverse of the coefficient matrix A.

The solution of the system 2’nd step : create a column vector (B) of the numbers on the right-hand side of the system. Then using Multiplication * between inverseA and B which will appear is the solution of the linear equation. The solution of the system

Find a solution to the following Linear Equations: EXCERSIZE : Find a solution to the following Linear Equations: x + 2y + 3z = 12 −4x + y + 2z = 13 9y − 8z = −1