Pair of Linear Equations in Two Variables

Chapter 3 · Mathematics · Class 10 34 min read

Why This Matters

Lots of everyday puzzles hide two unknowns at the same time. Here are two examples. How many ₹50 notes and ₹100 notes make up ₹2000, if there are 25 notes in all? Or: 5 pencils and 7 pens cost ₹50, but 7 pencils and 5 pens cost ₹46 — what is the price of one pencil and one pen?

Notice the problem. You cannot find either unknown from just one fact. You need two facts, and a way to use them together.

That is exactly what a pair of linear equations is. It is two facts about two unknowns, each written as a straight-line equation. To “solve the pair” means to find the one pair of values (x, y) that makes both equations true at the same time.

This chapter gives you three tools to do that. It also shows you the picture behind them, which is just as important. Each equation is a straight line. Solving the pair is the same as asking: where do the two lines meet?

Two lines can meet in only three ways. They can cross at one point (so there is one answer). They can stay parallel and never meet (no answer). Or they can be the exact same line lying on top of each other (endless answers). Once you can see this, you can guess the type of answer even before doing any algebra. Then you use substitution or elimination to find the exact numbers.

The Big Idea

Every linear equation in x and y is a straight line. A solution of the pair is a point (x, y) that sits on both lines. So solving the pair means finding where the two lines meet. Two lines can meet at one point (a unique solution), never meet (they are parallel, so no solution), or lie exactly on top of each other (they are coincident, so infinitely many solutions). And here is the shortcut: the ratios of the numbers in front of x, y and the constant tell you which case you are in, before you draw anything.

Let’s Break It Down

What a pair of linear equations is

Before we put two equations together, let us be sure about what a single one means. Here is a quick refresher:

A linear equation in two variables is any equation of the form ax + by + c = 0. Here a, b and c are numbers, and a and b are not both zero. Its graph is always a straight line. (The numbers a, b, c are called coefficients — they are just the numbers multiplying x, y, and the constant on its own.)

A pair is simply two such equations together:

a₁x + b₁y + c₁ = 0 and a₂x + b₂y + c₂ = 0

The small numbers below (the ₁ and ₂) only label the first and second equation. So a₁ is the x-coefficient in the first equation, and a₂ is the x-coefficient in the second.

A solution is a pair of values (x, y) that makes both equations true. Here is an everyday example. Akhila goes to a fair. She takes x rides (₹3 each) and plays Hoopla y times (₹4 each), and spends ₹20 in total. She also plays half as many games as rides. From these two facts we get two equations: y = x/2 (games are half the rides) and 3x + 4y = 20 (total spent). Two equations, two unknowns.

The graphical method: where do the lines meet?

To draw lines we need a graph, so let us quickly recall how a graph works:

The idea is simple. Draw both lines on the same graph. Any point that both lines pass through is a solution.

But why is the crossing point the answer? This is the heart of the whole chapter, so let us not just take it on trust. Think about what a line really is. A line is not just a stroke of ink — it is the collection of all the points whose (x, y) make that equation true. Every dot on the line fits the equation; every dot off the line does not. So “the point lies on the line” and “its (x, y) makes the equation true” are the same thing said two ways. Now look at where two lines cross. That one point lies on the first line, so it makes the first equation true. It also lies on the second line, so it makes the second equation true. One point making both equations true at the same time — that is exactly the definition of a solution of the pair. That is the whole reason we hunt for the crossing point.

Figure 3.1 below shows this single shared point doing double duty:

Two lines crossing at one point. Because a line is the set of points whose coordinates make its equation true, the shared point makes both equations true, which is exactly what a solution of the pair means.
Figure 3.1 — On a pair of axes, a blue line (Line 1) climbs from lower-left to upper-right and a green line (Line 2) falls from upper-left to lower-right. They cross at one circled red point marked '(x, y) here'. The idea: a line is just the set of all dots whose (x, y) make its equation true. The crossing point sits on Line 1, so it makes equation 1 true; it also sits on Line 2, so it makes equation 2 true. One point making both equations true at once is precisely what 'a solution of the pair' means.

Figure 3.2 below shows this with the lines x + 3y = 6 and 2x − 3y = 12.

