Skip to content
MathsCBSE Class 9 · Two Variables, One Line

Solving Pairs of Linear Equations: Substitution, Elimination and Graphs

Updated 17 October 2026 · Fact-checked

A pair of linear equations in two variables is solved by substitution (express one variable from one equation and put it in the other) or by elimination (add or subtract multiples to remove one variable). Graphically, the solution is the intersection of the two lines. Two lines meet at one point (a unique solution), are parallel (no solution), or coincide (infinitely many solutions), which can be read from the ratios of the coefficients.

The solution of the pair is the point where the two lines cross: (4, 2), which satisfies both equations.

Illustration drawn for QuestionBuddy.

Understand Solving Pairs of Linear Equations: Substitution, Elimination and Graphs

A pair of linear equations and asks for the ordered pair that satisfies both. Geometrically, each equation is a line and a common solution is a common point.

Substitution. (1) Solve one equation for one variable. (2) Substitute into the other, getting an equation in one variable. (3) Solve it. (4) Back-substitute for the other variable. (5) Check in both equations. For and : gives , , ; check .

Elimination. Make the coefficients of one variable equal (multiply the equations by suitable numbers), then add or subtract to cancel it. For and the -coefficients are already opposite: adding gives , , then ; check . For and : multiply the first by and the second by to get and ; subtracting gives , and .

Graphical method. Draw both lines on the same axes using intercepts or a table of values; the coordinates of the intersection point are the solution. For and the lines meet at . They cut the y-axis at and and the triangle formed by the two lines and the y-axis has base and height (the x-coordinate of the intersection), so its area is .

Nature of the solutions. Compare the ratios , , .

  • : the lines intersect at one point: a unique solution (consistent). Example: and give , , .
  • : parallel lines: no solution (inconsistent). Example: and .
  • : the same line: infinitely many solutions. Example: and .

Finding a parameter. For and to have infinitely many solutions we need . From the first equality gives ; check and , so works.

Word problems. (1) Name the unknowns with units. (2) Translate each statement into an equation. (3) Solve by a suitable method. (4) Check in the original words. (5) Answer in a sentence. For a two-digit number with tens digit and units digit (value ): digit sum and "reversed number is more" give and , i.e. ; adding: , , , and the number is (check: ).

Choosing the method. Substitution is quick when one coefficient is ; elimination suits equations in standard form; the graph is best for seeing the nature of solutions.

Solving Pairs of Linear Equations: Substitution, Elimination and Graphs: formulas to remember

Pair of linear equations
Solution: a common point.
Unique solution
Lines intersect.
No solution
Parallel lines.
Infinitely many solutions
Coincident lines.
Two-digit number
Difference .
Check
Always verify.

How to solve Solving Pairs of Linear Equations: Substitution, Elimination and Graphs questions

Choose the method; solve; check in both equations.

  1. 1Write both equations in standard form and note the coefficients.
  2. 2For substitution, solve the simpler equation for one variable and substitute into the other.
  3. 3For elimination, multiply to equalise the coefficient of one variable, then add or subtract.
  4. 4Find the second variable by back-substitution.
  5. 5Check the pair in both equations.
  6. 6For the nature of solutions, compare the ratios of the coefficients; for word problems define variables with units and answer in a sentence.

Solving Pairs of Linear Equations: Substitution, Elimination and Graphs in real life

Each concept, met in an everyday situation. Read the situation, try the problem, then check the solution. The one-line hook is what to remember.

Elimination in a pricing problem

Suppose 2 pencils and 3 erasers cost 19 rupees in total, while 3 pencils and 2 erasers cost 16 rupees.

Find the price of a pencil and of an eraser.

Try it first, then show the solutionSolution
  1. Let a pencil cost and an eraser : and .
  2. Multiply the first by 3 and the second by 2: and .
  3. Subtract: , so ; then gives . Check: .

Answer: A pencil costs 2 rupees and an eraser 5 rupees.

Memory hook: Equalise, subtract, back-substitute, check.

Tricks to remember Solving Pairs of Linear Equations: Substitution, Elimination and Graphs

Short memory aids. Say each one aloud once, then use it on a question the same day.

  • Equalise, then add or subtract

    Make one pair of coefficients equal in size; same signs: subtract; opposite signs: add.

    Use it when: Elimination.

  • Ratios tell the story

    Compare , and : unequal, one solution; first two equal but not the third, none; all three equal, infinitely many.

    Use it when: Nature of solutions.

  • Always check both

    Substitute the answer in both original equations.

    Use it when: Catching slips.

Solving Pairs of Linear Equations: Substitution, Elimination and Graphs: solved examples

Ordered from board level to HOTS. Try each one before you open the solution.

Example 1: Substitution · 3 marks · Short answerBoard level

Solve by substitution: and . Verify your solution.

Try it first, then show the solutionSolution
  1. Substitute in the second equation: . (1)
  2. , so and . (1)
  3. Check: ✓ and ✓. (1)

Answer: , .

Example 2: Elimination · 3 marks · Short answerBoard level

Solve by elimination: and .

Try it first, then show the solutionSolution
  1. The coefficients of are and : add the equations. (½)
  2. , so . (1)
  3. gives . Check: ✓. (1½)

Answer: , .

Example 3: Digits problem · 5 marks · Long answerHarder board level

The sum of the digits of a two-digit number is 9. If the digits are interchanged, the new number is 27 more than the original. Find the number.

