NCERT Solutions for Class 9 Maths Chapter 4 Linear Equations in Two Variables — Complete Guide
Every exercise solved step-by-step — writing linear equations, finding solution pairs, graphing lines, and equations parallel to axes.

Why Linear Equations Are Central to Algebra
Linear equations are the simplest and most widely used type of equation in mathematics. From calculating costs and distances to programming computers and modelling physical systems, linear relationships are everywhere.
In Class 9, Chapter 4 extends what you learned about linear equations in one variable (Class 8) to two variables. The key new idea is that a linear equation in two variables has infinitely many solutions, and when you plot these solutions on the Cartesian plane (Chapter 3), they form a straight line.
This chapter carries 4–6 marks in the CBSE Class 9 annual exam and has four exercises (4.1–4.4). The questions range from writing equations in the standard form to finding solution pairs, drawing graphs, and understanding equations of lines parallel to the axes.
Let's work through every exercise with detailed solutions, build conceptual understanding, and prepare a winning exam strategy!
Linear Equations in Two Variables — Definitions and Standard Form
A linear equation in two variables is an equation of the form:
where , , are real numbers, and and are not both zero.
The word "linear" means the highest power of each variable is 1. No , no , no — just and to the first power.
Examples:
- (standard form: , here )
- (this is , a special case with )
- (this is , a special case with )
NOT linear equations in two variables:
- (has )
- (has the product )
- (has )
Solutions of a Linear Equation
A solution of a linear equation is an ordered pair such that .
Key Fact: A linear equation in two variables has infinitely many solutions. These solutions, when plotted on the Cartesian plane, form a straight line.
For example, consider . Some solutions are:
- : ✓
- : ✓
- : ✓
- : ✓
- : ✓
- : ✓
There are infinitely many such pairs, and they all lie on the line .
How to Find Solutions Systematically
Method: To find solutions of :
1. Choose a convenient value for (usually , etc.).
2. Substitute into the equation and solve for .
3. Each pair is one solution.
Example: Find three solutions of .
**When :** . Solution: .
**When :** . Solution: .
**When :** . Solution: .
Tip: Choosing gives the -intercept, and choosing gives the -intercept. These two points are usually the easiest to plot.
Exercise 4.1 — Writing and Identifying Linear Equations
Exercise 4.1 focuses on expressing equations in the standard form and recognising linear equations.
Problem 1: Cost equation
Question: The cost of a notebook is twice the cost of a pen. Write a linear equation in two variables to represent this statement.
Solution:
Let the cost of a notebook be rupees and the cost of a pen be rupees.
"Cost of notebook is twice the cost of a pen" means:
This is in the form with , , .
Key Insight: Translating word problems into equations is a critical skill. Identify the unknowns, assign variables, and write the relationship.
Problem 2: Expressing in standard form
Question: Express the following linear equations in the form and indicate the values of , , and :
(i)
(ii)
(iii)
(iv)
(v)
(vi)
(vii)
(viii)
Solution:
| Equation | Standard Form | |||
|---|---|---|---|---|
Key Observation: When , the equation involves only — its graph is a vertical line. When , the equation involves only — its graph is a horizontal line.
Practice this topic on SparkEd — free visual solutions and AI coaching
Exercise 4.2 — Finding Solutions of Linear Equations
Exercise 4.2 tests your ability to find specific solutions (ordered pairs) of a given linear equation.
Problem 1: Which are solutions?
Question: Which one of the following options is true, and why?
has
(i) a unique solution
(ii) only two solutions
(iii) infinitely many solutions
Solution:
(iii) Infinitely many solutions is correct.
For every real number , we get a corresponding . Since there are infinitely many real numbers, there are infinitely many solutions.
Examples: , , , , , ...
Problem 2: Four solutions of 2x + y = 7
Question: Write four solutions for the equation .
Solution:
Rewrite as , then substitute:
| Solution | ||
|---|---|---|
Four solutions: , , , .
Bonus: The -intercept is at : , giving .
Problem 3: Checking solutions
Question: Check which of the following are solutions of the equation :
(i) (ii) (iii) (iv) (v)
Solution:
Substitute each pair into . It should equal 4.
(i) . Not a solution.
(ii) . Not a solution.
(iii) ✓. Yes, a solution.
(iv) . Not a solution.
(v) . Not a solution.
Only is a solution.
Problem 4: Finding k such that a pair is a solution
Question: Find the value of if , is a solution of the equation .
Solution:
Substitute , :
Verification: The equation with : ✓.
Exercise 4.3 — Graphing Linear Equations
Exercise 4.3 is the most important exercise in this chapter — it requires you to draw the graph of a linear equation on the Cartesian plane. The graph of every linear equation (with and not both zero) is a straight line.
How to Draw the Graph — Step-by-Step Method
Step 1: Rewrite the equation in the form (if possible), or find at least two solution pairs by substituting values of .
Step 2: Plot at least two points on the Cartesian plane. (Three points is safer — the third point serves as a check.)
Step 3: Draw a straight line through the plotted points. Extend it in both directions with arrows to indicate that the line continues infinitely.
Step 4: Label the line with its equation.
Finding the two easiest points:
- **-intercept:** Set , solve for . This gives the point where the line crosses the -axis.
- **-intercept:** Set , solve for . This gives the point where the line crosses the -axis.
For example, for :
- -intercept: . Point: .
- -intercept: . Point: .
- Third check point: . Point: .
Problem 1: Graph of 2x + y = 7
Question: Draw the graph of the equation .
Solution:
Rewrite: .
| Point | ||
|---|---|---|
Plot these points and draw a straight line through them. The line has a negative slope (going downward from left to right), -intercept at , and -intercept at .
Problem 2: Graph of x + y = 0
Question: Draw the graph of the equation .
Solution:
.
| Point | ||
|---|---|---|
This line passes through the origin and makes a angle with the positive -axis (or below the horizontal going right). It passes through Quadrants II and IV.
Problem 3: Graph of y = 3x
Question: Draw the graph of .
Solution:
| Point | ||
|---|---|---|
This line passes through the origin with a steep positive slope. It passes through Quadrants I and III.
Key Observation: Any equation of the form (no constant term) passes through the origin.
Problem 4: Real-world graph problem
Question: The taxi fare in a city is as follows: for the first kilometre, the fare is Rs 8 and for the subsequent distance it is Rs 5 per km. Taking the distance covered as km and total fare as Rs , write a linear equation for this information, and draw its graph.
Solution:
For :
- First km costs Rs 8.
- Remaining km costs Rs .
Linear equation: (for ).
| (km) | (Rs) | Point |
|---|---|---|
Plot these points and draw a line. Since represents distance, only is meaningful.
From the graph: For a distance of 5 km, the fare = Rs 28.
Exercise 4.4 — Equations of Lines Parallel to Axes
This exercise covers a special but important case: equations that represent lines parallel to the coordinate axes.
Lines Parallel to the X-axis
The equation (where is a constant) represents a horizontal line parallel to the -axis, passing through all points with -coordinate equal to .
- is a horizontal line 3 units above the -axis.
- is a horizontal line 2 units below the -axis.
- is the -axis itself.
In standard form: , i.e., .
Lines Parallel to the Y-axis
The equation (where is a constant) represents a vertical line parallel to the -axis, passing through all points with -coordinate equal to .
- is a vertical line 4 units to the right of the -axis.
- is a vertical line 1 unit to the left of the -axis.
- is the -axis itself.
In standard form: , i.e., .
Problem 1: Graph of y = 3
Question: Give the geometric representations of as an equation (i) in one variable and (ii) in two variables.
Solution:
(i) In one variable: represents a single point on the number line (the point 3 on the -axis).
(ii) In two variables: (or ) represents a straight line in the Cartesian plane. This line is parallel to the -axis, passing through all points of the form where is any real number.
Some points on this line: , , , .
Problem 2: Graph of 2x + 9 = 0
Question: Give the geometric representations of as an equation in two variables.
Solution:
In two variables, this is , representing a vertical line at .
This line is parallel to the -axis, passing through , , , etc.
Understanding Slope (Gradient) — Beyond NCERT
While slope is formally taught in Class 10/11, understanding the basic concept helps you graph lines faster and builds deeper intuition.
The slope (or gradient) of a line measures how steep it is. For a line :
- is the slope.
- is the -intercept (where the line crosses the -axis).
What slope tells you:
- : Line goes upward from left to right (positive slope).
- : Line goes downward from left to right (negative slope).
- : Line is horizontal ().
- undefined: Line is vertical ().
Calculating slope from two points:
If a line passes through and :
Solved Example: Finding slope from equation
Question: Find the slope and -intercept of .
Solution:
Rewrite in slope-intercept form ():
Slope (negative, so line goes downward).
-intercept (the line crosses the -axis at ).
Question: Find the slope of the line passing through and .
Solution:
The line rises 2 units for every 1 unit it moves to the right.
Additional Solved Problems — Exam-Level Difficulty
These problems cover the types of questions commonly asked in CBSE exams.
Problem 1: Finding where a line crosses the axes
Question: Find the points where the line crosses the -axis and -axis.
Solution:
**-intercept** (set ): . Point: .
**-intercept** (set ): . Point: .
The line crosses the -axis at and the -axis at .
Problem 2: Writing equation from a condition
Question: Write the equation of a line that passes through the origin and has a slope of 2.
Solution:
A line through the origin has -intercept . With slope :
Or in standard form: .
Question: Write the equation of a line passing through and .
Solution:
Slope .
Using point-slope form with :
Standard form: .
Verification: : ✓.
Problem 3: Temperature conversion
Question: The temperature in Fahrenheit () and Celsius () are related by . Draw the graph and find:
(i) The temperature when both scales read the same.
(ii) The Fahrenheit equivalent of .
Solution:
| Point | ||
|---|---|---|
(i) When : .
So . Both scales read the same at !
(ii) .
Problem 4: Perimeter and area equations
Question: The perimeter of a rectangle is 40 cm. Express the length in terms of the breadth . Draw the graph and find the dimensions when .
Solution:
| Point | ||
|---|---|---|
When : , .
The rectangle is a square with side 10 cm.
Graphical Interpretation — What Does Each Part of the Line Mean?
Understanding the geometric meaning of a linear equation's graph deepens your intuition:
Every point on the line is a solution of the equation. Every point NOT on the line is NOT a solution.
**The -intercept** (where the line crosses the -axis) is the solution with . It answers: "What is when is zero?"
**The -intercept** (where the line crosses the -axis) is the solution with . It answers: "What is when is zero?"
Parallel lines: Two lines are parallel if they have the same slope but different -intercepts. They have no point in common (no common solution).
Intersecting lines: Two lines with different slopes intersect at exactly one point. That point is the common solution of both equations — this is the basis for solving simultaneous linear equations in Class 10.
Coincident lines: Two equations that represent the same line have infinitely many common solutions.
Common Mistakes Students Make in Linear Equations
Avoid these errors to secure full marks:
1. Thinking a linear equation in two variables has a unique solution:
* Mistake: " has the solution ."
* Fix: It has as ONE solution, but it has infinitely many. Always say "one of the solutions is..."
2. Plotting only one point and drawing a line:
* Mistake: Plotting just and drawing a line (but in which direction?).
* Fix: You need at least TWO points to determine a line. Three is better for verification.
3. **Confusing with the point :**
* Mistake: Thinking the graph of is a single point.
* Fix: is a vertical LINE — every point with -coordinate 3 lies on it: , , , etc.
4. Sign errors when finding intercepts:
* Mistake: For , setting and getting instead of .
* Fix: . Be careful with negative coefficients.
5. Not extending the line with arrows:
* Mistake: Drawing a line segment between two points.
* Fix: The graph of a linear equation is an infinite line. Always extend it beyond the plotted points and add arrowheads at both ends.
6. **Forgetting that is horizontal and is vertical:**
* Mistake: Drawing as a vertical line.
* Fix: means ALL points with , regardless of . That's a horizontal line.
7. Not labelling the graph:
* Mistake: Drawing the line but not writing the equation next to it.
* Fix: Always label the line with its equation. This is important for clarity and often required for full marks.
Board Exam Strategy for Linear Equations
Weightage: Chapter 4 carries approximately 4–6 marks in the CBSE Class 9 annual exam (part of Unit II: Algebra). Questions often combine with Chapter 3 (Coordinate Geometry) since graphs are drawn on the Cartesian plane.
Typical Question Patterns:
* 1 Mark (MCQ): Identifying how many solutions a linear equation has; checking if a point is a solution; equation of -axis or -axis; type of line ( is horizontal, is vertical).
* 2 Marks (VSA): Writing an equation in standard form; finding two solutions of a given equation; finding the -intercept.
* 3 Marks (SA): Drawing the graph of a linear equation (plotting at least 3 points); word problems leading to linear equations with graphs.
* 5 Marks (LA): Multi-step word problems (cost, temperature, distance-time) requiring both equation formation and graphing; interpreting the graph to answer questions.
High-Priority Topics:
1. Drawing graphs — practise until your lines are straight and labelled
2. Finding intercepts — the fastest way to plot any line
3. Word problem to equation conversion
4. Lines parallel to axes: (vertical) and (horizontal)
5. Checking if a given point lies on a given line
Time Management:
- 1-mark MCQ: 1 minute
- 2-mark problem: 2–3 minutes
- 3-mark graphing: 5 minutes (include drawing time)
- 5-mark word problem + graph: 8–10 minutes
Pro Tips:
- Always use graph paper for drawing graphs. Ruled paper is not acceptable.
- Plot at least 3 points: two to draw the line and one to verify.
- Use the intercept method ( and ) for the fastest plotting.
- Label axes, mark the scale, and write the equation on the graph.
- For word problems, clearly define your variables before writing the equation.
Practise on SparkEd's Linear Equations page for instant feedback!
Quick Revision: Key Facts at a Glance
| Concept | Key Fact |
|---|---|
| Standard form | , where not both zero |
| Number of solutions | Infinitely many |
| Graph | Always a straight line |
| -intercept | Set , solve for |
| -intercept | Set , solve for |
| Horizontal line parallel to -axis | |
| Vertical line parallel to -axis | |
| The -axis | |
| The -axis | |
| Line through origin with slope | |
| Slope = , -intercept = | |
| Points needed for graph | Minimum 2 (3 recommended) |
Practice Problems for Self-Assessment
Level 1 (Basic):
1. Write in the form .
2. Find three solutions of .
3. Is a solution of ?
Level 2 (Intermediate):
4. Draw the graph of . Find the area of the triangle formed by the line and the coordinate axes.
5. Write the equation of a line parallel to the -axis and passing through .
6. The sum of two numbers is 12. Write a linear equation and draw its graph.
Level 3 (Advanced/HOTS):
7. Draw the graph of and on the same axes. Find the point of intersection.
8. A mobile plan charges Rs 100 fixed plus Rs 2 per minute. Write the equation and use the graph to find the cost for 50 minutes.
9. The graph of passes through and . Find and .
Answers:
1. (or )
2. , ,
3. . No.
4. Intercepts: and . Area sq units.
5.
6. where are the two numbers.
7. Substituting into : . Intersection: .
8. . At : rupees.
9. From : . From : .
Boost Your Preparation with SparkEd
You have now worked through every exercise and concept in NCERT Chapter 4: Linear Equations in Two Variables. This chapter connects algebra to geometry through graphing, and is essential preparation for simultaneous equations in Class 10.
Here is how SparkEd can help:
* Adaptive Practice: On our Linear Equations practice page, work through problems sorted by difficulty.
* AI Math Solver: Stuck on a graphing or word problem? Paste it into our AI Solver for a detailed step-by-step solution.
* AI Coach: Get personalised study recommendations based on your performance.
* Cross-Chapter Connections: Linear Equations connects to Coordinate Geometry (Chapter 3, where you learned about the Cartesian plane), Polynomials (Chapter 2, linear polynomials), and is a direct prerequisite for Pair of Linear Equations in Class 10.
Head over to sparkedmaths.com and start practising today!
Practice These Topics on SparkEd
Frequently Asked Questions
Try SparkEd Free
Visual step-by-step solutions, three difficulty levels of practice, and an AI-powered Spark coach to guide you when you are stuck. Pick your class and board to start.
Start Practicing NowYou might also like

Areas Related to Circles Class 10: Sectors, Segments & Solved Problems
Master Areas Related to Circles Class 10 CBSE. Learn area of sector, segment, arc length, areas of combinations with for...

CBSE Class 10 Maths Important Questions 2026: Chapter-Wise with Solutions
CBSE Class 10 Maths important questions 2026 chapter-wise with solutions. Practice 2-3 key questions per chapter, markin...

Pair of Linear Equations Class 10: All 5 Methods with Solved Examples
Master Pair of Linear Equations Class 10 CBSE. Learn graphical, substitution, elimination, cross-multiplication methods,...