ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
SYSTEM OF EQUATIONSMaría Isabel Cadena VelozaNumerical Methods
CRAMER:Cramer's rule is a process that helps you solve systems of linear equations having the same number of equations and variables.ÌýA method that applies the determinants.An example with all its steps.Solve the following system of equations:ÌýÌýÌýÌýÌýÌý3x - 2y = 4ÌýÌýÌýÌýÌýÌýÌý6x + y = 13GRAPHICAL METHODS
Find first determinant of the coefficients of the variables.ÌýYou call the primary determinant and you name with a D.D = (3) (a) - (6) (-2) = 15  You notice that the determinant of the coefficient matrix gave us 15.ÌýContinue with the process. Look at the procedure for finding the determinant for the variable x.Replaces the column of coefficients in the variable x with the values of the constants.ÌýThen observed the process:Dx = (4) (a) - (13) (-2) = 4 + 26 = 30
  To find the value of x, divide the value determined by the primary determinant Dx D.ÌýThat is, calculateNow look at how you find the value of y.Dy is calculated using the determinantD = (3) (13) - (6) (4) = 39-24 = 15Note that in thisdecisivechange in thesecondcolumnbytheconstant.  To find the value and divide the value found for D by the major determinant D.ÌýThat is, calculate       y = 1.
  Conclude that the solution of the system is (2,1).ÌýThis means that the two lines represented by the original equations intersect at a point with coordinates (2,1).Ìý  Remember that if the system is in intersecting lines call it consistent.
ELIMINATION OF MYSTERIES:   In The Method of Elimination (Addition and Subtraction), as its name says, we must remove one of the unknowns, are these, for example: x, y, z; this is done by multiplying one of the equations by any number,Ìýpositive or negative (all components of the equation will be affected by this issue), and already making another addition with the unknown equation chosen excess must be removed   (= 0).
  Example:2x +3 y = 2 - -> equation 1x-2y = 8 - -> equation 2SOLUTION:to eliminate the unknown coefficients are reversed as shown equations acontinuación:striking out “y“2 (2x +3 y = 2)3 (x-2y = 8)2 is the coefieciente of “y" two and the equation 3 is the ratio of “y" the one.Ìýbeing so:4x +6 y = 43x-6y = 24Now if you can remove the "y" and now clears the "x" to get its value7x = 28x = 28 / 7x = 4
  replaced only after the value"x" to any of the two equations to get the "y“2x +3 y = 22 (4) +3 y = 28 +3 y = 23y = 2-83y =- 6y =- 6 / 3y = 2
