SlideShare a Scribd company logo
1 of 32
Download to read offline
Chapter 02
SYSTEM OF LINEAR EQUATIONS
BY SANAULLAH
MEMON
SYSTEM OF LINEAR EQUATIONS
“Non-homogeneous System of Linear Equations”.
n.The systemof m linearequationsinnvariables/unknownsisgivenby:
a11 x1 + a12 x2 + . .. + a1n xn = b1
a21 x1 + a22 x2 + . . .+ a2n xn = b2
……………………………….
……………………………….
am1 x1 + am2 x2 + .. . + amn xn = bm
ai j and bj fori = 1, 2, …, m andj = 1, 2, … ,n are constants.
Thenumbersaij arecalledthecoefficientsofthesystem
11
Homogeneous System of Linear Equations
a11 x1 + a12 x2 + . . .+ a1n xn = 0
a21 x1 + a22 x2 + . . .+ a2n xn = 0
………………………………. (
……………………………….
am1 x1 + am2 x2 + .. . + amn xn = 0
2
SOLUTION OF Non-
Homogeneous
System of Linear
Equations
SOLUTION OF Non-homogeneous System of
Linear Equations
A sequence of n numbers s1, s2, s3, …sn, for which (1) is
satisfied when we substitute x1 = s1, x2 = s2, …,xn = sn, is
called a solution of (1). The set of all such solutions is called
solution set or the general solution of (1).
A system of equations that has no solution is said to be
inconsistent. If there is at least one solution of the system, the
system is called consistent system.
SOLUTION OF
Homogeneous
System of Linear
Equations
SOLUTION OF Homogeneous System of Linear
Equations
• The system (2) always possesses one solution, namely the zero solution
that is x1 = 0, x2 = 0, … xn = 0. The zero solution is also known as trivial
solution. Any other solution, if it exists, is called a non-zero or non –trivial
solution. In coming sections we shall learn under what conditions the
solution of systems (1) and (2) exist.
Matrix form of
1
Matrix form of homo 0R 2
NOTE
(i) In place of variables x1, x2, …, xn if we use other variables
say u1, u2, …, un there will be no effect on the solution. These
variables are dummy variables and are immaterial. However, if
coefficient aij or bi is changed the solution of the system will be
different.
(ii) If m = n the system is called square system.
SYSTEM OF
LINEAR
EQUATIONS
METHODS OF
SOLVING SYSTEM
OF LINEAR
EQUATIONS
This Photo by Unknown Author is licensed under CC BY
Ax = b
Ax = b
A x = 0.
A x = 0.
• Non-Homogeneous System of Linear Equations
➢(i) Gauss Elimination Method
➢ (ii) Gauss-Jordan Method
METHODS
➢(i) Gauss Elimination Method
➢ (ii) Gauss-Jordan Method.
Gauss Elimination Method
Non-Homogeneous System of
Linear Equations
Augmented matrix
𝐴 𝑏=
Non-Homogeneous System of Linear Equations
Non-
Homogeneous
System of
Linear
Equations
Step1.Changethe system oflinearequationstotheformA x=b.
Step2.Form the augmented coefficient matrix Ab by including the elements of b as an
extracolumninthe matrixA.
Step3.Convert the augmented matrix into echelon form by using elementary row
operations.
Step4.Convert the echelon matrix into matrix form and find x by using “Backward
Substitution”.
Note
•A system A x = b is called over-determined if it
has more equations than unknowns i.e. m > n. It
is called determined if the number of equations
is equal to the number of unknowns, i.e. m = n
and underdetermined if m < n.
Use Gauss’s elimination method to solve the system of linear equations (m = n).
x1 + 5 x2 + 2 x 3 = 9
x1 + x2 + 7 x 3 = 6
- 3 x2 + 4 x 3 = -2
Solution: Step1. We change the system of linear equations in matrix form A x = b.

−
=
− 





























2
6
9
3x
2x
1x
430
711
251
Step2. The augmented coefficient matrix bA is:










−−
=
2430
6711
9251
bA
Step3. Now we convert this augmented coefficient matrix into an echelon form using
elementary row operations as follows:
( ) 1R12R
2430
6711
9251
bA −+
−−
=










( ) 2R13R
2430
3540
9251
−+
−−
−−










3R42R
1110
3540
9251
+
−
−−










23R
1110
1100
9251










−

−










1100
1110
9251
Step4. Convert the echelon matrix into equation form
=−






























1
1
9
3x
2x
1x
100
110
251
This is equivalent to: x1 +5 x2 + 2 x 3 = 9 (i)
x2 - x 3 = 1 (ii)
x 3 = 1 (iii)
From (iii), we get 13x = . Substituting 13x = into (ii), we get, = 22x Now put
13x = and 22x = in (i), we get −= 31x Thus, required solution of given system of
equations is: ==−= 13x,22x,31x
Gauss-Jordan Method
we reduces the augmented matrix into
“Reduced Echelon” form
Method
➢ Step1. Change the system of linear equations to the form Ax = b.
➢Step2. Form the augmented coefficient matrix Ab by including the
column vector b.
➢Step3. Convert the augmented matrix into “Reduced Echelon” form
by using elementary row operations.
➢Step4. Convert the reduced echelon matrix into system of equations
and find x directly without using backward substitution.
Use Gauss-Jordan method to solve the system of linear equations.
234x23x
637x2x1x
932x25x1x
−=+−
=++
=++
Step1. We change the system of linear equations in matrix form = bAx

−
=
− 





























2
6
9
3x
2x
1x
430
711
251
Step2. The augmented matrix is










−−
=
2430
6711
9251
A b .
Step3. We convert this augmented coefficient matrix into reduced echelon form
elementary row operations.
( ) 1R12R
2430
6711
9251
bA −+
−−
=










( ) 2R13R
2430
3540
9251
−+
−−
−−










3R42R
1110
3540
9251
+
−
−−










23R
1110
1100
9251










−

( ) 2R51R
1100
1110
9251
−+−










( ) 3R2R,3R71R
1100
1110
4701
+−+−











−











1100
2010
3001
Step4. Writing this matrix into equation form, we have:
( )
( )
( )iii13x2x01x0
ii23x02x1x0
i33x02x01x
=++
=++
−=++
==−= 13x,22x,31x
( )
( ) 3a3xa12x1x
2a3x2xa11x
a3x2x1x
=+++
=+++
=++
Solution:
Step1. We change the system of linear equations in matrix form = bAx






























=
+
+
a3
a2
a
3x
2x
1x
a111
1a11
111
Step2. The augmented coefficient matrix Ab is

+
+=










a3a111
a21a11
a111
bA
Step3. Convert augmented coefficient matrix into reduced echelon form using ele
row operations.
( ) ( ) 1R13R,1R12R
a3a111
a21a11
a111
bA −+−+
+
+=










3R
a
1
,1R
a
1
a2a00
a0a0
a111






















 ( ) 2R11R
2100
1010
a111
−+










( ) 3R11R
2100
1010
1a101
−+
−












−











2100
1010
3a001
Step4. Writing the above matrix in equation form, we have:

−
=






























2
1
3a
3x
2x
1x
100
010
001
Or,
( )
( )
( )iii23x2x01x0
ii13x02x1x0
i3a3x02x01x
=++
=++
−=++
INVERSE OF MATRIX
BY ROW OPERATION
REPEAT WITH NEW
EXAMPLE
creative
Rank of
matrices
example
REPEAT












−
−−
−−
−
=
32032
122361
22101
50121
A




















−
−
−−
−
−−−−−
−
+=
32
51
22
01
02
11
32
21
121
51
21
01
31
11
61
21
21
51
21
01
11
11
01
21
Rank1ARank
.
722-1
7224-
7222-
Rank1ARank










−
−
−
+=
This reduced non – zero matrix is of order 3 × 4. Hence,














−
−−−
−
−
−
−
−−
−−
−
−
++=
71
72
21
22
21
22
74
72
24
22
24
22
Rank11ARank

−
−
+= 





722
1444
Rank2ARank This reduced non – zero matrix is of order 2 × 3.
Thus














−
−
+=
72
144
22
44
Rank3ARank
 00Rank3ARank += . This last matrix is of order 1 × 2; and is a zero matrix, hence
its rank is zero. Thus, Rank (A ) = 3 + 0 = 3.
An echelon matrix equivalent to A = 
−
−−
−














00000
144400
72220
50121

More Related Content

What's hot

TRACING OF CURVE (CARTESIAN AND POLAR)
TRACING OF CURVE (CARTESIAN AND POLAR)TRACING OF CURVE (CARTESIAN AND POLAR)
TRACING OF CURVE (CARTESIAN AND POLAR)Smit Shah
 
Differential equations
Differential equationsDifferential equations
Differential equationsSeyid Kadher
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equationsAhmed Haider
 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equationJUGAL BORAH
 
Matrix Operations
Matrix OperationsMatrix Operations
Matrix OperationsRon Eick
 
Integration of Trigonometric Functions
Integration of Trigonometric FunctionsIntegration of Trigonometric Functions
Integration of Trigonometric FunctionsRaymundo Raymund
 
Ode powerpoint presentation1
Ode powerpoint presentation1Ode powerpoint presentation1
Ode powerpoint presentation1Pokkarn Narkhede
 
Complex Numbers
Complex NumbersComplex Numbers
Complex Numbersswartzje
 
Linear Systems - Domain & Range
Linear Systems - Domain & RangeLinear Systems - Domain & Range
Linear Systems - Domain & Rangeswartzje
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination MethodAndi Firdaus
 
Numerical differentiation
Numerical differentiationNumerical differentiation
Numerical differentiationandrushow
 
Lesson 22: Quadratic Forms
Lesson 22: Quadratic FormsLesson 22: Quadratic Forms
Lesson 22: Quadratic FormsMatthew Leingang
 
Introduction to differentiation
Introduction to differentiationIntroduction to differentiation
Introduction to differentiationShaun Wilson
 

What's hot (20)

TRACING OF CURVE (CARTESIAN AND POLAR)
TRACING OF CURVE (CARTESIAN AND POLAR)TRACING OF CURVE (CARTESIAN AND POLAR)
TRACING OF CURVE (CARTESIAN AND POLAR)
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Linear and non linear equation
Linear and non linear equationLinear and non linear equation
Linear and non linear equation
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equations
 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equation
 
Continuous probability distribution
Continuous probability distributionContinuous probability distribution
Continuous probability distribution
 
Matrix Operations
Matrix OperationsMatrix Operations
Matrix Operations
 
Integration of Trigonometric Functions
Integration of Trigonometric FunctionsIntegration of Trigonometric Functions
Integration of Trigonometric Functions
 
Matrix Algebra seminar ppt
Matrix Algebra seminar pptMatrix Algebra seminar ppt
Matrix Algebra seminar ppt
 
Ode powerpoint presentation1
Ode powerpoint presentation1Ode powerpoint presentation1
Ode powerpoint presentation1
 
Complex Numbers
Complex NumbersComplex Numbers
Complex Numbers
 
Presentation on matrix
Presentation on matrixPresentation on matrix
Presentation on matrix
 
Taylor series
Taylor seriesTaylor series
Taylor series
 
Linear Systems - Domain & Range
Linear Systems - Domain & RangeLinear Systems - Domain & Range
Linear Systems - Domain & Range
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination Method
 
Numerical differentiation
Numerical differentiationNumerical differentiation
Numerical differentiation
 
Lesson 22: Quadratic Forms
Lesson 22: Quadratic FormsLesson 22: Quadratic Forms
Lesson 22: Quadratic Forms
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
Introduction to differentiation
Introduction to differentiationIntroduction to differentiation
Introduction to differentiation
 

Similar to system linear equations

Ch9-Gauss_Elimination4.pdf
Ch9-Gauss_Elimination4.pdfCh9-Gauss_Elimination4.pdf
Ch9-Gauss_Elimination4.pdfRahulUkhande
 
matrices and algbra
matrices and algbramatrices and algbra
matrices and algbragandhinagar
 
Chapter 3 solving systems of linear equations
Chapter 3 solving systems of linear equationsChapter 3 solving systems of linear equations
Chapter 3 solving systems of linear equationsssuser53ee01
 
Linear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptxLinear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptxMazwan3
 
MCA_UNIT-2_Computer Oriented Numerical Statistical Methods
MCA_UNIT-2_Computer Oriented Numerical Statistical MethodsMCA_UNIT-2_Computer Oriented Numerical Statistical Methods
MCA_UNIT-2_Computer Oriented Numerical Statistical MethodsRai University
 
Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)Sparsh Singh
 
Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)Sparsh Singh
 
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 EquationsBektu Dida
 
Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationStudent
 