The lines x + 3y = 6 and 2x − 3y = 12 drawn on one set of axes, crossing at the single point (6, 0).
Figure 3.2 — Two straight lines on one set of x and y axes. The red line is x + 3y = 6, sloping gently downward; the blue line is 2x − 3y = 12, sloping upward. They cross at a single green point on the x-axis labelled (6, 0), at x = 6. Because that point lies on both lines, x = 6, y = 0 is the unique solution of the pair, so the pair is consistent.

Two straight lines can sit on a page in only three ways. So a pair of linear equations always falls into one of these three cases, shown side by side in Figure 3.3 below.

Three cases for a pair of lines: intersecting at one point (one solution), parallel (no solution), and coincident lines lying on top of each other (infinitely many solutions), with the coefficient-ratio condition under each.
Figure 3.3 — Three small graphs, one for each way two lines can sit. (a) Intersecting: the red and blue lines cross at one green point, giving exactly one solution (consistent), when a₁/a₂ ≠ b₁/b₂. (b) Parallel: the two lines run alongside each other and never meet, giving no solution (inconsistent), when a₁/a₂ = b₁/b₂ ≠ c₁/c₂. (c) Coincident: the two lines lie exactly on top of each other (drawn as one thick line), giving infinitely many solutions (dependent), when a₁/a₂ = b₁/b₂ = c₁/c₂. The coefficient ratios under each panel tell the cases apart.

That ratio test keeps comparing fractions like a₁/a₂ with b₁/b₂, so let us make sure ratios are clear first:

Now you can read the three cases and their ratio tests side by side in one table:

The three cases at a glance
LinesSolutionsNameRatio test
Intersectingexactly oneconsistenta₁/a₂ ≠ b₁/b₂
Parallelnoneinconsistenta₁/a₂ = b₁/b₂ ≠ c₁/c₂
Coincidentinfinitely manydependent (consistent)a₁/a₂ = b₁/b₂ = c₁/c₂

To understand why that test works, we lean on two ideas from Class 9 — slope and y-intercept. A quick reminder of both:

Why the ratio test works. It is worth understanding this, not just memorising it. The slope of a line is how steeply it tilts. Take ax + by + c = 0 and rearrange it to make y the subject: y = (−a/b)x − c/b. Compare this with the standard line y = (slope)x + (intercept). So the slope is −a/b and the y-intercept is −c/b (the y-intercept is where the line crosses the y-axis).

Now think about what the ratios are really checking.

  • If a₁/a₂ ≠ b₁/b₂, then the two slopes −a₁/b₁ and −a₂/b₂ come out different. Different slopes means the lines tilt in different directions. Two lines that tilt differently must cross at exactly one point (a unique solution).
  • If a₁/a₂ = b₁/b₂, then the two slopes are equal. Lines with the same slope are either parallel, or they are the very same line. The constant decides which one. If c₁/c₂ is also equal, then one equation is just the other one multiplied by a number — so they are the same line (coincident). If c₁/c₂ is different, the lines have the same tilt but sit apart, so they are two separate parallel lines that never meet (no solution).

Figure 3.4 below ties it all together — turning each line into y = slope × x + intercept:

Rewriting ax + by + c = 0 as y = (−a/b)x − c/b shows the slope is −a/b and the intercept is −c/b; two mini graphs show that different slopes make the lines cross while equal slopes make them parallel.
Figure 3.4 — The ratio test is really a slope test. A blue box rewrites ax + by + c = 0 in slope form as y = (−a/b)x − c/b, so the slope is −a/b and the y-intercept is −c/b. The bullet points then read off the rule: if slopes differ (a₁/a₂ ≠ b₁/b₂) the lines cross, giving one solution; if slopes are equal (a₁/a₂ = b₁/b₂) the lines are parallel, and the c-ratio decides whether they are the same line (c₁/c₂ equal too, infinitely many) or distinct parallels (c₁/c₂ differs, no solution). On the right, two mini graphs confirm it: the top one shows different slopes crossing, the bottom one shows equal slopes staying parallel.

Let us put the ratio test to work on two pairs and read off the number of solutions — no graph needed:

Reading the ratios

Without drawing, decide how many solutions each pair has: (a) 9x + 3y + 12 = 0 and 18x + 6y + 24 = 0; (b) 2x − 3y = 8 and 4x − 6y = 9.

The graphical method is great for seeing the answer. But it gets clumsy when the meeting point has messy coordinates, like (49/29, 19/29). You cannot read fractions like that off a graph accurately. For exact answers, we use algebra instead.

Before the two algebra methods, one worry is worth settling. When we multiply an equation, or add two equations, or replace x with something — are we still finding the same answer? Or could we accidentally change the puzzle and get a wrong point? It turns out the answer never changes, and there is a clean reason why.

Two safe moves are at the bottom of both methods:

  • Scaling an equation (multiplying both sides by the same number) does not change which points fit it. If 3 + 12 = 15 is true, then 3×(3 + 12) = 3×15 is also true, and the other way round. So x + 2y = 5 and 3x + 6y = 15 are the very same line — same solutions.
  • Adding (or subtracting) two equations. At the one point that solves the pair, both equations are true statements about real numbers. And if two number statements are both true, adding their left sides and their right sides keeps it true (true + true = true). So the new combined equation is still true at that shared point — we have not thrown the answer away, we have only made a simpler equation that the same point still satisfies.

Substitution rests on the same honesty. When we write x = 3 − 2y from one equation and slot it into the other, we are allowed to do that only because at the solution x genuinely equals 3 − 2y. We are swapping a quantity for something exactly equal to it, so the truth is preserved.

Figure 3.5 below walks through why the answer survives every step:

Why elimination keeps the same answer: scaling an equation does not change which points fit it, and adding two true equations gives a third equation the shared point still makes true, so no solution is lost. Substitution works for the same reason.
Figure 3.5 — Three stacked panels explaining why the answer is never lost. Panel 1 (Scaling keeps the same line): x + 2y = 5 has the answer (1, 2); multiplying by 3 gives 3x + 6y = 15, and (1, 2) still fits, so it is the same line. Panel 2 (Adding two true facts gives a true fact): at the shared point both 3x − 4y = 2000 and 4x + 4y = 1000 are true; adding them column by column gives 7x = 3000, with the y-terms cancelling, and the same (x, y) still makes it true. Panel 3 (So nothing is lost): the new, shorter equation is still true at the answer, so elimination and substitution only make the answer easier to find. It ends by noting substitution is the same idea — putting x = 3 − 2y in is allowed because there x really equals 3 − 2y.

Method 1 — Substitution

Here is the idea. From one equation, write one variable in terms of the other one (for example, “x equals something with y in it”). Then put that into the second equation. Now the second equation has only one variable left, so you can solve it easily.

Figure 3.6 below lays out that idea as a four-step flow you can follow every time:

A four-step flow for solving 7x − 15y = 2 and x + 2y = 3 by substitution: make x the subject (x = 3 − 2y), plug it into the other equation, solve the resulting one-variable equation for y = 19/29, then back-substitute to get x = 49/29.
Figure 3.6 — A four-step flowchart for the substitution method, with numbered boxes joined top to bottom by arrows. Step 1: from the easy equation x + 2y = 3, make one variable the subject, x = 3 − 2y. Step 2: plug it into the other equation, replacing every x, to get 7(3 − 2y) − 15y = 2. Step 3 (highlighted green): now it is one equation in one variable, 21 − 29y = 2, so y = 19/29. Step 4: back-substitute, x = 3 − 2(19/29) = 49/29. The whole trick is collapsing two unknowns into one.

Let us run a real pair through those steps:

Substitution method

Solve 7x − 15y = 2 and x + 2y = 3.

Substitution works best when one variable already has a coefficient of 1 (like the x in x + 2y = 3). Then making it the subject is quick and there are no fractions to deal with.

Method 2 — Elimination

Here is the idea. Multiply the equations by suitable numbers so that one variable ends up with the same coefficient in both equations. Then add or subtract the two equations so that variable cancels out and disappears. You are left with one equation in one variable.

Figure 3.7 below shows the two moves on a real example:

Elimination on 9x − 4y = 2000 and 7x − 3y = 2000: multiply the first by 3 and the second by 4 so both have −12y, then subtract the equations so the y-terms cancel, leaving x = 2000.
Figure 3.7 — The elimination method in two moves on the pair 9x − 4y = 2000 and 7x − 3y = 2000. The blue box (Scale so the y-terms match) multiplies equation (1) by 3 to get 27x − 12y = 6000 and equation (2) by 4 to get 28x − 12y = 8000, so both y-coefficients are now −12. The green box (Subtract to cancel y) takes 28x − 12y = 8000 minus 27x − 12y = 6000; the y-terms vanish, leaving x = 2000. The rule at the bottom: same signs (−12y and −12y) → subtract; opposite signs (+6y and −6y) → add.

Let us try it on a word problem about two people’s incomes:

Elimination method

The incomes of two people are in the ratio 9 : 7 and their expenditures in the ratio 4 : 3. Each saves ₹2000 a month. Find their incomes.

Both algebra methods also show you the special cases by themselves. Sometimes, while solving, both variables cancel out completely. Then look at the statement you are left with. If it is true, like 18 = 18, the pair has infinitely many solutions (it is the same line). If it is false, like 0 = 9 or −4 = 0, the pair has no solution (the lines are parallel).

Here is what that looks like when it actually happens mid-solution:

When the variables vanish

Use elimination on 2x + 3y = 8 and 4x + 6y = 7.

Equations that become linear

Some problems do not look linear at first. The variable is stuck in the bottom of a fraction, so it is not in the simple ax + by + c form. But a clever swap can fix this. Take 2/x + 3/y = 13 and 5/x − 4/y = −2. Let u = 1/x and v = 1/y. Now 2/x becomes 2u and 3/y becomes 3v, so the equations turn into 2u + 3v = 13 and 5u − 4v = −2. These are ordinary linear equations. Solve them for u and v, then flip back: since u = 1/x, we get x = 1/u, and similarly y = 1/v.

Common Mistakes

These are the slip-ups that trip up most students on this chapter. Watch out for each one:

⚠️ Common mistake
What students think

A pair of linear equations always has exactly one solution.

Why it seems right

Most practice problems are built to have one neat answer. So the 'no solution' and 'infinitely many' cases feel like rare exceptions you can ignore.

What actually happens

There are THREE possible outcomes: one solution (lines intersect), no solution (lines parallel), or infinitely many (lines coincident). Always check the coefficient ratios first. A pair can easily turn out to be inconsistent (no solution) or dependent (infinitely many).

⚠️ Common mistake
What students think

When the algebra makes the variables vanish and you get 0 = 0, that means no solution.

Why it seems right

Seeing '0 = something' with the variables gone looks like a dead end. So any such line feels like 'no solution'.

What actually happens

It depends on whether the leftover statement is TRUE or FALSE. A true statement like 0 = 0 or 18 = 18 means infinitely many solutions (it is the same line). A false statement like 0 = 9 means no solution (parallel lines). Always check: is the statement true or false?

⚠️ Common mistake
What students think

For the ratio test, parallel lines satisfy a₁/a₂ = b₁/b₂ = c₁/c₂.

Why it seems right

Parallel lines and coincident lines both begin with a₁/a₂ = b₁/b₂. So it is easy to mix up the last ratio.

What actually happens

Parallel (no solution) needs a₁/a₂ = b₁/b₂, but with c₁/c₂ DIFFERENT. If c₁/c₂ ALSO matches, the two equations are just multiples of each other — the SAME line (coincident, infinitely many). So the c-ratio is the one thing that separates 'never meet' from 'lie on top of each other'.

⚠️ Common mistake
What students think

In elimination, when the coefficients are equal, you always subtract the equations.

Why it seems right

Textbook examples often make same-sign coefficients equal. So students get into the habit of always subtracting.

What actually happens

Look at the signs. If the matching coefficients have OPPOSITE signs (like +6y and −6y), ADD the equations to cancel. If they have the SAME sign (like +6y and +6y), SUBTRACT to cancel. Just choose whichever one makes the variable disappear.

Quick Check