SIMPLE GAUSS    It is quite hard to solve non-linear systems of equations, while linear systems are quite easy to study.ÌýThere are numerical techniques which help to approximate nonlinear systems with linear ones in the hope that the solutions of the linear systems are close enough to the solutions of the nonlinear systems.ÌýWe will not discuss this here.ÌýInstead, we will focus our attention on linear systems.    For the sake of simplicity, we will restrict ourselves to three, at most four, unknowns.ÌýThe reader interested in the case of more unknowns may easily extend the following ideas.    Definition.ÌýThe equationÌý    axÌý+ÌýbyÌý+ÌýczÌý+ÌýdwÌý=Ìýh    whereÌýaÌý,ÌýbÌý,ÌýcÌý,ÌýdÌý, andÌýhÌýare known numbers, whileÌýxÌý,ÌýyÌý,ÌýzÌý, andÌýwÌýare unknown numbers, is called aÌýlinear equationÌý.ÌýIfÌýhÌý=0, the linear equation is said to beÌýhomogeneousÌý.ÌýAÌýlinear systemÌýis a set of linear equations and aÌýhomogeneous linear systemÌýis a set of homogeneous linear equations.Ìý
For example,ÌýandÌýare linear systems, whileÌýis a nonlinear system (because ofÌýyÌý2Ìý).ÌýThe systemÌýis an homogeneous linear system.Ìý
Gaussian Elimination.ÌýConsider a linear system.1.Construct the augmented matrix for the system;2.Use elementary row operations to transform the augmented matrix into a triangular one;3.Write down the new linear system for which the triangular matrix is the associated augmented matrix;4.Solve the new system.ÌýYou may need to assign some parametric values to some unknowns, and then apply the method of back substitution to solve the new system.Let us summarize the procedure:Ìý
Example.ÌýUse Gaussian elimination to solve the linear systemÌýThe associated augmented matrix isÌýWe keep the first row and subtract the first row multiplied by 2 from the second row.ÌýWe getÌýThis is a triangular matrix.ÌýThe associated system isÌýClearly the second equation implies that this system has no solution.ÌýTherefore this linear system has no solution.Ìý
This procedure differs from the Gaussian method in which when you delete an unknown, is removed from all remaining equations, ie, the preceding equation as well as pivot to follow.Solve the following set of equations3.0 X1 - 0.1 X2 - 0.2 X3 = 7.8500 0.1 X1 + 7.0 X2 - 0.3 X3 = - 19.3    0.3 X1- 0.2 X2 + 10 X3 = 71.4000GAUSS JORDAN
  First we express the coefficients and the vector of independent terms as an augmented matrix.  The first line is normalized by dividing by 3 to obtain:
  The term X1 can be removed from the second row by subtracting 0.1 times the first in the second row.ÌýIn a similar way, subtracting 0.3 times the first in the third line delete the term with the third row X1.  Then, the second line is normalized by dividing by 7.00333:
  Reducing X2 terms in the first and third equation is obtained:  The third line is normalized dividing by 10 010:Ìý
  Finally, the terms with X3 be reduced in the first and second equation to get:ÌýNote that back substitution is required for the solution.

More Related Content

What's hot (16)

System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
Diler4
Ìý
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
Cesar Mendoza
Ìý
Myp10 system of linear equations with solution
Myp10 system of linear equations with solutionMyp10 system of linear equations with solution
Myp10 system of linear equations with solution
Chadwick International School
Ìý
Solving systems of Linear Equations
Solving systems of Linear EquationsSolving systems of Linear Equations
Solving systems of Linear Equations
swartzje
Ìý
Gauss elimination method
Gauss elimination methodGauss elimination method
Gauss elimination method
gilandio
Ìý
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
alrosiemae
Ìý
4.3 Determinants and Cramer's Rule
4.3 Determinants and Cramer's Rule4.3 Determinants and Cramer's Rule
4.3 Determinants and Cramer's Rule
hisema01
Ìý
Solving System of Equations by Substitution
Solving System of Equations by SubstitutionSolving System of Equations by Substitution
Solving System of Equations by Substitution
Twinkiebear7
Ìý
Systems of linear equations; matrices
Systems of linear equations; matricesSystems of linear equations; matrices
Systems of linear equations; matrices
ST ZULAIHA NURHAJARURAHMAH
Ìý
System of Linear Equation
System of Linear EquationSystem of Linear Equation
System of Linear Equation
Eyakub Sorkar
Ìý
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matrices
Aditya Vaishampayan
Ìý
Linear Functions And Matrices
Linear Functions And MatricesLinear Functions And Matrices
Linear Functions And Matrices
andrewhickson
Ìý
Rank of a matrix
Rank of a matrixRank of a matrix
Rank of a matrix
muthukrishnaveni anand
Ìý
Sytems of linear equation
Sytems of linear equationSytems of linear equation
Sytems of linear equation
Franz Uy
Ìý
Systems of 3 Equations in 3 Variables
Systems of 3 Equations in 3 VariablesSystems of 3 Equations in 3 Variables
Systems of 3 Equations in 3 Variables
Mid Michigan Community College
Ìý
Systems of Linear Algebra
Systems of Linear AlgebraSystems of Linear Algebra
Systems of Linear Algebra
Ayesha Arshad
Ìý
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
Diler4
Ìý
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
Cesar Mendoza
Ìý
Myp10 system of linear equations with solution
Myp10 system of linear equations with solutionMyp10 system of linear equations with solution
Myp10 system of linear equations with solution
Chadwick International School
Ìý
Solving systems of Linear Equations
Solving systems of Linear EquationsSolving systems of Linear Equations
Solving systems of Linear Equations
swartzje
Ìý
Gauss elimination method
Gauss elimination methodGauss elimination method
Gauss elimination method
gilandio
Ìý
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
alrosiemae
Ìý
4.3 Determinants and Cramer's Rule
4.3 Determinants and Cramer's Rule4.3 Determinants and Cramer's Rule
4.3 Determinants and Cramer's Rule
hisema01
Ìý
Solving System of Equations by Substitution
Solving System of Equations by SubstitutionSolving System of Equations by Substitution
Solving System of Equations by Substitution
Twinkiebear7
Ìý
System of Linear Equation
System of Linear EquationSystem of Linear Equation
System of Linear Equation
Eyakub Sorkar
Ìý
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matrices
Aditya Vaishampayan
Ìý
Linear Functions And Matrices
Linear Functions And MatricesLinear Functions And Matrices
Linear Functions And Matrices
andrewhickson
Ìý
Sytems of linear equation
Sytems of linear equationSytems of linear equation
Sytems of linear equation
Franz Uy
Ìý
Systems of Linear Algebra
Systems of Linear AlgebraSystems of Linear Algebra
Systems of Linear Algebra
Ayesha Arshad
Ìý

