System of Linear Equations
Last Updated :
02 Sep, 2024
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.
Similar Reads
Engineering Mathematics Tutorials
Engineering mathematics is a vital component of the engineering discipline, offering the analytical tools and techniques necessary for solving complex problems across various fields. Whether you're designing a bridge, optimizing a manufacturing process, or developing algorithms for computer systems,
3 min read
Matrix and Determinants
Matrices
Matrices are key concepts in mathematics, widely used in solving equations and problems in fields like physics and computer science. A matrix is simply a grid of numbers, and a determinant is a value calculated from a square matrix. Example: [Tex]\begin{bmatrix} 6 & 9 \\ 5 & -4 \\ \end{bmatr
3 min read
Different Operations on Matrices
For an introduction to matrices, you can refer to the following article: Matrix Introduction In this article, we will discuss the following operations on matrices and their properties: Matrices AdditionMatrices SubtractionMatrices MultiplicationMatrices Addition: The addition of two matrices A m*n a
11 min read
Representation of Relation in Graphs and Matrices
Understanding how to represent relations in graphs and matrices is fundamental in engineering mathematics. These representations are not only crucial for theoretical understanding but also have significant practical applications in various fields of engineering, computer science, and data analysis.
8 min read
Determinant of Matrix with Solved Examples
The determinant of a matrix is a scalar value that can be calculated for a square matrix (a matrix with the same number of rows and columns). It serves as a scaling factor that is used for the transformation of a matrix. It provides important information about the matrix, such as whether the matrix
15+ min read
Properties of Determinants
Properties of Determinants are the properties that are required to solve various problems in Matrices. There are various properties of the determinant that are based on the elements, rows, and columns of the determinant. These properties help us to easily find the value of the determinant. Suppose w
11 min read
Row Echelon Form
Row Echelon Form (REF) of a matrix simplifies solving systems of linear equations, understanding linear transformations, and working with matrix equations. A matrix is in Row Echelon form if it has the following properties: Zero Rows at the Bottom: If there are any rows that are completely filled wi
4 min read
Eigenvalues and Eigenvectors
Eigenvectors are the directions that remain unchanged during a transformation, even if they get longer or shorter. Eigenvalues are the numbers that indicate how much something stretches or shrinks during that transformation. These ideas are important in many areas of math and engineering, including
15+ min read
System of Linear Equations
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 t
9 min read
Matrix Diagonalization
Prerequisite: Eigenvalues  and eigenvectors Let A and B be two matrices of order n. B can be considered similar to A if there exists an invertible matrix P such that B=P^{-1} A P  This is known as Matrix Similarity Transformation. Diagonalization of a matrix is defined as the process of reducing any
5 min read
LU Decomposition
LU decomposition of a matrix is the factorization of a given square matrix into two triangular matrices, one upper triangular matrix and one lower triangular matrix, such that the product of these two matrices gives the original matrix. It was introduced by Alan Turing in 1948, who also created the
7 min read
Finding Inverse of a Square Matrix using Cayley Hamilton Theorem in MATLAB
Matrix is the set of numbers arranged in rows & columns in order to form a Rectangular array. Here, those numbers are called the entries or elements of that matrix. A Rectangular array of (m*n) numbers in the form of 'm' horizontal lines (rows) & 'n' vertical lines (called columns), is calle
4 min read
Sequence and Series
Binomial Theorem
Binomial theorem is a fundamental principle in algebra that describes the algebraic expansion of powers of a binomial. According to this theorem, the expression (a + b)n where a and b are any numbers and n is a non-negative integer. It can be expanded into the sum of terms involving powers of a and
15+ min read
Sequences and Series
A sequence is an ordered list of numbers following a specific rule. Each number in a sequence is called a "term." The order in which terms are arranged is crucial, as each term has a specific position, often denoted as anâ, where n indicates the position in the sequence. For example: 2, 5, 8, 11, 14
7 min read
Finding nth term of any Polynomial Sequence
Given a few terms of a sequence, we are often asked to find the expression for the nth term of this sequence. While there is a multitude of ways to do this, In this article, we discuss an algorithmic approach which will give the correct answer for any polynomial expression. Note that this method fai
4 min read
Mathematics | Sequence, Series and Summations
Sequences, series, and summations are fundamental concepts of mathematical analysis and it has practical applications in science, engineering, and finance. Table of Content What is Sequence?Theorems on SequencesProperties of SequencesWhat is Series?Properties of SeriesTheorems on SeriesSummation Def
8 min read
Calculus
Limits in Calculus
Limits are used in calculus to define differential, continuity, and integrals, and they are defined as the approaching value of the function with the input approaching to ascertain value. Let's say we have a function f(x) = x2. In the graph given below, notice that as xâĒ0, f(x) also tends to become
11 min read
Indeterminate Forms
Assume a function [Tex]F(x)=\frac{f(x)}{g(x)}[/Tex] which is undefined at x=a but it may approach a limit as x approaches a. The process of determining such a limit is known as evaluation of indeterminate forms. The L' Hospital Rule helps in the evaluation of indeterminate forms. According to this r
3 min read
Limits, Continuity and Differentiability
Limits, Continuity, and Differentiability are fundamental concepts in calculus, essential for analyzing and understanding the behavior of functions. These concepts are crucial for solving real-world problems in physics, engineering, and economics. Table of Content LimitsKey Characteristics of Limits
10 min read
Cauchy's Mean Value Theorem
Cauchy's Mean Value theorem provides a relation between the change of two functions over a fixed interval with their derivative. Cauchy Mean Value Theorem is a special case of Lagrange Mean Value Theorem. Cauchy's Mean Value theorem is also called the Extended Mean Value Theorem or the Second Mean V
8 min read
Lagrange's Mean Value Theorem
Lagrange's Mean Value Theorem (LMVT) is a fundamental result in differential calculus, providing a formalized way to understand the behavior of differentiable functions. This theorem generalizes Rolle's Theorem and has significant applications in various fields of engineering, physics, and applied m
9 min read
Rolle's Mean Value Theorem
Rolle's theorem one of the core theorem of calculus states that, for a differentiable function that attains equal values at two distinct points then it must have at least one fixed point somewhere between them where the first derivative of the function is zero. Rolle's Theorem and the Mean Value The
8 min read
Taylor Series
Taylor Series is the series which is used to find the value of a function. It is the series of polynomials or any function and it contains the sum of infinite terms. Each successive term in the Taylor series expansion has a larger exponent or a higher degree term than the preceding term. We take the
10 min read
Maclaurin series
Prerequisite - Taylor theorem and Taylor series We know that formula for expansion of Taylor series is written as: [Tex]f(x)=f(a)+\sum_{n=1}^{\infty}\frac{f^n(a)}{n!}(x-a)^n[/Tex] Now if we put a=0 in this formula we will get the formula for expansion of Maclaurin series. T hus Maclaurin series expa
2 min read
Euler's Formula
Euler's formula holds a prominent place in the field of mathematics. It aids in establishing the essential link between trigonometric functions and complex exponential functions. It is a crucial formula used for solving complicated exponential functions. It is also known as Euler's identity. It has
5 min read
Chain Rule: Theorem, Formula and Solved Examples
Chain Rule is a way to find the derivative of composite functions. It is one of the basic rules used in mathematics for solving differential problems. It helps us to find the derivative of composite functions such as (3x2 + 1)4, (sin 4x), e3x, (ln x)2, and others. Only the derivatives of composite f
9 min read
Inverse functions and composition of functions
Inverse Functions - In mathematics a function, a, is said to be an inverse of another, b, if given the output of b a returns the input value given to b. Additionally, this must hold true for every element in the domain co-domain(range) of b. In other words, assuming x and y are constants, if b(x) =
3 min read
Definite Integral | Definition, Formula & How to Calculate
A definite integral is an integral that calculates a fixed value for the area under a curve between two specified limits. The resulting value represents the sum of all infinitesimal quantities within these boundaries. i.e. if we integrate any function within a fixed interval it is called a Definite
9 min read
Mathematics | Indefinite Integrals
Antiderivative - Definition :A function ∅(x) is called the antiderivative (or an integral) of a function f(x) of ∅(x)' = f(x). Example : x4/4 is an antiderivative of x3 because (x4/4)' = x3. In general, if ∅(x) is antiderivative of a function f(x) and C is a constant.Then, {∅
4 min read
Application of Derivative - Maxima and Minima | Mathematics
The Concept of derivative can be used to find the maximum and minimum value of the given function. We know that information about and gradient or slope can be derived from the derivative of a function. We try to find a point which has zero gradients then locate maximum and minimum value near it. It
3 min read
Summation Formula
In mathematics, the summation is the basic addition of a sequence of any numbers, called addends or summands; the result is their sum or total. In Mathematics numbers, functions, vectors, matrices, polynomials, and, in general, elements of any mathematical object can be associated with an operation
6 min read
Statistics and Numerical Methods
Mean, Variance and Standard Deviation
Mean, Variance and Standard Deviation are fundamental concepts in statistics and engineering mathematics, essential for analyzing and interpreting data. These measures provide insights into data's central tendency, dispersion, and spread, which are crucial for making informed decisions in various en
8 min read
Mathematics - Law of Total Probability
Probability theory is the branch of mathematics concerned with the analysis of random events. It provides a framework for quantifying uncertainty, predicting outcomes, and understanding random phenomena. In probability theory, an event is any outcome or set of outcomes from a random experiment, and
13 min read
Probability Distribution - Function, Formula, Table
A probability distribution describes how the probabilities of different outcomes are assigned to the possible values of a random variable. It provides a way of modeling the likelihood of each outcome in a random experiment. While a frequency distribution shows how often outcomes occur in a sample or
15+ min read
Bayes' Theorem
Bayes' Theorem is used to determine the conditional probability of an event. It is used to find the probability of an event, based on prior knowledge of conditions that might be related to that event. Bayes' Theorem and Conditional ProbabilityBayes theorem (also known as the Bayes Rule or Bayes Law)
11 min read
Conditional Probability
Conditional probability is one type of probability in which the possibility of an event depends upon the existence of a previous event. Conditional probability is the likelihood of an outcome occurring based on a previous outcome in similar circumstances. In probability notation, this is denoted as
15+ min read
Probability Distribution
Mathematics | Probability Distributions Set 1 (Uniform Distribution)
Prerequisite - Random Variable In probability theory and statistics, a probability distribution is a mathematical function that can be thought of as providing the probabilities of occurrence of different possible outcomes in an experiment. For instance, if the random variable X is used to denote the
4 min read
Mathematics | Probability Distributions Set 2 (Exponential Distribution)
The previous article covered the basics of Probability Distributions and talked about the Uniform Probability Distribution. This article covers the Exponential Probability Distribution which is also a Continuous distribution just like Uniform Distribution. Introduction - Suppose we are posed with th
5 min read
Mathematics | Probability Distributions Set 3 (Normal Distribution)
The previous two articles introduced two Continuous Distributions: Uniform and Exponential. This article covers the Normal Probability Distribution, also a Continuous distribution, which is by far the most widely used model for continuous measurement. Introduction - Whenever a random experiment is r
5 min read
Mathematics | Probability Distributions Set 4 (Binomial Distribution)
The previous articles talked about some of the Continuous Probability Distributions. This article covers one of the distributions which are not continuous but discrete, namely the Binomial Distribution. Introduction - To understand the Binomial distribution, we must first understand what a Bernoulli
5 min read
Mathematics | Probability Distributions Set 5 (Poisson Distribution)
The previous article covered the Binomial Distribution. This article talks about another Discrete Probability Distribution, the Poisson Distribution. Introduction -Suppose an event can occur several times within a given unit of time. When the total number of occurrences of the event is unknown, we c
4 min read
Covariance and Correlation
Covariance and correlation are the two key concepts in Statistics that help us analyze the relationship between two variables. Covariance measures how two variables change together, indicating whether they move in the same or opposite directions. In this article, we will learn about the differences
6 min read
Engineering Math Practice Problems