Back to chapter
Class 9 · Chapter notes

Two Variables, One Line

Log in to track progress
00

Overview & Prerequisites

What this chapter is about, why it matters, and what you need to know before starting.

In this chapter, we study linear equations in two variables such as x+y=5x+y=5 and 2x−y=32x-y=3. A solution of such an equation is an ordered pair (x,y)(x,y) that makes the equation true. Since many different pairs can satisfy one linear equation, it has infinitely many solutions.

We also learn that all solutions of a linear equation in two variables lie on one straight line when plotted on the Cartesian plane. This helps us connect algebra with graphs. We study forms like ax+by+c=0ax+by+c=0 and y=mx+cy=mx+c, understand slope and intercepts, and see how two lines may intersect, be parallel, or coincide.

This chapter is important because it builds the idea that an equation can be represented visually. It prepares the base for graphing, solving pairs of linear equations later, and understanding how one quantity changes with another.

Before you start, you should know
  • Idea of variables and simple algebraic expressions
  • Substitution to check whether a given value satisfies an equation
  • Ordered pairs (x,y)(x,y) and the Cartesian plane
  • Plotting points on graph paper
  • Basic integers, fractions, and arithmetic operations
01

Linear Equation in Two Variables and Its General Form

A linear equation in two variables is an equation involving two variables such as xx and yy, where each variable has power 11. Its general form is ax+by+c=0ax + by + c = 0, where aa, bb, and cc are real numbers and aa and bb are not both zero.

What is a Linear Equation in Two Variables?

In many situations, two quantities are connected to each other. If this connection can be written using two variables, and each variable appears only to the first power, then we get a linear equation in two variables.

Usually, the two variables are written as xx and yy. Examples are x+y=5x + y = 5, 2x−3y=72x - 3y = 7, and 4x+5y−9=04x + 5y - 9 = 0.

It is called linear because the variables are not squared, cubed, or multiplied with each other. So terms like x2x^2, y2y^2, and xyxy do not appear in a linear equation in two variables.

General Form

The general form of a linear equation in two variables is ax+by+c=0ax + by + c = 0.

Here, aa, bb, and cc are real numbers. The variables are usually xx and yy.

An important condition is that aa and bb are not both zero. If both were zero, then the equation would not remain an equation in two variables.

Why aa and bb cannot both be zero

If a=0a = 0 and b=0b = 0, then the equation ax+by+c=0ax + by + c = 0 becomes 0x+0y+c=00x + 0y + c = 0, that is, c=0c = 0.

This form does not contain the variables xx and yy in any meaningful way, so it is not a linear equation in two variables.

So, in ax+by+c=0ax + by + c = 0, at least one of aa or bb must be non-zero.

Formula · General Form of a Linear Equation in Two Variables
ax+by+c=0ax + by + c = 0

This is the standard general form of a linear equation in two variables. Here, aa, bb, and cc are real numbers, and aa and bb are not both zero.

When to use: Use this form when identifying, writing, or checking whether an equation is a linear equation in two variables.

Example · Identify whether the equation is linear
easy

Is x+y=5x + y = 5 a linear equation in two variables?

Example · Write in general form
easy

Write 2x−3y=72x - 3y = 7 in the general form.

Example · Check whether the condition on coefficients is satisfied
medium

For the equation 0x+5y−10=00x + 5y - 10 = 0, say whether it is a linear equation in two variables.

Example · Decide whether the equation is not linear
hard

Is x2+y=4x^2 + y = 4 a linear equation in two variables? Give reason.

Common mistake
Thinking that any equation containing xx and yy is linear.
An equation is linear only if each variable has power 11 and there is no product like xyxy.

Why: Equations such as x2+y=3x^2 + y = 3 or xy=6xy = 6 contain two variables, but they are not linear equations in two variables.

Common mistake
Writing a=0a = 0 and b=0b = 0 in ax+by+c=0ax + by + c = 0 and still calling it a linear equation in two variables.
At least one of aa or bb must be non-zero.

