Study Guide

Linear Equations in Two Variables Class 9: Graphs & Solutions

Everything from NCERT Chapter 4 — writing equations, finding solutions, plotting graphs and lines parallel to axes.

CBSEClass 9
The SparkEd Authors (IITian & Googler)15 March 202611 min read
CBSE Class 9 Linear Equations Two Variables — SparkEd

What is a Linear Equation in Two Variables?

A linear equation in two variables is an equation that can be written in the standard form:

ax+by+c=0ax + by + c = 0

where aa, bb and cc are real numbers, and both aa and bb are not zero simultaneously.

The word 'linear' comes from 'line' — the graph of every such equation is a straight line on the Cartesian plane.

Examples:
- 2x+3y=122x + 3y = 12 can be written as 2x+3y12=02x + 3y - 12 = 0 (here a=2a = 2, b=3b = 3, c=12c = -12)
- xy=0x - y = 0 (here a=1a = 1, b=1b = -1, c=0c = 0)
- y=5y = 5 can be written as 0x+1y5=00 \cdot x + 1 \cdot y - 5 = 0

Not a linear equation: xy=6xy = 6 (product of variables), x2+y=3x^2 + y = 3 (variable squared).

Solution of a Linear Equation in Two Variables

A solution of ax+by+c=0ax + by + c = 0 is a pair of values (x,y)(x, y) that makes the equation true.

Key Fact: A linear equation in two variables has infinitely many solutions. Each solution is an ordered pair (x,y)(x, y) that lies on the line.

How to find solutions: Pick a value for one variable, substitute it into the equation and solve for the other.

Solved Example:
Find three solutions of 2x+3y=122x + 3y = 12.

Solution:
Rewrite as y=122x3y = \frac{12 - 2x}{3}.

xxCalculationyySolution (x,y)(x, y)
001203=4\frac{12 - 0}{3} = 444(0,4)(0, 4)
331263=2\frac{12 - 6}{3} = 222(3,2)(3, 2)
6612123=0\frac{12 - 12}{3} = 000(6,0)(6, 0)

All three pairs satisfy the equation. There are infinitely many more — every point on the line 2x+3y=122x + 3y = 12 is a solution.

Graph of a Linear Equation in Two Variables

The graph of ax+by+c=0ax + by + c = 0 is always a straight line. Here is the step-by-step process to draw it.

Step 1: Find at least two solutions (three is better for accuracy).
Step 2: Plot the points on the Cartesian plane.
Step 3: Join the points with a straight line. Extend the line in both directions with arrows.

Solved Example:
Draw the graph of x+2y=6x + 2y = 6.

Rewrite as y=6x2y = \frac{6 - x}{2}.

xxyy
0033
2222
4411
6600

Plot (0,3)(0, 3), (2,2)(2, 2), (4,1)(4, 1) and (6,0)(6, 0) on graph paper. Join them — you get a straight line.

Important Observation: Every point on this line is a solution of x+2y=6x + 2y = 6, and every solution of the equation lies on this line. The line is the geometric representation of the equation.

Practice this topic on SparkEd — free visual solutions and AI coaching

Try Free

Equations of Lines Parallel to the Axes

These are special cases that students often find tricky but are actually very simple.

1. Line parallel to the x-axis:
The equation is of the form y=ky = k (where kk is a constant).
- Every point on this line has the same yy-coordinate.
- Example: y=3y = 3 is a horizontal line passing through (0,3)(0, 3), (1,3)(1, 3), (2,3)(-2, 3), etc.
- The x-axis itself has the equation y=0y = 0.

2. Line parallel to the y-axis:
The equation is of the form x=kx = k (where kk is a constant).
- Every point on this line has the same xx-coordinate.
- Example: x=2x = -2 is a vertical line passing through (2,0)(-2, 0), (2,1)(-2, 1), (2,3)(-2, -3), etc.
- The y-axis itself has the equation x=0x = 0.

Solved Example:
Write the equation of the line passing through (3,5)(3, 5) and parallel to the y-axis.

Solution: A line parallel to the y-axis has the equation x=kx = k. Since it passes through (3,5)(3, 5), we have k=3k = 3.

The equation is x=3x = 3.

Writing Equations from Word Problems

Many NCERT questions ask you to form an equation from a real-life situation and then graph it.

Example 1:
The cost of a notebook is twice the cost of a pen. Write a linear equation in two variables to represent this and draw its graph.

Solution:
Let cost of a pen =x= x (Rs) and cost of a notebook =y= y (Rs).

Given: y=2xy = 2x, or equivalently 2xy=02x - y = 0.

xxy=2xy = 2x
1122
2244
3366

Plot (1,2)(1, 2), (2,4)(2, 4), (3,6)(3, 6) and join them. The line passes through the origin.

Example 2:
The perimeter of a rectangle is 40 cm40 \text{ cm}. Express this as a linear equation and find three possible dimensions.

Solution:
Let length =x= x and breadth =y= y.

2(x+y)=402(x + y) = 40

x+y=20x + y = 20

xxy=20xy = 20 - x
551515
10101010
151555

Since x>0x > 0 and y>0y > 0, the graph is the portion of the line x+y=20x + y = 20 in the first quadrant.

Key Properties of Linear Equation Graphs

Here are important facts that examiners love to test.

1. Every linear equation in two variables has infinitely many solutions. Its graph is a straight line extending infinitely in both directions.