Similar to System of equations (20)

Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)
Osama Zahid
Ìý
LINEAR ALGEBRAIC ECUATIONS
LINEAR ALGEBRAIC ECUATIONSLINEAR ALGEBRAIC ECUATIONS
LINEAR ALGEBRAIC ECUATIONS
gilandio
Ìý
system of linear equations by Diler
system of linear equations by Dilersystem of linear equations by Diler
system of linear equations by Diler
kishor pokar
Ìý
1ÌýÌýPart 2 Systems of Equations Which Do Not Have A Uni.docx
1ÌýÌýPart 2  Systems of Equations Which Do Not Have A Uni.docx1ÌýÌýPart 2  Systems of Equations Which Do Not Have A Uni.docx
1ÌýÌýPart 2 Systems of Equations Which Do Not Have A Uni.docx
eugeniadean34240
Ìý
7.2 Systems of Linear Equations - Three Variables
7.2 Systems of Linear Equations - Three Variables7.2 Systems of Linear Equations - Three Variables
7.2 Systems of Linear Equations - Three Variables
smiller5
Ìý
Computational Method for Engineers: Solving a system of Linear Equations
Computational Method for Engineers: Solving a system of Linear EquationsComputational Method for Engineers: Solving a system of Linear Equations
Computational Method for Engineers: Solving a system of Linear Equations
Bektu Dida
Ìý
Pair of linear equations
Pair of linear equationsPair of linear equations
Pair of linear equations
Yash Jain
Ìý
Linear equations rev - copy
Linear equations rev - copyLinear equations rev - copy
Linear equations rev - copy
Yash Jain
Ìý
Linear equations rev
Linear equations revLinear equations rev
Linear equations rev
Yash Jain
Ìý
Chapter 3: Linear Systems and Matrices - Part 1/ºÝºÝߣs
Chapter 3: Linear Systems and Matrices - Part 1/ºÝºÝߣsChapter 3: Linear Systems and Matrices - Part 1/ºÝºÝߣs
Chapter 3: Linear Systems and Matrices - Part 1/ºÝºÝߣs
Chaimae Baroudi
Ìý
Linear Equations
Linear Equations Linear Equations
Linear Equations
TharunSangeeth
Ìý
Sistemas de ecuaciones
Sistemas de ecuacionesSistemas de ecuaciones
Sistemas de ecuaciones
Robinson
Ìý
Linear Systems
Linear SystemsLinear Systems
Linear Systems
dsaunde3
Ìý
ppt presentation on the topic systems of equations.ppt
ppt presentation on the topic systems of equations.pptppt presentation on the topic systems of equations.ppt
ppt presentation on the topic systems of equations.ppt
alpesh86
Ìý
Condition (linear algebra)
Condition (linear algebra)Condition (linear algebra)
Condition (linear algebra)
Federal Urdu University of Science Arts and Technology
Ìý
February 18, 2015
February 18, 2015February 18, 2015
February 18, 2015
khyps13
Ìý
Gauss Jordan
Gauss JordanGauss Jordan
Gauss Jordan
Ezzat Gul
Ìý
Linear Algebra - systems of equations (week 1).ppt
Linear Algebra - systems of equations (week 1).pptLinear Algebra - systems of equations (week 1).ppt
Linear Algebra - systems of equations (week 1).ppt
AraMaeMina
Ìý
systems of equations.ppt
systems of equations.pptsystems of equations.ppt
systems of equations.ppt
JennilynBalusdan3
Ìý
Linear Algebra and its use in finance:
Linear Algebra and its use in finance:Linear Algebra and its use in finance:
Linear Algebra and its use in finance:
Service_supportAssignment
Ìý
Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)
Osama Zahid
Ìý
LINEAR ALGEBRAIC ECUATIONS
LINEAR ALGEBRAIC ECUATIONSLINEAR ALGEBRAIC ECUATIONS
LINEAR ALGEBRAIC ECUATIONS
gilandio
Ìý
system of linear equations by Diler
system of linear equations by Dilersystem of linear equations by Diler
system of linear equations by Diler
kishor pokar
Ìý
1ÌýÌýPart 2 Systems of Equations Which Do Not Have A Uni.docx
1ÌýÌýPart 2  Systems of Equations Which Do Not Have A Uni.docx1ÌýÌýPart 2  Systems of Equations Which Do Not Have A Uni.docx
1ÌýÌýPart 2 Systems of Equations Which Do Not Have A Uni.docx
eugeniadean34240
Ìý
7.2 Systems of Linear Equations - Three Variables
7.2 Systems of Linear Equations - Three Variables7.2 Systems of Linear Equations - Three Variables
7.2 Systems of Linear Equations - Three Variables
smiller5
Ìý
Computational Method for Engineers: Solving a system of Linear Equations
Computational Method for Engineers: Solving a system of Linear EquationsComputational Method for Engineers: Solving a system of Linear Equations
Computational Method for Engineers: Solving a system of Linear Equations
Bektu Dida
Ìý
Pair of linear equations
Pair of linear equationsPair of linear equations
Pair of linear equations
Yash Jain
Ìý
Linear equations rev - copy
Linear equations rev - copyLinear equations rev - copy
Linear equations rev - copy
Yash Jain
Ìý
Linear equations rev
Linear equations revLinear equations rev
Linear equations rev
Yash Jain
Ìý
Chapter 3: Linear Systems and Matrices - Part 1/ºÝºÝߣs
Chapter 3: Linear Systems and Matrices - Part 1/ºÝºÝߣsChapter 3: Linear Systems and Matrices - Part 1/ºÝºÝߣs
Chapter 3: Linear Systems and Matrices - Part 1/ºÝºÝߣs
Chaimae Baroudi
Ìý
Linear Equations
Linear Equations Linear Equations
Linear Equations
TharunSangeeth
Ìý
Sistemas de ecuaciones
Sistemas de ecuacionesSistemas de ecuaciones
Sistemas de ecuaciones
Robinson
Ìý
Linear Systems
Linear SystemsLinear Systems
Linear Systems
dsaunde3
Ìý
ppt presentation on the topic systems of equations.ppt
ppt presentation on the topic systems of equations.pptppt presentation on the topic systems of equations.ppt
ppt presentation on the topic systems of equations.ppt
alpesh86
Ìý
February 18, 2015
February 18, 2015February 18, 2015
February 18, 2015
khyps13
Ìý
Gauss Jordan
Gauss JordanGauss Jordan
Gauss Jordan
Ezzat Gul
Ìý
Linear Algebra - systems of equations (week 1).ppt
Linear Algebra - systems of equations (week 1).pptLinear Algebra - systems of equations (week 1).ppt
Linear Algebra - systems of equations (week 1).ppt
AraMaeMina
Ìý
systems of equations.ppt
systems of equations.pptsystems of equations.ppt
systems of equations.ppt
JennilynBalusdan3
Ìý
Linear Algebra and its use in finance:
Linear Algebra and its use in finance:Linear Algebra and its use in finance:
Linear Algebra and its use in finance:
Service_supportAssignment
Ìý