Two lines are parallel and distinct. How many solutions does the pair of equations have?

For 3x + 2y = 5 and 2x − 3y = 7, which describes the pair?

While solving a pair by elimination, all variables cancel and you get 18 = 18. What does this mean?

Which substitution turns 2/x + 3/y = 13 into a linear equation?

Practice Problems

Easy

easy

Solve by substitution: x + y = 14 and x − y = 4.

easy

Without solving, state whether 5x − 4y + 8 = 0 and 7x + 6y − 9 = 0 intersect, are parallel, or coincide.

Medium

medium

The coach buys 7 bats and 6 balls for ₹3800; later 3 bats and 5 balls for ₹1750. Find the cost of each bat and ball.

medium

A two-digit number plus the number with its digits reversed is 66, and the two digits differ by 2. Find all such numbers.

Challenge

challenge

For what value of k does the pair kx + 3y = k − 3 and 12x + ky = k have no solution?

Summary

You should now be able to explain:

  • A pair of linear equations is two lines, a₁x + b₁y + c₁ = 0 and a₂x + b₂y + c₂ = 0. A solution is a point that lies on both lines.
  • On a graph there are three cases: intersecting lines (one solution, consistent), parallel lines (no solution, inconsistent), and coincident lines, which lie on top of each other (infinitely many solutions, dependent/consistent).
  • The ratio test tells you the case without drawing. If a₁/a₂ ≠ b₁/b₂, there is a unique solution. If a₁/a₂ = b₁/b₂ but this is not equal to c₁/c₂, there is no solution. If a₁/a₂ = b₁/b₂ = c₁/c₂, there are infinitely many. (It works because −a/b is the slope and −c/b is the y-intercept.)
  • Substitution: make one variable the subject, then put it into the other equation.
  • Elimination: make one variable’s coefficient the same in both equations, then add or subtract to cancel it.
  • While doing the algebra, if the variables vanish and a true statement is left, there are infinitely many solutions. If a false statement is left, there is no solution.
  • Some pairs that are not linear become linear with a swap like u = 1/x and v = 1/y.

What’s Next

So far every equation has been degree 1 — that means x and y appear by themselves, never squared, so the graph is always a straight line. Next, in Quadratic Equations, the variable gets squared, like ax² + bx + c = 0. This time there is one equation and one unknown. But because of the square, the graph is a curve called a parabola, not a line. So there can be two solutions, one, or none. You will also learn the famous quadratic formula that finds them every time.

Frequently Asked Questions

How do you tell if a pair of linear equations is consistent or inconsistent?

Compare the ratios of the coefficients. Write the pair as a₁x + b₁y + c₁ = 0 and a₂x + b₂y + c₂ = 0. If a₁/a₂ ≠ b₁/b₂, the lines intersect and there is exactly one solution (consistent). If a₁/a₂ = b₁/b₂ = c₁/c₂, the lines coincide and there are infinitely many solutions (also consistent). If a₁/a₂ = b₁/b₂ ≠ c₁/c₂, the lines are parallel and there is no solution (inconsistent).

What is the substitution method for solving a pair of linear equations?

Express one variable in terms of the other using one equation, then substitute that expression into the second equation. This reduces two equations in two unknowns to one equation in one unknown, which you can solve directly. Then put the value back to find the other variable.

What is the elimination method and when is it easier than substitution?

In the elimination method you multiply one or both equations by suitable numbers so that the coefficient of one variable becomes the same in both, then add or subtract to eliminate it. It is often faster than substitution when the coefficients are already simple whole numbers or when substitution would create messy fractions.

What does it mean graphically when a pair of linear equations has no solution?

Each linear equation in two variables is a straight line. No solution means the two lines are parallel — they never meet. Parallel lines have the same slope but different y-intercepts, so they satisfy a₁/a₂ = b₁/b₂ but c₁/c₂ is different.

Can a pair of linear equations have more than one solution?

Yes — infinitely many solutions are possible. This happens when both equations represent the exact same line (one is just a multiple of the other). Every point on the line is a solution, so there are endless solutions. You can spot this because a₁/a₂ = b₁/b₂ = c₁/c₂.