Free Mathematics Class 10 ICSE notes · practise this chapter with an AI quiz

← All study notes

The Steepness of Any Road Can Be Captured by One Number Called Its Gradient

Find the slope of a line from two points, from its inclination and from its equation, use slopes to test for parallel and perpendicular lines, read the gradient and intercept from y = mx + c, and check whether three points are collinear.

What does the slope of a line tell you?

The slope or gradient of a line measures how steeply it rises or falls. It is the change in yy for each unit change in xx:

m=riserun=y2−y1x2−x1m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}

- Positive slope — the line rises from left to right
- Negative slope — it falls
- Zero slope — it is horizontal

This part covers finding slopes, parallel and perpendicular lines, the form y=mx+cy = mx + c, and collinear points.

How do you find the slope of a line from two points, from its inclination and from its equation?

From two points use m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}, from the inclination θ\theta with the positive x-axis use m=tan⁡θm = \tan \theta, and from an equation rearrange it into the form y=mx+cy = mx + c.

From two points.


A(2,3),B(6,11):m=11−36−2=84=2A(2, 3), B(6, 11): \quad m = \frac{11 - 3}{6 - 2} = \frac{8}{4} = 2
A(−1,4),B(3,−2):m=−2−43+1=−64=−32A(-1, 4), B(3, -2): \quad m = \frac{-2 - 4}{3 + 1} = -\frac{6}{4} = -\frac{3}{2}

From the inclination.

θ=45∘:m=1θ=60∘:m=3θ=30∘:m=13θ=0∘:m=0\theta = 45^\circ: m = 1 \qquad \theta = 60^\circ: m = \sqrt{3} \qquad \theta = 30^\circ: m = \frac{1}{\sqrt{3}} \qquad \theta = 0^\circ: m = 0

From an equation. For 3x−2y+6=03x - 2y + 6 = 0:

2y=3x+6y=32x+3m=322y = 3x + 6 \qquad y = \frac{3}{2}x + 3 \qquad m = \frac{3}{2}

In general, ax+by+c=0ax + by + c = 0 has slope m=−abm = -\dfrac{a}{b}.

An everyday example. A ghat road sign showing a gradient of 1 in 10 means the road rises 11 m for every 1010 m horizontally, a slope of 110\frac{1}{10}.

The boundary case. A vertical line has no defined slope, because x2−x1=0x_2 - x_1 = 0 and tan⁡90∘\tan 90^\circ is undefined.

How do you use slopes to decide whether two lines are parallel or perpendicular?

Two lines are parallel when their slopes are equal, m1=m2m_1 = m_2, and perpendicular when the product of their slopes is −1-1, m1×m2=−1m_1 \times m_2 = -1.

Worked example 1.
Are y=2x+3y = 2x + 3 and 4x−2y+7=04x - 2y + 7 = 0 parallel?

4x−2y+7=0⇒y=2x+72m1=m2=2parallel4x - 2y + 7 = 0 \Rightarrow y = 2x + \frac{7}{2} \qquad m_1 = m_2 = 2 \qquad \text{parallel}

Worked example 2. Are 3x+4y=123x + 4y = 12 and 4x−3y=54x - 3y = 5 perpendicular?

m1=−34m2=43m1m2=−1perpendicularm_1 = -\frac{3}{4} \qquad m_2 = \frac{4}{3} \qquad m_1 m_2 = -1 \qquad \text{perpendicular}

Worked example 3. The line through (2,k)(2, k) and (4,7)(4, 7) is parallel to y=3x−1y = 3x - 1. Find kk.

7−k4−2=37−k=6k=1\frac{7 - k}{4 - 2} = 3 \qquad 7 - k = 6 \qquad k = 1

Worked example 4. px+2y=5px + 2y = 5 is perpendicular to y=4x+1y = 4x + 1. Find pp.

m=−p2−p2×4=−1p=12m = -\frac{p}{2} \qquad -\frac{p}{2} \times 4 = -1 \qquad p = \frac{1}{2}

An everyday example. Railway tracks are parallel lines with equal slopes, while the crease lines on a cricket pitch meet the edge lines at right angles.

The boundary case. A horizontal and a vertical line are perpendicular, even though the product rule cannot be used, since a vertical line has no slope.

How do you write and interpret the equation of a line in the form y = mx + c?

In y=mx+cy = mx + c, mm is the gradient and cc is the y-intercept, the point (0,c)(0, c) where the line crosses the y-axis.

Reading an equation.
For y=−2x+5y = -2x + 5: gradient −2-2, so the line falls 22 units for every 11 unit to the right, and it crosses the y-axis at (0,5)(0, 5).

Worked example 1. Write the line with gradient 34\frac{3}{4} and y-intercept −2-2.

y=34x−24y=3x−83x−4y−8=0y = \frac{3}{4}x - 2 \qquad 4y = 3x - 8 \qquad 3x - 4y - 8 = 0

