ExamSaathi learning library · School · CBSE Class 10 Mathematics 2026-27; teacher review pending · Mathematics

Pair of linear equations: substitution and elimination

Solve a pair of linear equations in two variables by substitution or elimination, check the answer in both equations, and use coefficient ratios to tell whether there is one solution, none or infinitely many.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

A linear equation in two variables, such as 2m + 3n = 12, has endless solutions: m = 3, n = 2 works, and so does m = 6, n = 0. A pair of linear equations asks for the values that satisfy both equations at once. Drawn on a graph, each equation is a straight line, and a common solution is a point where the two lines meet. You should be comfortable rearranging an equation and multiplying every term of it by the same number. The two unknowns are called m and n, because the letter x is kept for multiplication.

Substitution: replace one variable

In the substitution method, make one variable the subject of one equation and put that expression into the other equation. Take 2m + 3n = 12 and m - n = 1. The second equation gives m = n + 1. Substituting in the first gives 2(n + 1) + 3n = 12, so 5n + 2 = 12 and n = 2. Then m = 2 + 1 = 3. The first value found must go back into an equation to give the other variable, and the pair should be checked in both equations: 2 x 3 + 3 x 2 = 12 and 3 - 2 = 1. Substitution is quickest when one variable has coefficient 1 or -1.

Elimination: match one coefficient

In the elimination method, multiply the equations by suitable numbers so that one variable has the same coefficient in both, or opposite coefficients. Subtracting (for equal coefficients) or adding (for opposite ones) then removes that variable. For 3m + 2n = 12 and 5m - 3n = 1, multiply the first equation by 3 and the second by 2: 9m + 6n = 36 and 10m - 6n = 2. Adding gives 19m = 38, so m = 2. Putting m = 2 into 3m + 2n = 12 gives 2n = 6 and n = 3. Check: 5 x 2 - 3 x 3 = 1. Remember to multiply every term, the constant included.

One solution, none or infinitely many

Write both equations in the same form, a1m + b1n + c1 = 0 and a2m + b2n + c2 = 0, and compare ratios. If a1/a2 is not equal to b1/b2, the lines cross at one point: there is exactly one solution and the pair is consistent. If a1/a2 = b1/b2 but this differs from c1/c2, the lines are parallel: there is no solution and the pair is inconsistent. If all three ratios are equal, both equations describe the same line: there are infinitely many solutions and the pair is consistent (dependent). For 2m + 3n = 7 and 4m + 6n = 10, 2/4 = 3/6 = 1/2 but 7/10 is not 1/2, so there is no solution; moving the constants across changes both signs, so their ratio is the same either way. These tests assume the second equation has no zero coefficients; if it does, compare cross products such as a1 x b2 and a2 x b1 instead.

Common mistakes

Multiplying only some terms of an equation, usually forgetting the constant. Subtracting one equation from another with a sign slip: every term of the second equation changes sign. Putting the rearranged expression back into the equation it came from, which only gives something like 0 = 0. Stopping once one variable is found. Comparing ratios when one equation has its constant on the right and the other on the left. Reading 'all three ratios equal' as no solution, when it means infinitely many. When elimination wipes out both variables, 0 = 0 means infinitely many solutions, while a false result such as 0 = 4 means none.

Checklist for a pair of equations

1. Tidy both equations into the same form, with the variables in the same order. 2. Compare a1/a2 with b1/b2; if they differ, expect exactly one solution. 3. Pick substitution when a variable has coefficient 1 or -1, and elimination otherwise. 4. Find one variable, then substitute it back to get the other. 5. Check the pair in both original equations. 6. In a word problem, state at the start what m and n stand for, and end with a sentence that gives the answer with its unit, such as rupees or km.

Worked examples

  1. Solve 4m - n = 7 and 3m + 2n = 19 by substitution.

    1. From the first equation, n = 4m - 7.
    2. Substitute in the second: 3m + 2(4m - 7) = 19, so 3m + 8m - 14 = 19.
    3. 11m = 33, so m = 3.
    4. Then n = 4 x 3 - 7 = 5.
    5. Check: 4 x 3 - 5 = 7 and 3 x 3 + 2 x 5 = 19.

    Answer: m = 3 and n = 5.

  2. 3 pens and 2 notebooks cost Rs. 130, and 2 pens and 3 notebooks cost Rs. 145. Find the cost of one pen and of one notebook.

    1. Let one pen cost Rs. m and one notebook Rs. n. Then 3m + 2n = 130 and 2m + 3n = 145.
    2. Multiply the first equation by 3 and the second by 2: 9m + 6n = 390 and 4m + 6n = 290.
    3. Subtract to eliminate n: 5m = 100, so m = 20.
    4. Substitute in 3m + 2n = 130: 60 + 2n = 130, so n = 35.
    5. Check: 2 x 20 + 3 x 35 = 40 + 105 = 145.

    Answer: One pen costs Rs. 20 and one notebook costs Rs. 35.

  3. For what value of k does the pair 3m + kn = 7 and 6m + 8n = 11 have no solution?

    1. Here a1/a2 = 3/6 = 1/2 and b1/b2 = k/8.
    2. No solution needs a1/a2 = b1/b2, so k/8 = 1/2 and k = 4.
    3. The constants must be in a different ratio: 7/11 is not 1/2, so the lines are parallel and never meet.

    Answer: k = 4.

Practice checks

  1. The sum of two numbers is 50 and their difference is 14. The larger number is:
  2. Solving 2m + 3n = 13 and 3m - 3n = 12 by elimination gives m equal to:
  3. The pair 2m - 3n = 5 and 4m - 6n = 10 has:
  4. For what value of k do 2m + 5n = 9 and 6m + kn = 27 have infinitely many solutions?
  5. At a school fair, adult tickets cost Rs. 50 and child tickets cost Rs. 30. A total of 40 tickets were sold for Rs. 1,560. How many adult tickets were sold?

Sources checked