Why: If both are zero, the equation becomes c=0c = 0, which does not represent a linear equation in two variables.

Check yourself

Which of the following is a linear equation in two variables?

Check yourself

In the general form ax+by+c=0ax + by + c = 0, which condition is correct?

02

Solutions as Ordered Pairs

A solution of a linear equation in two variables is an ordered pair (x,y)(x, y) that makes the equation true when the values are substituted. Such an equation has infinitely many solutions because after choosing one variable, the other can be found in infinitely many ways.

What is a solution as an ordered pair?

In a linear equation in two variables, the variables are usually written as xx and yy. A solution is a pair of numbers written in the form (x,y)(x, y) that satisfies the equation.

The order is important. In (x,y)(x, y), the first number is the value of xx and the second number is the value of yy. So (2,3)(2, 3) and (3,2)(3, 2) are different ordered pairs.

To check whether an ordered pair is a solution, substitute the value of xx and the value of yy into the equation. If the left side becomes equal to the right side, then the ordered pair is a solution. If not, it is not a solution.

Formula · Condition for an ordered pair to be a solution
If ax+by+c=0, then (x,y) is a solution if a(x)+b(y)+c=0.\text{If }ax+by+c=0,\text{ then }(x,y)\text{ is a solution if }a(x)+b(y)+c=0.

For the ordered pair (x,y)(x, y), substitute the given values into the equation. If the equation is satisfied, the pair is a solution.

When to use: Use this whenever you have to test whether a given ordered pair satisfies a linear equation in two variables.

Why does a linear equation in two variables have infinitely many solutions?

A linear equation in two variables has two variables but only one equation. So the equation does not fix both variables completely.

If we choose any value of one variable, we can usually find the corresponding value of the other variable from the equation. Each such choice gives a new ordered pair.

Since there are infinitely many possible values that can be chosen, we get infinitely many ordered pairs that satisfy the equation. Therefore, a linear equation in two variables has infinitely many solutions.

For example, in x+y=5x + y = 5, if x=0x = 0, then y=5y = 5. If x=1x = 1, then y=4y = 4. If x=2x = 2, then y=3y = 3. This process can continue without end.

Theorem · A linear equation in two variables has infinitely many solutions

Every linear equation in two variables has infinitely many solutions.

Different ordered pairs satisfying the same linear equation lie on the same straight line.
Example · Checking a given ordered pair
easy

Is (2,3)(2, 3) a solution of x+y=5x + y = 5?

Example · Checking whether a pair is not a solution
easy

Is (1,1)(1, 1) a solution of 2x+y=52x + y = 5?

Example · Finding two solutions
medium

Give any two solutions of x−y=3x - y = 3.

Example · Showing infinitely many solutions by making a table
medium

Show that x+2y=6x + 2y = 6 has infinitely many solutions by finding some solutions.

Common mistake
Treating (2,3)(2, 3) and (3,2)(3, 2) as the same solution.
Remember that in (x,y)(x, y), the first number is the value of xx and the second number is the value of yy.

Why: Ordered pairs are position-based. So changing the order usually changes the meaning and may change whether the equation is satisfied.

Common mistake
Checking only one side loosely and saying a pair is a solution without substitution.
Substitute both values carefully into the equation and check whether the statement becomes true.

Why: A solution must satisfy the equation exactly. Guessing without substitution can lead to wrong answers.

Check yourself

Which of the following is a solution of x+y=5x + y = 5?

Check yourself

Why does the equation x−y=2x - y = 2 have infinitely many solutions?

03

Graph of a Linear Equation

For a linear equation in two variables, each solution gives one point on the coordinate plane. When all such solution points are plotted, they lie on one straight line, so the graph of the equation is a straight line.

From a solution to a point on the graph

A linear equation in two variables has variables like xx and yy. Every solution of the equation is an ordered pair (x,y)(x, y) that makes the equation true.

Each ordered pair (x,y)(x, y) can be shown as a point on the Cartesian plane. So, to draw the graph of a linear equation, we find some solutions and plot their corresponding points.

