System of Linear Equations

In mathematics, the system of linear equations is the set of two or more linear equations involving the same variables. Here, linear equations can be defined as the equations of the first order, i.e., the highest power of the variable is 1. Linear equations can have one variable, two variables, or three variables. Thus, we can write linear equations with n number of variables. In this article, you will get the definition of the system of linear equations, different methods of solving these systems of linear equations and solved examples.

Learn: Linear equations

System of Linear Equations Definition

Let

a11x1 + a12x2 + a13x3 + …. + a1nxn = b1

a21x1 + a22x2 + a23x3 + …. + a2nxn = b2

…………………………………..

…………………………………..

an1x1 + an2x2 + an3x3 + …. + annxn = bn

be a system of “n” linear equations in “n” variables x1, x2, x3,…., xn.

Where,

a11, a12, …, a21, a22,…, an1, an2,…, ann are the coefficients of variables, x1, x2,…., xn.

Read more:

System of Linear Equations Matrix

As we know, the system of linear equations can be written in matrix form. Thus, the system of linear equations in n variables can be written as:

\(\begin{array}{l}\begin{bmatrix}a_{11} & a_{12} & a_{13} &…. & a_{1n} \\a_{21} &a_{22} & a_{23} &…. & a_{2n} \\… &… & … & …. &… \\… &… &… &…. &… \\a_{n1} & a_{n2} &a_{n3} &…. &a_{nn} \\\end{bmatrix}\ \begin{bmatrix}x_1 \\ x_2\\ …\\ …\\x_n\end{bmatrix}=\begin{bmatrix}b_1 \\ b_2\\ …\\ …\\b_n\end{bmatrix}\end{array} \)

(or)

AX = B

Here,

\(\begin{array}{l}A=\begin{bmatrix}a_{11} & a_{12} & a_{13} &…. & a_{1n} \\a_{21} &a_{22} & a_{23} &…. & a_{2n} \\… &… & … & …. &… \\… &… &… &…. &… \\a_{n1} & a_{n2} &a_{n3} &…. &a_{nn} \\\end{bmatrix},\ X= \begin{bmatrix}x_1 \\ x_2\\ …\\ …\\x_n\end{bmatrix},\ B=\begin{bmatrix}b_1 \\ b_2\\ …\\ …\\b_n\end{bmatrix}\end{array} \)

Thus, A is called the coefficient matrix.

Solutions to System of Linear Equations

Any set of values of x1, x2, x2,…xn which simultaneously satisfies the system of linear equations given above is called a solution of the system. If the system of equations has one or more solutions, the equations are called consistent. Also, if the system of equations does not admit any solution, then the equations are called inconsistent.

Consider the system of equations AX = B and these equations are said to be Homogeneous if B = 0 and Non-homogeneous if B ≠ 0.

How to Solve System of Linear Equations?

The following methods of solving system of linear equations AX = B, are applicable only when the coefficient matrix A is non-singular, i.e., |A| ≠ 0.

System of Linear Equations in Two Variables

The system of linear equations in two variables is the set of equations that contain only two variables. For example, 2x + 3y = 4; 3x + 5y = 12 are the system of equations in two variables. There are several methods of solving linear equations in two variables, such as:

  1. Graphical method
  2. Substitution Method
  3. Elimination Method
  4. Cross-Multiplication Method
  5. Matrix method

Click here to learn more about linear equations in two variables.

Solving System of Linear Equations by Elimination

Let’s learn how to solve the system of linear equations by the elimination method here.

Consider the following system of linear equations in three variables.

2x – y + 3z = 9

x – 3y – 2z = 0

3x + 2y – z = -1

Step 1: Let us write the given equations in the form of AX = B.

\(\begin{array}{l}\begin{bmatrix}2 & -1 & 3 \\1 & -3 & -2 \\ 3& 2 & -1 \\\end{bmatrix}\ \begin{bmatrix}x \\ y\\z\end{bmatrix}=\begin{bmatrix}9 \\0 \\-1\end{bmatrix}\end{array} \)

Step 2: Now, write the augmented matrix [A : B].

\(\begin{array}{l}\begin{bmatrix}2 & -1 & 3 & 9 \\1 & -3 & -2 & 0\\ 3& 2 & -1 & -1\\\end{bmatrix}\end{array} \)

Step 3: Using elementary row operations, eliminate the unknown x from all the equations, except the first. Eliminate y from the third equation. This can be done as follows.

\(\begin{array}{l}\begin{bmatrix}2 & -1 & 3 & 9 \\1 & -3 & -2 & 0\\ 3& 2 & -1 & -1\\\end{bmatrix}\end{array} \)

Interchange R1 and R2, i.e., R1 ↔ R2.

\(\begin{array}{l}\begin{bmatrix}1 & -3 & -2 & 0\\2 & -1 & 3 & 9 \\ 3& 2 & -1 & -1\\\end{bmatrix}\end{array} \)

Now, perform R2 = R2 – 2R1 and R3 = R3 – 3R1.

\(\begin{array}{l}\begin{bmatrix}1 & -3 & -2 & 0\\0 & 5 & 7 & 9 \\0 & 11 & 5 & -1\\\end{bmatrix}\end{array} \)

By performing R3 = R3 – (11/5)R2, we get;

\(\begin{array}{l}\begin{bmatrix}1 & -3 & -2 & 0\\0 & 5 & 7 & 9 \\0 & 0 & \frac{-52}{5} & \frac{-104}{5}\\\end{bmatrix}\end{array} \)

From the above matrix, we get;

x – 3y – 2z = 0….(1)

5y + 7z = 9….(2)

(-52/5)z = -104/5….(3)

Solving equation (3), we get z = 2.

Substituting z = 2 in equation (2), we get;

5y + 7(2) = 9

5y + 14 = 9

5y = 9 – 14

y = -5/5

y = -1

Substituting y = -1 and z = 2 in equation (1), we get;

x – 3(-1) – 2(2) = 0

x + 3 – 4 = 0

x = 1

Therefore, the solution set of given system of linear equations is x = 1, y = -1 and z = 2.

System of Linear Equations Problems

  1. Solve the system of linear equations:
    x + y + z = 6
    3x – 2y – z = 4
    2x + 3y – 2z = 2
  2. Solve the following system of linear equations by elimination method.
    3x + 5y + 6z = 7
    x + 3y – 2z = 5
    2x + 4y + 3z = 8
  3. Solve: 3x – y + 14z = 7; 2x + 2y + 3z = 0; x – 12y – 18z = 33

To learn more about system of linear equations and methods of solving system of linear equations, download BYJU’S – The Learning App today!

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*

close
close

Play

&

Win