Linear-Algebra.ppt
Linear-Algebra.pptLinear-Algebra.ppt
Linear-Algebra.pptsin3divcx
 
Linear-Algebra.ppt
Linear-Algebra.pptLinear-Algebra.ppt
Linear-Algebra.pptsin3divcx
 
Numerical solutions for linear system of equations
Numerical solutions for linear system of equationsNumerical solutions for linear system of equations
Numerical solutions for linear system of equationsMohamed Mohamed El-Sayed
 
Ultimate guide to systems of equations
Ultimate guide to systems of equationsUltimate guide to systems of equations
Ultimate guide to systems of equationskhyps13
 
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical MethodsGauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical MethodsJanki Shah
 

Similar to system linear equations (20)

Ch9-Gauss_Elimination4.pdf
Ch9-Gauss_Elimination4.pdfCh9-Gauss_Elimination4.pdf
Ch9-Gauss_Elimination4.pdf
 
Linear algebra03fallleturenotes01
Linear algebra03fallleturenotes01Linear algebra03fallleturenotes01
Linear algebra03fallleturenotes01
 
matrices and algbra
matrices and algbramatrices and algbra
matrices and algbra
 
Chapter 3 solving systems of linear equations
Chapter 3 solving systems of linear equationsChapter 3 solving systems of linear equations
Chapter 3 solving systems of linear equations
 
