By the end of this chapter you'll be able to…

  • 1Express a linear equation in two variables in standard form ax + by + c = 0
  • 2Verify whether an ordered pair is a solution of a given equation
  • 3Find any number of solutions of a linear equation
  • 4Plot the graph of ax + by + c = 0 using ≥ 2 (preferably 3) solutions
  • 5Find x- and y-intercepts and use them to plot quickly
  • 6Write the equation of horizontal/vertical lines and the equations of the axes
  • 7Translate a real-world condition into a linear equation in two variables and graph it
  • 8Find a missing coefficient or constant given a solution of the equation
💡
Why this chapter matters
A single linear equation in two variables = a straight line. Two equations = an intersection. This chapter teaches you to translate any real-world linear relationship (taxi fare, currency conversion, demand-supply, exam scoring) into algebra and back into geometry — the core literacy of applied math.

Linear Equations in Two Variables — Class 9 (CBSE)

A single linear equation in two variables has infinitely many solutions — and each is a point. Plot all of them and you get a line. That's the whole chapter in one sentence. From this idea spring train schedules, GST calculations, profit maximisation, even GPS triangulation.


1. The story — why two variables matter

In Class 8 you solved linear equations in one variable: . One equation, one unknown, one answer.

But the real world rarely has one unknown. A street vendor sells two products at different prices and you know the total revenue. A car travels at two different speeds across two stretches. A movie ticket costs different amounts on weekdays vs weekends. To model these, we need TWO variables — and equations relating them.

A linear equation in two variables and has the form

where are real numbers with and not both zero.

The astonishing fact: such an equation has infinitely many solutions — and plotted on the Cartesian plane (from the previous chapter), they form a straight line. Linear equation, straight line — the names match.


2. The big picture — two ideas to take away

  1. Every linear equation corresponds to a straight line on the Cartesian plane. Each solution is a point on the line.
  2. Solving simultaneous equations geometrically = finding the intersection of two lines. That's the bridge to Class 10's "pair of linear equations" chapter.

3. The standard form and special cases

The standard (general) form is .

Reading the form. Three coefficients describe a line:

  • — coefficient of .
  • — coefficient of .
  • — constant (sign included).

Special cases.

EquationDescriptionShape on the plane
Horizontal line (every point has )Horizontal, parallel to x-axis
Vertical line (every point has )Vertical, parallel to y-axis
The x-axis itselfCoincides with x-axis
The y-axis itselfCoincides with y-axis
Diagonal through the originBisector of Quadrants I and III
Other diagonal through the originBisector of Quadrants II and IV

Worked example. Express in standard form.

Rearrange: . So .


4. Solutions of a linear equation

A solution of is an ordered pair that satisfies the equation when substituted.

Worked example. Is a solution of ?

Substitute: . NOT a solution.

Key fact. A linear equation in two variables has infinitely many solutions. Pick any ; solve for . You get one solution. Try another ; another solution. You can keep doing this forever.

How to find solutions methodically

To list a handful of solutions for :

Pick Compute Solution

These four points all lie on the same straight line.


5. Graph of a linear equation — the big result

Theorem. The graph of every linear equation in two variables is a straight line.

Why? Pick any two solutions. Plot them on the plane. Now pick any third solution. It will lie exactly on the line joining the first two. (Class 11 calculus proves this with vectors; for now, take it as a remarkable fact.)

Method to plot a line.

  1. Find at least two solutions and of the equation.
  2. Plot both points on the Cartesian plane.
  3. Join them with a straight line and extend in both directions.

Teacher's tip. Always find three solutions, not two — the third acts as a check. If all three are collinear, your arithmetic is correct.

Worked example. Plot .

Find three solutions:

  • Let : . Solution: .
  • Let : . Solution: .
  • Let : . Solution: .

Plot the three points. They're collinear → draw the straight line through them and extend.


6. Where does a line cut the axes? — intercepts