For example, if (2,3)(2, 3) satisfies an equation, then the point with xx-coordinate 22 and yy-coordinate 33 will lie on the graph of that equation.

Thus, solution of the equation and point on the graph mean the same thing in this chapter.

Why the graph is a straight line

A linear equation in two variables is of first degree. Its general form is ax+by+c=0ax + by + c = 0, where aa and bb are not both zero.

If we choose different values of one variable and find the corresponding values of the other variable, we get many solution points. All these points lie on one straight line.

So, the graph of a linear equation in two variables is always a straight line. Also, every point on this line represents a solution of the equation.

In practice, we usually find at least three solutions, plot the points, and join them by a ruler. The line obtained is the graph of the equation.

How to draw the graph

Step 1: Write the given linear equation.

Step 2: Choose convenient values of one variable, usually xx, and find the corresponding values of yy. Make a small table of solutions.

Step 3: Plot these ordered pairs on the graph paper.

Step 4: Join the plotted points by a straight line and extend it on both sides. This straight line is the graph of the equation.

If any point lies on the line, its coordinates satisfy the equation. If a point does not lie on the line, it is not a solution of the equation.

Formula · General form of a linear equation in two variables
ax+by+c=0ax + by + c = 0

This is the general form of a linear equation in two variables, where aa and bb are not both zero. Its graph is a straight line.

When to use: Use this form to identify whether an equation is linear in two variables and to find solution points for drawing its graph.

Theorem · Graph of a linear equation in two variables

The graph of every linear equation in two variables is a straight line, and every point on this line represents a solution of the equation.

Example · Plotting the graph of x+y=5x + y = 5
easy

Draw the graph of the linear equation x+y=5x + y = 5.

Example · Checking whether a point lies on the graph
easy

Without drawing, check whether the point (3,1)(3, 1) lies on the graph of 2x+y=72x + y = 7.

Example · Drawing the graph of 2x−y=12x - y = 1
medium

Draw the graph of the linear equation 2x−y=12x - y = 1.

Example · Showing that all solution points lie on one line
medium

For the equation x−y=3x - y = 3, find four solutions and state what you observe when these points are plotted.

Common mistake
Taking any plotted point near the line as a solution.
Only a point whose coordinates exactly satisfy the equation is a solution.

Why: The graph represents all and only those points that make the equation true. A nearby point may look close on the paper but may not satisfy the equation.

Common mistake
Plotting only one point and calling it the graph of a linear equation.
A single point is not the graph. Plot at least two points and draw the straight line through them.

Why: A linear equation in two variables has infinitely many solutions. Its graph must show the complete straight line containing all those solution points.

Solution points of x+y=5x + y = 5 lie on one straight line.
Check yourself

Which of the following points lies on the graph of x+2y=6x + 2y = 6?

Check yourself

What is obtained when all solution points of a linear equation in two variables are plotted on the Cartesian plane?

04

Slope-Intercept Form of a Line

The slope-intercept form of a line is y=mx+cy = mx + c. Here mm tells how steep the line is and cc tells where the line cuts the yy-axis.

What is slope-intercept form?

A linear equation in two variables can often be written in the form y=mx+cy = mx + c. This is called the slope-intercept form of a line.

In this form, mm is the slope of the line and cc is the yy-intercept.

The slope tells us how yy changes when xx changes. The yy-intercept tells us the value of yy when x=0x = 0. So the point where the line meets the yy-axis is (0,c)(0, c).

This form is very useful because we can understand the graph of the line directly by looking at mm and cc.

Formula · Slope-intercept form of a line
y=mx+cy = mx + c

In the equation y=mx+cy = mx + c, mm is the slope of the line and cc is the yy-intercept. The line cuts the yy-axis at the point (0,c)(0, c).

When to use: Use this form when you want to identify the slope and the yy-intercept quickly, or when you want to draw the graph of a line easily.

Meaning of mm and cc on the graph

