Why this chapter matters. The straight line drew 29 questions in the 7 papers from 2023 to 2026, about four in every paper. That is more than any other chapter of this unit. The questions ask for the equation of a line from given facts, for the condition that two lines are parallel or perpendicular, for the angle between two lines, and for a distance from a line. Six real questions are solved in section 8.
What you will be able to do
- Find the slope of a line and write its equation in any of the six forms.
- Tell at once whether two lines are parallel or perpendicular, and find the angle between them.
- Find the distance of a point from a line and the distance between two parallel lines.
- Change one form of the equation into another, which is what many exam questions really ask.
Before you start you should know: the distance, mid-point and section formulas (Chapter M4-1), and the values of โ\tan\thetaโ for โ30^\circโ, โ45^\circโ and โ60^\circโ (Chapter M3-2).
1. Slope
The slope of a line measures how steep it is. If the line makes an angle โ\thetaโ with the positive direction of the x-axis, its slope is โm = \tan\thetaโ. For the line through โ(x_1, y_1)โ and โ(x_2, y_2)โ,
m = \frac{y_2 - y_1}{x_2 - x_1}
For example, the line through โ(1, 2)โ and โ(3, 8)โ has slope โ\frac{8 - 2}{3 - 1} = 3โ.

A line that rises to the right has a positive slope. A line that falls to the right has a negative slope. A horizontal line has slope 0. A vertical line has no slope (the formula would divide by zero).

2. The six forms of the equation
The same line can be written in different ways. Choose the form that fits the facts you are given.
| Form | Equation | Use it when you know |
|---|---|---|
| Slope-intercept | โy = mx + cโ | the slope โmโ and the cut โcโ on the y-axis |
| Point-slope | โy - y_1 = m(x - x_1)โ | one point and the slope |
| Two-point | โy - y_1 = \dfrac{y_2 - y_1}{x_2 - x_1}(x - x_1)โ | two points |
| Intercept | โ\dfrac{x}{a} + \dfrac{y}{b} = 1โ | the cuts โaโ and โbโ on the x-axis and the y-axis |
| Normal (perpendicular) | โx\cos\alpha + y\sin\alpha = pโ | the length โpโ of the perpendicular from the origin, and the angle โ\alphaโ it makes with the x-axis |
| General | โax + by + c = 0โ | every line can be written this way |
Lines parallel to the axes are the simplest: โx = aโ is vertical and โy = bโ is horizontal.
Reading the general form. For โax + by + c = 0โ:
- the slope is โ-\dfrac{a}{b}โ;
- the x-intercept is โ-\dfrac{c}{a}โ (put โy = 0โ) and the y-intercept is โ-\dfrac{c}{b}โ (put โx = 0โ);
- to get the normal form, take the constant to the right side, make it positive, and divide by โ\sqrt{a^2 + b^2}โ.
The picture for the normal form. Draw a line that does not pass through the origin. Drop a perpendicular from the origin to it. The length of that perpendicular is โpโ, and โ\alphaโ is the angle it makes with the positive x-axis. The picture shows the line โ3x + 4y = 12โ in three forms.

3. Parallel and perpendicular lines
Let two lines have slopes โm_1โ and โm_2โ.
- They are parallel when โm_1 = m_2โ.
- They are perpendicular when โm_1 m_2 = -1โ.
In the general form this becomes a quick rule:
| Line | Any parallel line | Any perpendicular line |
|---|---|---|
| โax + by + c = 0โ | โax + by + k = 0โ | โbx - ay + k = 0โ |
For a perpendicular line, swap the coefficients of โxโ and โyโ and change one sign. Then find โkโ from the point the line passes through.
Two lines โa_1 x + b_1 y + c_1 = 0โ and โa_2 x + b_2 y + c_2 = 0โ are perpendicular when โa_1 a_2 + b_1 b_2 = 0โ.
4. The angle between two lines
If โ\thetaโ is the acute angle between lines of slopes โm_1โ and โm_2โ, then
\tan\theta = \left| \frac{m_1 - m_2}{1 + m_1 m_2} \right|
For slopes โ3โ and โ\frac{1}{2}โ: โ\tan\theta = \left| \dfrac{3 - \frac{1}{2}}{1 + \frac{3}{2}} \right| = 1โ, so โ\theta = 45^\circโ.
If โ1 + m_1 m_2 = 0โ the formula cannot be used, and it does not need to be: the lines are perpendicular.
5. Distances
The perpendicular distance of the point โ(x_1, y_1)โ from the line โax + by + c = 0โ is
d = \frac{|a x_1 + b y_1 + c|}{\sqrt{a^2 + b^2}}
For the point โ(3, 4)โ and the line โ3x + 4y - 5 = 0โ: โd = \dfrac{|9 + 16 - 5|}{5} = 4โ.

