Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 40

LOGO

This presentation includes the following


H
O
1 Introduction to linear equations M
O
G

2 Homogeneous linear equations E


N
E
Solutions of O
3 homogeneous linear equations
U
S

4 Trivial solution L
I
N

5 Non trivial solution E


A
R
How to solve
6 homogeneous linear equations E
Q
U

7 Applications A
T
I

8 Examples O
N
S
H
O
M
O
G
E
N
E
O
U
S

L
I
N
E
A
R

E
Q
U
A
T
I
O
N
S
Introduction to linear equations
H
A LINEAR EQUATION is an algebraic equation in O
M
which each term is either a constant or product of a O
G
constant and a single variable of power 1. It can be E
N
written as E
O

a1x1 + a2x2 + . . . . .+ anxn = b; U


S

A SYSTEM OF LINEAR EQUATIONS (or linear L


I
system) is a collection of linear equations involving N
E
the same set of variables. A
a11 x1  a12 x 2  ....  a1n x n  b1 R

E
a21 x1  a22 x 2  ....  a2n x n  b2 Q
U
A
 T
I
am1 x1  am2 x 2  ....  amn x n  bm O
N
S
Homogeneous linear equations
A linear equation will be homogeneous if the constant H
O
term is zero. M
O
G
a1x1 + a2x2 + . . . . .+ anxn = 0 E
N
System of homogeneous linear equations is a E
O
collection of homogeneous linear equations having the U
S
same set of variables. They can be represented as
a11 x1  a12 x2  ....  a1n xn  0 L
I

a21 x1  a22 x2  ....  a2 n xn  0  (1) N


E
A
R

E
am1 x1  am 2 x2  ....  amn xn  0 Q
U
A
 The above homogeneous system can be written in the T
I
matrix form as O
AX=0 N
S
H
Where A is the matrix of co-efficients i.e O
M
 a11 a12  a1n  O
a a  a  G

A   21 2n 
21 E
N
    E
  O
am1 am1  amn  U
S
X is the column vector of variables i.e.,
 x1  L
x  I
N
X   2 E
  A
  R
 xn 
And 0 is the null matrix. E
Q
0  U
0  A
o  T
  I
O
  N
0  S
H
O
M
O
G
E
N
E
O
U
S

L
I
N
E
A
R

E
Q
U
A
T
I
O
N
S
SOLUTIONS OF
HOMOGENEOUS LINEAR EQUATIONS
H
O
The solution obtained by solving the homogeneous M
O
linear equations can be unique or there can be G
E
infinite number of solutions. N
E
These are classified into: O
U
S

1 Trivial solution
L

2 Non trivial solution I
N
2 E
A
R

E
Q
U
A
T
I
O
N
S
Trivial solution
H
As, homogeneous linear equations can be written in O
M
matrix form as O
G
AX=0 ……. (1) E
N
It is easy to notice that the solution to (1) is E
O
X=0 U
S
or x1=0, x2=0, x3=0,….., xn=0
L
and certainly this is the case.  Although it is easy to I
N
get this solution, usually this is not the desired E
A
solution, so it is called the "trivial solution“. So we R

reach a very simple theorem (on the next slide). E


Q
U
Moreover if   A
T
det A ≠ 0 I

then it is the unique solution. O


N
S
Theorem 1
H
 Homogeneous system of linear equations is always O
M
consistent as such a system in “n” variables always O
G
has the solution E
N
x1 = 0, x2 = 0,. …, xn = 0. E
O
U
S

L
I
N
E
A
R

E
Q
U
A
T
I
O
N
S
Non trivial solution
H
Along with the trivial solution, a homogeneous O
M
system can have an infinite number of solutions O
G
which are called “non-trivial solutions”. E
N
E
As, homogeneous linear equations can be written O
U
in matrix form as S

AX=0 ……. (1) L


I
Referring to eq (1), when   N
E
A
det A = 0 R

there is an infinite number of solutions which are E


