SlideShare a Scribd company logo
1 of 14
Class: B.Sc CS.
Subject: Discrete Mathematics
Unit-5
RAI UNIVERSITY, AHMEDABAD
UNIT-V- Solution of System of Linear Equations
using Matrix
 Equivalent System of Linear Equations:
Two linear systems using the same set of variables are equivalent if each of
the equations in the second system can be derived algebraically from the
equations in the first system, and vice-versa.
OR
Two systems are equivalent if either both are inconsistent or each equation of
any of them is a linear combination of the equations of the other one.
OR
Two linear systems are equivalent if and only if they have the same solution
set.
 Example-1.Prove that following system of linear equations (1) is
equivalent to (2).
(1) 𝒙 + πŸ’π’š = βˆ’πŸπŸŽ , πŸ‘π’™ βˆ’ π’š = πŸ—
(2) πŸ’π’™ + πŸ‘π’š = βˆ’πŸ, βˆ’πŸπ’™ + πŸ“π’š = βˆ’πŸπŸ—
Solution:
Here we have
οƒ˜ π‘₯ + 4𝑦 = βˆ’10 ………………………………………………………(1)
3π‘₯ βˆ’ 𝑦 = 9 ……………………………………………………………(2)
οƒ˜ Multiply equation (2) by 4 and add in to (1) we get
π‘₯ + 4𝑦 = βˆ’10
12π‘₯ βˆ’ 4𝑦 = 36
_______________________
13π‘₯ = 26
∴ π‘₯ = 2
οƒ˜ Put π‘₯ = 2 in equation (1) we get 2 + 4𝑦 = βˆ’10
∴ 4𝑦 = βˆ’12 ⟹ 𝑦 = βˆ’3
οƒ˜ Hence we get solution set (π‘₯, 𝑦) = (2, βˆ’3)for system of linear equations
(1). Now we have to check for System (2) .
οƒ˜ Here we have,
4π‘₯ + 3𝑦 = βˆ’1……………………………………………………… (1)
βˆ’2π‘₯ + 5𝑦 = βˆ’19 …………………………………………………... (2)
οƒ˜ Multiply equation (2) by 2 and add in to (1) we get
4π‘₯ + 3𝑦 = βˆ’1
βˆ’4π‘₯ + 10𝑦 = βˆ’38
_______________________
13𝑦 = βˆ’39
∴ 𝑦 = βˆ’3
οƒ˜ Now put 𝑦 = βˆ’3in equation (1) we get 4π‘₯ βˆ’ 9 = βˆ’1
⟹ 4π‘₯ = 8
⟹ π‘₯ = 2
οƒ˜ Hence we get solution set (2,-3) for system of linear equations (2)
οƒ˜ ∴ Both systems have same solution therefore we can say that system (1)
is equivalent to system (2).
 Homogeneous Systemof linear Equations:
A system of linear equations is homogeneous if all of the constant terms are
zero:
A homogeneous system is equivalent to a matrix equation of the form AX=0
Where A is an m Γ— n matrix, x is a column vector with n entries, and 0 is the
zero vectors with m entries.
For a system of homogeneous linear equations 𝐴𝑋 = 0.
1) 𝑋 = 0 is always a solution. This solution in which each unknown has
the value zero is called the Null solution or the trivial solution. Thus a
homogeneous system is always consistent. (i.e it has solution)
2) A system of homogeneous linear equations has either the trivial
solution or an infinite number of solutions.
3) If 𝑅( 𝐴) = number of unknowns, the system has only the trivial
solution.
4) If 𝑅(𝐴) < number of unknowns, the system has an infinite number of
non –trivial solutions.
 Example-1. Determine β€˜b’ such that the system of homogeneous
equations
πŸπ’™ + π’š + πŸπ’› = 𝟎
𝒙 + π’š + πŸ‘π’› = 𝟎
πŸ’π’™ + πŸ‘π’š + 𝒃𝒛 = 𝟎
Has (i) trivial solution
(ii) Non-trivial solution.
Find the Non–Trivial solution using matrix method.
Solution:
οƒ˜ Here we have,
2π‘₯ + 𝑦 + 2𝑧 = 0
π‘₯ + 𝑦 + 3𝑧 = 0
4π‘₯ + 3𝑦 + 𝑏𝑧 = 0
A systemof homogeneous linear equations
AX=0
Always has a solution
If R(A) equal to n
Unique or trivial solution
If R(A) less than n
Infiniteno. of non trivial
solution
οƒ˜ (i) For trivial Solution: We know that π‘₯ = 0, 𝑦 = 0 π‘Žπ‘›π‘‘ 𝑧 = 0. So, b
can have any value.
οƒ˜ (ii) For non trivial Solution: The given equations are written in the
matrix form as
οƒ˜ [
2 1 2
1 1 3
4 3 𝑏
][
π‘₯
𝑦
𝑧
] = [
0
0
0
]
οƒ˜ [
1 1 3
2 1 2
4 3 𝑏
][
π‘₯
𝑦
𝑧
] = [
0
0
0
] 𝑅1 ↔ 𝑅2
οƒ˜ [
1 1 3
0 βˆ’1 βˆ’4
0 βˆ’1 𝑏 βˆ’ 12
][
π‘₯
𝑦
𝑧
] = [
0
0
0
] 𝑅2 β†’ 𝑅2 βˆ’ 2𝑅1,𝑅3 β†’ 𝑅3 βˆ’ 4𝑅1
οƒ˜ [
1 1 3
0 βˆ’1 βˆ’4
0 0 𝑏 βˆ’ 8
][
π‘₯
𝑦
𝑧
] = [
0
0
0
] 𝑅3 β†’ 𝑅3 βˆ’ 𝑅2
οƒ˜ For non trivial solution Infinite solutions =𝑅( 𝐴) = 2 < Number of
unknowns
𝑏 βˆ’ 8 = 0 ∴ 𝑏 = 8
 Example-2. Solve the homogeneous linearsystem of equations:
𝒙 𝟏 + πŸ‘π’™ 𝟐 + 𝒙 πŸ’ = 𝟎
𝒙 𝟏 + πŸ’π’™ 𝟐 + πŸπ’™ πŸ‘ = 𝟎
βˆ’πŸπ’™ 𝟐 βˆ’ πŸπ’™ πŸ‘ βˆ’ 𝒙 πŸ’ = 𝟎
πŸπ’™ 𝟏 βˆ’ πŸ’π’™ 𝟐 + 𝒙 πŸ‘ + 𝒙 πŸ’ = 𝟎
𝒙 𝟏 βˆ’ πŸπ’™ 𝟐 βˆ’ 𝒙 πŸ‘ + 𝒙 πŸ’ = 𝟎
Solution:
οƒ˜ We have given system of equation
π‘₯1 + 3π‘₯2 + π‘₯4 = 0
π‘₯1 + 4π‘₯2 + 2π‘₯3 = 0
βˆ’2π‘₯2 βˆ’ 2π‘₯3 βˆ’ π‘₯4 = 0
2π‘₯1 βˆ’ 4π‘₯2 + π‘₯3 + π‘₯4 = 0
π‘₯1 βˆ’ 2π‘₯2 βˆ’ π‘₯3 + π‘₯4 = 0
οƒ˜ We can write this equation in the matrix form as
[
1 3 0
1 4 2
0
2
1
βˆ’2
βˆ’4
βˆ’2
βˆ’2
1
βˆ’1
1
0
βˆ’1
1
1 ]
[
π‘₯1
π‘₯2
π‘₯3
π‘₯4
] =
[
0
0
0
0
0]
οƒ˜ ~
[
1 3 0
0 1 2
0
0
0
βˆ’2
βˆ’10
βˆ’5
βˆ’2
1
βˆ’1
1
βˆ’1
βˆ’1
βˆ’1
0 ]
[
π‘₯1
π‘₯2
π‘₯3
π‘₯4
] =
[
0
0
0
0
0]
{(βˆ’1) 𝑅1 + 𝑅2, (βˆ’2) 𝑅1 + 𝑅4, (βˆ’1) 𝑅1 + 𝑅5}
οƒ˜ ~
[
1 3 0
0 1 2
0
0
0
0
0
0
2
21
9
1
βˆ’1
βˆ’3
βˆ’11
βˆ’5 ]
[
π‘₯1
π‘₯2
π‘₯3
π‘₯4
] =
[
0
0
0
0
0]
{2𝑅2 + 𝑅3, 10𝑅2 + 𝑅4, 5𝑅2 + 𝑅5}
οƒ˜ ~
[
1 3 0
0 1 2
0
0
0
0
0
0
1
21
9
1
βˆ’1
βˆ’3/2
βˆ’11
βˆ’5 ]
[
π‘₯1
π‘₯2
π‘₯3
π‘₯4
] =
[
0
0
0
0
0]
𝑅3 (
1
2
)
οƒ˜ ~
[
1 3 0
0 1 2
0
0
0
0
0
0
1
0
0
1
βˆ’1
βˆ’3/2
βˆ’85/2
βˆ’37/2]
[
π‘₯1
π‘₯2
π‘₯3
π‘₯4
] =
[
0
0
0
0
0]
(βˆ’21) 𝑅3 + 𝑅4,(βˆ’9) 𝑅3 + 𝑅5
οƒ˜ ~
[
1 3 0
0 1 2
0
0
0
0
0
0
1
0
0
1
βˆ’1
βˆ’3/2
1
βˆ’37/2]
[
π‘₯1
π‘₯2
π‘₯3
π‘₯4
] =
[
0
0
0
0
0]
𝑅4 (βˆ’
2
85
)
οƒ˜ ~
[
1 3 0
0 1 2
0
0
0
0
0
0
1
0
0
1
βˆ’1
βˆ’3/2
1
0 ]
[
π‘₯1
π‘₯2
π‘₯3
π‘₯4
] =
[
0
0
0
0
0]
𝑅4 (
37
2
) + 𝑅5
∴ π‘₯1 + 3π‘₯2 + π‘₯4 = 0 …………………………………….(1)
π‘₯2 + 2π‘₯3 βˆ’ π‘₯4 = 0 ……………………………………. (2)
π‘₯3 βˆ’
3
2
π‘₯4 = 0 …………………………………… (3)
π‘₯4 = 0 ... ………………………………………. (4)
οƒ˜ Since π‘₯4 = 0 from equation (3) we get π‘₯3 = 0.
οƒ˜ Since π‘₯3 = 0, π‘₯4 = 0 from equation (2) we get π‘₯2 = 0
οƒ˜ Since π‘₯2 = 0, π‘₯4 = 0 from equation (1) we get π‘₯1 = 0.
οƒ˜ Hence π‘₯1 = 0, π‘₯2 = 0, π‘₯3 = 0, π‘₯4 = 0
οƒ˜ i.e. system has only a trivial solution.
 Non Homogeneous Systemof Linear equations and its Solution:
οƒ˜ The vector equation is equivalent to a matrix equation of the form
οƒ˜
οƒ˜ Where A is an mΓ—n matrix, x is a column vector with n entries, and b is
a column vector with m entries.
οƒ˜ The above system of equations AX=b is known as non homogeneous
system of equations.
οƒ˜ Here C=[A/B] is Augmented matrix
 Example-1. Show that the non Homogeneous systemof linear equation
are not consistant.
πŸπ’™ + πŸ”π’š = βˆ’πŸπŸ
πŸ”π’™ + πŸπŸŽπ’š βˆ’ πŸ”π’› = βˆ’πŸ‘
πŸ”π’š βˆ’ πŸπŸ–π’› = βˆ’πŸ
Solution:
οƒ˜ In the matrix form 𝐴𝑋 = 𝐡 we can write
A systemof non-homogeneous linear equations
AX=B
if R(A)=R(C)
solution exists
systemis consistant
if R(A)=R(C)=n
systemhas unique
solution
if R(A)=R(C) less than n
InfiniteSolution
if R(A)# R(C)
solution does not exist
systemis inconsistant
[
2 6 0
6 20 βˆ’6
0 6 βˆ’18
] [
π‘₯
𝑦
𝑧
] = [
βˆ’11
βˆ’3
βˆ’1
]
οƒ˜ ~ [
2 6 0
0 2 βˆ’6
0 6 βˆ’18
] [
π‘₯
𝑦
𝑧
] = [
βˆ’11
30
βˆ’1
] (βˆ’3) 𝑅1 + 𝑅2
οƒ˜ ~ [
2 6 0
0 2 βˆ’6
0 0 0
] [
π‘₯
𝑦
𝑧
] = [
βˆ’11
30
βˆ’91
] (βˆ’3) 𝑅2 + 𝑅3
οƒ˜ ∴ Rank of C = 3 and Rank of A=2
οƒ˜ Here, ( Rank of C = 3) β‰  (Rank of A=2)
οƒ˜ ∴ System has no solution that means system is inconsistent.
 Example-2. Testfor consistencythe following system of equations and if