In y=mx+cy = mx + c, the number cc gives the starting point of the line on the yy-axis. If c=3c = 3, the line passes through (0,3)(0, 3). If c=−2c = -2, the line passes through (0,−2)(0, -2).

The number mm tells the direction and steepness of the line. If m>0m > 0, the line rises from left to right. If m<0m < 0, the line falls from left to right. If m=0m = 0, then the line is horizontal.

So, to sketch the line, first mark the point (0,c)(0, c) on the yy-axis. Then use the slope to see how the line moves as xx changes.

Connecting general form with slope-intercept form

A linear equation is often given in general form as ax+by+c=0ax + by + c = 0. If b≠0b \ne 0, we can rearrange it to write yy alone.

For example, from 2x+y−5=02x + y - 5 = 0, we get y=−2x+5y = -2x + 5. Now the slope is −2-2 and the yy-intercept is 55.

So many linear equations can be changed into slope-intercept form, and then the graph becomes easier to understand.

Theorem · Point where the line meets the yy-axis

For the line y=mx+cy = mx + c, the line meets the yy-axis at the point (0,c)(0, c).

Example · Identify slope and yy-intercept
easy

Find the slope and the yy-intercept of the line y=3x−7y = 3x - 7.

Example · Write in slope-intercept form
easy

Write 2x+y=62x + y = 6 in slope-intercept form and identify the slope and the yy-intercept.

Example · Use slope-intercept form to get points for the graph
medium

For the line y=x+2y = x + 2, find any three points on the line and state how the graph looks.

Example · Form an equation from slope and yy-intercept
medium

Write the equation of a line whose slope is −2-2 and yy-intercept is 44.

Common mistake
In y=−5x+2y = -5x + 2, taking slope as −5x-5x.
The slope is only the numerical coefficient of xx, so the slope is −5-5.

Why: In y=mx+cy = mx + c, mm is the number multiplying xx, not the full term containing xx.

Common mistake
In y=4x−3y = 4x - 3, saying the yy-intercept is the point (−3,0)( -3, 0 ).
The yy-intercept is −3-3, and the point on the graph is (0,−3)(0, -3).

Why: A line meets the yy-axis where x=0x = 0, not where y=0y = 0.

Graph of y=mx+cy = mx + c showing the yy-intercept (0,c)(0, c) and a rising line for positive slope.
Check yourself

What is the yy-intercept of the line y=−2x+5y = -2x + 5?

Check yourself

Which of the following is in slope-intercept form?

05

Meaning of Slope

Slope tells how a line rises or falls as we move from left to right. For two points on a line, slope is found by m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}, and it can be positive, negative, or zero.

What does slope mean?

When we move along a line from left to right, the value of yy may increase, decrease, or stay the same. Slope tells us this change.

If yy increases as xx increases, the line goes upward from left to right. If yy decreases as xx increases, the line goes downward. If yy does not change at all, the line is flat.

So, slope shows the steepness and the direction of a line.

Slope from two points

Suppose a line passes through two points (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2). Then slope compares the change in yy with the change in xx.

The change in yy is y2−y1y_2-y_1 and the change in xx is x2−x1x_2-x_1. Their ratio gives the slope.

For a non-vertical line, the slope is a fixed number. No matter which two points on the same line we choose, the slope remains the same.

Formula · Formula for slope
m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

Here, mm is the slope of the line through the points (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2). It means change in yy divided by change in xx.

When to use: Use this formula when two points on a line are given and you have to find how much the line rises or falls.

Meaning of positive, negative and zero slope

If m>0m>0, the slope is positive. The line rises from left to right.

If m<0m<0, the slope is negative. The line falls from left to right.

If m=0m=0, the slope is zero. Then yy stays constant, so the line is horizontal, of the form y=ky=k.

The formula m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1} is not used for a vertical line because then x2−x1=0x_2-x_1=0, and division by zero is not defined.

Positive, negative and zero slopes on coordinate axes
Example · Find slope from two points
easy

Find the slope of the line passing through (1,2)(1,2) and (4,8)(4,8).

Example · Identify the meaning of a negative slope
easy