More from mariacadena (9)

System of equations
System of equationsSystem of equations
System of equations
mariacadena
Ìý
System of equations
System of equationsSystem of equations
System of equations
mariacadena
Ìý
System of equations
System of equationsSystem of equations
System of equations
mariacadena
Ìý
Inversión de matricesInversión de matrices
Inversión de matrices
mariacadena
Ìý
Método de gauss seidelMétodo de gauss seidel
Método de gauss seidel
mariacadena
Ìý
Matrices
MatricesMatrices
Matrices
mariacadena
Ìý
Roots of equations workedRoots of equations worked
Roots of equations worked
mariacadena
Ìý
Roots of equations workedRoots of equations worked
Roots of equations worked
mariacadena
Ìý
Roots of equations workedRoots of equations worked
Roots of equations worked
mariacadena
Ìý
System of equations
System of equationsSystem of equations
System of equations
mariacadena
Ìý
System of equations
System of equationsSystem of equations
System of equations
mariacadena
Ìý
System of equations
System of equationsSystem of equations
System of equations
mariacadena
Ìý
Inversión de matricesInversión de matrices
Inversión de matrices
mariacadena
Ìý
Método de gauss seidelMétodo de gauss seidel
Método de gauss seidel
mariacadena
Ìý
Roots of equations workedRoots of equations worked
Roots of equations worked
mariacadena
Ìý
Roots of equations workedRoots of equations worked
Roots of equations worked
mariacadena
Ìý
Roots of equations workedRoots of equations worked
Roots of equations worked
mariacadena
Ìý

