WhatsApp us
Maths Planning11 Nov 2026

Class 9 Linear Equations in Two Variables: Solutions, Graphs and Word Problems

A linear equation in two variables, such as 2x + 3y = 12, has infinitely many solutions, and together they form a straight line. How to find solutions as ordered pairs, plot the line, read solutions from a graph, and turn a word problem into an equation, with four worked examples.

Class 9 Linear Equations in Two Variables: Solutions, Graphs and Word Problems

A linear equation in two variables is an equation that can be written as ax + by = c, where a and b are not both zero, for example 2x + 3y = 12. A solution is a pair of numbers (x, y) that makes the equation true, such as (3, 2). There are infinitely many such pairs, and when you plot them they all lie on one straight line. That line *is* the picture of the equation.

This guide covers solutions as ordered pairs, drawing the line, reading solutions from a graph, and turning a word problem into an equation, with four fully worked examples. For one-to-one support through the year, see our Class 9 maths tutor in Gurgaon page.

Where this sits in the Class 9 syllabus

  • CBSE 2026-27: "Linear Equations in Two Variables" is a chapter in the Algebra unit (20 of the 80 theory marks). The redesigned curriculum also adds the slope and intercept of a line, and pairs of linear equations solved by substitution and elimination. NCERT's Ganita Manjari Part II has a chapter titled "Two Variables, One Line".
  • ICSE Class 9: simultaneous linear equations (elimination, substitution and cross-multiplication) in Algebra, and their graphical solution in Coordinate Geometry.
  • Cambridge IGCSE: "Algebra and graphs" and "Coordinate geometry" are two of the nine topic areas of IGCSE Mathematics 0580.

Before starting, students should be comfortable plotting points. If (3, −2) and (−2, 3) still get mixed up, revise the coordinate chapter first, then come back. Students who need a refresher on one-variable equations can start with our post on linear equations for Classes 7–9.

Solutions are ordered pairs

In an equation with one variable, like 2x = 6, there is one answer: x = 3. With two variables, choosing any value for x gives you a matching y. So each solution is a *pair*, written (x, y), with x first. Order matters: (3, 2) and (2, 3) are different points.

Worked example 1: testing pairs

Which of these are solutions of 2x + 3y = 12?

Pair2x + 3yEquals 12?
(3, 2)2(3) + 3(2) = 6 + 6 = 12Yes
(6, 0)2(6) + 3(0) = 12 + 0 = 12Yes
(1, 3)2(1) + 3(3) = 2 + 9 = 11No
(−3, 6)2(−3) + 3(6) = −6 + 18 = 12Yes
(0, 4)2(0) + 3(4) = 0 + 12 = 12Yes

To *find* new solutions, choose x and solve for y. If x = 9: 18 + 3y = 12, so 3y = −6 and y = −2. So (9, −2) is another solution. Negative and fraction values are allowed unless the question says otherwise.

Drawing the line

Because all solutions lie on one straight line, you need only two points to draw it. Plot a third as a check: if it does not land on the line, one of your calculations is wrong.

Worked example 2: plot y = 2x − 1

Step 1: make a table. Choose easy x values.

x−10123
y = 2x − 1−3−1135

Step 2: plot the points (−1, −3), (0, −1), (1, 1), (2, 3) and (3, 5), and join them with a ruler. Extend the line past the points and add arrows at both ends: the line goes on for ever.

Step 3: read off the key features.

  • It crosses the y-axis at (0, −1). The y-intercept is −1.
  • It crosses the x-axis where y = 0: 2x − 1 = 0, so x = 1/2. The x-intercept is 1/2.
  • Each time x goes up by 1, y goes up by 2. This rate is the slope (or gradient), 2.

When an equation is written as y = mx + c, m is the slope and c is the y-intercept. For y = 2x − 1, m = 2 and c = −1.

A quick way for the ax + by = c form. For 3x + 2y = 12, put x = 0 to get y = 6, and y = 0 to get x = 4. Plot (0, 6) and (4, 0) and join them. This "cover-up" method is fast when the intercepts are whole numbers.