Es272 ch4a
Es272 ch4aEs272 ch4a
Es272 ch4a
 
Linear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptxLinear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptx
 
Nsm
Nsm Nsm
Nsm
 
MCA_UNIT-2_Computer Oriented Numerical Statistical Methods
MCA_UNIT-2_Computer Oriented Numerical Statistical MethodsMCA_UNIT-2_Computer Oriented Numerical Statistical Methods
MCA_UNIT-2_Computer Oriented Numerical Statistical Methods
 
Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)
 
Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)
 
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
 
Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equation
 
Lesson 7
Lesson 7Lesson 7
Lesson 7
 
Linear-Algebra.ppt
Linear-Algebra.pptLinear-Algebra.ppt
Linear-Algebra.ppt
 
Linear-Algebra.ppt
Linear-Algebra.pptLinear-Algebra.ppt
Linear-Algebra.ppt
 
ge.ppt
ge.pptge.ppt
ge.ppt
 
6640173.ppt
6640173.ppt6640173.ppt
6640173.ppt
 
Numerical solutions for linear system of equations
Numerical solutions for linear system of equationsNumerical solutions for linear system of equations
Numerical solutions for linear system of equations
 
Ultimate guide to systems of equations
Ultimate guide to systems of equationsUltimate guide to systems of equations
Ultimate guide to systems of equations
 
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical MethodsGauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
 

