Systems of Linear Equations in Engineering

Slides:



Advertisements
Similar presentations
4.4 Cramer’s Rule. You can use the determinant of a matrix to help you solve a system of equations. For two equations with two variables written in ax.
Advertisements

Straight Lines.
Linear Simultaneous Equations
Vocabulary Chapter 6.
LINEAR EQUATIONS IN TWO VARIABLES. System of equations or simultaneous equations – System of equations or simultaneous equations – A pair of linear.
LINEAR EQUATION IN TWO VARIABLES. System of equations or simultaneous equations – System of equations or simultaneous equations – A pair of linear equations.
3.1 - Solving Systems by Graphing. All I do is Solve!
Linear Functions.
Copyright © 2009 Pearson Education, Inc. CHAPTER 9: Systems of Equations and Matrices 9.1 Systems of Equations in Two Variables 9.2 Systems of Equations.
Thinking Mathematically Algebra: Graphs, Functions and Linear Systems 7.3 Systems of Linear Equations In Two Variables.
EGR 1101 Unit 7 Systems of Linear Equations in Engineering (Chapter 7 of Rattan/Klingbeil text)
Solving Systems of Equations: Elimination Method.
Chapter 10 Review: Matrix Algebra
ECON 1150 Matrix Operations Special Matrices
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
Systems of Linear Equations Let’s say you need to solve the following for x, y, & z: 2x + y – 2z = 10 3x + 2y + 2z = 1 5x + 4y + 3z = 4 Two methods –Gaussian.
4.5 Solving Systems using Matrix Equations and Inverses.
Solve Systems of Linear Equations Using Elimination Honors Math – Grade 8.
4.5 Solving Systems using Matrix Equations and Inverses OBJ: To solve systems of linear equations using inverse matrices & use systems of linear equations.
Inverse Matrices and Systems
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 9 Matrices and Determinants.
1 Ch. 4 Linear Models & Matrix Algebra Matrix algebra can be used: a. To express the system of equations in a compact manner. b. To find out whether solution.
1. Inverse of A 2. Inverse of a 2x2 Matrix 3. Matrix With No Inverse 4. Solving a Matrix Equation 1.
© 2005 Baylor University Slide 1 Fundamentals of Engineering Analysis EGR Adjoint Matrix and Inverse Solutions, Cramer’s Rule.
Chapter 9 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Determinants and Cramer’s Rule.
Systems of Equations and Inequalities Systems of Linear Equations: Substitution and Elimination Matrices Determinants Systems of Non-linear Equations Systems.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 22P. 1Winter Quarter MATLAB: Simultaneous Equations Lecture 22.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 22P. 1Winter Quarter MATLAB: Simultaneous.
4.7 Solving Systems using Matrix Equations and Inverses
GUIDED PRACTICE for Example – – 2 12 – 4 – 6 A = Use a graphing calculator to find the inverse of the matrix A. Check the result by showing.
4-8 Cramer’s Rule We can solve a system of linear equations that has a unique solution by using determinants and a pattern called Cramer’s Rule (named.
SOLVING SYSTEMS USING ELIMINATION 6-3. Solve the linear system using elimination. 5x – 6y = -32 3x + 6y = 48 (2, 7)
Solving Systems of Linear equations with 3 Variables To solve for three variables, we need a system of three independent equations.
1 ECE 102 Engineering Computation Chapter 3 Math Review 3: Cramer’s Rule Dr. Herbert G. Mayer, PSU Status 10/11/2015 For use at CCUT Fall 2015.
1 ECE 221 Electric Circuit Analysis I Chapter 6 Cramer’s Rule Herbert G. Mayer, PSU Status 11/14/2014 For use at Changchun University of Technology CCUT.
Determinants Every n  n matrix A is associated with a real number called the determinant of A, written  A . The determinant of a 2  2 matrix.
3.8B Solving Systems using Matrix Equations and Inverses.
Notes Over 4.3 Evaluate Determinants of 2 x 2 Matrices
Solving Systems of Equations Chapter 3. System of Linear Equations 0 Consists of two or more equations. 0 The solution of the equations is an ordered.
3.1 - Solving Systems by Graphing
Use Inverse Matrices to Solve Linear Systems
TYPES OF SOLUTIONS SOLVING EQUATIONS
WARM UP Find each equation, determine whether the indicated pair (x, y) is a solution of the equation. 2x + y = 5; (1, 3) 4x – 3y = 14; (5, 2)
TYPES OF SOLUTIONS SOLVING EQUATIONS
Review of Matrix Operations
Linear Algebra Lecture 19.
We will be looking for a solution to the system of linear differential equations with constant coefficients.
4.3 Determinants and Cramer’s Rule
Using Determinants to solve systems of equations
Solving Linear Systems Algebraically
EGR 2201 Unit 3 Nodal Analysis
4.3 Determinants and Cramer’s Rule
Applying Determinants to solve Systems of Equations 2x2 & 3x3
Chapter 7: Matrices and Systems of Equations and Inequalities
Systems of Equations and Inequalities
Simultaneous Equations
Multiplicative Inverses of Matrices and Matrix Equations
Use Inverse Matrices to Solve 2 Variable Linear Systems
ELL100: INTRODUCTION TO ELECTRICAL ENG.
ECE 221 Electric Circuit Analysis I Chapter 6 Cramer’s Rule
Solve Linear Equations by Elimination
Linear Algebra Lecture 3.
Chapter 3 Section 6.
Inverse Matrices and Systems
3.6 Solving Systems with Three Variables
ECE 3144 Lecture 10 Dr. Rose Q. Hu Electrical and Computer Engineering Department Mississippi State University.
Chapter 8 Systems of Equations
Solving Two-Step Equations
Variables.
Multiply by 5/40 and sum with 2nd row
Presentation transcript:

Systems of Linear Equations in Engineering EGR 1101 Unit 7 Systems of Linear Equations in Engineering (Chapter 7 of Rattan/Klingbeil text)

Systems of Linear Equations A linear equation in one variable has a unique solution. Example: 2x=8 has a unique solution, namely x=4. A linear equation in two variables does not have a unique solution. Example: 3x-4y=7 does not have a unique solution. But a system of two independent linear equations in two variables does have a unique solution. Example: The pair of equations 3x-4y=7 and 2x+8y=26 has a unique solution, namely x=5 and y=2.

Generalizing More generally, for any positive integer n, a system of n independent linear equations in n variables does have a unique solution. It’s not unusual in engineering problems to end up with, say, eight equations in eight variables.

Four Methods We’ll study four methods for attacking such problems: Substitution Graphical method Matrix algebra Cramer’s Rule (a shortcut derived from matrix algebra) For a given problem, all four methods should give the same solution!

Today’s Examples Currents in a two-loop circuit Forces in static equilibrium: Hanging weight

A 2-by-2 Matrix Equation Suppose we have the system of equations a11x1 + a12x2 = b1 a21x1 + a22x2 = b2 We can write this in matrix form as or A x = b

Rewriting a Matrix Equation Suppose that in the matrix equation A x = b A is a matrix of known constants, and x is a vector of unknowns, and b is a vector of known constants. We can solve for the unknowns in x by rewriting this equation as x = A-1 b The problem becomes: How do we find the inverse matrix A-1?

Determinant of a 2-by-2 Matrix Suppose we have a matrix A given by This matrix’s determinant is given by |A|  a11a22  a12a21 We sometimes use the symbol  for the determinant.

Inverse of a 2-by-2 Matrix Suppose again we have a matrix A given by This matrix’s inverse is given by

Method 4. Cramer’s Rule This shortcut rule says that the solutions of a matrix equation A x = b are given by: where Ai is obtained by replacing the ith column of A with the vector b.

Solving Matrix Equations with MATLAB First, define our coefficient matrix and our vector of constants: >> A = [10 4; 4 12] >> b = [6; 9] MATLAB offers at least three ways to proceed from here: >> x = inv(A)*b >> x = A^-1 * b >> x = A \ b