03. System of Linear Equations
Dated: 11-03-2025
Linear Equations
The equation of a straight line
1 in \(\mathbb R^2\) (the plane
2) can be written as
Similarly, for \(\mathbb R^3\) (the space
), the equation can be written as
Similarly, for a hyper plane
\(\mathbb R^n\)
where \(a_1, a_2, \ldots, b\) are constants and at least one of the \(a\) is not zero.
Homogeneous Linear Equation
If \(b = 0\) then the previous equation is called homogeneous linear equation
.
A linear equation contains following characteristics
- They do not involve product of variables, such as \(xy\) terms.
- The maximum power of the variables involved, do not exceed \(1\), (e.g. \(x^1\) is the maximum). Otherwise the equation is not linear.
- The variables are not passed as arguments to
functions
3 like- Trigonometric functions
- Exponential functions
Logarithmic functions
4
System of Linear Equations
A finite set
5 of linear equations is called a linear system
or a system of linear equations.
The variables involved are called the unknowns
.
General System of Linear Equations
A general linear system of \(m\) equations in \(n\) unknowns
\(x_1, x_2, \ldots, x_n\) can be written as
Solution of a System of Linear Equations
A solution of a system of linear equations in \(n\) unknowns
\(x_1, x_2, \ldots, x_n\) is a sequence
of \(n\) numbers
6 \(s_1, s_2, \ldots, s_n\) such that when substituted for \(x_1, x_2, \ldots, x_n\), respectively, makes every linear equation as true
statements.
The set
5 \(\{s_1, s_2, \ldots, s_n\}\) is called the solution set
.5
Linear System in 2 Unknowns
Imagine a linear system in \(\mathbb R^2\).
There are 3 possibilities.
- The
lines
1 are parallel and distinct. Hence they don't intersect and there is no solution. - The
lines
1 are not parallel and intersect at only one point, which is the solution. - The
lines
1 are parallel and coincide. Hence there are infinite solutions.
Consistent
If the linear system has at least one solution then it is called consistent
.
Inconsistent
If the linear system has no solutions then it is called inconsistent
.
Linear System in 3 Unknowns
Imagine a linear system in \(\mathbb R^3\).
In this case, graph of each equation is a plane
.2
The solutions can be
Theorem 1
A linear system has
- zero
- one
- infinite
solutions.
Example 1
Adding both equations, we get \(x = \frac 7 3\).
Plugging \(x\) in either of the equations, we get \(y = \frac 4 3\).
Therefore, this system has a unique solution
which is the point \(\left(\frac 7 3, \frac 4 3\right)\).
Example 2
After multiplying the first equation by \(3\) and subtracting it from second equation, we get
Geometrically, this means there is no intersection between the lines due to them being parallel and distinct. Hence no solution.
Example 3
Multiplying the first equation by \(-4\) and then adding it to second equation, we get
This means that all the points which satisfy either the first or second equation are the solution. Geometrically, this means that these lines are parallel and coincide with each other.
Parametric Representation
Imagine
Now let \(y = t\)
In this case, selecting any \(t\) can possibly yield \(x(t)\).
Hence the solution(s) are \((x(t), t)\).
Example
Notice how if you multiply first equation by \(2\), you get the second equation and if you multiply by \(3\), you get the 3rd equation.
This means that any point satisfying any equation, will satisfy the whole system because these all planes coincide.
Matrix Notation
Imagine that
This matrix
7 is called the coefficient matrix
.
The augmented matrix
is obtained by appending the right side of the linear system.
Solving a Linear System
Successive Elimination Method
In this method the \(x_1\) term of first equation is used to eliminate \(x_1\) terms from the other systems. Then \(x_2\) term of second equation is used in similar way and so on.
Lets take the linear system from previous example
Elementary Row Operations
- Replacement. Replace a row by adding a nonzero multiple of any row to it.
- Interchange. Interchange two rows.
- Scaling. Multiply all
entries
7 in the row by a nonzero value.
Row Equivalent Matrices
If \(A\) and \(B\) are two matrices
7 such that \(B\) can be obtained by performing finite amount of elementary row operations on \(A\) and vise versa then they are said to be row equivalent matrices.
If \(A\) and \(B\) are augmented matrices
of two linear systems and \(A \sim B\) then they both have same solution set
.
Two Fundamental Questions
- Is the system consistent; that is, does at least one solution exist?
- If a solution exists is it the only one; that is, is the solution unique?
References
Read more about notations and symbols.