More from SanaullahMemon10

SOLUTION OF SYSTEM OF LINEAR EQUATIONS
SOLUTION OF SYSTEM OF LINEAR EQUATIONSSOLUTION OF SYSTEM OF LINEAR EQUATIONS
SOLUTION OF SYSTEM OF LINEAR EQUATIONSSanaullahMemon10
 
Appplication of System of linear equations , Gauss eliminations or Jordan eli...
Appplication of System of linear equations , Gauss eliminations or Jordan eli...Appplication of System of linear equations , Gauss eliminations or Jordan eli...
Appplication of System of linear equations , Gauss eliminations or Jordan eli...SanaullahMemon10
 
application of system of linear equations
application of system of linear equations application of system of linear equations
application of system of linear equations SanaullahMemon10
 
TYPES OF SPECIAL SQUARE MATRIX
TYPES OF SPECIAL SQUARE MATRIXTYPES OF SPECIAL SQUARE MATRIX
TYPES OF SPECIAL SQUARE MATRIXSanaullahMemon10
 

More from SanaullahMemon10 (12)

CONSISTENCY CRITERIA
CONSISTENCY CRITERIA CONSISTENCY CRITERIA
CONSISTENCY CRITERIA
 
SOLUTION OF SYSTEM OF LINEAR EQUATIONS
SOLUTION OF SYSTEM OF LINEAR EQUATIONSSOLUTION OF SYSTEM OF LINEAR EQUATIONS
SOLUTION OF SYSTEM OF LINEAR EQUATIONS
 
Appplication of System of linear equations , Gauss eliminations or Jordan eli...
Appplication of System of linear equations , Gauss eliminations or Jordan eli...Appplication of System of linear equations , Gauss eliminations or Jordan eli...
Appplication of System of linear equations , Gauss eliminations or Jordan eli...
 
application of system of linear equations
application of system of linear equations application of system of linear equations
application of system of linear equations
 
Graph a function
Graph a functionGraph a function
Graph a function
 
Types of function
Types of function Types of function
Types of function
 
Function
FunctionFunction
Function
 
ELEMENTARY ROW OPERATIONS
ELEMENTARY ROW OPERATIONSELEMENTARY ROW OPERATIONS
ELEMENTARY ROW OPERATIONS
 