**2. A linear equation in one variable (ax+b=0ax + b = 0) can be viewed in two ways:**
- On a number line: a single point x=b/ax = -b/a.
- On the Cartesian plane: a vertical line x=b/ax = -b/a (parallel to y-axis).

**3. The equation y=mxy = mx always passes through the origin** (0,0)(0, 0). The value mm determines the slope (steepness) of the line.

4. Intercepts:
- x-intercept: The point where the line crosses the x-axis. Set y=0y = 0 and solve for xx.
- y-intercept: The point where the line crosses the y-axis. Set x=0x = 0 and solve for yy.

Solved Example:
Find the x-intercept and y-intercept of 3x+4y=243x + 4y = 24.

For x-intercept: y=03x=24x=8y = 0 \Rightarrow 3x = 24 \Rightarrow x = 8. Point: (8,0)(8, 0).
For y-intercept: x=04y=24y=6x = 0 \Rightarrow 4y = 24 \Rightarrow y = 6. Point: (0,6)(0, 6).

More Solved Examples

Example 1: Check whether (2,3)(2, 3) is a solution of 5x2y=45x - 2y = 4.

Solution:
Substitute x=2x = 2, y=3y = 3:

5(2)2(3)=106=4=RHS5(2) - 2(3) = 10 - 6 = 4 = \text{RHS}

Yes, (2,3)(2, 3) is a solution. ✓

Example 2: The equation 2x+3y=k2x + 3y = k passes through the point (4,1)(4, -1). Find kk.

Solution:
Substitute x=4x = 4, y=1y = -1:

2(4)+3(1)=k2(4) + 3(-1) = k

83=k8 - 3 = k

k=5k = 5

Example 3: Temperature Conversion

Problem: The relation between Fahrenheit (FF) and Celsius (CC) is F=95C+32F = \frac{9}{5}C + 32. (a) Is this a linear equation? (b) Draw the graph. (c) At what temperature are FF and CC equal?

Solution:
(a) Rewrite: F95C32=0F - \frac{9}{5}C - 32 = 0, which is of the form aF+bC+c=0aF + bC + c = 0. Yes, it is linear.

(b) Find solutions:

CCF=95C+32F = \frac{9}{5}C + 32
003232
40-4040-40
100100212212

Plot (0,32)(0, 32), (40,40)(-40, -40), (100,212)(100, 212) on a graph with CC on x-axis and FF on y-axis.

(c) Set F=CF = C:

C=95C+32C = \frac{9}{5}C + 32

C95C=32C - \frac{9}{5}C = 32

45C=32-\frac{4}{5}C = 32

C=40C = -40

At 40-40^\circ, Fahrenheit and Celsius readings are equal.

Example 4: Expressing as ax + by + c = 0

Problem: Express the following in the form ax+by+c=0ax + by + c = 0 and identify aa, bb, cc.

(i) y=3x+7y = 3x + 7
3xy+7=0\Rightarrow 3x - y + 7 = 0 (a=3a = 3, b=1b = -1, c=7c = 7)

(ii) x3+y4=1\frac{x}{3} + \frac{y}{4} = 1
Multiply by 12: 4x+3y=124x + 3y = 12
4x+3y12=0\Rightarrow 4x + 3y - 12 = 0 (a=4a = 4, b=3b = 3, c=12c = -12)

(iii) 2x=5y2x = -5y
2x+5y+0=0\Rightarrow 2x + 5y + 0 = 0 (a=2a = 2, b=5b = 5, c=0c = 0)

Exam Strategy & Common Mistakes

Mistake 1: Plotting only two points. While two points determine a line, plotting a third point acts as a verification check. If the three points are not collinear, you have made a calculation error.

Mistake 2: Forgetting arrows on the line. A line extends infinitely. Always draw arrows at both ends to indicate this.

**Mistake 3: Confusing y=3y = 3 with x=3x = 3.** y=3y = 3 is horizontal (parallel to x-axis). x=3x = 3 is vertical (parallel to y-axis). Draw a quick sketch to confirm.

Mistake 4: Not labelling the graph. Always write the equation beside the line and label the axes with xx and yy. Label the plotted points with their coordinates.

Strategy: For graphing questions, use neat graph paper, choose a suitable scale and pick 'easy' values of xx (like 00, integers that make yy an integer) to avoid messy fractions.

Marks Tip: Graph questions are typically 3-mark questions. You get marks for: (a) finding correct solution pairs, (b) plotting points accurately, and (c) drawing a clean, labelled line.

Summary & Practice Resources

Key Takeaways:

1. The standard form is ax+by+c=0ax + by + c = 0 with aa and bb not both zero.
2. Every linear equation in two variables has infinitely many solutions — each is a point on the line.
3. To draw the graph: find 2-3 solutions, plot them, join with a straight line.
4. y=ky = k is a horizontal line; x=kx = k is a vertical line.
5. The x-intercept is found by setting y=0y = 0; the y-intercept by setting x=0x = 0.

Connection to Class 10: In Class 10 (Chapter 3), you will study pairs of linear equations — two lines on the same plane — and learn about consistent, inconsistent and dependent systems. Mastering single linear equations now makes that chapter much easier.

Ready to practise? Head to the SparkEd Linear Equations practice page for adaptive problems with instant feedback. Use the SparkEd Math Solver to check your graphs or ask the SparkEd Coach for a walkthrough of any problem.

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 Now