The distance between the parallel lines โax + by + c_1 = 0โ and โax + by + c_2 = 0โ is
d = \frac{|c_1 - c_2|}{\sqrt{a^2 + b^2}}
The coefficients of โxโ and โyโ must be the same in both equations before you use it.
6. Where two lines meet, and lines through one point
Two lines meet at the point whose coordinates satisfy both equations. Solve them together. The lines โx + y = 5โ and โ2x - y = 1โ meet at โ(2, 3)โ.
Three or more lines that pass through one point are called concurrent. The equation โy - y_1 = m(x - x_1)โ gives a different line for each value of โmโ, but every one of them passes through โ(x_1, y_1)โ.
7. Worked examples
Example 1. Find the equation of the line through โ(1, 2)โ and โ(3, 8)โ.
The slope is 3 (section 1). Point-slope form: โy - 2 = 3(x - 1)โ, so โy = 3x - 1โ, or โ3x - y - 1 = 0โ.
Example 2. For the line โ3x + 4y - 12 = 0โ, find the slope, the intercepts and the distance from the origin.
Slope โ= -\frac{3}{4}โ. Put โy = 0โ: โx = 4โ. Put โx = 0โ: โy = 3โ. So the intercept form is โ\frac{x}{4} + \frac{y}{3} = 1โ.
For the normal form write โ3x + 4y = 12โ and divide by โ\sqrt{9 + 16} = 5โ: โ\frac{3}{5}x + \frac{4}{5}y = \frac{12}{5}โ. The distance of the line from the origin is โp = \frac{12}{5}โ.
Example 3. Find the line through โ(2, -1)โ perpendicular to โ3x - 4y + 5 = 0โ.
Swap the coefficients and change one sign: โ4x + 3y + k = 0โ. Put in the point: โ8 - 3 + k = 0โ, so โk = -5โ. The line is โ4x + 3y - 5 = 0โ.

Example 4. Find the acute angle between the lines โy = \sqrt{3}\,x + 1โ and โy = \dfrac{x}{\sqrt{3}} + 4โ.
โm_1 = \sqrt{3}โ and โm_2 = \dfrac{1}{\sqrt{3}}โ, so โm_1 m_2 = 1โ. The numerator is โ\sqrt{3} - \dfrac{1}{\sqrt{3}} = \dfrac{2}{\sqrt{3}}โ. Then โ\tan\theta = \dfrac{2/\sqrt{3}}{2} = \dfrac{1}{\sqrt{3}}โ and โ\theta = 30^\circโ.
This agrees with the picture: the lines slope at โ60^\circโ and โ30^\circโ to the x-axis.