consistentthen solve them
𝒙 𝟏 + πŸπ’™ 𝟐 βˆ’ 𝒙 πŸ‘ = πŸ‘
πŸ‘π’™ 𝟏 βˆ’ 𝒙 𝟐 + πŸπ’™ πŸ‘ = 𝟏
πŸπ’™ 𝟏 βˆ’ πŸπ’™ 𝟐 + πŸ‘π’™ πŸ‘ = 𝟐
𝒙 𝟏 βˆ’ 𝒙 𝟐 + 𝒙 πŸ‘ = βˆ’πŸ
Solution:
οƒ˜ We have given system of solution
π‘₯1 + 2π‘₯2 βˆ’ π‘₯3 = 3
3π‘₯1 βˆ’ π‘₯2 + 2π‘₯3 = 1
2π‘₯1 βˆ’ 2π‘₯2 + 3π‘₯3 = 2
π‘₯1 βˆ’ π‘₯2 + π‘₯3 = βˆ’1
οƒ˜ The System of equation can be written in matrix form as
[
1 2 βˆ’1
3 βˆ’1 2
2
1
βˆ’2
βˆ’1
3
1
][
π‘₯1
π‘₯2
π‘₯3
] = [
3
1
2
βˆ’1
]
οƒ˜ ~[
1 2 βˆ’1
0 βˆ’7 5
0
0
βˆ’6
βˆ’3
5
2
][
π‘₯1
π‘₯2
π‘₯3
] = [
3
βˆ’8
βˆ’4
βˆ’4
]
(βˆ’3) 𝑅1 + 𝑅2, (βˆ’2) 𝑅1 + 𝑅3, (βˆ’1) 𝑅1 + 𝑅4
οƒ˜ ~[
1 2 βˆ’1
0 βˆ’7 5
0
0
0
0
5/7
βˆ’1/7
][
π‘₯1
π‘₯2
π‘₯3
] = [
3
βˆ’8
20/7
βˆ’4/7
] βˆ’
6
7
𝑅2 + 𝑅3 , βˆ’
3
7
𝑅2 + 𝑅4
οƒ˜ ~[
1 2 βˆ’1
0 βˆ’7 5
0
0
0
0
5/7
0
][
π‘₯1
π‘₯2
π‘₯3
] = [
3
βˆ’8
20/7
0
]
1
5
𝑅3 + 𝑅4
……………………….(1)
οƒ˜ ∴ Rank of C=3
οƒ˜ Rank of A=3
οƒ˜ Hence 𝑅( 𝐴) = 𝑅( 𝐢) = 3
οƒ˜ ∴ System is consistant.
οƒ˜ Also rank = no. of variable (n) = 3
οƒ˜ ∴ System has unique solution.
οƒ˜ Now we can write equation (1) as
οƒ˜ ~[
1 2 βˆ’1
0 βˆ’7 5
0 0 5/7
][
π‘₯1
π‘₯2
π‘₯3
] = [
3
βˆ’8
20/7
]
οƒ˜ ∴ π‘₯1 + 2π‘₯2 βˆ’ π‘₯3 = 3 ……………………………………. (2)
βˆ’7π‘₯2 + 5π‘₯3 = βˆ’8 ……………………………………. (3)
5
7
π‘₯3 =
20
7
…………………………………… (4)
οƒ˜ From equation (4) we get π‘₯3 = 4
οƒ˜ Put π‘₯3 = 4 in (3) we get, βˆ’7π‘₯2 + 5(4) = βˆ’8
∴ βˆ’7π‘₯2 = βˆ’28 ⟹ π‘₯2 = 4
οƒ˜ Put π‘₯3 = 4 and π‘₯2 = 4 in (2) we get, π‘₯1 + 2(4) βˆ’ 4 = 3
∴ π‘₯1 + 4 = 3
⟹ π‘₯1 = βˆ’1
οƒ˜ Hence π‘₯1 = βˆ’1, π‘₯2 = 4, π‘₯3 = 4.
 Reference BookandWebsite Name:
1. Introduction to Engineering Mathematics-1 by H.K. Dass and Dr.Rama
Verma. (S.Chand)
2. A Textbookof Engineering mathematics by N.P.Bali and Dr.Manish
goyal
3. http://en.wikipedia.org/wiki/System_of_linear_equations
4. http://www.mathwords.com/e/equivalent_system_of_equations.htm
5. http://en.wikipedia.org/wiki/System_of_linear_equations
EXERCISE-5
Q-1.Evaluate the following questions:
1. Solve the system of homogeneous equation
π‘₯1 + 3π‘₯2 + 2π‘₯3 = 0
2π‘₯1 βˆ’ π‘₯2 + 3π‘₯3 = 0
3π‘₯1 βˆ’ 5π‘₯2 + 4π‘₯3 = 0
π‘₯1 + 17π‘₯2 + 4π‘₯3 = 0
2. Solve the following System of homogeneous equation
5π‘₯ + 2𝑦 βˆ’ 3𝑧 = 0
3π‘₯ + 𝑦 + 𝑧 = 0
2π‘₯ + 𝑦 + 6𝑧 = 0
3. Check that the following system of equations is equivalent or not?
(a) π‘₯ βˆ’ 6𝑦 = βˆ’8 ,
π‘₯
2
βˆ’ 3𝑦 = βˆ’4
(b)3π‘₯ + 7𝑦 = 15,5π‘₯ + 2𝑦 = βˆ’4
Q.2 Evaluate the following questions:
1. Discuss the consistency of the following system of equations if it is
consistant then find its solution:
2π‘₯ + 3𝑦 + 4𝑧 = 11
π‘₯ + 5𝑦 + 7𝑧 = 15
3π‘₯ + 11𝑦 + 13𝑧 = 25
2. Test for the consistency of the following system of equations
π‘₯1 + 2π‘₯2 + 3π‘₯3 + 4π‘₯4 = 5
6π‘₯1 + 7π‘₯2 + 8π‘₯3 + 9π‘₯4 = 10
11π‘₯1 + 12π‘₯2 + 13π‘₯3 + 14π‘₯4 = 15
16π‘₯1 + 17π‘₯2 + 18π‘₯3 + 19π‘₯4 = 20
21π‘₯1 + 22π‘₯2 + 23π‘₯3 + 24π‘₯4 = 25
3. Test the consistency of the following equations and solve them if possible.
3π‘₯ + 3𝑦 + 3𝑧 = 1
π‘₯ + 2𝑦 = 4
10𝑦 + 3𝑧 = βˆ’2
2π‘₯ βˆ’ 3𝑦 βˆ’ 𝑧 = 5