MATIX AND TYPES OF MATRIX
MATIX AND TYPES OF MATRIXMATIX AND TYPES OF MATRIX
MATIX AND TYPES OF MATRIX
 
TYPES OF SPECIAL SQUARE MATRIX
TYPES OF SPECIAL SQUARE MATRIXTYPES OF SPECIAL SQUARE MATRIX
TYPES OF SPECIAL SQUARE MATRIX
 
Inverse of Matrix
Inverse  of MatrixInverse  of Matrix
Inverse of Matrix
 
Echelon Matrix
Echelon MatrixEchelon Matrix
Echelon Matrix
 

Recently uploaded

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Recently uploaded (20)

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 

system linear equations

  • 1. Chapter 02 SYSTEM OF LINEAR EQUATIONS BY SANAULLAH MEMON
  • 2. SYSTEM OF LINEAR EQUATIONS “Non-homogeneous System of Linear Equations”. n.The systemof m linearequationsinnvariables/unknownsisgivenby: a11 x1 + a12 x2 + . .. + a1n xn = b1 a21 x1 + a22 x2 + . . .+ a2n xn = b2 ………………………………. ………………………………. am1 x1 + am2 x2 + .. . + amn xn = bm ai j and bj fori = 1, 2, …, m andj = 1, 2, … ,n are constants. Thenumbersaij arecalledthecoefficientsofthesystem 11
  • 3. Homogeneous System of Linear Equations a11 x1 + a12 x2 + . . .+ a1n xn = 0 a21 x1 + a22 x2 + . . .+ a2n xn = 0 ………………………………. ( ………………………………. am1 x1 + am2 x2 + .. . + amn xn = 0 2
  • 5. SOLUTION OF Non-homogeneous System of Linear Equations A sequence of n numbers s1, s2, s3, …sn, for which (1) is satisfied when we substitute x1 = s1, x2 = s2, …,xn = sn, is called a solution of (1). The set of all such solutions is called solution set or the general solution of (1). A system of equations that has no solution is said to be inconsistent. If there is at least one solution of the system, the system is called consistent system.
  • 7. SOLUTION OF Homogeneous System of Linear Equations • The system (2) always possesses one solution, namely the zero solution that is x1 = 0, x2 = 0, … xn = 0. The zero solution is also known as trivial solution. Any other solution, if it exists, is called a non-zero or non –trivial solution. In coming sections we shall learn under what conditions the solution of systems (1) and (2) exist.
  • 9. Matrix form of homo 0R 2
  • 10. NOTE (i) In place of variables x1, x2, …, xn if we use other variables say u1, u2, …, un there will be no effect on the solution. These variables are dummy variables and are immaterial. However, if coefficient aij or bi is changed the solution of the system will be different. (ii) If m = n the system is called square system.
  • 11.
  • 13. METHODS OF SOLVING SYSTEM OF LINEAR EQUATIONS This Photo by Unknown Author is licensed under CC BY
  • 14. Ax = b Ax = b
  • 15. A x = 0. A x = 0.
  • 16. • Non-Homogeneous System of Linear Equations ➢(i) Gauss Elimination Method ➢ (ii) Gauss-Jordan Method
  • 17. METHODS ➢(i) Gauss Elimination Method ➢ (ii) Gauss-Jordan Method.
  • 18. Gauss Elimination Method Non-Homogeneous System of Linear Equations
  • 19. Augmented matrix 𝐴 𝑏= Non-Homogeneous System of Linear Equations
  • 20. Non- Homogeneous System of Linear Equations Step1.Changethe system oflinearequationstotheformA x=b. Step2.Form the augmented coefficient matrix Ab by including the elements of b as an extracolumninthe matrixA. Step3.Convert the augmented matrix into echelon form by using elementary row operations. Step4.Convert the echelon matrix into matrix form and find x by using “Backward Substitution”.
  • 21. Note •A system A x = b is called over-determined if it has more equations than unknowns i.e. m > n. It is called determined if the number of equations is equal to the number of unknowns, i.e. m = n and underdetermined if m < n.
  • 22.
  • 23. Use Gauss’s elimination method to solve the system of linear equations (m = n). x1 + 5 x2 + 2 x 3 = 9 x1 + x2 + 7 x 3 = 6 - 3 x2 + 4 x 3 = -2 Solution: Step1. We change the system of linear equations in matrix form A x = b.  − = −                               2 6 9 3x 2x 1x 430 711 251 Step2. The augmented coefficient matrix bA is:           −− = 2430 6711 9251 bA Step3. Now we convert this augmented coefficient matrix into an echelon form using elementary row operations as follows: ( ) 1R12R 2430 6711 9251 bA −+ −− =           ( ) 2R13R 2430 3540 9251 −+ −− −−           3R42R 1110 3540 9251 + − −−           23R 1110 1100 9251           −  −           1100 1110 9251 Step4. Convert the echelon matrix into equation form =−                               1 1 9 3x 2x 1x 100 110 251 This is equivalent to: x1 +5 x2 + 2 x 3 = 9 (i) x2 - x 3 = 1 (ii) x 3 = 1 (iii) From (iii), we get 13x = . Substituting 13x = into (ii), we get, = 22x Now put 13x = and 22x = in (i), we get −= 31x Thus, required solution of given system of equations is: ==−= 13x,22x,31x
  • 24.
  • 25. Gauss-Jordan Method we reduces the augmented matrix into “Reduced Echelon” form
  • 26. Method ➢ Step1. Change the system of linear equations to the form Ax = b. ➢Step2. Form the augmented coefficient matrix Ab by including the column vector b. ➢Step3. Convert the augmented matrix into “Reduced Echelon” form by using elementary row operations. ➢Step4. Convert the reduced echelon matrix into system of equations and find x directly without using backward substitution.
  • 27. Use Gauss-Jordan method to solve the system of linear equations. 234x23x 637x2x1x 932x25x1x −=+− =++ =++ Step1. We change the system of linear equations in matrix form = bAx  − = −                               2 6 9 3x 2x 1x 430 711 251 Step2. The augmented matrix is           −− = 2430 6711 9251 A b . Step3. We convert this augmented coefficient matrix into reduced echelon form elementary row operations. ( ) 1R12R 2430 6711 9251 bA −+ −− =           ( ) 2R13R 2430 3540 9251 −+ −− −−           3R42R 1110 3540 9251 + − −−           23R 1110 1100 9251           −  ( ) 2R51R 1100 1110 9251 −+−           ( ) 3R2R,3R71R 1100 1110 4701 +−+−            −            1100 2010 3001 Step4. Writing this matrix into equation form, we have: ( ) ( ) ( )iii13x2x01x0 ii23x02x1x0 i33x02x01x =++ =++ −=++ ==−= 13x,22x,31x
  • 28. ( ) ( ) 3a3xa12x1x 2a3x2xa11x a3x2x1x =+++ =+++ =++ Solution: Step1. We change the system of linear equations in matrix form = bAx                               = + + a3 a2 a 3x 2x 1x a111 1a11 111 Step2. The augmented coefficient matrix Ab is  + +=           a3a111 a21a11 a111 bA Step3. Convert augmented coefficient matrix into reduced echelon form using ele row operations. ( ) ( ) 1R13R,1R12R a3a111 a21a11 a111 bA −+−+ + +=           3R a 1 ,1R a 1 a2a00 a0a0 a111                        ( ) 2R11R 2100 1010 a111 −+           ( ) 3R11R 2100 1010 1a101 −+ −             −            2100 1010 3a001 Step4. Writing the above matrix in equation form, we have:  − =                               2 1 3a 3x 2x 1x 100 010 001 Or, ( ) ( ) ( )iii23x2x01x0 ii13x02x1x0 i3a3x02x01x =++ =++ −=++
  • 29. INVERSE OF MATRIX BY ROW OPERATION REPEAT WITH NEW EXAMPLE
  • 32.             − −− −− − = 32032 122361 22101 50121 A                     − − −− − −−−−− − += 32 51 22 01 02 11 32 21 121 51 21 01 31 11 61 21 21 51 21 01 11 11 01 21 Rank1ARank . 722-1 7224- 7222- Rank1ARank           − − − += This reduced non – zero matrix is of order 3 × 4. Hence,               − −−− − − − − −− −− − − ++= 71 72 21 22 21 22 74 72 24 22 24 22 Rank11ARank  − − +=       722 1444 Rank2ARank This reduced non – zero matrix is of order 2 × 3. Thus               − − += 72 144 22 44 Rank3ARank  00Rank3ARank += . This last matrix is of order 1 × 2; and is a zero matrix, hence its rank is zero. Thus, Rank (A ) = 3 + 0 = 3. An echelon matrix equivalent to A =  − −− −               00000 144400 72220 50121