Q
called “non-trivial solutions”.   U
A
T
I
O
N
S
Theorem 2
An n x n matrix that represents a homogeneous system of linear H
O
equations has a nontrivial solution if and only if its determinantM
O
=0 G
PROOF: E
N
(1) Assume that the matrix has a nontrivial solution. E
O
(2) Assume that its determinant ≠ 0 U
S
(3) By Cramer's Rule, if determinant ≠ 0, then the
matrix has a unique solution. But if matrix has a unique solution,L
I
then it does not have a nontrivial solution (As, unique solution
N
will be the trivial solution). E
A
(4) Therefore we have a contradiction and we reject our R

assumption in step # 2 and conclude that if determinant =0, we E


Q
can get a non-trivial solution. U
A
T
I
O
N
S
THEOREM 3
H
STATEMENT: O
M
A homogeneous system of m linear equations in n O
G
un-knowns will have a non–trivial solution if m < n. E
N
E
PROOF: O
U
Consider a matrix B which is in the reduced row– S

echelon form and is row equivalent to the coefficient L


matrix of the system. Let m < n. Let “r” be the number I
N
of non–zero rows in the matrix “B”. Then E
A
r≤m<n R

E
and hence Q
U
n−r>0 A
T
and so the number n − r of arbitrary unknowns is in I
O
fact positive and we are forced to use the free N
S
H
to get the solution. Taking one of these unknowns to O
M
be “t”, an arbitrary constant, gives us a non–trivial O
G
solution. E
N
E
O
U
S

L
I
N
E
A
R

E
Q
U
A
T
I
O
N
S
H
O
M
O
G
E
N
E
O
U
S

L
I
N
E
A
R

E
Q
U
A
T
I
O
N
S
Solving Homogeneous Linear equations
H
As we know that we can get two types of solutions O
M
from homogeneous linear equations, namely trivial O
G
and non-trivial solutions. Trivial solutions can be E

found easily by taking all variables equal to zero. On N


E
the other hand non trivial solution is not as easy to O
U
find as trivial solution is. So, non trivial solution can S

be found by different ways. Some of them are L


I
Elementary Operations N
E
Gauss Elimination Method A
R
Guass Jordan Elimination E
Q
Before going into the detail of these methods, we U
A
should be familiar with some of the basic concepts T
I
stated below. O
N
S
SOME BASIC CONCEPTS
H

Before discussing these methods in detail, we should O


M

get familiar with some of the basic concepts. O


G
E
Row equivalence N
E
Two matrices are said to be row equivalent if one can O
U
be changed to the other by a sequence of elementary S

row operations. L
I
Free Variables N
E
A
It can be difficult to describe the non trivial solution. R

Typically, some of the variables are introduced which E


Q
are allowed to take any value, and the remaining U
A
variables are dependent on the values of the free T
I
variables. These variables are called free variables. O
N
S
H

Augmented Matrix O
M
O
The augmented matrix represents all the important G

information in the system of equations. The names E


N
of the variables are ignored, and the only E
O
connection with the variables is the location of their U
coefficients in the matrix. S

For example, the augmented matrix of the L


I
system in eq.1 is N
 a11 a12  a1n  0 E
A
a a21  a2 n  0 R
 21 E
      Q
  U
am1 am1  amn  0 A
T
I
O
N
S
Elementary Operations
H
Homogeneous linear equations can be solved by O
M
the following simple operations, also called O
G
elementary operations. E
N
 Interchange the two equations E
O
 Multiply a non-zero constant throughout an U
S
equation
L
 Add a multiple of one row to another row. I
N
These operations can be performed on the E
A
simple equations or by converting them into the R

matrix form. The other methods also employ these E


Q
operations to solve the equations. U
A
T
I
O
N
S
EXAMPLE 1
H
Solve the following homogeneous system O
M
2x+z=0 O
G
x-y-z=0 E
N
3x-y=0 E
SOLUTION O
U
S
First of all, we’ll check whether the above system has
a non trivial solution or not. For this, we should have: L
I
N
det A =0 E
A
R
(where A is the coefficient matrix of the above system)
E
Taking L.H.S. Q
U
2 0 1 A
T
detA  1  1  1 I
O
3 1 0 N
S
H
 2(0  1)  0(0  3)  1( 1  3) O
