# Solving Linear Equations

Solving linear equations means to find the solution of a linear equation. Here, the methods of solving linear equations are explained for its three main types which include linear equations in one variable, linear equations in two variables and linear equations in three variables.

## What Does Solving Linear Equations Mean?

Solving a linear equation refers to finding the solution of linear equations in one, two, three or variables. In simple words, a solution of a linear equation means the value or values of the variables involved in the equation.

## How to Solve Linear Equations?

There are six main methods to solve linear equations. These methods for finding the solution of linear equations are:

- Graphical Method
- Elimination Method
- Substitution Method
- Cross Multiplication Method
- Matrix Method
- Determinants Method

### Graphical Method of Solving Linear Equations

To solve linear equations graphically, first graph both equations in the same coordinate system and check for the intersection point in the graph. For example, take two equations as 2x + 3y = 9 and x – y = 3.

Now, to plot the graph, consider x = {0. 1, 2, 3, 4} and solve for y. Once (x, y) is obtained, plot the points on the graph. It should be noted that by having more values of x and y will make the graph more accurate.

**Check: **Graphical Method of Solving Linear Programming

The graph of 2x + 3y = 9 and x – y = 3 will be as follows:

In the graph, check for the intersection point of both the lines. Here, it is mentioned as (x, y). Check the value of that point and that will be the **solution of both the given equations**. Here, the value of (x, y) = (3.6, 0.6).

### Elimination Method of Solving Linear Equations

In the elimination method, any of the coefficients is first equated and eliminated. After elimination, the equations are solved to obtain the other equation. Below is an example of solving linear equations using the elimination method for better understanding.

Consider the same equations as

2x + 3y = 9 ———–(i)

And,

x – y = 3 ———–(ii)

Here, if equation (ii) is multiplied by 2, the coefficient of “x” will become the same and can be subtracted.

So, multiply equation (ii) × 2 and then subtract equation (i)

2x + 3y = 9

(-)

2x – 2y = 6

_____________

-5y = -3

Or, y = ⅗ = 0.6

Now, put the value of y = 0.6 in equation (ii).

So, x – 0.6 = 3

Thus, x = 3.6

In this way, the value of x, y is found to be 3.6 and 0.6.

### Substitution Method of Solving Linear Equations

To solve a linear equation using the substitution method, first, isolate the value of one variable from any of the equations. Then, substitute the value of the isolated variable in the second equation and solve it. Take the same equations again for example.

Consider,

2x + 3y = 9 ———–(i)

And,

x – y = 3 ———–(ii)

Now, consider equation (ii) and isolate the variable “x”.

So, equation (ii) becomes,

x = 3 + y.

Now, substitute the value of x in equation (i). So, equation (i) will be-

2x + 3y = 9

⇒ 2(3 + y) + 3y = 9

⇒ 6 + 2y + 3y = 9

Or, y = ⅗ = 0.6

Now, substitute “y” value in equation (ii).

x – y =3

⇒ x = 3 + 0.6

Or, x = 3.6

Thus, (x, y) = (3.6, 0.6).

### Cross Multiplication Method of Solving Linear Equations

Linear equations can be easily solved using the cross multiplication method. In this method, the cross-multiplication technique is used to simplify the solution. For the cross-multiplication method for solving 2 variable equation, the formula used is:

**x /(b _{1} c_{2} − b_{2} c_{1}) = y / (c_{1} a_{2} − c_{2} a_{1}) = 1 /(b_{2} a_{1} − b_{1} a_{2})**

For example, consider the equations

2x + 3y = 9 ———–(i)

And,

x – y = 3 ———–(ii)

Here,

a_{1 }= 2, b_{1 }= 3, c_{1 }= -9

a_{2 }= 1, b_{2 }= -1, c_{2 }= -3

Now, solve using the aforementioned formula.

**x = (b _{1} c_{2} − b_{2} c_{1}) / (b_{2} a_{1} − b_{1} a_{2})**

Putting the respective value we get,

x = 18/5 = 3.6

Similarly, solve for y.

**y = (c _{1} a_{2} − c_{2} a_{1}) / (b_{2} a_{1} − b_{1} a_{2})**

So, y = ⅗ = 0.6

### Matrix Method of Solving Linear Equations

Linear equations can also be solved using matrix method. This method is extremely helpful for solving linear equations in two or three variables. Consider three equations as:

a_{1}x + a_{2}y + a_{3}z = d_{1}

b_{1}x + b_{2}y + b_{3}z = d_{2}

c_{1}x + c_{2}y + c_{3}z = d_{3}

These equations can be written as:

⇒ AX = B ————-(i)

Here, the A matrix, B matrix and X matrix are:

Now, multiply (i) by A^{-1} to get:

A^{−1}AX = A^{−1}B ⇒ I.X = A^{−1}B

**⇒ X = A ^{−1}B**

### Determinant Method of Solving Linear Equations (Cramer’s Rule)

Determinants method can be used to solve linear equations in two or three variables easily. For two variables and three variables of linear equations, the procedure is as follows.

**For Linear Equations in Two Variables:**

x = Δ_{1}/Δ,

y = Δ_{2}/Δ

Or, **x = (b _{1} c_{2} − b_{2} c_{1}) / (b_{2} a_{1} − b_{1} a_{2}) **and

**y = (c**

_{1}a_{2}− c_{2}a_{1}) / (b_{2}a_{1}− b_{1}a_{2})Here,

**For Linear Equations in Three Variables:**

### Related Video: Solving an Equation

### Methods of Solving Linear Equations in One Variable

Solving a linear equation with one variable is extremely easy and quick. To solve any two equations having only 1 variable, bring all the variable terms on one side and the constants on the other. The graphical method can also be used in which the point of intersection of the line with the x-axis or y-axis will give the solution of the equation.

For example, consider the equation 2x + 4 + 7 = 4x – 3 + x

Here, combine the “x” terms and bring them on one side.

So,

5x – 2x = 14

Or, x = 14/3

### Methods of Solving Linear Equations in Two Variables

To solve a linear equation in two variables, any of the above-mentioned methods can be used i.e. graphical method, elimination method, substitution method, cross multiplication method, matrix method, determinants method.

### Methods of Solving Linear Equations in Three or More Variables

For solving any equation having three or more variables, the graphical, elimination and the substitution method is not feasible. For solving a three-variable equation, the cross-multiplication method is the most preferred method. Even matrix Cramer’s rule is extremely useful for solving equations having 3 or more variables.

**Check: **Solve Linear Equation in Two Or Three Variables

### Topics Related to Solution of Linear Equations:

## Frequently Asked Questions

### What is a Linear Equation?

A linear equation is an equation where each variable has a degree of one. An example of a linear equation is 4x + 3y = 10.

### What are the Methods of Solving Linear Equations?

The 6 most common methods of solving a linear equation are:

- Graphical Method
- Elimination Method
- Substitution Method
- Cross Multiplication Method
- Matrix Method
- Determinants Method

### How to Solve Linear Equations with Fractions?

To solve a linear equation with fraction, follow these steps:

- Step 1: Make any complex fraction into a simple fraction
- Step 2: Find the LCM of all denominators
- Step 3: Multiply the equation with the LCM of the denominator
- Step 4: Cancel out the fractions as all the denominators can be divided by the LCM value
- Step 5: Solve the final linear equation using any of the methods explained here