The slope of a line is −3-3. What does this tell about the graph of the line?

Example · Find slope when one point has zero coordinate
medium

Find the slope of the line joining (0,5)(0,5) and (3,5)(3,5).

Example · Interpret slope from given points
medium

A line passes through the points (−2,4)(-2,4) and (2,0)(2,0). Find its slope and state whether the line rises or falls from left to right.

Common mistake
m=x2−x1y2−y1m=\frac{x_2-x_1}{y_2-y_1}
m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

Why: Slope means change in yy divided by change in xx, not the other way round.

Common mistake
For points (1,2)(1,2) and (4,8)(4,8), writing m=8−21−4m=\frac{8-2}{1-4}
If the numerator is 8−28-2, then the denominator must be 4−14-1. So m=8−24−1m=\frac{8-2}{4-1}.

Why: The order must be kept the same in numerator and denominator. Subtract coordinates in matching order.

Check yourself

What does a positive slope mean?

Check yourself

Find the slope of the line through (2,1)(2,1) and (5,1)(5,1).

06

Horizontal and Vertical Lines

Lines of the form y=ky=k are horizontal lines because the value of yy stays fixed, while lines of the form x=kx=k are vertical lines because the value of xx stays fixed. These are special straight lines parallel to the xx-axis and yy-axis respectively.

Special lines on the coordinate plane

In a linear equation in two variables, sometimes one variable remains fixed and the other can take many values. This gives a special kind of straight line.

If yy is fixed at a constant value kk, then every point on the line has the same yy-coordinate. Such points lie side by side at the same height, so they form a horizontal line.

If xx is fixed at a constant value kk, then every point on the line has the same xx-coordinate. Such points lie one above another, so they form a vertical line.

Horizontal line: y=ky=k

The equation y=ky=k means that the value of yy is always kk, but xx can be any real number.

So points like (0,k)(0,k), (2,k)(2,k) and (−3,k)(-3,k) are all solutions of y=ky=k. Since all these points have the same height, the graph is a straight line parallel to the xx-axis.

For example, y=4y=4 is a horizontal line passing through points like (0,4)(0,4), (5,4)(5,4) and (−2,4)(-2,4).

Vertical line: x=kx=k

The equation x=kx=k means that the value of xx is always kk, but yy can be any real number.

So points like (k,0)(k,0), (k,3)(k,3) and (k,−2)(k,-2) are all solutions of x=kx=k. Since all these points have the same sideways position, the graph is a straight line parallel to the yy-axis.

For example, x=−1x=-1 is a vertical line passing through points like (−1,0)(-1,0), (−1,2)(-1,2) and (−1,−4)(-1,-4).

Formula · Equation of a horizontal line
y=ky=k

This represents a line in which the yy-coordinate is fixed and the xx-coordinate can take any value. The line is parallel to the xx-axis.

When to use: Use this when all points on the line have the same yy-value.

Formula · Equation of a vertical line
x=kx=k

This represents a line in which the xx-coordinate is fixed and the yy-coordinate can take any value. The line is parallel to the yy-axis.

When to use: Use this when all points on the line have the same xx-value.

Theorem · Relation with the axes

The line y=ky=k is parallel to the xx-axis, and the line x=kx=k is parallel to the yy-axis.

Example · Identify the line x=4x=4
easy

Is the line x=4x=4 horizontal or vertical?

Example · Find points on a horizontal line
easy

Give any two points lying on the line y=5y=5.

Example · Draw and identify a special line
medium

What kind of line is represented by y=−2y=-2? Also write any two points on it.

Example · Form the equation of a special line
medium

Write the equation of the line passing through (0,0)(0,0) and parallel to the xx-axis.

Common mistake
Thinking that x=4x=4 is a horizontal line because the number 44 is fixed.
x=4x=4 is a vertical line.

Why: In x=4x=4, the xx-coordinate stays fixed and yy can change. A fixed xx gives a vertical line.