Example 5. Find the distance between the lines โ3x + 4y - 6 = 0โ and โ6x + 8y + 3 = 0โ.
Divide the second by 2 so that the coefficients match: โ3x + 4y + \frac{3}{2} = 0โ. Then โd = \dfrac{\left| -6 - \frac{3}{2} \right|}{5} = \dfrac{7.5}{5} = 1.5โ.
8. From the real papers
Try each question for 75 seconds before reading the solution.
NDA II 2025, Q61. Which one of the following is the perpendicular form of the straight line โ\sqrt{3}x + 2y = 7โ?
(a) โy = -\frac{\sqrt{3}}{2}x + \frac{7}{2}โโโ(b) โ\frac{x}{\left(\frac{7}{\sqrt{3}}\right)} + \frac{y}{\left(\frac{7}{2}\right)} = 1โโโ(c) โ\frac{\sqrt{3}}{\sqrt{7}}x + \frac{2}{\sqrt{7}}y = \sqrt{7}โโโ(d) โ\frac{\sqrt{3}}{\sqrt{7}}x + \frac{2}{\sqrt{7}}y = 7โ
Solution. Divide by โ\sqrt{(\sqrt{3})^2 + 2^2} = \sqrt{7}โ. The right side becomes โ\frac{7}{\sqrt{7}} = \sqrt{7}โ. Option (a) is the slope-intercept form and (b) is the intercept form of the same line. Answer (c).
NDA II 2023, Q88. For what values of โkโ is the line โ(k - 3)x - (5 - k^2)y + k^2 - 7k + 6 = 0โ parallel to the line โx + y = 1โ?
(a) โ-1, 1โโโ(b) โ-1, 2โโโ(c) โ1, -2โโโ(d) โ2, -2โ
Solution. The line โx + y = 1โ has equal coefficients of โxโ and โyโ, so a parallel line must have them equal too: โk - 3 = -(5 - k^2)โ. This gives โk^2 - k - 2 = 0โ, so โ(k - 2)(k + 1) = 0โ and โk = 2โ or โ-1โ. Answer (b).
NDA I 2025, Q55. โABCโ is an equilateral triangle and โADโ is the altitude on โBCโ. If the coordinates of โAโ are โ(1, 2)โ and that of โDโ are โ(-2, 6)โ, then what is the equation of โBCโ?
(a) โ3x + 4y - 18 = 0โโโ(b) โ4x + 3y - 1 = 0โโโ(c) โ4x - 3y + 26 = 0โโโ(d) โ3x - 4y + 30 = 0โ
Solution. โBCโ passes through โDโ and is perpendicular to โADโ. Slope of โAD = \dfrac{6 - 2}{-2 - 1} = -\dfrac{4}{3}โ, so the slope of โBCโ is โ\dfrac{3}{4}โ. Then โy - 6 = \frac{3}{4}(x + 2)โ, which gives โ3x - 4y + 30 = 0โ. Answer (d).
NDA I 2024, Q61. If two sides of a square lie on the lines โ2x + y - 3 = 0โ and โ4x + 2y + 5 = 0โ, then what is the area of the square in square units?
(a) โ6.05โโโ(b) โ6.15โโโ(c) โ6.25โโโ(d) โ6.35โ
Solution. The lines are parallel, so they carry opposite sides, and the distance between them is the side of the square. Write the second as โ2x + y + \frac{5}{2} = 0โ. Side โ= \dfrac{\left| -3 - \frac{5}{2} \right|}{\sqrt{5}} = \dfrac{5.5}{\sqrt{5}}โ. Area โ= \dfrac{30.25}{5} = 6.05โ. Answer (a).