The x-intercept is the value of where the line crosses the x-axis (i.e. where ). The y-intercept is the value of where the line crosses the y-axis (i.e. where ).

Worked example. Find the intercepts of .

  • y-intercept (put ): . The line cuts the y-axis at .
  • x-intercept (put ): . The line cuts the x-axis at .

Why this matters. Intercepts are the fastest way to plot a line — find both, plot, draw. Two intercepts uniquely determine a line (as long as the line isn't parallel to either axis).


7. Equations of the axes and lines parallel to them

  • The x-axis is the equation . (Every point on the x-axis has y-coordinate 0.)
  • The y-axis is the equation .
  • A horizontal line through point is .
  • A vertical line through point is .

Worked example. Write the equation of the horizontal line passing through .

Horizontal lines have constant y-coordinate. The y-coordinate here is . So the equation is .


8. Linear equation through the origin

If the constant , the equation passes through the origin. (Substitute — it satisfies trivially.)

Examples. , , , . All pass through .

Worked example. Find any three solutions of .

Rewrite: .

  • . Solution .
  • . Solution .
  • . Solution .

9. Linear equation in ONE variable — when does it appear?

If you set in , you get , i.e. . That's an equation in only — a vertical line in 2D.

Similarly setting gives a horizontal line .

Subtle point. "The equation " can be interpreted as a one-variable equation (with one solution ) OR as a two-variable equation (with infinitely many solutions of the form for any ). In Class 9 we adopt the two-variable view by default.


10. Finding the equation of a line from two given points

This is technically Class 10 territory, but you'll see it in HOTS problems. Given two points and :

Worked example. Find the equation of the line through and .

.

Cross-multiply: .

Verify with the second point: ✓.


11. Eight worked exam examples

Example 1 — Standard form (1 mark)

Express in standard form. , so .

Example 2 — Check a solution (1 mark)

Is a solution of ? ✓. Yes.

Example 3 — Find solutions (2 marks)

Find four solutions of .

  • .
  • .
  • .
  • .

Example 4 — Plot (3 marks)

Plot the line . Two solutions: and . Plot, join, extend.

Example 5 — Equation from condition (2 marks)

A line is parallel to the x-axis and passes through . Find its equation. Parallel to x-axis → horizontal → constant = the y-coordinate of the point = . Equation: .

Example 6 — Intercepts (3 marks)

Find the intercepts of and use them to plot the line. y-intercept (x = 0): . Point . x-intercept (y = 0): . Point . Plot both; draw the line.

Example 7 — Find a constant (3 marks)

If is a solution of , find . Substitute: .

Example 8 — HOTS (4 marks)

A taxi charges ₹20 as a fixed fee plus ₹10 per km. If is the distance in km and is the total fare in rupees, write the linear equation, find three solutions, and plot the line.

Equation: , or in standard form . Solutions:

  • : . (Fare for 0 km — just the booking fee.)
  • : .
  • : .

The line slopes upward (positive direction) and has y-intercept 20 (the fixed fee). The real-world domain is — you can't travel a negative distance.


12. Common pitfalls

  1. Counting only one solution. A linear equation in one variable has one solution; in two variables it has infinitely many. Don't confuse the two.
  2. Plotting a line with only one point. You need at least two points to determine a line. Always plot three (third is a check).
  3. Swapping intercepts. y-intercept = put (not ). Easy to confuse under exam stress.
  4. Forgetting the equation of the axes. is the x-axis; is the y-axis. Examiners love testing this.
  5. Mixing up vertical and horizontal. is HORIZONTAL (y is fixed, x varies); is VERTICAL.
  6. Negative-sign slips in standard form. rearranges to , NOT .
  7. Misreading the sign of . In standard form , includes its sign. For , , not .

13. Beyond NCERT — stretch problems

Stretch 1 — Express in two equivalent forms

Show that and represent the same line.

Divide the second by 2: . Same equation, so same line. Any scalar multiple of a linear equation represents the same line.

Stretch 2 — Olympiad — locus

Find all points equidistant from the x-axis and the y-axis.

Distance from x-axis is . Distance from y-axis is . Equidistant means , i.e. or . Two lines: the diagonal bisectors of the quadrants.

Stretch 3 — Real-world (PISA)

A mobile phone plan charges ₹100 base + ₹2 per minute of talk-time. Another plan charges ₹0 base + ₹3 per minute. For how many minutes are the two plans equally expensive?

Plan A: . Plan B: . Equate: minutes. At 100 minutes both plans cost ₹300. Below 100 minutes, Plan B is cheaper; above, Plan A is.


14. Real-world linear equations

  • Cost-revenue analysis. Fixed cost + per-unit cost = total cost. Always linear.
  • Currency conversion. 1 USD = 83 INR → — a line through the origin.
  • Temperature conversion. — a linear equation relating Celsius to Fahrenheit.
  • Demand and supply curves. Both are typically modelled as linear at the introductory level. Their intersection is the market equilibrium.
  • GPS trilateration. Each satellite gives a linear (well, hyperbolic in 3D, linear in 2D approximation) constraint. Multiple intersections pin down your position.
  • Train timetables. A train moving at constant speed traces a linear position-time graph; the slope is the speed.
  • Tax calculations. A flat tax + a per-unit tax is a linear equation. India's GST has linear components.

15. CBSE exam blueprint

TypeMarksTypical questionTime
VSA1Standard form; identify ; check if a point is a solution30 sec
SA-I2Find four solutions; equation of the axes2 min
SA-II3Plot a line; find intercepts; find a missing constant4–5 min
LA4Real-world modeling; plot from a verbal description6–8 min

Total marks: 5–7 / 80 in Class 9 finals. The graph-based questions earn diagram marks easily — always label axes, scale, and points clearly.

Three exam-day strategies:

  1. Always make a small solution table (3 rows minimum) before plotting. It catches arithmetic errors.
  2. Use intercepts when both exist — fastest path to drawing a line.
  3. Label everything on your graph: axes, scale, the equation of the line, and each plotted point.

16. NCERT exercise walkthrough

  • Exercise 4.1: 2 questions — write a given description as a linear equation; express in standard form.
  • Exercise 4.2: 4 questions — check solutions, find solutions of a linear equation.
  • Exercise 4.3: 8 questions — plot lines, find values of a constant from given conditions, real-world word problems.

The chapter has been trimmed in the 2023+ NCERT; the graph section (formerly Exercise 4.4 and 4.5) is now a single combined exercise.


17. Connections — what's next

  • Class 10, Pair of Linear Equations. Solve TWO simultaneous equations — geometrically, find the intersection of two lines.
  • Class 11, Straight Lines. Slope, angle, intercept form, normal form, distance from a point to a line.
  • Class 11, Linear Programming. Maximise/minimise a linear cost function subject to linear constraints. Modern operations research starts here.
  • Class 12, Vectors. Lines and planes in 3D, vector form of a line.

18. 60-second recap

  • Standard form: .
  • Solution: ordered pair satisfying the equation. Infinitely many solutions.
  • Graph: every linear equation in two variables = a straight line.
  • Plot method: find ≥ 2 solutions (better: 3), plot, join.
  • x-intercept: put . y-intercept: put .
  • x-axis: . y-axis: .
  • Horizontal line through : . Vertical line: .
  • Through origin: .

Take the practice quiz and the flashcard deck. Next: Introduction to Euclid's Geometry.

Key formulas & results

Everything you need to memorise, in one card. Screenshot this for revision.

Standard form
ax + by + c = 0, (a, b) ≠ (0, 0)
a, b, c are real numbers; a and b can't both be zero.
Intercept form
x/p + y/q = 1
p = x-intercept, q = y-intercept.
Solution
(x₀, y₀) satisfies the equation
Infinitely many for a single linear equation in two vars.
Equation of x-axis
y = 0
Every point on x-axis has y = 0.
Equation of y-axis
x = 0
Horizontal line
y = k (constant)
Through (h, k) for any h.
Vertical line
x = h (constant)
Through (h, k) for any k.
Line through origin
ax + by = 0
Constant term c = 0.
Line through 2 points
(y − y₁)/(x − x₁) = (y₂ − y₁)/(x₂ − x₁)
Class 10/11 anticipated.
x-intercept
Set y = 0; solve for x
Where the line cuts the x-axis.
y-intercept
Set x = 0; solve for y
Where the line cuts the y-axis.
⚠️

Common mistakes & fixes

These are the exact errors that cost students marks in board exams. Read them once, save yourself the trouble.

WATCH OUT
Saying a single 2-variable linear equation has one solution
It has INFINITELY many. (Two simultaneous equations may have one — that's Class 10.)
WATCH OUT
Plotting only one point and drawing a line
You need at least two. Always find three so the third checks your arithmetic.
WATCH OUT
Confusing x and y intercepts
x-intercept → set y = 0 (cuts the x-axis). y-intercept → set x = 0 (cuts the y-axis).
WATCH OUT
Calling y = 5 a vertical line
y = 5 is HORIZONTAL (y is fixed). x = 5 is VERTICAL.
WATCH OUT
Wrong sign of c in standard form
In ax + by + c = 0, c includes its sign. For 2x + 3y = 5, c = −5 (after moving the 5 to the LHS), not +5.
WATCH OUT
Forgetting to label axes in graphs
Always label x-axis, y-axis, the origin, and at least one scale tick. Worth half a mark.
WATCH OUT
Negative-y as 'below the line'
On a graph, negative y is BELOW the x-axis (not below the line). Don't confuse axes with the line being plotted.

Practice problems

Try each one yourself before tapping "Show solution". Active recall > rereading.

Q1EASY· Standard form
Express 5y = 3x − 7 in standard form ax + by + c = 0 and write a, b, c.
Show solution
Step 1 — Rearrange to bring all terms to one side. 5y = 3x − 7 ⇒ 3x − 5y − 7 = 0 (move 5y to RHS, then everything to LHS). Step 2 — Read off coefficients. Compare with ax + by + c = 0. a = 3, b = −5, c = −7. ✦ Answer: 3x − 5y − 7 = 0; a = 3, b = −5, c = −7.
Q2EASY· Solution check
Is (2, −1) a solution of 3x + 2y = 4?
Show solution
Step 1 — Substitute x = 2, y = −1 into the LHS. LHS = 3(2) + 2(−1) = 6 − 2 = 4. Step 2 — Compare with RHS. RHS = 4. LHS = RHS. ✦ Answer: YES, (2, −1) is a solution.
Q3EASY· Solution check
Is (1, 3) a solution of 2x − y + 1 = 0?
Show solution
Step 1 — Substitute x = 1, y = 3. 2(1) − 3 + 1 = 2 − 3 + 1 = 0. Step 2 — Compare to RHS = 0. Both equal 0. ✦ Answer: YES, (1, 3) is a solution.
Q4EASY· Axis equation
Write the equation of the x-axis.
Show solution
Step 1 — Property of the x-axis. Every point on the x-axis has y-coordinate 0 (regardless of x). Step 2 — Express as an equation. y = 0 (or equivalently 0·x + 1·y + 0 = 0). ✦ Answer: y = 0.
Q5EASY· Horizontal line
Equation of the horizontal line through (4, −2)?
Show solution
Step 1 — Horizontal lines have constant y-value. Through (4, −2), the y-coordinate is −2. Step 2 — Write the equation. y = −2. ✦ Answer: y = −2.
Q6MEDIUM· Find solutions
Find four solutions of 2x + 3y = 12.
Show solution
Step 1 — Pick convenient x-values and solve for y. x = 0: 3y = 12 → y = 4. Solution (0, 4). x = 3: 6 + 3y = 12 → y = 2. Solution (3, 2). x = 6: 12 + 3y = 12 → y = 0. Solution (6, 0). x = −3: −6 + 3y = 12 → y = 6. Solution (−3, 6). Step 2 — Verify by substitution (sample check). (3, 2): 2(3) + 3(2) = 6 + 6 = 12 ✓. ✦ Answer: Four solutions are (0, 4), (3, 2), (6, 0), (−3, 6). Infinitely many more exist.
Q7MEDIUM· Find constant
If (3, k) is a solution of 4x + 3y = 18, find k.
Show solution
Step 1 — Substitute x = 3, y = k. 4(3) + 3k = 18. 12 + 3k = 18. Step 2 — Solve. 3k = 6 → k = 2. ✦ Answer: k = 2. Verification: (3, 2) → 4(3) + 3(2) = 12 + 6 = 18. ✓
Q8MEDIUM· Intercepts
Find the x- and y-intercepts of 3x − 4y = 12 and sketch the line.
Show solution
Step 1 — y-intercept: set x = 0. 3(0) − 4y = 12 → −4y = 12 → y = −3. Point: (0, −3). Step 2 — x-intercept: set y = 0. 3x − 4(0) = 12 → 3x = 12 → x = 4. Point: (4, 0). Step 3 — Sketch. Plot (0, −3) and (4, 0) on the Cartesian plane. Draw the straight line through them, extended in both directions. Verify with a third point e.g. x = 8: 3(8) − 4y = 12 → y = 3. Point (8, 3). Should lie on the line. ✦ Answer: x-intercept = 4, y-intercept = −3. Line passes through (4, 0) and (0, −3).
Q9MEDIUM· Equation from condition
A line passes through (0, 5) and (5, 0). Find its equation.
Show solution
Step 1 — Recognise the two points as intercepts. (5, 0) is the x-intercept → x-intercept p = 5. (0, 5) is the y-intercept → y-intercept q = 5. Step 2 — Use the intercept form x/p + y/q = 1. x/5 + y/5 = 1. Step 3 — Multiply through by 5 to clear fractions. x + y = 5. Step 4 — Write in standard form. x + y − 5 = 0. ✦ Answer: x + y = 5 (or equivalently x + y − 5 = 0).
Q10MEDIUM· Through origin
Find three solutions of 2x + y = 0 and identify what's special.
Show solution
Step 1 — Compute solutions. x = 0: y = 0. Point (0, 0). x = 1: y = −2. Point (1, −2). x = −2: y = 4. Point (−2, 4). Step 2 — Notice (0, 0) is the origin. The constant term in 2x + y = 0 is c = 0, so the line passes through the origin. ✦ Answer: (0, 0), (1, −2), (−2, 4). The line passes through the origin (because c = 0).
Q11MEDIUM· Two unknowns
If (4, 2) is a solution of px + 3y = 14, find p.
Show solution
Step 1 — Substitute x = 4, y = 2. p(4) + 3(2) = 14. 4p + 6 = 14. Step 2 — Solve. 4p = 8 → p = 2. ✦ Answer: p = 2. Verify: 2(4) + 3(2) = 8 + 6 = 14 ✓.
Q12HARD· HOTS — modeling
A taxi charges ₹50 booking fee plus ₹15 per km. Let x = distance in km and y = total fare. Write the linear equation, find three solutions, and identify the y-intercept and what it represents in this context.
Show solution
Step 1 — Translate the verbal description. Total fare = booking + per-km × distance. y = 50 + 15x. Step 2 — Rewrite in standard form. 15x − y + 50 = 0. Step 3 — Find three solutions. x = 0: y = 50 → (0, 50). [Fare for 0 km = just the booking fee.] x = 4: y = 50 + 60 = 110 → (4, 110). x = 10: y = 50 + 150 = 200 → (10, 200). Step 4 — Read the y-intercept. y-intercept = 50 (when x = 0). In context: ₹50 is the BOOKING FEE — the cost when you haven't moved an inch. Step 5 — Read the slope (gradient). For every 1 km, fare increases by ₹15. This is the per-km rate. ✦ Answer: Equation y = 50 + 15x; solutions (0, 50), (4, 110), (10, 200); y-intercept = 50 = booking fee. Real-world note: x must be ≥ 0 (no negative distance) and is typically discrete (km is continuous but the meter often rounds to 100m chunks).
Q13HARD· HOTS — geometry
Show that the line passing through (1, 1), (2, 2) and (3, 3) is y = x, and find the point on this line whose x-coordinate is 5.
Show solution
Step 1 — Spot the pattern. For each point, y = x. Hypothesise the line y = x. Step 2 — Verify all three points satisfy y = x. (1, 1): 1 = 1 ✓ (2, 2): 2 = 2 ✓ (3, 3): 3 = 3 ✓ All three points lie on y = x. Step 3 — Argue uniqueness. Three collinear points uniquely determine a straight line. The three given are collinear (all satisfy y = x), so the line is exactly y = x. Step 4 — Find the point with x = 5. y = x = 5. Point: (5, 5). ✦ Answer: The line is y = x; the point with x = 5 is (5, 5).
Q14HARD· HOTS — equilibrium
Plan A: ₹100 fixed + ₹2/min talktime. Plan B: ₹0 fixed + ₹3/min. For what talktime are the two plans equally expensive?
Show solution
Step 1 — Translate each plan to a linear equation. Let x = talktime in minutes, y = total cost in rupees. Plan A: y = 100 + 2x. Plan B: y = 3x. Step 2 — Set the costs equal. 100 + 2x = 3x. Step 3 — Solve for x. 100 = 3x − 2x → x = 100. Step 4 — Find the common cost. Substitute x = 100 into either plan. Plan A: y = 100 + 200 = 300. Plan B: y = 300. ✓ (Both agree as expected.) Step 5 — Interpret. At 100 minutes both plans cost ₹300. Below 100 min: Plan B is cheaper (no booking fee). Above 100 min: Plan A is cheaper (lower per-min rate amortises the fixed fee). ✦ Answer: At 100 minutes both plans cost ₹300. This is the BREAK-EVEN POINT — exactly the intersection of the two lines. Geometric interpretation: y = 100 + 2x and y = 3x are two lines on the Cartesian plane; they intersect at (100, 300).

5-minute revision

The whole chapter, distilled. Read this the night before the exam.

  • Standard form ax + by + c = 0; not both a and b are zero.
  • Linear equation in TWO variables has INFINITELY many solutions.
  • Graph of every linear equation = a straight line.
  • Plot using ≥ 2 (better 3) solutions.
  • x-intercept: set y = 0. y-intercept: set x = 0.
  • x-axis: y = 0. y-axis: x = 0.
  • Horizontal line y = k; vertical line x = h.
  • Through origin ⇔ c = 0.
  • Two-point form: (y − y₁)/(x − x₁) = (y₂ − y₁)/(x₂ − x₁).

Questions students ask

The real ones — pulled from the Q&A community and tutor sessions.

One equation can only constrain one degree of freedom. You have 2 unknowns and 1 equation, so 1 degree of freedom remains — meaning a whole 1-dimensional set of solutions, i.e. a line.

Yes — for example y = x passes through Q I (positive x → positive y) and Q III (negative x → negative y) but not Q II or Q IV. The pattern depends on the slope and intercept.

Yes — just different forms. Rearrange y = 2x + 3 to get 2x − y + 3 = 0. The graph is the same line.

Two distinct points uniquely determine a straight line in the plane. One point gives a 'pencil of lines' (infinitely many through it) — you can't pick which one.

If a = 0 (and b ≠ 0): equation becomes by + c = 0 ⇒ y = −c/b. Horizontal line. If b = 0 (and a ≠ 0): vertical line x = −c/a. If both are zero, you don't have a meaningful equation.
Verified by the tuition.in editorial team
Last reviewed on 18 May 2026. Written and reviewed by subject-matter experts — read about our process.
Editorial process →
Header Logo