Reading solutions from a graph

Every point on the line is a solution, and every point not on the line is not. When two lines are drawn on the same axes, the point where they cross is the one pair that satisfies both equations.

Worked example 3: where two lines meet

Solve x + y = 7 and x − y = 1 by drawing, then check algebraically.

Tables.

  • x + y = 7: (0, 7), (7, 0), (4, 3)
  • x − y = 1: (1, 0), (0, −1), (4, 3)

Both tables contain (4, 3), and the two lines cross there. So x = 4, y = 3.

Check by elimination. Add the equations: (x + y) + (x − y) = 7 + 1, so 2x = 8 and x = 4. Then 4 + y = 7 gives y = 3.

Check by substitution. From x − y = 1, x = y + 1. Then (y + 1) + y = 7, so 2y = 6, y = 3 and x = 4.

All three methods agree. Graphs give a picture and a good estimate; algebra gives the exact answer when the crossing point is not on whole numbers.

From words to an equation

Worked example 4: a shopping problem

A shop sells notebooks at ₹40 each and pens at ₹15 each. Riya spends exactly ₹170.

(a) Write an equation.

Let x be the number of notebooks and y the number of pens.

40x + 15y = 170. Dividing every term by 5: 8x + 3y = 34.

(b) How many notebooks and pens could she have bought?

x and y must be whole numbers, and 8x cannot exceed 34, so x is 0, 1, 2, 3 or 4.

x3y = 34 − 8xy
03434/3, not whole
12626/3, not whole
2186
31010/3, not whole
422/3, not whole

The equation has infinitely many solutions, but only x = 2, y = 6 makes sense here. Check: 2 × 40 + 6 × 15 = 80 + 90 = 170.

(c) She bought 8 items in all. Confirm the answer.

A second equation: x + y = 8. From this, y = 8 − x. Substitute: 40x + 15(8 − x) = 170, so 40x + 120 − 15x = 170, 25x = 50 and x = 2. Then y = 6, matching part (b).

This is the main lesson of word problems: define the letters clearly, write the equation from the sentence, then ask whether the answer must be a whole number, positive, or within a range.

Common mistakes

  • Swapping x and y when plotting. The first number is always across (x), the second is up or down (y).
  • Stopping at one solution. "Find a solution" means one pair; "how many solutions" has the answer "infinitely many" for a single linear equation.
  • Only two points plotted with no check point, so an arithmetic slip goes unnoticed.
  • Sign errors with negative x values: for y = 2x − 1 at x = −1, y = −2 − 1 = −3, not −1.
  • Not dividing through in word problems. 40x + 15y = 170 and 8x + 3y = 34 are the same line; the second is easier to work with.
  • Forgetting the context. You cannot buy 10/3 pens.

How to practise at home (10–15 minutes a day)

  • Pair hunt: pick an equation such as x + 2y = 10 and find five solutions, including one with a negative number.
  • Two-minute graph: draw one line a day using the cover-up method, with a third point as a check.
  • Spot the slope: for a line written as y = mx + c, say the slope and y-intercept aloud before plotting.
  • Real-life equations: turn a family situation into an equation, such as "two kinds of fruit, total cost ₹200", and list the whole-number answers.
  • Weekly check: solve one pair of equations three ways (graph, substitution, elimination) and compare.

Students who are moving towards proofs and reasoning can pair this with our guide on how to write Class 9 geometry proofs. CBSE students considering extra challenge can read about the optional CBSE Class 9 Advanced maths, which includes a coordinate geometry chapter.

How Maths Bodhi helps

Our tutors work one to one on the link between equations and graphs, so that a student can move between a table, a line and an equation with confidence. We follow your child's board and school order. For focused help on graphs, see our coordinate geometry tutor support, and for the full CBSE course, our CBSE Class 9 syllabus 2026-27 guide.

Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.

Frequently asked questions