Worked example 2. A line makes 45∘45^\circ with the x-axis and cuts the y-axis at 33: y=x+3y = x + 3.

Worked example 3. Find mm and cc for 2x+5y−10=02x + 5y - 10 = 0.

5y=−2x+10y=−25x+2m=−25,  c=25y = -2x + 10 \qquad y = -\frac{2}{5}x + 2 \qquad m = -\frac{2}{5}, \; c = 2

An everyday example. Suppose a taxi charges ₹30 to start and ₹15 per kilometre. The fare is y=15x+30y = 15x + 30: the gradient 1515 is the cost per kilometre and the intercept 3030 is the starting charge.

The substance. cc is the y-intercept, not the x-intercept; a negative cc means the line crosses below the origin.

How do you check whether three points are collinear by comparing slopes?

Three points AA, BB and CC are collinear when the slope of ABAB equals the slope of BCBC, because the two segments share the point BB and so lie on the same line.

Worked example 1.
A(1,2)A(1, 2), B(3,6)B(3, 6), C(6,12)C(6, 12):

mAB=6−23−1=2mBC=12−66−3=2collinearm_{AB} = \frac{6 - 2}{3 - 1} = 2 \qquad m_{BC} = \frac{12 - 6}{6 - 3} = 2 \qquad \text{collinear}

Worked example 2. (−2,5)(-2, 5), (1,−1)(1, -1), (4,−6)(4, -6):

m1=−1−53=−2m2=−6+13=−53not collinearm_1 = \frac{-1 - 5}{3} = -2 \qquad m_2 = \frac{-6 + 1}{3} = -\frac{5}{3} \qquad \text{not collinear}

Worked example 3. Find kk so that (2,3)(2, 3), (4,k)(4, k) and (6,−3)(6, -3) are collinear.

k−32=−3−k2k−3=−3−kk=0\frac{k - 3}{2} = \frac{-3 - k}{2} \qquad k - 3 = -3 - k \qquad k = 0

An everyday example. A farmer checking that three fence posts stand in a straight line can compare the slopes between them on a plan.

The substance. Equal slopes alone mean parallel; it is the shared point BB that makes the lines the same.
Exam tip

What earns full marks on slopes and y = mx + c?

Write the slope formula, keep the order of points consistent, and rearrange equations fully to y=mx+cy = mx + c before reading mm.

-
Subtract in the same order
: y2−y1y_2 - y_1 with x2−x1x_2 - x_1
- Use m=tan⁡θm = \tan \theta with standard angle values
-
For ax+by+c=0ax + by + c = 0
, the slope is −ab-\frac{a}{b}
- Parallel: m1=m2m_1 = m_2; perpendicular: m1m2=−1m_1 m_2 = -1
- Collinear: show two slopes with a shared point

The trap. Reading m=3m = 3 from 3x−2y+6=03x - 2y + 6 = 0. Rearranged, it is y=32x+3y = \frac{3}{2}x + 3, so m=32m = \frac{3}{2}.
Did you know

Why is the slope of a straight line the same everywhere along it?

Pick any two points on a straight line and draw the rise and run between them. You get a right-angled triangle. Pick two other points and you get another one.

All these triangles are similar, because their angles match. So the ratio of rise to run is always the same — that shared ratio is the slope.

That is why one number describes the whole line, and why a curve, whose triangles change shape, has a different steepness at different points.
Exam relevance

How does slope lead into Straight Lines and calculus for JEE Main?

This is foundation work for Class 11 Straight Lines and Class 12 Application of Derivatives, both JEE Main chapters.

What gets built on. Straight Lines uses slopes to find the angle between two lines, tan⁡θ=∣m1−m21+m1m2∣\tan \theta = \left|\frac{m_1 - m_2}{1 + m_1 m_2}\right|, which explains why m1m2=−1m_1 m_2 = -1 gives a right angle. It adds the distance of a point from a line and families of lines. In calculus, the slope of the tangent to a curve is given by the derivative.

Question types. Multiple-choice and numerical-value questions on slopes, angles between lines and collinearity.

The trap that costs marks. Applying m1m2=−1m_1 m_2 = -1 when one line is vertical, where the slope is undefined.
Key takeaways

What must you be able to do from this part?

- Slope from two points: m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}; A(2,3)A(2, 3), B(6,11)B(6, 11) gives 22
- From inclination: m=tan⁡θm = \tan \theta; 45∘45^\circ gives 11
- From an equation: ax+by+c=0ax + by + c = 0 gives m=−abm = -\frac{a}{b}
- Parallel m1=m2m_1 = m_2; perpendicular m1m2=−1m_1 m_2 = -1
- y=mx+cy = mx + c: gradient mm, y-intercept cc
- Collinear: slope of ABAB equals slope of BCBC
- Vertical lines have undefined slope

Find the slope of the line through (−3,7)(-3, 7) and (5,−1)(5, -1), then write a line perpendicular to it in the form y=mx+cy = mx + c.

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Equation of a Line — Part 1Create a free account
← Back to all articles