NDA I 2026, Q51. The equation of a straight line which passes through the origin and makes an angle โ\alphaโ โ(0 \leq \alpha \leq 90ยฐ)โ with the line โL : x + \sqrt{3}y + 3\sqrt{3} = 0โ is โx - \sqrt{3}y = 0โ. What is the value of โ\alphaโ?
(a) โ30ยฐโโโ(b) โ45ยฐโโโ(c) โ60ยฐโโโ(d) โ90ยฐโ
Solution. The slope of โLโ is โm_1 = -\dfrac{1}{\sqrt{3}}โ and the slope of the other line is โm_2 = \dfrac{1}{\sqrt{3}}โ. Then โ\tan\alpha = \left| \dfrac{-\frac{2}{\sqrt{3}}}{1 - \frac{1}{3}} \right| = \dfrac{2}{\sqrt{3}} \times \dfrac{3}{2} = \sqrt{3}โ, so โ\alpha = 60^\circโ. Answer (c).
NDA II 2026, Q56. A line cuts off intercept โpโ on the โxโ-axis and intercept โqโ on the โyโ-axis, where โp > qโ. The sum of the intercepts is 2 and the product of the intercepts is โ-15โ. What is the equation of the line?
(a) โ3x - 5y - 15 = 0โโโ(b) โ3x - 5y + 15 = 0โโโ(c) โ5x - 3y - 15 = 0โโโ(d) โ5x + 3y - 15 = 0โ
Solution. โp + q = 2โ and โpq = -15โ, so โpโ and โqโ are the roots of โt^2 - 2t - 15 = 0โ, that is โ5โ and โ-3โ. Since โp > qโ, โp = 5โ and โq = -3โ. Intercept form: โ\dfrac{x}{5} - \dfrac{y}{3} = 1โ. Multiply by 15: โ3x - 5y - 15 = 0โ. Answer (a).
Notice that each question is answered by one form or one formula of this chapter. The skill is to see which one.
9. Mistakes that cost marks
- The slope of โax + by + c = 0โ is โ-\frac{a}{b}โ. It is not โ\frac{a}{b}โ and not โ-\frac{b}{a}โ. For โ2x + 3y - 6 = 0โ the slope is โ-\frac{2}{3}โ.
- Perpendicular slopes multiply to โ-1โ. If one slope is โ\frac{2}{3}โ, the other is โ-\frac{3}{2}โ: turn it over and change the sign. Doing only one of the two is wrong.
- Distance between parallel lines with unequal coefficients. For โ2x + y - 3 = 0โ and โ4x + 2y + 5 = 0โ, first halve the second equation. Using โ|-3 - 5|โ is wrong.
- The constant in the normal form. In โx\cos\alpha + y\sin\alpha = pโ the number โpโ is a length, so it must be positive, and the squares of the two coefficients must add up to 1.
10. Quick check
Do these without help. Answers are at the end.
- Find the slope of the line joining โ(-1, 4)โ and โ(3, -4)โ.
- Write the equation of the line with x-intercept 3 and y-intercept โ-2โ in general form.
- Find the distance of the point โ(1, -2)โ from the line โ5x - 12y + 10 = 0โ.
- For what value of โkโ are the lines โ2x + ky - 7 = 0โ and โ3x - 2y + 1 = 0โ perpendicular?
- Find the acute angle between two lines whose slopes are โ2โ and โ-3โ.
11. Read and watch more, free
| What | Where | Language |
|---|---|---|
| Textbook | NCERT Class 11 Mathematics, Chapter 9 Straight Lines ยท Hindi edition | English, Hindi |
| Self-study notes | NIOS Mathematics, Lesson 14 Straight Lines ยท Hindi edition | English, Hindi |
| Video, this chapter for NDA | Defence Wallah: Fast Track series (the video "STRAIGHT LINES", about 2 hours) | Hinglish |
| Video, a longer class for NDA | Chandigarh Career Group: NDA Maths one shots (Class 2, "Straight line", about 4 hours 30 minutes) | Hinglish |
| Video, short lessons | Khan Academy India: Straight Lines, Class 11 (30 short lessons on slope and the forms of a line) | Hindi |
| Past questions with answers | ExamSIDE: Coordinate System and Straight Line | English |
The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.
Answers to the quick check
- โ\dfrac{-4 - 4}{3 - (-1)} = \dfrac{-8}{4} = -2โ.
- โ\dfrac{x}{3} + \dfrac{y}{-2} = 1โ. Multiply by 6: โ2x - 3y - 6 = 0โ.
- โ\dfrac{|5 + 24 + 10|}{\sqrt{25 + 144}} = \dfrac{39}{13} = 3โ.
- โ2 \times 3 + k \times (-2) = 0โ, so โk = 3โ.
- โ\tan\theta = \left| \dfrac{2 - (-3)}{1 + 2 \times (-3)} \right| = \left| \dfrac{5}{-5} \right| = 1โ, so โ\theta = 45^\circโ.
Next chapter: The circle.