More Related Content

What's hot

Systems Of Equations
Systems Of EquationsSystems Of Equations
Systems Of Equations
kliegey524
Β 
Systems of equations
Systems of equationsSystems of equations
Systems of equations
Hazel Joy Chong
Β 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
Cesar Mendoza
Β 
Solving systems of linear equations by graphing lecture
Solving systems of linear equations by graphing lectureSolving systems of linear equations by graphing lecture
Solving systems of linear equations by graphing lecture
Kaiya Duppins
Β 
Solving System of Equations by Substitution
Solving System of Equations by SubstitutionSolving System of Equations by Substitution
Solving System of Equations by Substitution
Twinkiebear7
Β 
linear equation system with 2 and 3 variables
linear equation system with 2 and 3 variableslinear equation system with 2 and 3 variables
linear equation system with 2 and 3 variables
Wanda Sari
Β 
Solve Systems By Elimination
Solve Systems By EliminationSolve Systems By Elimination
Solve Systems By Elimination
swartzje
Β 

What's hot (20)

Solving Systems of Linear Equations in Two Variables by Graphing
Solving Systems of Linear Equations in Two Variables by GraphingSolving Systems of Linear Equations in Two Variables by Graphing
Solving Systems of Linear Equations in Two Variables by Graphing
Β 
Solving systems of Equations by Elimination
Solving systems of Equations by EliminationSolving systems of Equations by Elimination
Solving systems of Equations by Elimination
Β 
Solving systems of equations
Solving systems of equationsSolving systems of equations
Solving systems of equations
Β 
Linear equations in two variables
Linear equations in two variablesLinear equations in two variables
Linear equations in two variables
Β 
Solving Systems by Graphing and Substitution
Solving Systems by Graphing and SubstitutionSolving Systems by Graphing and Substitution
Solving Systems by Graphing and Substitution
Β 
Systems Of Equations
Systems Of EquationsSystems Of Equations
Systems Of Equations
Β 
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
Β 
Solving Systems of Linear Equations by Graphing
Solving  Systems of Linear Equations by Graphing Solving  Systems of Linear Equations by Graphing
Solving Systems of Linear Equations by Graphing
Β 
Solving Systems of Linear Equation using Substitution method
Solving Systems of Linear Equation using Substitution methodSolving Systems of Linear Equation using Substitution method
Solving Systems of Linear Equation using Substitution method
Β 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
Β 
System of linear equations and their solution
System of linear equations and their solutionSystem of linear equations and their solution
System of linear equations and their solution
Β 
Systems of equations
Systems of equationsSystems of equations
Systems of equations
Β 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
Β 
Solving systems of linear equations by graphing lecture
Solving systems of linear equations by graphing lectureSolving systems of linear equations by graphing lecture
Solving systems of linear equations by graphing lecture
Β 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equations
Β 
Solving System of Equations by Substitution
Solving System of Equations by SubstitutionSolving System of Equations by Substitution
Solving System of Equations by Substitution
Β 
Linear equations
Linear equationsLinear equations
Linear equations
Β 
linear equation system with 2 and 3 variables
linear equation system with 2 and 3 variableslinear equation system with 2 and 3 variables
linear equation system with 2 and 3 variables
Β 
Mathematics 8 Systems of Linear Inequalities
Mathematics 8 Systems of Linear InequalitiesMathematics 8 Systems of Linear Inequalities
Mathematics 8 Systems of Linear Inequalities
Β 
Solve Systems By Elimination
Solve Systems By EliminationSolve Systems By Elimination
Solve Systems By Elimination
Β 

Viewers also liked

B.Tech-II_Unit-V
B.Tech-II_Unit-VB.Tech-II_Unit-V
B.Tech-II_Unit-V
Kundan Kumar
Β 
merged_document
merged_documentmerged_document
merged_document
Kundan Kumar
Β 
B.Tech-II_Unit-IV
B.Tech-II_Unit-IVB.Tech-II_Unit-IV
B.Tech-II_Unit-IV
Kundan Kumar
Β 
BSC_Computer Science_Discrete Mathematics_Unit-I
BSC_Computer Science_Discrete Mathematics_Unit-IBSC_Computer Science_Discrete Mathematics_Unit-I
BSC_Computer Science_Discrete Mathematics_Unit-I
Rai University
Β 
B.Tech-II_Unit-III
B.Tech-II_Unit-IIIB.Tech-II_Unit-III
B.Tech-II_Unit-III
Kundan Kumar
Β 
B.Tech-II_Unit-I
B.Tech-II_Unit-IB.Tech-II_Unit-I
B.Tech-II_Unit-I
Kundan Kumar
Β 

Viewers also liked (20)

