In mathematics, a system of linear equations consists of two or more linear equations that share the same variables. These systems often arise in real-world applications, such as engineering, physics, economics, and more, where relationships between variables need to be analyzed. Understanding how to solve these systems helps in finding the intersection points of lines or planes, which represent the solution to the equations.
What is a System of Linear Equations
A system of linear equations involves multiple linear equations that share common variables. Each equation can represent a line, plane, or higher-dimensional surface, depending on the number of variables involved. The solution to the system is the set of variable values that satisfy all equations simultaneously, usually corresponding to points of intersection among the lines or planes represented by these equations.
This article will explain what a system of linear equations is, how to solve them using different methods, and provide examples to help you understand.
System of Linear Equations
A system of linear equations is a mathematical concept involving two or more linear equations that share the same variables. These equations collectively define relationships between variables, often representing lines, planes, or higher-dimensional surfaces in space. The solution to the system is the set of values for the variables that satisfies all equations simultaneously, typically corresponding to points of intersection or commonality among the equations.

System of Linear Equations
Trace of a Matrix
Let A=[aij] nxn be a square matrix of order n, then the sum of diagonal elements is called the trace of a matrix which is denoted by tr(A). tr(A) = a11 + a22 + a33+ ……….+ ann
Properties of a Trace of Matrix
Let A and B be any two square matrices of order n, then
- tr(kA) = k tr(A) where k is a scalar.
- tr(A+B) = tr(A) + tr(B)
- tr(A-B) = tr(A) – tr(B)
- tr(AB) = tr(BA)
Solution of a System of Linear Equation
Linear equations can have three kinds of possible solutions:
- No Solution
- Unique Solution
- Infinite Solution
Rank of a matrix: The rank of the matrix is the number of non-zero rows in the row reduced from the maximum number of independent rows or the maximum number of independent columns. Let A be any m x n matrix and it has square sub-matrices of different orders. A matrix is said to be of rank r if it satisfies the following properties:
- It has at least one square sub-matrices of order r and has a non-zero determinant.
- All the determinants of square sub-matrices of order (r+1) or higher than r are zero.
Rank is denoted as P(A)
if A is a non-singular matrix of order n, then the rank of A = n i.e. P(A) = n.
Properties of Rank of a Matrix
Various properties of Rank of Matrix
- If A is a null matrix then P(A) = 0 i.e. Rank of null matrix is zero.
- If In is the nxn unit matrix then P(A) = n.
- Rank of a matrix A mxn , P(A) ? min(m,n). Thus P(A) ?m and P(A) ? n.
- P(A nxn ) = n if |A| ? 0
- If P(A) = m and P(B)=n then P(AB) ? min(m,n).
- If A and B are square matrices of order n then P(AB) = P(A) + P(B) – n.
- If Am×1 is a non zero column matrix and B1×n is a non zero row matrix then P(AB) = 1.
- Rank of a skew symmetric matrix cannot be equal to one.
System of homogeneous linear equations AX = 0
- X = 0. is always a solution; means all the unknowns has same value as zero. (This is also called trivial solution)
- If P(A) = number of unknowns, unique solution.
- If P(A) < number of unknowns, infinite number of solutions.
System of non-homogeneous linear equations AX = B
- If P[A:B] ≠ P(A), No solution.
- If P[A:B] = P(A) = Number of unknown variables, unique solution.
- If P[A:B] = P(A) ≠ Number of unknown, infinite number of solutions.
How to Solve System of Linear Equations?
The subsequent techniques for solving the system of linear equations AX = B are viable solely under the condition that the coefficient matrix A is non-singular, meaning |A| ≠ 0.
These methods include:
How to Determine Linear Dependency and Independency?
Let X1, X2 ….Xr be the given vectors. Construct a matrix with the given vectors as its rows.
- If the rank of the matrix of the given vectors is less than the number of vectors, then the vectors are linearly dependent.
- If the rank of the matrix of the given vectors is equal to number of vectors, then the vectors are linearly independent.
Applications System of Linear Equations in Engineering
Systems of linear equations are widely used in various engineering disciplines:
- Structural Analysis: In civil and mechanical engineering, systems of linear equations are used to analyze forces in structures, determine displacements, and design stable frameworks.
- Electrical Circuit Analysis: In electrical engineering, Kirchhoff’s laws lead to systems of linear equations that are used to analyze currents and voltages in electrical circuits.
- Control Systems: In control engineering, linear equations model dynamic systems and are used to design controllers that ensure desired system behavior.
- Optimization Problems: In industrial engineering and operations research, systems of linear equations arise in linear programming problems used to optimize production, transportation, and resource allocation.
Examples on System of Linear Equations
Example 1: Solve the system:
Solution:
From equation 1: y = 5 – x
Substitute into equation 2:
2x – (5 – x) = 1
3x – 5 = 1
3x = 6
x = 2
Substitute back to find y:
y = 5 – 2 = 3
Answer: (2, 3)
Example 2: Solve using substitution:
Solution:
From equation 2: x = 1 + y
Substitute into equation 1:
3(1 + y) + 2y = 13
3 + 3y + 2y = 13
5y = 10
y = 2
Substitute back:
x = 1 + 2 = 3
Answer: (3, 2)
Example 3: Solve using elimination:
Solution:
Add the equations:
6x = 10
x = 5/3
Substitute into first equation:
2(5/3) + 3y = 8
10/3 + 3y = 8
3y = 14/3
y = 14/9
Answer: (5/3, 14/9)
Example 4: Determine if the system is consistent:
Solution:
Multiply the first equation by 2:
4x + 2y = 8
This is identical to the second equation, so the system is consistent with infinitely many solutions.
Example 5: Solve the 3×3 system:
- x + y + z = 6
- 2x – y + z = 4
- x + 2y – z = 3
Solution (using elimination):
Subtract equation 1 from 2:
x – 2y = -2 … (4)
Subtract equation 1 from 3:
y – 2z = -3 … (5)
From (4): x = -2 + 2y
Substitute into (1):
(-2 + 2y) + y + z = 6
2y + y + z = 8
3y + z = 8 … (6)
From (5): z = (-3 – y) / 2
Substitute into (6):
3y + (-3 – y) / 2 = 8
6y – 3 – y = 16
5y = 19
y = 19/5
z = (-3 – 19/5) / 2 = -31/10
x = -2 + 2(19/5) = 18/5
Answer: (18/5, 19/5, -31/10)
Example 6: Solve graphically:
Solution:
Plot both lines. They intersect at (1, 3).
Answer: (1, 3)
Example 7: Determine the nature of the system:
Solution:
Multiply the first equation by 2:
4x + 6y = 10
Compare with the second equation:
4x + 6y = 11
The system is inconsistent (no solution).
Example 8: Solve using Cramer’s Rule:
Solution:
D = [Tex]\begin{vmatrix}3&2\\1&1\\\end{vmatrix}[/Tex]
D = 3(1) – 2(1) = 1
Dx = [Tex]\begin{vmatrix}14&2\\6&1\\\end{vmatrix}[/Tex]
Dx = 14(1) – 2(6) = 2
Dy = [Tex]\begin{vmatrix}3&14\\1&6\\\end{vmatrix}[/Tex]
Dy = 3(6) – 14(1) = 4
x = Dx/D = 2/1 = 2
y = Dy/D = 4/1 = 4
Answer: (2, 4)
Practice Problems on System of Linear Equations
Problem 1. Solve the system:
Problem 2. Determine if the system is consistent:
Problem 3. Solve using substitution:
Problem 4. Solve the 3×3 system:
- x + y – z = 2
- 2x + y + z = 7
- x – y + 2z = 4
Problem 5. Solve graphically:
Problem 6. Solve using matrices:
Problem 7. Use Cramer’s Rule to solve:
Problem 8. Solve the system with a Parameter:
Problem 9. Determine the nature of the system:
Problem 10. Solve using Gauss Elimination:
- 2x+3y+z=10
- 4x−y+5z=5
- x+2y−3z=−4
Conclusion
Understanding and solving systems of linear equations are crucial skills in engineering and many other fields. Various methods, including graphical, substitution, elimination, and matrix methods, provide versatile tools for finding solutions. The applications of these systems are vast and integral to solving complex real-world problems.
System of Linear Equations – FAQs
What is a system of linear equations?
A system of linear equations is a set of linear equations with the same variables. Solutions to the system are values of the variables that satisfy all equations simultaneously.
What are the common methods to solve systems of linear equations?
Common methods include graphical, substitution, elimination, and matrix (Gaussian elimination) methods.
How are systems of linear equations used in engineering?
They are used in structural analysis, electrical circuit analysis, control systems, and optimization problems, among other applications.
What is Gaussian elimination?
Gaussian elimination is a matrix method that transforms a system of linear equations into row-echelon form or reduced row-echelon form to find solutions systematically.
Can a system of linear equations have no solution?
Yes, a system can have no solution if the equations represent parallel lines that do not intersect, indicating inconsistency.