What is a linear equation in two variables?
An equation that can be written as ax + by = c, where a and b are not both zero, such as 2x + 3y = 12.
How many solutions does a linear equation in two variables have?
Infinitely many. Every point on its straight-line graph is a solution.
How do you draw the graph of a linear equation?
Find at least two solutions, plot them, join them with a ruler and extend the line. Plot a third point as a check.
How do you find a solution from a graph?
Any point on the line is a solution. For two equations, the point where the two lines cross satisfies both.
What do the slope and intercept mean?
In y = mx + c, m is the slope, how much y changes when x goes up by 1, and c is the y-intercept, where the line crosses the y-axis.
Is this topic in CBSE Class 9 for 2026-27?
Yes. Linear Equations in Two Variables is part of the Algebra unit, and the curriculum also includes slope, intercept and pairs of linear equations.
Class 9 linear equationslinear equations in two variablesstraight line graphsClass 9 algebraMaths home tutor Gurgaon

Related guides

Keep exploring this maths topic

Maths Planning11 Nov 2026

How to Write Geometry Proofs in Class 9: Statement–Reason Format, Converses and Two Complete Proofs

A step-by-step guide to writing Class 9 geometry proofs: the Given–To prove–Proof layout, statement–reason tables, using given facts, propositions and their converses, two complete original proofs and the habits that earn full marks.

Class 9 geometrygeometry proofscongruent trianglespropositions and converses

By Maths Bodhi Team

Read guide

CBSE Maths13 Nov 2026

Linear Polynomials Class 9: Patterns, Growth and Decay, and Straight-Line Graphs (Ganita Manjari Chapter 2)

A guide to Ganita Manjari Chapter 2, "Introduction to Linear Polynomials": what makes a polynomial linear, linear patterns with a constant difference, linear growth and decay, and graphing y = ax + b with slope and intercept. Four worked examples, common mistakes and a 5-question parent check.

Class 9 linear polynomialsGanita Manjari Chapter 2slope and interceptClass 9 algebra

By Maths Bodhi Team

Read guide

CBSE Maths13 Nov 2026

Coordinate Geometry Class 9: Ganita Manjari Chapter 1 on Plotting, Quadrants and Distance

A parent-and-student guide to Ganita Manjari Chapter 1, "Orienting Yourself: The Use of Coordinates". What the chapter covers, how quadrants and distances work, the starred midpoint questions, four worked examples and a 5-question check for parents.

Class 9 coordinate geometryGanita Manjari Chapter 1distance formulaClass 9 maths

By Maths Bodhi Team

Read guide

IGCSE Maths18 Nov 2026

IGCSE Grade 9 and Grade 10: Which Class Is That in India?

IGCSE Grade 9 and Grade 10 line up with Class 9 and Class 10 in India, and the full IGCSE counts as Standard 10 for AIU. Here is how the years map, why "grade 9" can mean two different things, and what it means for maths if your child switches boards.

IGCSE grade 9 equivalentIGCSE Class 10 IndiaCambridge Lower Secondary gradesIGCSE 9-1 grades

By Maths Bodhi Team

Read guide

ICSE & ISC Maths11 Nov 2026

ICSE Class 9 Maths Syllabus 2026-27 (for the 2028 Exam): Units, Exam Pattern and a Term Plan

ICSE Class 9 students in 2026-27 follow CISCE's Mathematics syllabus for the 2028 ICSE examination. The eight units, how the school-run Class 9 exam works (3 hours, 80 + 20), what is likely to be new after Class 8, and a term-by-term plan.

ICSE Class 9 mathsICSE maths syllabusICSE 2028 examCISCE mathematics

By Maths Bodhi Team

Read guide

Gurgaon Maths Tuition13 Nov 2026

Home Tutor on Golf Course Extension Road for Class 7-9 Maths: Sectors 58-67

For families in Sectors 58 to 67 on Golf Course Extension Road with a child in Class 7, 8 or 9: the CBSE and IB schools nearby, what changes in maths each year on the new NCERT books, a Class 9 worked example, and how home visits run in the societies here.

home tutor Golf Course Extension RoadSector 65 maths tutorClass 7-9 mathsGanita Prakash and Ganita Manjari

By Maths Bodhi Team

Read guide