BSC_COMPUTER _SCIENCE_UNIT-1_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-1_DISCRETE MATHEMATICSBSC_COMPUTER _SCIENCE_UNIT-1_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-1_DISCRETE MATHEMATICS
Β 
Unit 1 Introduction
Unit 1 IntroductionUnit 1 Introduction
Unit 1 Introduction
Β 
B.Tech-II_Unit-V
B.Tech-II_Unit-VB.Tech-II_Unit-V
B.Tech-II_Unit-V
Β 
merged_document
merged_documentmerged_document
merged_document
Β 
B.Tech-II_Unit-IV
B.Tech-II_Unit-IVB.Tech-II_Unit-IV
B.Tech-II_Unit-IV
Β 
Btech_II_ engineering mathematics_unit5
Btech_II_ engineering mathematics_unit5Btech_II_ engineering mathematics_unit5
Btech_II_ engineering mathematics_unit5
Β 
BSC_Computer Science_Discrete Mathematics_Unit-I
BSC_Computer Science_Discrete Mathematics_Unit-IBSC_Computer Science_Discrete Mathematics_Unit-I
BSC_Computer Science_Discrete Mathematics_Unit-I
Β 
Btech_II_ engineering mathematics_unit4
Btech_II_ engineering mathematics_unit4Btech_II_ engineering mathematics_unit4
Btech_II_ engineering mathematics_unit4
Β 
B.tech ii unit-5 material vector integration
B.tech ii unit-5 material vector integrationB.tech ii unit-5 material vector integration
B.tech ii unit-5 material vector integration
Β 
B.tech ii unit-4 material vector differentiation
B.tech ii unit-4 material vector differentiationB.tech ii unit-4 material vector differentiation
B.tech ii unit-4 material vector differentiation
Β 
BSC_COMPUTER _SCIENCE_UNIT-5_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-5_DISCRETE MATHEMATICSBSC_COMPUTER _SCIENCE_UNIT-5_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-5_DISCRETE MATHEMATICS
Β 
BCA_Semester-II-Discrete Mathematics_unit-iv Graph theory
BCA_Semester-II-Discrete Mathematics_unit-iv Graph theoryBCA_Semester-II-Discrete Mathematics_unit-iv Graph theory
BCA_Semester-II-Discrete Mathematics_unit-iv Graph theory
Β 
B.Tech-II_Unit-III
B.Tech-II_Unit-IIIB.Tech-II_Unit-III
B.Tech-II_Unit-III
Β 
B.Tech-II_Unit-I
B.Tech-II_Unit-IB.Tech-II_Unit-I
B.Tech-II_Unit-I
Β 
BSC_COMPUTER _SCIENCE_UNIT-3_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-3_DISCRETE MATHEMATICSBSC_COMPUTER _SCIENCE_UNIT-3_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-3_DISCRETE MATHEMATICS
Β 
BSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICSBSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICS
Β 
Btech_II_ engineering mathematics_unit2
Btech_II_ engineering mathematics_unit2Btech_II_ engineering mathematics_unit2
Btech_II_ engineering mathematics_unit2
Β 
BCA_Semester-II-Discrete Mathematics_unit-ii_Relation and ordering
BCA_Semester-II-Discrete Mathematics_unit-ii_Relation and orderingBCA_Semester-II-Discrete Mathematics_unit-ii_Relation and ordering
BCA_Semester-II-Discrete Mathematics_unit-ii_Relation and ordering
Β 
MCA_UNIT-4_Computer Oriented Numerical Statistical Methods
MCA_UNIT-4_Computer Oriented Numerical Statistical MethodsMCA_UNIT-4_Computer Oriented Numerical Statistical Methods
MCA_UNIT-4_Computer Oriented Numerical Statistical Methods
Β 
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICSBSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
Β 

Similar to BSC_COMPUTER _SCIENCE_UNIT-5_DISCRETE MATHEMATICS

Sistemas de ecuaciones lineales
Sistemas de ecuaciones linealesSistemas de ecuaciones lineales
Sistemas de ecuaciones lineales
RokiFernandez1
Β 
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
alrosiemae
Β 
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
Β 

Similar to BSC_COMPUTER _SCIENCE_UNIT-5_DISCRETE MATHEMATICS (20)

.Chapter7&8.
.Chapter7&8..Chapter7&8.
.Chapter7&8.
Β 
Sistemas de ecuaciones lineales
Sistemas de ecuaciones linealesSistemas de ecuaciones lineales
Sistemas de ecuaciones lineales
Β 
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
Β 
Linear equations
Linear equationsLinear equations
Linear equations
Β 
Lecture 2.1 Echelon method
Lecture 2.1 Echelon methodLecture 2.1 Echelon method
Lecture 2.1 Echelon method
Β 
Lecture 2.1 Echelon method
Lecture 2.1 Echelon methodLecture 2.1 Echelon method
Lecture 2.1 Echelon method
Β 
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
Β 
Systems of linear equations
Systems of linear equationsSystems of linear equations
Systems of linear equations
Β 
Linear Equations
Linear Equations Linear Equations
Linear Equations
Β 
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
Β 
systems of equations.ppt
systems of equations.pptsystems of equations.ppt
systems of equations.ppt
Β 
systems of equations.ppt
systems of equations.pptsystems of equations.ppt
systems of equations.ppt
Β 
Intro to systems_of_linear_equations
Intro to systems_of_linear_equationsIntro to systems_of_linear_equations
Intro to systems_of_linear_equations
Β 
Solving a system of Linear Equations for Engineers
Solving a system of Linear Equations for EngineersSolving a system of Linear Equations for Engineers
Solving a system of Linear Equations for Engineers
Β 
New Information on the Generalized Euler-Tricomi Equation
New Information on the Generalized Euler-Tricomi Equation New Information on the Generalized Euler-Tricomi Equation
New Information on the Generalized Euler-Tricomi Equation
Β 
doc
docdoc
doc
Β 
Algebra
AlgebraAlgebra
Algebra
Β 
Tema 8
Tema 8Tema 8
Tema 8
Β 
System of Homogeneous and Non-Homogeneous equations ppt nadi.pptx
System of Homogeneous and Non-Homogeneous equations ppt nadi.pptxSystem of Homogeneous and Non-Homogeneous equations ppt nadi.pptx
System of Homogeneous and Non-Homogeneous equations ppt nadi.pptx
Β 
Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...
Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...
Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...
Β 

More from Rai University

Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Rai University
Β 

More from Rai University (20)

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University
Β 
Mm unit 4point2
Mm unit 4point2Mm unit 4point2
Mm unit 4point2
Β 
Mm unit 4point1
Mm unit 4point1Mm unit 4point1
Mm unit 4point1
Β 
Mm unit 4point3
Mm unit 4point3Mm unit 4point3
Mm unit 4point3
Β 
Mm unit 3point2
Mm unit 3point2Mm unit 3point2
Mm unit 3point2
Β 
Mm unit 3point1
Mm unit 3point1Mm unit 3point1
Mm unit 3point1
Β 
Mm unit 2point2
Mm unit 2point2Mm unit 2point2
Mm unit 2point2
Β 
Mm unit 2 point 1
Mm unit 2 point 1Mm unit 2 point 1
Mm unit 2 point 1
Β 
Mm unit 1point3
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
Β 
Mm unit 1point2
Mm unit 1point2Mm unit 1point2
Mm unit 1point2
Β 
Mm unit 1point1
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
Β 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Β 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Β 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditure
Β 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public finance
Β 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introduction
Β 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflation
Β 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economics
Β 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructure
Β 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competition
Β 