Common mistake
Writing points like (5,0)(5,0) and (5,3)(5,3) for the line y=5y=5.
Correct points on y=5y=5 are like (0,5)(0,5), (3,5)(3,5) and (−2,5)(-2,5).

Why: For y=5y=5, the second coordinate must be 55. The equation tells us about the yy-coordinate, not the xx-coordinate.

Horizontal and vertical lines on the coordinate plane
Check yourself

Which of the following is a horizontal line?

Check yourself

State whether the line x=−5x=-5 is horizontal or vertical.

07

Two Lines and Their Possible Relations

Two lines can have only three possible relations: they may intersect at one point, remain parallel and never meet, or completely overlap as the same line. For lines in the form y=mx+cy=mx+c, these relations are decided by comparing their slopes and intercepts.

Three possible relations between two lines

When we draw two straight lines on the same coordinate plane, only three situations are possible.

First, the two lines may cut each other at exactly one point. In that case, the point of intersection is the unique solution common to both equations.

Second, the two lines may never meet, even if extended on both sides. Such lines are called parallel lines. Then there is no common solution.

Third, the two lines may lie exactly on top of each other. Then they are really the same line, so every point on one line is also on the other. In this case, there are infinitely many common solutions.

Comparing lines using slope and intercept

A line in slope-intercept form is written as y=mx+cy=mx+c, where mm is the slope and cc is the yy-intercept.

The slope tells us how steep the line is and whether it rises or falls from left to right. So, to compare two lines, we first compare their slopes.

If two lines have different slopes, they must meet at one point. If two lines have the same slope, then they have the same steepness, so they are either parallel or the same line.

To decide between these two, compare the intercepts. Same slope and different intercepts give different parallel lines. Same slope and same intercept give the same line.

Special case: horizontal and vertical lines

A horizontal line has equation y=ky=k. Its slope is 00. Two different horizontal lines are parallel.

A vertical line has equation x=kx=k. Its slope is not defined. Two different vertical lines are also parallel.

A vertical line and a non-vertical line meet at one point. A horizontal line and a vertical line also meet at one point.

Formula · Conditions for two lines in slope-intercept form
If y=m1x+c1 and y=m2x+c2, then: m1≠m2⇒intersect at one pointm1=m2, c1≠c2⇒parallel linesm1=m2, c1=c2⇒same line\text{If } y=m_1x+c_1 \text{ and } y=m_2x+c_2, \text{ then: } \\ m_1\ne m_2 \Rightarrow \text{intersect at one point} \\ m_1=m_2,\ c_1\ne c_2 \Rightarrow \text{parallel lines} \\ m_1=m_2,\ c_1=c_2 \Rightarrow \text{same line}

For two lines, the slope comparison comes first. Different slopes mean different directions, so the lines cross once. Same slopes mean same steepness; then the intercept decides whether they are separate parallel lines or exactly the same line.

When to use: Use this when both equations are given in the form y=mx+cy=mx+c, or when you can first rearrange them into this form.

Theorem · Different slopes give one point of intersection

If two lines have different slopes, then they intersect at exactly one point.

Example · Identify whether two lines intersect or are parallel
easy

Find the relation between the lines y=2x+1y=2x+1 and y=−x+4y=-x+4.

Example · Check whether two lines are parallel
easy

Find the relation between the lines y=3x−2y=3x-2 and y=3x+5y=3x+5.

Example · Check whether two equations represent the same line
medium

Find the relation between 2x+y=62x+y=6 and 4x+2y=124x+2y=12.

Example · Find the point of intersection
hard

Find the point where the lines y=x+2y=x+2 and y=−2x+8y=-2x+8 intersect.

Common mistake
If two lines have the same slope, they are always the same line.
If two lines have the same slope, they may be parallel or they may be the same line.

Why: After checking that slopes are equal, we must also compare the intercepts. Different intercepts mean parallel lines; same intercept means the same line.

Common mistake
To compare lines, it is enough to look only at the constants in the equations.
We must compare the slopes first, and then the intercepts if needed.

