Graphical Method for Pair of Linear Equations, Class 10
Learn to solve a pair of linear equations in two variables by drawing graphs, tell intersecting, parallel and coincident lines apart with the coefficient ratio test, and practise with worked examples.
Akhila went to a fair in her village. She wanted to ride the Giant Wheel and play Hoopla, a game in which you throw a ring over the items kept in a stall and win the item if the ring covers it completely. She played Hoopla half as many times as she rode the Giant Wheel. Each ride cost ₹3 and each game of Hoopla cost ₹4. She spent ₹20 in all. How many rides did she take, and how many times did she play Hoopla?
You could guess and check, but there is a neater way. Two unknown numbers and two facts about them give a pair of linear equations in two variables. This lesson, from Chapter 3 of the NCERT Class 10 textbook, shows how to solve such a pair by drawing both lines on one graph, and how to predict from the coefficients alone whether a solution exists. The same ideas are used in money problems, mixture and speed problems, and any situation where two conditions must hold together.
What a pair of linear equations is
Linear equation in two variables
A linear equation in two variablesx and y can be written as
ax+by+c=0
where a, b, c are real numbers and a and b are not both zero. Each variable appears only to the first power, and x and y are never multiplied together.
Setting up Akhila's pair
Let x be the number of rides on the Giant Wheel and y the number of Hoopla games. "Hoopla was played half as many times" gives y=2x, that is,
x−2y=0
The spending (₹3 per ride, ₹4 per game, ₹20 in total) gives
3x+4y=20
A solution of the pair is a pair of values of x and y that makes both equations true at the same time.
Turning each equation into a line
The key fact
Every solution (x,y) of a linear equation in two variables is a point on a straight line, and every point on that line is a solution. So a pair of linear equations is a pair of straight lines on the same axes, and solving the pair means finding the point or points that lie on both lines.
The three possible pictures
Two lines in a plane can behave in only three ways:
They intersect at exactly one point. The pair has a unique solution. Such a pair is called consistent.
They are parallel. They never meet, so the pair has no solution. Such a pair is called inconsistent.
They coincide (they are the same line). Every point on the line is a solution, so there are infinitely many solutions. Such a pair is called dependent, and a dependent pair is also consistent.
The three possibilities for a pair of lines, drawn from the three pairs in the next section.
Predicting the picture from the coefficients
The ratio test
Write the pair in general form:
a1x+b1y+c1=0anda2x+b2y+c2=0
Then compare the ratios of the coefficients:
If a2a1=b2b1, the lines intersect: a unique solution (consistent).
If a2a1=b2b1=c2c1, the lines coincide: infinitely many solutions (dependent and consistent).
If a2a1=b2b1=c2c1, the lines are parallel: no solution (inconsistent).
Why the test works
If a2a1=b2b1=k, then a1=ka2 and b1=kb2, so the first equation is k(a2x+b2y)+c1=0. Both lines then have the same steepness, so they are either parallel or the same line. If also c1=kc2, the first equation is exactly k times the second, so the two lines are identical. If c1=kc2, then a2x+b2y would have to equal two different numbers at once, which is impossible, so there is no common point. If the first two ratios differ, the lines have different steepness and must cross exactly once.
Three pairs checked
Pair 1:x−2y=0 and 3x+4y−20=0. Here a2a1=31 and b2b1=4−2=−21. These differ, so the lines intersect.
Pair 2:2x+3y−9=0 and 4x+6y−18=0. Here a2a1=42=21, b2b1=63=21 and c2c1=−18−9=21. All equal, so the lines coincide.
Pair 3:x+2y−4=0 and 2x+4y−12=0. Here a2a1=21 and b2b1=42=21, but c2c1=−12−4=31. The first two agree and the third does not, so the lines are parallel.
The graphical method
Method in steps
Write each equation so that y is easy to find, for example y=bc−ax for ax+by=c.
For each equation, choose at least two values of x (three is safer) and find the matching y. Choose values that give whole numbers.
Plot the points on the same axes with a suitable scale and draw a straight line through each set.
Read off the point where the lines meet. If they are parallel, there is no solution; if they coincide, there are infinitely many.
Check the point by substituting it into both original equations.
Worked examples
Example 1: Akhila's rides and games
Solve x−2y=0 and 3x+4y=20 graphically.
Points on x−2y=0 (that is, y=2x): (0,0) and (2,1).
Points on 3x+4y=20: when x=0, y=5, giving (0,5); when x=4, 4y=8, so y=2, giving (4,2).
The point (4,2) satisfies y=2x as well, so the two lines meet there.
Akhila's two conditions as lines. They cross at (4,2).
Check: 4−2(2)=0 and 3(4)+4(2)=12+8=20. In money terms, 4 rides cost ₹12 and 2 games cost ₹8, which is ₹20 in all.
Answer: Akhila took 4 rides on the Giant Wheel and played Hoopla 2 times.
Example 2: A consistent pair solved on the graph
Check whether x+3y=6 and 2x−3y=12 are consistent. If so, solve them graphically.
Ratio test: a2a1=21 and b2b1=−33=−1. These differ, so the pair is consistent with a unique solution.
For x+3y=6: x=0 gives y=2, and x=6 gives y=0. Points A(0,2) and B(6,0).
For 2x−3y=12: x=0 gives y=−4, and x=3 gives −3y=6, so y=−2. Points P(0,−4) and Q(3,−2).
Drawing line AB and line PQ, they meet at B(6,0).
Both lines pass through B(6,0), which lies on the x-axis.
Check: 6+3(0)=6 and 2(6)−3(0)=12.
Answer: the pair is consistent, and the solution is x=6, y=0.
Example 3: Coincident lines without drawing
Does the pair 5x−8y+1=0 and 3x−524y+53=0 have no solution, one solution or infinitely many?
Multiply the second equation by 35:
35(3x−524y+53)=5x−8y+1
This is exactly the first equation, so the two equations describe the same line. The ratio test agrees: a2a1=35, b2b1=−24/5−8=35 and c2c1=3/51=35.
Answer: the lines are coincident, so the pair has infinitely many solutions.
Example 4: Champa's shopping
Champa went to a "Sale" to buy some pants and skirts. When her friends asked how many of each she had bought, she said: "The number of skirts is two less than twice the number of pants purchased. Also, the number of skirts is four less than four times the number of pants purchased." How many of each did she buy?
Let x be the number of pants and y the number of skirts. Then
y=2x−2andy=4x−4
Points on y=2x−2: (0,−2) and (2,2). Points on y=4x−4: (0,−4) and (1,0).
The point (1,0) is also on the first line, since 2(1)−2=0. So the lines meet at (1,0).
Check: twice 1 minus 2 is 0, and four times 1 minus 4 is 0. Both statements hold.
Answer: Champa bought 1 pair of pants and no skirts.
Example 5: Spotting a parallel pair
Show that x+2y−4=0 and 2x+4y−12=0 have no common solution.
Multiply the first equation by 2: 2x+4y=8. The second equation says 2x+4y=12. The same expression cannot equal both 8 and 12, so no point lies on both lines.
Answer: the lines are parallel, and the pair is inconsistent.
Where the graphical method falls short
The graph shows at a glance whether there is one solution, none or infinitely many. Its weakness is precision. If the true solution is something like (3,27), (−1.75,3.3) or (134,191), no pencil drawing can locate it exactly. That is why the chapter goes on to the algebraic methods, substitution and elimination, which give exact answers.
Common mistakes
Plotting only two points and misreading one of them. Use a third point on each line as a check.
Getting the signs of c1 and c2 wrong: 2x+3y=9 becomes 2x+3y−9=0, so c1=−9, not 9.
Calling a coincident pair inconsistent. A coincident pair has infinitely many solutions, so it is consistent.
Reading an intersection point off the graph and not substituting it back into both equations.
Using unequal scales on the two axes without noticing, which makes the lines look wrongly placed.
Stopping at "the lines meet at (4,2)" in a word problem instead of answering the question in words.
Try these
Is the pair 3x+2y=7 and 6x+4y=11 consistent? Answer: No. The lines are parallel, so there is no solution.
Solve graphically: x+y=7 and x−y=1. Answer:x=4, y=3.
Solve graphically: 2x+y=8 and x−y=1. Answer:x=3, y=2.
Classify the pair x−3y=4 and 3x−9y=12. Answer: coincident lines, infinitely many solutions.
For what value of k does the pair kx+2y=5 and 3x+y=1 fail to have a unique solution? Answer:k=6 (for every other value of k the solution is unique).
The sum of two numbers is 12 and their difference is 4. Find the numbers by drawing graphs. Answer: 8 and 4.
Key terms
Linear equation in two variables
An equation of the form ax+by+c=0 with a and b not both zero; its graph is a straight line.
Pair of linear equations
Two linear equations in the same two variables, considered together.
Solution of a pair
Values of x and y that satisfy both equations at once; on a graph, a common point of the two lines.
Consistent pair
A pair with at least one solution: intersecting or coincident lines.
Inconsistent pair
A pair with no solution: parallel lines.
Dependent pair
A pair whose two equations describe the same line, giving infinitely many solutions.
Coincident lines
Two lines that lie exactly on top of each other.
Ratio test
Comparing a2a1, b2b1 and c2c1 to decide which of the three cases a pair belongs to.
Common questions
How many points do I need to draw a line?
Two points fix a line, but plotting a third is a good habit. If the three points do not lie in a straight line, there is an arithmetic slip somewhere.
Is a dependent pair consistent?
Yes. Consistent means the pair has at least one solution, and a dependent pair has infinitely many.
What if one of a2, b2 or c2 is zero?
Then the ratio cannot be formed directly. Compare the equations instead by checking whether one is a multiple of the other, or draw the lines. For example, y=2 and y=5 are both horizontal, so they are parallel.
Can the answer to a word problem be a fraction?
It depends on the context. Rupees per item can be a fraction, but a number of people or rides must be a whole number. If you get a fraction where only whole numbers make sense, recheck the equations.
Why learn the graphical method if algebra is more exact?
The graph explains why a pair can have one, none or infinitely many solutions, and it gives a quick visual check on an algebraic answer.
References
National Council of Educational Research and Training. Mathematics: Textbook for Class X. NCERT, New Delhi.
Stewart, J., Redlin, L. and Watson, S. Precalculus: Mathematics for Calculus. Cengage Learning.