M
 2( 1)  0  1(2) O
G
E
 2 2  0 N
E

So, the system has non-trivial solution. O


U

Referring to the system S

E1: 2x+z=0 L
I
E2: x-y-z=0 N
E
E3: 3x-y=0 A
R
Subtracting1/2 E1 from E2 and 3/2 E1 from E3 E
E1: 2x+z=0 Q
U
A
E2: -y-3/2 z=0 T
I
E3: -y-3/2 z=0 O
N
S
H
Multiplying E1 by ½ O
M
O
E1: x+ 1/2 z=0 G
E
Multiplying E2 by -1 N
E
O
E2: y+ 3/2 z=0 U
S
Add E2 on E3
L
E3: 0=0 I
N
E
Let ½ z =t A
R

or z= 2t E
Q
Putting this value in the above equations we have U
A
T
E1: x+1/2 (2z) = 0 I
O
x= -z N
S
H
E2: y+3/2 (2t) = 0 O
M

y = - 3t O
G
E
So, the non trivial solution is N
E
x = -z O
U
S
y = -3t
L
z = 2t I
N
E
A
R

E
Q
U
A
T
I
O
N
S
Gaussian Elimination
H
Gaussian elimination is a three step method for O
M
solving systems of linear equations: O
G
E
1) Write the system as an augmented matrix (use N
E
zeroes for a particular variable of the system if it O
U
doesn't appear in one of the equations) S

2) Use elementary row operations to reduce the L


matrix to row echelon form. I
N
E
3) Use back substitution to finally solve the system. In A
R
other words, write the system of linear equations E
corresponding to the reduced echelon form. Q
U

Then, take a free variable and assign it different A


T
I
values to get the non-trivial solution. O
N
S
Gauss-Jordan Elimination
H
Through this method, the augmented matrix is O
M
reduced into a form simple enough such that O
system of equation are solved by inspection. G
E
It involves the following steps N
E

1 Locate the leftmost column that does not consist O
U
entirely of zero. S


2 Interchange the top row with another row, if
L
necessary, to bring a nonzero entry to the top from IN
step 1. E
A

3 If the entry that is now at the top is a constant, divide R
entire row by it. E
Q

4 Add multiples to top row to the rows below such that U
all entries have 1 as leading term. A
T

5 Cover top row and begin with step 1 applied to
I
O
submatrix. N
S
APPLICATIONS
H
O
Homogeneous linear equations find their M
O
applications in G
E
Balancing a chemical equation N
E
O
Electrical Network Analysis U
S
 Kirchhoff’s Laws
L
I
N
E
Conditions of equilibrium A
R

E
Q
U
A
T
I
O
N
S
Application to Chemistry
H
Consider the following combustion reaction in which a O
M
chemical equation relates how propane molecules O
G
(C3H8)  combine with oxygen atoms (O2 ) to form carbon E
dioxide (CO2) and water (H2O). This reaction is given as: N
E
O
x1 (C3H8)+ x2 (O2 ) x3 (CO2)+ x4 (H2O) U
S
When a chemist wants to "balance this equation," whole
numbers  x1, x2, x3 , x4  must be found so that the number of L
I
atoms of carbon (C), hydrogen (H) and oxygen (O) on the N
E
left match their respective number on the right.   A
R
To balance the equation, write three equations which keep E
track of the number of carbon, hydrogen Q
U
A
T
I
O
N
S
H
and oxygen atoms, respectively. O
M
O
Carbon : 3x1+ 0 x2 = x3 + 0x4  G
E
Hydrogen : 8x1+ 0 x2 = 0x3 + 2x4  N
E
O
Oxygen : 0x1+ 2 x2 = 2x3 + x4  U
S
The next example shows how to solve this system.
L
I
N
E
A
R

E
Q
U
A
T
I
O
N
S
Example 2
H
Q. Balance the propane-oxygen equation by solving O
M
the homogeneous linear system O
G
Carbon : 3x1+ 0 x2 = x3 + 0x4  E
N
E
Hydrogen : 8x1+ 0 x2 = 0x3 + 2x4  O
U
Oxygen : 0x1+ 2 x2 = 2x3 + x4  S