Try it first, then show the solutionSolution
  1. Let the tens digit be and the units digit ; the number is . (½)
  2. Digit sum: . (1)
  3. Reversed number is 27 more: , so and . (1½)
  4. Adding and : , , . (1)
  5. The number is . Check: reversed is and ✓. (1)

Answer: The number is 36.

Example 4: Nature of solutions · 3 marks · Short answerHarder board level

For each pair, decide whether there is a unique solution, no solution or infinitely many, and solve if unique: (i) , ; (ii) , ; (iii) , .

Try it first, then show the solutionSolution
  1. (i) : the same line, infinitely many solutions. (1)
  2. (ii) : parallel lines, no solution. (1)
  3. (iii) : unique solution. Subtract: , , . (1)

Answer: (i) infinitely many; (ii) none; (iii) , .

Example 5: Notebooks and pens · 4 marks · Case-basedHOTS / competency

Case: 3 notebooks and 2 pens cost 130 rupees; 2 notebooks and 5 pens cost 160 rupees. (i) Write the equations. (ii) Find the price of each. (iii) Find the cost of 5 notebooks and 4 pens. (iv) At which point do the two lines meet when plotted, and what does it mean?

Try it first, then show the solutionSolution
  1. (i) With a notebook costing and a pen rupees: and . (½)
  2. (ii) Multiply the first by and the second by : and . Subtract: , ; . (1½)
  3. (iii) rupees. (1)
  4. (iv) The lines meet at : the only prices that satisfy both purchases. (1)

Answer: (i) as above; (ii) notebook 30, pen 20 rupees; (iii) 230 rupees; (iv) .

Where students lose marks in Solving Pairs of Linear Equations: Substitution, Elimination and Graphs

The slips examiners see most often, and what to write instead.

  • Mistake: Not checking in both equations

    Verifying only one.

    Wrong working

    , satisfies the first equation, so done.

    Right working

    Check both: also holds.

    Do this: Substitute in both original equations.

    Usually costs: ½ to 1 mark.

  • Mistake: Sign error when subtracting equations

    Subtracting only the first term.

    Wrong working

    .

    Right working

    .

    Do this: Write the second equation in brackets with a minus sign.

    Usually costs: The answer.

  • Mistake: Wrong conclusion about parallel lines

    Calling the pair solvable.

    Wrong working

    and gives some value.

    Right working

    Elimination gives , so there is no solution.

    Do this: A false statement like means no solution; means infinitely many.

    Usually costs: 2 marks.

Exam tips

  • Label the equations (1) and (2) and state which operation you do.
  • Show back-substitution and a check line.
  • Define variables with units in word problems.
  • Use ratios to decide the nature of the solutions before solving.

Practice questions on Solving Pairs of Linear Equations: Substitution, Elimination and Graphs

Write each answer on paper first. Open the hint only if you are stuck, and the answer only when you have finished.

  1. Q1 · 1 mark · MCQBoard level

    The solution of and is
    (a)
    (b)
    (c)
    (d)

    Hint

    Add the two equations.

    Answer

    (c) . Adding: , , .

  2. Q2 · 3 marks · Short answerBoard level

    Solve and by substitution.

    Hint

    From the first equation .

    Answer

    gives , , . Check: ✓ and ✓.

  3. Q3 · 3 marks · Short answerHarder board level

    Find the value of for which the pair and has infinitely many solutions.

    Hint

    Equate , and .

    Answer

    gives , so . Check: and . So .

  4. Q4 · 5 marks · Long answerHarder board level

    Draw (or reason out) the lines and . Find their point of intersection, the y-intercepts, and the area of the triangle formed by the two lines and the y-axis.

    Hint

    The base lies on the y-axis between the two y-intercepts.

    Answer

    Adding: , , : the lines meet at . y-intercepts: gives for the first line and for the second. Base on the y-axis ; the height is the distance of from the y-axis, . Area square units.

  5. Q5 · 4 marks · Case-basedHOTS / competency

    Case: a taxi charges a fixed amount rupees plus rupees per kilometre. A 10 km trip costs 185 rupees and a 15 km trip costs 260 rupees. (i) Write the pair of equations and solve it. (ii) Find the fare for 22 km. (iii) How far can a passenger travel for 470 rupees? (iv) Why does this pair have a unique solution?

    Hint

    Subtract the two equations to find .

    Answer

    (i) and . Subtracting: , , . (ii) rupees. (iii) gives km. (iv) The ratios and are not equal, so the lines have different slopes and meet at exactly one point.

Test your recall

Answer in your head or on paper first, then open the card. Pulling an answer out of memory makes it stick far better than re-reading.

  1. 1.Intersecting lines give how many solutions?Show answer

    Exactly one.

  2. 2.Parallel lines give?Show answer

    No solution.

  3. 3.Coincident lines give?Show answer

    Infinitely many solutions.

  4. 4.In elimination, when do we add?Show answer

    When the coefficients of the variable to cancel have opposite signs.

  5. 5.What does after elimination mean?Show answer

    There is no solution.

Solving Pairs of Linear Equations: Substitution, Elimination and Graphs: frequently asked questions

Which method is better, substitution or elimination?

Both give the same answer; use substitution when a variable has coefficient 1 and elimination when equations are in standard form.

Can a pair of linear equations have exactly two solutions?

No. Two distinct lines meet in at most one point, so the number of solutions is 0, 1 or infinitely many.

How do I check a word problem answer?

Substitute the values in the words of the problem, not only in your equations.