Why: The constant term alone does not decide the relation. For example, in y=2x+1y=2x+1 and y=3x+1y=3x+1, the intercepts are the same, but the slopes are different, so the lines intersect.

The three possible relations between two lines
Check yourself

For the lines y=4x−3y=4x-3 and y=4x+1y=4x+1, which statement is correct?

Check yourself

The lines y=−x+2y=-x+2 and y=−x+2y=-x+2 have how many common solutions?

08

Revision & Exam Focus

Everything to remember for the exam, the classic traps, and a final self-check.

Quick revision
  • 01A linear equation in two variables can be written as ax+by+c=0ax + by + c = 0, where aa and bb are not both zero.
  • 02A solution of a linear equation in two variables is an ordered pair (x,y)(x, y) that makes the equation true.
  • 03A linear equation in two variables has infinitely many solutions.
  • 04Each solution of the equation is represented by a point on its graph.
  • 05The graph of a linear equation in two variables is a straight line.
  • 06If a line is written as y=mx+cy = mx + c, then mm is the slope and cc is the yy-intercept.
  • 07The slope of a line through (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) is m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}, provided x1≠x2x_1 \ne x_2.
  • 08If m>0m > 0, the line rises from left to right; if m<0m < 0, it falls from left to right.
  • 09If m=0m = 0, the line is horizontal and has the form y=ky = k.
  • 10A vertical line has the form x=kx = k.
  • 11For two lines y=m1x+c1y = m_1x + c_1 and y=m2x+c2y = m_2x + c_2, if m1≠m2m_1 \ne m_2, they intersect at exactly one point.
  • 12If two lines have the same slope but different intercepts, they are parallel and do not meet.
  • 13If two lines have the same slope and the same intercept, they coincide and have infinitely many common points.
  • 14To check whether a point is a solution, substitute its coordinates into the equation.
  • 15To find the yy-intercept, put x=0x = 0 or rewrite the equation in the form y=mx+cy = mx + c.
Exam focus

From this chapter, board-style questions usually test whether you can identify a linear equation, check if a point is a solution, find two or more solutions, and understand the graph as a straight line. Very often, short-answer questions ask you to rearrange an equation into the form y=mx+cy = mx + c and then identify slope and yy-intercept.

Another common pattern is comparing two lines using their slopes and intercepts. You may be asked whether the lines intersect, are parallel, or coincide. Graph-based understanding is important, but many questions are also direct and based on substitution, simple rearrangement, and interpretation.

  • Check whether a given ordered pair satisfies a linear equation.
  • Write any two or three solutions of a given linear equation in two variables.
  • Convert an equation from general form to y=mx+cy = mx + c form.
  • Find the slope of a line from its equation or from two given points.
  • Identify the yy-intercept of a line.
  • State whether x=kx = k is vertical or horizontal.
  • Decide whether two given lines intersect, are parallel, or coincide by comparing slopes and intercepts.
Common mistake
Thinking that a linear equation in two variables has only one solution because there is only one equation.
A linear equation in two variables has infinitely many solutions.

Why: If you choose a value of one variable, the other variable can often be found from the equation. So many ordered pairs satisfy the same equation.

Common mistake
Using the slope formula as x2−x1y2−y1\frac{x_2 - x_1}{y_2 - y_1}.
The correct slope formula is m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}, provided x1≠x2x_1 \ne x_2.

Why: Slope means change in yy divided by change in xx. Reversing the order gives the wrong value.

Common mistake
Saying that x=4x = 4 is a horizontal line because xx is fixed.
x=4x = 4 is a vertical line.

Why: When xx remains constant and yy can take many values, all points lie straight above or below each other, forming a vertical line.

Check yourself

Which of the following is a linear equation in two variables?

Check yourself

Is (0,5)(0, 5) a solution of x+y=5x + y = 5?

Check yourself

What is the slope of the line y=−2x+4y = -2x + 4?

Check yourself

Is the line x=4x = 4 horizontal or vertical?

Gyaan Maths — CBSE Class 6-12, built for board-toppers.
v1.1 · Sept 2026