Free Mathematics Class 11 CBSE notes · practise this chapter with an AI quiz

← All study notes

The Angle Where Two Roads Meet Can Be Found From Their Slopes Alone

Find the slope of a line from two points or from its inclination, use slopes to test for parallel and perpendicular lines and collinear points, and calculate the acute angle between two lines.

Why describe a line by its slope?

A line's inclination θ\theta is the angle it makes with the positive x-axis, measured anticlockwise, with 0∘≤θ<180∘0^\circ \le \theta < 180^\circ. Its slope is

m=tan⁡θm = \tan\theta

One number then captures the direction of the line, and comparing slopes answers questions about parallel lines, right angles, collinear points and the angle between lines without drawing anything.

This part covers finding slopes, the parallel, perpendicular and collinear tests, and the angle between two lines.

How do you find the slope of a line from two points or from its angle of inclination?

Through (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) with x1≠x2x_1 \ne x_2, the slope is m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}; from the inclination, m=tan⁡θm = \tan\theta.

Worked example 1 — two points.
Through (3,−2)(3, -2) and (−1,4)(-1, 4):

m=4−(−2)−1−3=6−4=−32m = \frac{4 - (-2)}{-1 - 3} = \frac{6}{-4} = -\frac{3}{2}

The slope is negative, so the inclination is obtuse.

Worked example 2 — inclination.

θ=60∘:m=3θ=135∘:m=−1θ=0∘:m=0\theta = 60^\circ: m = \sqrt{3} \qquad \theta = 135^\circ: m = -1 \qquad \theta = 0^\circ: m = 0

Worked example 3 — inclination from slope. If m=−13m = -\frac{1}{\sqrt{3}}, then tan⁡θ=−13\tan\theta = -\frac{1}{\sqrt{3}}, so θ=150∘\theta = 150^\circ.

An everyday example. A ghat road that rises 11 m for every 1010 m horizontally has slope 0.10.1.

The boundary case. A vertical line has θ=90∘\theta = 90^\circ and no defined slope, since x2−x1=0x_2 - x_1 = 0.

How do you use slopes to test for parallel lines, perpendicular lines and collinear points?

Non-vertical lines are parallel when m1=m2m_1 = m_2 and perpendicular when m1m2=−1m_1 m_2 = -1; three points are collinear when the slope from the first to the second equals the slope from the second to the third.

Worked example 1 — perpendicular.
The line through (−2,6)(-2, 6) and (4,8)(4, 8) is perpendicular to the line through (8,12)(8, 12) and (x,24)(x, 24). Find xx.

m1=26=13m2=12x−813×12x−8=−1x=4m_1 = \frac{2}{6} = \frac{1}{3} \qquad m_2 = \frac{12}{x - 8} \qquad \frac{1}{3} \times \frac{12}{x - 8} = -1 \qquad x = 4

Worked example 2 — parallelogram. For A(−2,−1)A(-2, -1), B(4,0)B(4, 0), C(3,3)C(3, 3), D(−3,2)D(-3, 2):

mAB=16=mDCmAD=3−1=−3=mBCm_{AB} = \frac{1}{6} = m_{DC} \qquad m_{AD} = \frac{3}{-1} = -3 = m_{BC}

Both pairs of opposite sides are parallel, so ABCDABCD is a parallelogram.

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

1−(−1)2−k=5−14−2=22=4−2kk=1\frac{1 - (-1)}{2 - k} = \frac{5 - 1}{4 - 2} = 2 \qquad 2 = 4 - 2k \qquad k = 1

An everyday example. A town planner checking whether three bus stops lie on one straight road compares the slopes between them on a map grid.

The substance. Two vertical lines are parallel even though their slopes are undefined, and a vertical line is perpendicular to a horizontal one.

How do you calculate the acute angle between two lines from their slopes?

If two non-perpendicular lines have slopes m1m_1 and m2m_2, the acute angle θ\theta between them satisfies tan⁡θ=∣m2−m11+m1m2∣\tan\theta = \left|\frac{m_2 - m_1}{1 + m_1 m_2}\right|, and the obtuse angle is 180∘−θ180^\circ - \theta.

Worked example 1.
Slopes 11 and 3\sqrt{3} — lines inclined at 45∘45^\circ and 60∘60^\circ:

tan⁡θ=3−11+3=2−3θ=15∘\tan\theta = \frac{\sqrt{3} - 1}{1 + \sqrt{3}} = 2 - \sqrt{3} \qquad \theta = 15^\circ

Worked example 2. Slopes 12\frac{1}{2} and 33:

tan⁡θ=∣3−121+32∣=5/25/2=1θ=45∘\tan\theta = \left|\frac{3 - \frac{1}{2}}{1 + \frac{3}{2}}\right| = \frac{5/2}{5/2} = 1 \qquad \theta = 45^\circ

Worked example 3 — two answers. Find the slope of a line making 45∘45^\circ with a line of slope 12\frac{1}{2}.

∣m−121+m2∣=1\left|\frac{m - \frac{1}{2}}{1 + \frac{m}{2}}\right| = 1

Taking the positive case gives m=3m = 3; the negative case gives m=−13m = -\frac{1}{3}. Both lines work.

An everyday example. An architect measuring the angle between two walls on a site plan can compute it from the slopes of the wall lines.

The substance. When 1+m1m2=01 + m_1 m_2 = 0 the formula breaks down, because the lines are perpendicular and the angle is 90∘90^\circ.
Exam tip

What earns full marks on slopes and angles between lines?

Subtract coordinates in the same order, keep negative signs in brackets, and state whether you want the acute or obtuse angle.

- Slope: y2−y1x2−x1\frac{y_2 - y_1}{x_2 - x_1} or tan⁡θ\tan\theta
- Negative slope means an obtuse inclination
- Parallel: m1=m2m_1 = m_2; perpendicular: m1m2=−1m_1 m_2 = -1
- Collinear: equal slopes with a shared point
- Angle: tan⁡θ=∣m2−m11+m1m2∣\tan\theta = \left|\frac{m_2 - m_1}{1 + m_1 m_2}\right| gives the acute angle
- Find a slope from an angle: solve both the positive and negative cases

The trap. Keeping only one answer in the third example. Removing the absolute value gives two possible slopes.
Did you know

What does a road sign showing a 10% gradient really mean?

A 10%10\% gradient means the road rises 1010 m for every 100100 m measured horizontally, so its slope is 0.10.1.

The angle of that road is surprisingly small:

θ=tan⁡−1(0.1)≈5.7∘\theta = \tan^{-1}(0.1) \approx 5.7^\circ

Yet it feels steep to a cyclist. Slope and angle grow at different rates — a 100%100\% gradient is 45∘45^\circ, not vertical — which is why engineers describe roads by slope rather than by angle.
Exam relevance

How are slopes and angles between lines tested in JEE Main and JEE Advanced?

Straight Lines is a regular chapter for JEE Main and JEE Advanced, and slopes are reused in Conic Sections for tangents and normals and in Application of Derivatives.

What gets asked. Conditions for parallel and perpendicular lines, collinearity, the angle between two lines, finding lines that make a given angle with another line, and properties of triangles and quadrilaterals from coordinates.

Question types. Multiple-choice and numerical-value questions, often combining slopes with the equations of lines.

The trap that costs marks. Keeping only one of the two lines that make a given angle with a line, when both are valid.
Key takeaways

What must you be able to do from this part?

- Slope m=y2−y1x2−x1=tan⁡θm = \frac{y_2 - y_1}{x_2 - x_1} = \tan\theta; through (3,−2)(3, -2) and (−1,4)(-1, 4) it is −32-\frac{3}{2}
- Inclination: m=−13m = -\frac{1}{\sqrt{3}} gives 150∘150^\circ; vertical lines have no slope
- Parallel m1=m2m_1 = m_2; perpendicular m1m2=−1m_1 m_2 = -1; x=4x = 4 in the example
- Collinear: equal slopes; k=1k = 1 in the example
- Acute angle: tan⁡θ=∣m2−m11+m1m2∣\tan\theta = \left|\frac{m_2 - m_1}{1 + m_1 m_2}\right|; slopes 12\frac{1}{2} and 33 meet at 45∘45^\circ

Find both slopes of lines making 60∘60^\circ with the line y=xy = x, then sketch them to check.

Ready to put this into practice?

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

Create your own quiz on Straight Lines — Part 1Create a free account
← Back to all articles