L
I
SOLUTION: N
E
A
We have the following equations R

3x1- x3 = 0 E
Q
U
8x1-2x4 = 0 A
T
I
2 x2- x3-x4 = 0 O
N
S
H
We can write them in matrix form as O
M
AX = B O
G
E
Where N
 x1  E
3 0  1 0  0  x  O

A  8 0 0  2 , B  0 , X   2


U
S
x3 
0 2  2  1  0    L
x4  I
N
As, we have E
A
A X = B R

 x1  E
3 0 1 0 x  0  Q
U
8 0 0  2   2   0  A
 x3    T
I
0 2 2  1    0  O

x4 
N
S
H
O
Form the augmented matrix  M = [A, B] M

3 0  1 0 0
O
G
8 0 0  2 0 E
N
  E

0 2  2  1 0
O
U
S
Find the reduced row echelon form of the augmented
L
matrix  M = [A, B] by Gaussian Elimination method as I
N
follows. We have the following system  E
A
3 0  1 0 R

8 0 0  2  E

  Q
U
0 2  2  1  A
T
I
O
N
S
3 0  1 0 
0 0 8  8
  3  2 By R2  R3 H
3 O
0 2  2  1  M
O
G
E
3 0 0 
3
4 N
0  3 E
  0 8
3  2 By R1  R2 O
8 U
0 2  2  1  S

L
3 0 0 3 4  I
0  4 N
 
8
3 0 10
3  By R2  R3 E
3 A
0 2  2  1  R

E
Q
3 0 0 3
 4 U
0 10  By R 
3 A
 
8
3 0 3 3 R2 T
4 I
0 0 2 3
2 

O
N
S
H
O
By multiplying R1 by 1/3, R2 by3/8 and R3 by-1/2, we M
O
shall get the required matrix in row reduced echelon G
E
form that will be N
E
1 0 0 1 4  O
U
0 1 0  5  S

 4
L
0 0 1 3 4  I
N
 This linear system is equivalent to: E
A
1 R
x1 - x4  0 E
4 Q
U
5 A

x2 - x4  0 T
I
4 O
N
S
H
3 O
x3 - x4  0 M
O
4 G
E
There is one free variable required which we choose N
E
to be  O
U
x4 = 4t.   S

The above equation will be used in computing  x1, x2 L


I

and x3 .  N
E
A
Solving the previous equations for  x1, x2 and x3 . R

1 1 E
x1  x 4  (4t)  t Q
4 4 U
A
T
5 5 I
x 2  x 4  (4t)  5t O
4 4 N
S
H
3 3 O
x 3  x 4  (4t)  3 t M
O
4 4 G
E
By putting these values in the chemical equations, N
E
we shall get the required balanced equation O
U

t (C3H8)+ 5t (O2 ) 3t (CO2)+ 4t (H2O) S

L
This is the required balanced equation I
N
E
A
   R

E
Q
U
A
T
I
O
N
S
Electrical Network Analysis
H
O
Kirchoff’s Law M
O
Homogeneous linear systems can be used in G
E
solving electrical circuits in the form of Kirchoff’s N
E
first law, which can be written mathematically as O
U
S
I1+I2+I3+...+In=0
L
I
N
E
A
R

E
Q
U
A
T
I
O
N
S
Conditions of equilibrium
H
O
Both the conditions of equilibrium yield homogeneous M
O
equations that can be written mathematically as G
E
ΣF=0 N
E
O
or F1+F2+F3+...+Fn=0 U
S
and
L

ΣƬ=0 I
N
E

or Ƭ1+Ƭ2+Ƭ3+...+Ƭn=0 A
R

A body will be said to be in equilibrium if and only if it E


Q
satisfies both the above mentioned equations. U
A
T
I
O
N
S
LOGO

Prepared RAFAE
RAFAE ASHFAQ
ASHFAQ
by 08-EE-40
08-EE-40

You might also like