BSC_COMPUTER _SCIENCE_UNIT-5_DISCRETE MATHEMATICS

  • 1. Class: B.Sc CS. Subject: Discrete Mathematics Unit-5 RAI UNIVERSITY, AHMEDABAD
  • 2. UNIT-V- Solution of System of Linear Equations using Matrix  Equivalent System of Linear Equations: Two linear systems using the same set of variables are equivalent if each of the equations in the second system can be derived algebraically from the equations in the first system, and vice-versa. OR Two systems are equivalent if either both are inconsistent or each equation of any of them is a linear combination of the equations of the other one. OR Two linear systems are equivalent if and only if they have the same solution set.  Example-1.Prove that following system of linear equations (1) is equivalent to (2). (1) 𝒙 + πŸ’π’š = βˆ’πŸπŸŽ , πŸ‘π’™ βˆ’ π’š = πŸ— (2) πŸ’π’™ + πŸ‘π’š = βˆ’πŸ, βˆ’πŸπ’™ + πŸ“π’š = βˆ’πŸπŸ— Solution: Here we have οƒ˜ π‘₯ + 4𝑦 = βˆ’10 ………………………………………………………(1) 3π‘₯ βˆ’ 𝑦 = 9 ……………………………………………………………(2) οƒ˜ Multiply equation (2) by 4 and add in to (1) we get π‘₯ + 4𝑦 = βˆ’10
  • 3. 12π‘₯ βˆ’ 4𝑦 = 36 _______________________ 13π‘₯ = 26 ∴ π‘₯ = 2 οƒ˜ Put π‘₯ = 2 in equation (1) we get 2 + 4𝑦 = βˆ’10 ∴ 4𝑦 = βˆ’12 ⟹ 𝑦 = βˆ’3 οƒ˜ Hence we get solution set (π‘₯, 𝑦) = (2, βˆ’3)for system of linear equations (1). Now we have to check for System (2) . οƒ˜ Here we have, 4π‘₯ + 3𝑦 = βˆ’1……………………………………………………… (1) βˆ’2π‘₯ + 5𝑦 = βˆ’19 …………………………………………………... (2) οƒ˜ Multiply equation (2) by 2 and add in to (1) we get 4π‘₯ + 3𝑦 = βˆ’1 βˆ’4π‘₯ + 10𝑦 = βˆ’38 _______________________ 13𝑦 = βˆ’39 ∴ 𝑦 = βˆ’3 οƒ˜ Now put 𝑦 = βˆ’3in equation (1) we get 4π‘₯ βˆ’ 9 = βˆ’1 ⟹ 4π‘₯ = 8 ⟹ π‘₯ = 2 οƒ˜ Hence we get solution set (2,-3) for system of linear equations (2) οƒ˜ ∴ Both systems have same solution therefore we can say that system (1) is equivalent to system (2).  Homogeneous Systemof linear Equations:
  • 4. A system of linear equations is homogeneous if all of the constant terms are zero: A homogeneous system is equivalent to a matrix equation of the form AX=0 Where A is an m Γ— n matrix, x is a column vector with n entries, and 0 is the zero vectors with m entries. For a system of homogeneous linear equations 𝐴𝑋 = 0. 1) 𝑋 = 0 is always a solution. This solution in which each unknown has the value zero is called the Null solution or the trivial solution. Thus a homogeneous system is always consistent. (i.e it has solution) 2) A system of homogeneous linear equations has either the trivial solution or an infinite number of solutions. 3) If 𝑅( 𝐴) = number of unknowns, the system has only the trivial solution. 4) If 𝑅(𝐴) < number of unknowns, the system has an infinite number of non –trivial solutions.
  • 5.  Example-1. Determine β€˜b’ such that the system of homogeneous equations πŸπ’™ + π’š + πŸπ’› = 𝟎 𝒙 + π’š + πŸ‘π’› = 𝟎 πŸ’π’™ + πŸ‘π’š + 𝒃𝒛 = 𝟎 Has (i) trivial solution (ii) Non-trivial solution. Find the Non–Trivial solution using matrix method. Solution: οƒ˜ Here we have, 2π‘₯ + 𝑦 + 2𝑧 = 0 π‘₯ + 𝑦 + 3𝑧 = 0 4π‘₯ + 3𝑦 + 𝑏𝑧 = 0 A systemof homogeneous linear equations AX=0 Always has a solution If R(A) equal to n Unique or trivial solution If R(A) less than n Infiniteno. of non trivial solution
  • 6. οƒ˜ (i) For trivial Solution: We know that π‘₯ = 0, 𝑦 = 0 π‘Žπ‘›π‘‘ 𝑧 = 0. So, b can have any value. οƒ˜ (ii) For non trivial Solution: The given equations are written in the matrix form as οƒ˜ [ 2 1 2 1 1 3 4 3 𝑏 ][ π‘₯ 𝑦 𝑧 ] = [ 0 0 0 ] οƒ˜ [ 1 1 3 2 1 2 4 3 𝑏 ][ π‘₯ 𝑦 𝑧 ] = [ 0 0 0 ] 𝑅1 ↔ 𝑅2 οƒ˜ [ 1 1 3 0 βˆ’1 βˆ’4 0 βˆ’1 𝑏 βˆ’ 12 ][ π‘₯ 𝑦 𝑧 ] = [ 0 0 0 ] 𝑅2 β†’ 𝑅2 βˆ’ 2𝑅1,𝑅3 β†’ 𝑅3 βˆ’ 4𝑅1 οƒ˜ [ 1 1 3 0 βˆ’1 βˆ’4 0 0 𝑏 βˆ’ 8 ][ π‘₯ 𝑦 𝑧 ] = [ 0 0 0 ] 𝑅3 β†’ 𝑅3 βˆ’ 𝑅2 οƒ˜ For non trivial solution Infinite solutions =𝑅( 𝐴) = 2 < Number of unknowns 𝑏 βˆ’ 8 = 0 ∴ 𝑏 = 8  Example-2. Solve the homogeneous linearsystem of equations: 𝒙 𝟏 + πŸ‘π’™ 𝟐 + 𝒙 πŸ’ = 𝟎 𝒙 𝟏 + πŸ’π’™ 𝟐 + πŸπ’™ πŸ‘ = 𝟎 βˆ’πŸπ’™ 𝟐 βˆ’ πŸπ’™ πŸ‘ βˆ’ 𝒙 πŸ’ = 𝟎 πŸπ’™ 𝟏 βˆ’ πŸ’π’™ 𝟐 + 𝒙 πŸ‘ + 𝒙 πŸ’ = 𝟎 𝒙 𝟏 βˆ’ πŸπ’™ 𝟐 βˆ’ 𝒙 πŸ‘ + 𝒙 πŸ’ = 𝟎 Solution: οƒ˜ We have given system of equation π‘₯1 + 3π‘₯2 + π‘₯4 = 0 π‘₯1 + 4π‘₯2 + 2π‘₯3 = 0 βˆ’2π‘₯2 βˆ’ 2π‘₯3 βˆ’ π‘₯4 = 0
  • 7. 2π‘₯1 βˆ’ 4π‘₯2 + π‘₯3 + π‘₯4 = 0 π‘₯1 βˆ’ 2π‘₯2 βˆ’ π‘₯3 + π‘₯4 = 0 οƒ˜ We can write this equation in the matrix form as [ 1 3 0 1 4 2 0 2 1 βˆ’2 βˆ’4 βˆ’2 βˆ’2 1 βˆ’1 1 0 βˆ’1 1 1 ] [ π‘₯1 π‘₯2 π‘₯3 π‘₯4 ] = [ 0 0 0 0 0] οƒ˜ ~ [ 1 3 0 0 1 2 0 0 0 βˆ’2 βˆ’10 βˆ’5 βˆ’2 1 βˆ’1 1 βˆ’1 βˆ’1 βˆ’1 0 ] [ π‘₯1 π‘₯2 π‘₯3 π‘₯4 ] = [ 0 0 0 0 0] {(βˆ’1) 𝑅1 + 𝑅2, (βˆ’2) 𝑅1 + 𝑅4, (βˆ’1) 𝑅1 + 𝑅5} οƒ˜ ~ [ 1 3 0 0 1 2 0 0 0 0 0 0 2 21 9 1 βˆ’1 βˆ’3 βˆ’11 βˆ’5 ] [ π‘₯1 π‘₯2 π‘₯3 π‘₯4 ] = [ 0 0 0 0 0] {2𝑅2 + 𝑅3, 10𝑅2 + 𝑅4, 5𝑅2 + 𝑅5} οƒ˜ ~ [ 1 3 0 0 1 2 0 0 0 0 0 0 1 21 9 1 βˆ’1 βˆ’3/2 βˆ’11 βˆ’5 ] [ π‘₯1 π‘₯2 π‘₯3 π‘₯4 ] = [ 0 0 0 0 0] 𝑅3 ( 1 2 ) οƒ˜ ~ [ 1 3 0 0 1 2 0 0 0 0 0 0 1 0 0 1 βˆ’1 βˆ’3/2 βˆ’85/2 βˆ’37/2] [ π‘₯1 π‘₯2 π‘₯3 π‘₯4 ] = [ 0 0 0 0 0] (βˆ’21) 𝑅3 + 𝑅4,(βˆ’9) 𝑅3 + 𝑅5 οƒ˜ ~ [ 1 3 0 0 1 2 0 0 0 0 0 0 1 0 0 1 βˆ’1 βˆ’3/2 1 βˆ’37/2] [ π‘₯1 π‘₯2 π‘₯3 π‘₯4 ] = [ 0 0 0 0 0] 𝑅4 (βˆ’ 2 85 )
  • 8. οƒ˜ ~ [ 1 3 0 0 1 2 0 0 0 0 0 0 1 0 0 1 βˆ’1 βˆ’3/2 1 0 ] [ π‘₯1 π‘₯2 π‘₯3 π‘₯4 ] = [ 0 0 0 0 0] 𝑅4 ( 37 2 ) + 𝑅5 ∴ π‘₯1 + 3π‘₯2 + π‘₯4 = 0 …………………………………….(1) π‘₯2 + 2π‘₯3 βˆ’ π‘₯4 = 0 ……………………………………. (2) π‘₯3 βˆ’ 3 2 π‘₯4 = 0 …………………………………… (3) π‘₯4 = 0 ... ………………………………………. (4) οƒ˜ Since π‘₯4 = 0 from equation (3) we get π‘₯3 = 0. οƒ˜ Since π‘₯3 = 0, π‘₯4 = 0 from equation (2) we get π‘₯2 = 0 οƒ˜ Since π‘₯2 = 0, π‘₯4 = 0 from equation (1) we get π‘₯1 = 0. οƒ˜ Hence π‘₯1 = 0, π‘₯2 = 0, π‘₯3 = 0, π‘₯4 = 0 οƒ˜ i.e. system has only a trivial solution.  Non Homogeneous Systemof Linear equations and its Solution: οƒ˜ The vector equation is equivalent to a matrix equation of the form οƒ˜ οƒ˜ Where A is an mΓ—n matrix, x is a column vector with n entries, and b is a column vector with m entries.
  • 9. οƒ˜ The above system of equations AX=b is known as non homogeneous system of equations. οƒ˜ Here C=[A/B] is Augmented matrix  Example-1. Show that the non Homogeneous systemof linear equation are not consistant. πŸπ’™ + πŸ”π’š = βˆ’πŸπŸ πŸ”π’™ + πŸπŸŽπ’š βˆ’ πŸ”π’› = βˆ’πŸ‘ πŸ”π’š βˆ’ πŸπŸ–π’› = βˆ’πŸ Solution: οƒ˜ In the matrix form 𝐴𝑋 = 𝐡 we can write A systemof non-homogeneous linear equations AX=B if R(A)=R(C) solution exists systemis consistant if R(A)=R(C)=n systemhas unique solution if R(A)=R(C) less than n InfiniteSolution if R(A)# R(C) solution does not exist systemis inconsistant
  • 10. [ 2 6 0 6 20 βˆ’6 0 6 βˆ’18 ] [ π‘₯ 𝑦 𝑧 ] = [ βˆ’11 βˆ’3 βˆ’1 ] οƒ˜ ~ [ 2 6 0 0 2 βˆ’6 0 6 βˆ’18 ] [ π‘₯ 𝑦 𝑧 ] = [ βˆ’11 30 βˆ’1 ] (βˆ’3) 𝑅1 + 𝑅2 οƒ˜ ~ [ 2 6 0 0 2 βˆ’6 0 0 0 ] [ π‘₯ 𝑦 𝑧 ] = [ βˆ’11 30 βˆ’91 ] (βˆ’3) 𝑅2 + 𝑅3 οƒ˜ ∴ Rank of C = 3 and Rank of A=2 οƒ˜ Here, ( Rank of C = 3) β‰  (Rank of A=2) οƒ˜ ∴ System has no solution that means system is inconsistent.  Example-2. Testfor consistencythe following system of equations and if consistentthen solve them 𝒙 𝟏 + πŸπ’™ 𝟐 βˆ’ 𝒙 πŸ‘ = πŸ‘ πŸ‘π’™ 𝟏 βˆ’ 𝒙 𝟐 + πŸπ’™ πŸ‘ = 𝟏 πŸπ’™ 𝟏 βˆ’ πŸπ’™ 𝟐 + πŸ‘π’™ πŸ‘ = 𝟐 𝒙 𝟏 βˆ’ 𝒙 𝟐 + 𝒙 πŸ‘ = βˆ’πŸ Solution: οƒ˜ We have given system of solution π‘₯1 + 2π‘₯2 βˆ’ π‘₯3 = 3 3π‘₯1 βˆ’ π‘₯2 + 2π‘₯3 = 1 2π‘₯1 βˆ’ 2π‘₯2 + 3π‘₯3 = 2 π‘₯1 βˆ’ π‘₯2 + π‘₯3 = βˆ’1 οƒ˜ The System of equation can be written in matrix form as [ 1 2 βˆ’1 3 βˆ’1 2 2 1 βˆ’2 βˆ’1 3 1 ][ π‘₯1 π‘₯2 π‘₯3 ] = [ 3 1 2 βˆ’1 ]
  • 11. οƒ˜ ~[ 1 2 βˆ’1 0 βˆ’7 5 0 0 βˆ’6 βˆ’3 5 2 ][ π‘₯1 π‘₯2 π‘₯3 ] = [ 3 βˆ’8 βˆ’4 βˆ’4 ] (βˆ’3) 𝑅1 + 𝑅2, (βˆ’2) 𝑅1 + 𝑅3, (βˆ’1) 𝑅1 + 𝑅4 οƒ˜ ~[ 1 2 βˆ’1 0 βˆ’7 5 0 0 0 0 5/7 βˆ’1/7 ][ π‘₯1 π‘₯2 π‘₯3 ] = [ 3 βˆ’8 20/7 βˆ’4/7 ] βˆ’ 6 7 𝑅2 + 𝑅3 , βˆ’ 3 7 𝑅2 + 𝑅4 οƒ˜ ~[ 1 2 βˆ’1 0 βˆ’7 5 0 0 0 0 5/7 0 ][ π‘₯1 π‘₯2 π‘₯3 ] = [ 3 βˆ’8 20/7 0 ] 1 5 𝑅3 + 𝑅4 ……………………….(1) οƒ˜ ∴ Rank of C=3 οƒ˜ Rank of A=3 οƒ˜ Hence 𝑅( 𝐴) = 𝑅( 𝐢) = 3 οƒ˜ ∴ System is consistant. οƒ˜ Also rank = no. of variable (n) = 3 οƒ˜ ∴ System has unique solution. οƒ˜ Now we can write equation (1) as οƒ˜ ~[ 1 2 βˆ’1 0 βˆ’7 5 0 0 5/7 ][ π‘₯1 π‘₯2 π‘₯3 ] = [ 3 βˆ’8 20/7 ] οƒ˜ ∴ π‘₯1 + 2π‘₯2 βˆ’ π‘₯3 = 3 ……………………………………. (2) βˆ’7π‘₯2 + 5π‘₯3 = βˆ’8 ……………………………………. (3) 5 7 π‘₯3 = 20 7 …………………………………… (4) οƒ˜ From equation (4) we get π‘₯3 = 4 οƒ˜ Put π‘₯3 = 4 in (3) we get, βˆ’7π‘₯2 + 5(4) = βˆ’8
  • 12. ∴ βˆ’7π‘₯2 = βˆ’28 ⟹ π‘₯2 = 4 οƒ˜ Put π‘₯3 = 4 and π‘₯2 = 4 in (2) we get, π‘₯1 + 2(4) βˆ’ 4 = 3 ∴ π‘₯1 + 4 = 3 ⟹ π‘₯1 = βˆ’1 οƒ˜ Hence π‘₯1 = βˆ’1, π‘₯2 = 4, π‘₯3 = 4.  Reference BookandWebsite Name: 1. Introduction to Engineering Mathematics-1 by H.K. Dass and Dr.Rama Verma. (S.Chand) 2. A Textbookof Engineering mathematics by N.P.Bali and Dr.Manish goyal 3. http://en.wikipedia.org/wiki/System_of_linear_equations 4. http://www.mathwords.com/e/equivalent_system_of_equations.htm 5. http://en.wikipedia.org/wiki/System_of_linear_equations
  • 13. EXERCISE-5 Q-1.Evaluate the following questions: 1. Solve the system of homogeneous equation π‘₯1 + 3π‘₯2 + 2π‘₯3 = 0 2π‘₯1 βˆ’ π‘₯2 + 3π‘₯3 = 0 3π‘₯1 βˆ’ 5π‘₯2 + 4π‘₯3 = 0 π‘₯1 + 17π‘₯2 + 4π‘₯3 = 0 2. Solve the following System of homogeneous equation 5π‘₯ + 2𝑦 βˆ’ 3𝑧 = 0 3π‘₯ + 𝑦 + 𝑧 = 0 2π‘₯ + 𝑦 + 6𝑧 = 0 3. Check that the following system of equations is equivalent or not? (a) π‘₯ βˆ’ 6𝑦 = βˆ’8 , π‘₯ 2 βˆ’ 3𝑦 = βˆ’4 (b)3π‘₯ + 7𝑦 = 15,5π‘₯ + 2𝑦 = βˆ’4 Q.2 Evaluate the following questions: 1. Discuss the consistency of the following system of equations if it is consistant then find its solution: 2π‘₯ + 3𝑦 + 4𝑧 = 11 π‘₯ + 5𝑦 + 7𝑧 = 15 3π‘₯ + 11𝑦 + 13𝑧 = 25 2. Test for the consistency of the following system of equations π‘₯1 + 2π‘₯2 + 3π‘₯3 + 4π‘₯4 = 5 6π‘₯1 + 7π‘₯2 + 8π‘₯3 + 9π‘₯4 = 10 11π‘₯1 + 12π‘₯2 + 13π‘₯3 + 14π‘₯4 = 15
  • 14. 16π‘₯1 + 17π‘₯2 + 18π‘₯3 + 19π‘₯4 = 20 21π‘₯1 + 22π‘₯2 + 23π‘₯3 + 24π‘₯4 = 25 3. Test the consistency of the following equations and solve them if possible. 3π‘₯ + 3𝑦 + 3𝑧 = 1 π‘₯ + 2𝑦 = 4 10𝑦 + 3𝑧 = βˆ’2 2π‘₯ βˆ’ 3𝑦 βˆ’ 𝑧 = 5