Algebraic Methods of Solving Pair of Linear Equations in Two Variables
Last Updated : 30 May, 2024
When solving a pair of linear equations in two variables, there are several algebraic methods you can use. Here’s a summary of the most common methods:
Let's imagine a situation, Ankita went to a fair in her village. She wanted to go on rides like the Giant Wheel and play Hoopla (a game in which a ring is thrown on the items kept in a stall, and if the ring covers any object completely, the player gets it).
The number of times she played Hoopla is half the number of rides she had on the Giant Wheel. If each ride on the giant wheel costs Rs 3, and a game of Hoopla costs Rs 4, find out the number of rides she had and how many times she played Hoopla, provided she spent Rs 20.
For solving such kind of problem, the first step is to formulate it in terms of equations. Let x be the number of times Ankita rode on the Giant Wheel and y be the number of times she played Hoopla. The equations become,
x = 2y,
3x + 4y = 20.
Can we find the solution to this system of equations? There are several ways of finding solutions, let's look at them in detail.
Pair of Linear Equations in Two Variables
An equation that can be put in the form of ax + by + c = 0, where a, b, and c are real numbers and a and b are both non-zero is called a linear equation in two variables x and y. Geometrically, if all the points satisfying this equation are plotted on the cartesian plane. It represents a line.
Similarly, a system of two linear equations represents two lines. The solution to that system represents points that satisfy both of the equations. There can be either no point, one point, and infinitely many points.
One Solution, No Solution, and Infinitely many solutions. Algebraic Methods of Solving a Pair of Linear Equations
There are several methods of solving a system of linear equations algebraically, let's look at two of those methods:
Let's discuss these methods in detail as follows:
Substitution Method
This method mainly involves two steps:
Step 1: Find the value of one variable, say y in terms of the other variable, i.e., x from either equation, whichever is convenient.
Step 2: Substitute this value of y in the other equation, and reduce it to an equation in one variable, i.e., in terms of x, which can be solved.
Question: Solve the following system of equations:
7x – 15y = 2
x + 2y = 3
Solution:
It can be solved according to the steps explained above,
We pick an equation to represent value of one variable in terms of others,
Let's pick, x = 3- 2y (It's also convenient).
Substitute the value of x in the other equation.
7(3-2y) -15y = 2
⇒ 21 - 14y -15y = 2
⇒ 19 = 29y
⇒ y = 19/29
Now, the x value becomes x = 3 - 2(19/29) = 3 - (38/29) = 49/29
This solution can also be checked by substituting both the values in these equations.
Note: We have substituted the value of one variable by expressing it in terms of other variable to solve the problem. That's why this method is called substitution.
Sometimes, as in the Example below, we can get statements with no variable. If this statement is true, we can say that the pair of linear equations has infinitely many solutions. If the statement is false, then the pair of linear equations is inconsistent.
Question: Anuj and Rahul bought some stationery items from the shop. Anuj bought 2 pencils and 3 erasers. The cost of 2 pencils and 3 erasers was Rs 9 and Rahul bought 4 pencils and 6 erasers. The cost of 4 pencils and 6 erasers is Rs 18. Find the cost of each pencil and each eraser.
Solution:
The pair of linear equations that is formed from the above description is,
2x + 3y = 9
4x + 6y = 18
where x is the cost of a pencil and y is the cost of eraser.
x = \frac{9 - 3y}{2}
Putting this value in the other equation.
4(\frac{9 - 3y}{2}) + 6y = 18 \\ 18 - 6y + 6y = 18 \\ 18 = 18
This statement is true for all values of y. However, we do not get a specific value of y as a solution. Therefore, we cannot obtain a specific value of x. This situation has arisen because both the given equations are the same. Therefore, these equations both have infinitely many solutions.
Elimination Method
This method mainly involves the following steps:
- Multiply both the equations by some suitable non-zero constants and make the coefficients of one variable (either x or y) numerically equal.
- Add or subtract one equation from the other so that one variable gets eliminated. If an equation in one variable is obtained, go to Step 5.
- If in Step 2, we obtain a true statement involving no variable, then the original pair of equations has infinitely many solutions.
- If in Step 2, we obtain a false statement involving no variable, then the original pair of equations has no solution, i.e., it is inconsistent.
- Solve the equation in one variable (x or y) so obtained to get its value.
- Substitute this value of x (or y) in either of the original equations to get the value of the other variable.
Question 1: Find all possible solutions of the following system of equations using the elimination method.
2x + 3y = 8 - (1)
4x + 6y = 7 - (2)
Solution:
Multiply equation (1) by 2 and equation (2) by 1. This will make coefficients of x in both the equations same. Then we get the equations as:
4x + 6y = 16
4x + 6y = 7
Subtracting both of the equations,
we get 0 = 9
This is false. So, no solution exists for this system of linear equations.
Question 2: The sum of a two-digit number and the number obtained by reversing the digits is 66. If the digits of the number differ by 2, find the number. How many such numbers are there?
Solution:
Let x and y be the ten's and unit's digit respectively. So the first number can be written as 10x + y is the expanded form(for example 56= 10(6) + 5).
(10x + y) + (10y + x) = 66,
i.e⇒ 11(x + y) = 66
i.e ⇒ x + y = 6
It's also given that the digits differ by 2,
So, either x - y = 2 or y - x = 2. Let's look for both of the cases,
Case 1: x - y = 2,
Substituting x = y + 2 in the equation given above,
y + 2 + y = 6
⇒ 2y = 4
⇒ y = 2.
So, x = 4
Case 2: y - x = 2,
Substituting y = x + 2, in the equation given above,
x + y = 6.
⇒ x + x + 2 = 6
⇒ 2x = 4
⇒ x = 2
y = 4.
Cross-Multiplication Method
It is one of the techniques to determine the solution of a linear equation in two variables, it is known to be the quickest method.
Assume a pair of Linear equation:
a1x + b1y + c1 = 0
a2x + b2y + c2 = 0
By using Cross-multiplication, we can find the values of 'x' and 'y':
x=\frac{(b_{1}c_{2})-(b_{2}c_{1})}{(b_{2}a_{1})-(b_{1}a_{2})}\\y=\frac{(c_{1}a_{2})-(c_{2}a_{1})}{(b_{2}a_{1})-(b_{1}a_{2})}
Derivation for Cross-multiplication
a1x + b1y + c1 = 0 ⇢(1)
a2x + b2y + c2 = 0 ⇢(2)
Multiply with b2 in equation (1) and b1 in equation (2):
a1b2x + b1b2y + c1b2 = 0 ⇢(3)
a2b1x + b1b2y + c2b1 = 0 ⇢(4)
Subtracting equation (4) from equation (3) will provide the values of x and y as,
x=\frac{(b_{1}c_{2})-(b_{2}c_{1})}{(b_{2}a_{1})-(b_{1}a_{2})}\\y=\frac{(c_{1}a_{2})-(c_{2}a_{1})}{(b_{2}a_{1})-(b_{1}a_{2})}
Easy Technique to understand the formulae
Write down coefficients in Original form:
a1 b1 c1
a2 b2 c2
Ignore the Coefficients of x and cross- multiply the remaining coefficients then subtract them:

Thus, the solution of the equation of part one becomes ⇒ \frac{x}{(b_{1}c_{2})-(b_{2}c_{1})}
Now, Ignore the coefficient of y and cross-multiply the remaining terms:

Remember to consider the equation under (-y), The second part of the solution ⇒ \frac{-y}{(a_{1}c_{2})-(a_{2}c_{1})}
For the third part, ignore the coefficients of 1 and cross-multiply the remaining terms and subtract them:

The third part of the equation becomes ⇒ \frac{1}{(a_{1}b_{2})-(a_{2}b_{1})}
Combining all the three parts ⇒ \frac{x}{(b_{1}c_{2})-(b_{2}c_{1})}=\frac{-y}{(a_{1}c_{2})-(a_{2}c_{1})}=\frac{1}{(a_{1}b_{2})-(a_{2}b_{1})}
Question 1: Find the value of the variables satisfying the equation using cross- multiplication method:
2x + 3y = 11
3x + 2y = 9
Solution:
Write equations in general form:
2x + 3y - 11 = 0
3x + 2y - 9 = 0
Using Cross- multiplication method,
\frac{x}{(b_{1}c_{2})-(b_{2}c_{1})}=\frac{-y}{(a_{1}c_{2})-(a_{2}c_{1})}=\frac{1}{(a_{1}b_{2})-(a_{2}b_{1})}
Put the values of all the coefficients in the formula,
\frac{x}{(3.(-9))-(2.(-11))}=\frac{-y}{(2.(-9))-(3.(-11))}=\frac{1}{(2.2)-(3.3)}
\frac{x}{-5}=\frac{-y}{15}=\frac{1}{-5}
Solving, we get: x=1, y=3
Question 2: Using Cross-multiplication method, solve for x and y:
3x - 4y - 2 = 0
y - 2x - 7 = 0
Solution:
Using the formula: \frac{x}{(b_{1}c_{2})-(b_{2}c_{1})}=\frac{-y}{(a_{1}c_{2})-(a_{2}c_{1})}=\frac{1}{(a_{1}b_{2})-(a_{2}b_{1})}
Substitute the values in the formula: \frac{x}{(-4.(-7))-(-2.(-2))}=\frac{-y}{(3.(-7))-(1.(-2))}=\frac{1}{(3.(-2))-(1.(-4))}
Solving the equation, x=-6, y=-5
Similar Reads
IBPS Clerk Syllabus of Quantitative Aptitude IBPS Clerk Exam 2023 Quantitative Aptitude: Quantitative Aptitude is one of the most significant areas of the IBPS Clerk Exam, with 35 questions for 35 marks. The majority of applicants fear Quantitative Aptitude since it requires a lot of calculation and complicated problems that demand high analyt
6 min read
Ratio & Proportion, Percentage
Average
Time and Work - Aptitude Questions and Answers Time and Work is one of the most basic concepts in Quantitative Aptitude, which is tested extensively in government exams. Undoubtedly, having a strong background in this topic can give candidates an upper hand and help them to score well in competitive exams. A candidate needs to be aware of the ba
13 min read
Time Speed, and Distance
Mixtures & Allegations
Partnership
Surface Areas and Volumes Surface Area and Volume are two fundamental properties of a three-dimensional (3D) shape that help us understand and measure the space they occupy and their outer surfaces.Knowing how to determine surface area and volumes can be incredibly practical and handy in cases where you want to calculate the
10 min read
Bar Graphs, Linear Graphs and Pie Charts
Trigonometry, Height and Distances
Height and Distance | Applications of TrigonometryHeight is the measurement of an item in the vertical direction, whereas distance is the measurement of an object in the horizontal direction. Heights and Distances are the real-life applications of trigonometry which is useful to astronomers, navigators, architects, surveyors, etc. in solving proble
6 min read
Trigonometric RatiosThere are three sides of a triangle Hypotenuse, Adjacent, and Opposite. The ratios between these sides based on the angle between them is called Trigonometric Ratio. The six trigonometric ratios are: sine (sin), cosine (cos), tangent (tan), cotangent (cot), cosecant (cosec), and secant (sec).As give
4 min read
Trigonometry in MathWe use trigonometry in many everyday situations, often without even noticing. Construction and Architecture: Trigonometry helps calculate angles and heights when designing buildings, bridges, and roads. For example, architects use it to determine roof slopes or the angle of staircases.Navigation: Pi
3 min read