System of equations

  • 1. SYSTEM OF EQUATIONSMaría Isabel Cadena VelozaNumerical Methods
  • 2. CRAMER:Cramer's rule is a process that helps you solve systems of linear equations having the same number of equations and variables.ÌýA method that applies the determinants.An example with all its steps.Solve the following system of equations:ÌýÌýÌýÌýÌýÌý3x - 2y = 4ÌýÌýÌýÌýÌýÌýÌý6x + y = 13GRAPHICAL METHODS
  • 3. Find first determinant of the coefficients of the variables.ÌýYou call the primary determinant and you name with a D.D = (3) (a) - (6) (-2) = 15 You notice that the determinant of the coefficient matrix gave us 15.ÌýContinue with the process. Look at the procedure for finding the determinant for the variable x.Replaces the column of coefficients in the variable x with the values of the constants.ÌýThen observed the process:Dx = (4) (a) - (13) (-2) = 4 + 26 = 30
  • 4. To find the value of x, divide the value determined by the primary determinant Dx D.ÌýThat is, calculateNow look at how you find the value of y.Dy is calculated using the determinantD = (3) (13) - (6) (4) = 39-24 = 15Note that in thisdecisivechange in thesecondcolumnbytheconstant. To find the value and divide the value found for D by the major determinant D.ÌýThat is, calculate y = 1.
  • 5. Conclude that the solution of the system is (2,1).ÌýThis means that the two lines represented by the original equations intersect at a point with coordinates (2,1).Ìý Remember that if the system is in intersecting lines call it consistent.
  • 6. ELIMINATION OF MYSTERIES: In The Method of Elimination (Addition and Subtraction), as its name says, we must remove one of the unknowns, are these, for example: x, y, z; this is done by multiplying one of the equations by any number,Ìýpositive or negative (all components of the equation will be affected by this issue), and already making another addition with the unknown equation chosen excess must be removed (= 0).
  • 7. Example:2x +3 y = 2 - -> equation 1x-2y = 8 - -> equation 2SOLUTION:to eliminate the unknown coefficients are reversed as shown equations acontinuación:striking out “y“2 (2x +3 y = 2)3 (x-2y = 8)2 is the coefieciente of “y" two and the equation 3 is the ratio of “y" the one.Ìýbeing so:4x +6 y = 43x-6y = 24Now if you can remove the "y" and now clears the "x" to get its value7x = 28x = 28 / 7x = 4
  • 8. replaced only after the value"x" to any of the two equations to get the "y“2x +3 y = 22 (4) +3 y = 28 +3 y = 23y = 2-83y =- 6y =- 6 / 3y = 2
  • 9. SIMPLE GAUSS It is quite hard to solve non-linear systems of equations, while linear systems are quite easy to study.ÌýThere are numerical techniques which help to approximate nonlinear systems with linear ones in the hope that the solutions of the linear systems are close enough to the solutions of the nonlinear systems.ÌýWe will not discuss this here.ÌýInstead, we will focus our attention on linear systems. For the sake of simplicity, we will restrict ourselves to three, at most four, unknowns.ÌýThe reader interested in the case of more unknowns may easily extend the following ideas. Definition.ÌýThe equationÌý axÌý+ÌýbyÌý+ÌýczÌý+ÌýdwÌý=Ìýh whereÌýaÌý,ÌýbÌý,ÌýcÌý,ÌýdÌý, andÌýhÌýare known numbers, whileÌýxÌý,ÌýyÌý,ÌýzÌý, andÌýwÌýare unknown numbers, is called aÌýlinear equationÌý.ÌýIfÌýhÌý=0, the linear equation is said to beÌýhomogeneousÌý.ÌýAÌýlinear systemÌýis a set of linear equations and aÌýhomogeneous linear systemÌýis a set of homogeneous linear equations.Ìý
  • 10. For example,ÌýandÌýare linear systems, whileÌýis a nonlinear system (because ofÌýyÌý2Ìý).ÌýThe systemÌýis an homogeneous linear system.Ìý
  • 11. Gaussian Elimination.ÌýConsider a linear system.1.Construct the augmented matrix for the system;2.Use elementary row operations to transform the augmented matrix into a triangular one;3.Write down the new linear system for which the triangular matrix is the associated augmented matrix;4.Solve the new system.ÌýYou may need to assign some parametric values to some unknowns, and then apply the method of back substitution to solve the new system.Let us summarize the procedure:Ìý
  • 12. Example.ÌýUse Gaussian elimination to solve the linear systemÌýThe associated augmented matrix isÌýWe keep the first row and subtract the first row multiplied by 2 from the second row.ÌýWe getÌýThis is a triangular matrix.ÌýThe associated system isÌýClearly the second equation implies that this system has no solution.ÌýTherefore this linear system has no solution.Ìý
  • 13. This procedure differs from the Gaussian method in which when you delete an unknown, is removed from all remaining equations, ie, the preceding equation as well as pivot to follow.Solve the following set of equations3.0 X1 - 0.1 X2 - 0.2 X3 = 7.8500 0.1 X1 + 7.0 X2 - 0.3 X3 = - 19.3 0.3 X1- 0.2 X2 + 10 X3 = 71.4000GAUSS JORDAN
  • 14. First we express the coefficients and the vector of independent terms as an augmented matrix. The first line is normalized by dividing by 3 to obtain:
  • 15. The term X1 can be removed from the second row by subtracting 0.1 times the first in the second row.ÌýIn a similar way, subtracting 0.3 times the first in the third line delete the term with the third row X1. Then, the second line is normalized by dividing by 7.00333:
  • 16. Reducing X2 terms in the first and third equation is obtained: The third line is normalized dividing by 10 010:Ìý
  • 17. Finally, the terms with X3 be reduced in the first and second equation to get:ÌýNote that back substitution is required for the solution.