For an interactive study experience with progress tracking, bookmarks, and solutions, try our reader.
Open in Interactive ReaderChapter Overview
This chapter is the backbone of coordinate geometry — the beautiful fusion of algebra and Euclidean geometry pioneered by French mathematician René Descartes. A straight line is the simplest curve, yet it appears in GPS navigation, structural engineering, data science (linear regression), and almost every branch of mathematics. In NEB board exams, straight-line questions appear across every section — from 1-mark MCQs to 5-mark long proofs. Master this chapter and coordinate geometry becomes easy.
What this chapter covers
Distance, Section, and Area FormulasSlope and Inclination of a LinePoint-Slope and Two-Point FormsSlope-Intercept Form y = mx + cDouble Intercept Form x/a + y/b = 1Normal Form x cosα + y sinα = pGeneral Form ax + by + c = 0Angle Between Two LinesConditions for Parallel and Perpendicular LinesLength of Perpendicular from a Point to a LineDistance Between Parallel LinesAngle Bisectors of Two LinesConcurrency of Three Lines
Learning Objectives
1
Apply the distance, section, midpoint, centroid, and area formulas correctly in all problem types
2
Write the equation of a straight line in any form (point-slope, two-point, slope-intercept, intercept, normal) and convert between them
3
Calculate the angle between two lines and state conditions for parallel (m₁ = m₂) and perpendicular (m₁m₂ = −1) lines
4
Find the perpendicular distance from any point to any line using the standard formula
5
Determine the distance between two parallel lines
6
Find the equations of angle bisectors of two lines and identify which one contains the origin or is acute
Every Line in the Plane is ax + by + c = 0
Key Insight
No matter what form you start with — slope-intercept, two-point, intercept, normal — every straight line can be written as ax + by + c = 0 (General Form). This single equation captures everything about the line.
Slope = −a/b. X-intercept = −c/a. Y-intercept = −c/b. Perpendicular distance from (x₁, y₁) = |ax₁ + by₁ + c| / √(a²+b²). All five forms are just different ways of writing this same equation.
Slope = −a/b. X-intercept = −c/a. Y-intercept = −c/b. Perpendicular distance from (x₁, y₁) = |ax₁ + by₁ + c| / √(a²+b²). All five forms are just different ways of writing this same equation.
In NEB exams: when asked to find a line parallel to ax+by+c=0, write ax+by+k=0. When perpendicular: bx−ay+k=0. Just change the constant or swap and negate the coefficients.
Key Definitions
Abscissa
The x-coordinate of a point. The horizontal distance from the y-axis.
Ordinate
The y-coordinate of a point. The vertical distance from the x-axis.
Inclination (θ)
The angle made by a line with the positive direction of the x-axis, measured counterclockwise. Range: 0° ≤ θ < 180°.
$$0^\circ \le \theta < 180^\circ$$
Slope (m)
The tangent of the angle of inclination. Measures how steep a line is. Positive slope = rising left to right. Negative = falling. Zero = horizontal. Undefined = vertical.
$$m = \tan \theta = \frac{y_2 - y_1}{x_2 - x_1}$$
X-Intercept (a)
The x-coordinate of the point where the line crosses the x-axis (where y = 0).
Y-Intercept (c or b)
The y-coordinate of the point where the line crosses the y-axis (where x = 0).
Centroid (G)
The point where the three medians of a triangle intersect. It divides each median in the ratio 2:1 from vertex.
$$G = \left(\frac{x_1+x_2+x_3}{3},\; \frac{y_1+y_2+y_3}{3}\right)$$
Orthocentre (H)
The point of intersection of the three altitudes of a triangle. An altitude is the perpendicular from a vertex to the opposite side.
Circumcentre
The intersection point of the perpendicular bisectors of the sides. It is equidistant from all three vertices.
Concurrent Lines
Three or more lines are concurrent if they all pass through the same single point. Test: solve any two lines, then check if the third passes through the solution point.
Parallel Lines vs Perpendicular Lines
The two most tested line relationships in NEB exams. Memorise both conditions cold.
Parallel Lines
$$m_1 = m_2$$
Equal slopes — both lines rise/fall at the same rate
Never intersect (or coincide if also same c)
Line parallel to ax+by+c=0 → write ax+by+k=0 (same coefficients, different constant)
Distance between them = $\frac{|c_1-c_2|}{\sqrt{a^2+b^2}}$ (only when a, b coefficients are identical)
Keywords: 'parallel to', 'same direction as', 'equidistant from'
VS
Perpendicular Lines
$$m_1 \cdot m_2 = -1$$
Slopes are negative reciprocals of each other: if m₁ = k, then m₂ = −1/k
Intersect at exactly 90°
Line perpendicular to ax+by+c=0 → write bx−ay+k=0 (swap a,b; negate one)
Special case: horizontal (m=0) is perpendicular to vertical (undefined slope)
Keywords: 'perpendicular to', 'at right angles', 'normal to'
Quick check: Are slopes equal? → Parallel. Do slopes multiply to −1? → Perpendicular. Neither? → Intersecting at some angle.
Complete Formula Sheet with Derivations
Distance Between Two Points
$$d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}$$
Distance is always positive. Comes directly from Pythagoras' theorem.
Internal Section Formula
$$P = \left(\frac{m_1 x_2 + m_2 x_1}{m_1+m_2},\; \frac{m_1 y_2 + m_2 y_1}{m_1+m_2}\right)$$
P divides AB internally in the ratio m₁ : m₂. For external division, use a minus sign.
Area of a Triangle
$$\Delta = \frac{1}{2}|x_1(y_2-y_3) + x_2(y_3-y_1) + x_3(y_1-y_2)|$$
Always take the absolute value. If the result is 0, the three points are collinear.
Point-Slope Form
$$y - y_1 = m(x - x_1)$$
Use when given slope m and one point (x₁, y₁). Most directly derived form.
Two-Point Form
$$\frac{y - y_1}{y_2 - y_1} = \frac{x - x_1}{x_2 - x_1}$$
Use when two points on the line are given. Equivalent to substituting the slope formula into point-slope form.
Slope-Intercept Form
$$y = mx + c$$
m = slope, c = y-intercept. Fastest form to read off both values.
Double Intercept Form
$$\frac{x}{a} + \frac{y}{b} = 1$$
a = x-intercept, b = y-intercept. Use when both intercepts are given. Don't swap a and b!
Normal Form
$$x \cos \alpha + y \sin \alpha = p$$
α = angle the normal (perpendicular) from origin makes with x-axis. p = perpendicular distance from origin to line (always positive).
Angle Between Two Lines
$$\tan \theta = \pm\frac{m_1 - m_2}{1 + m_1 m_2}$$
Use + for acute angle, − for obtuse. If m₁m₂ = −1, angle is 90°. If m₁ = m₂, angle is 0° (parallel).
Perpendicular Distance from Point to Line
$$d = \frac{|ax_1 + by_1 + c|}{\sqrt{a^2 + b^2}}$$
Most frequently tested formula in NEB. Always take absolute value in numerator.
Distance Between Parallel Lines
$$d = \frac{|c_1 - c_2|}{\sqrt{a^2 + b^2}}$$
Only valid when BOTH lines have identical a and b coefficients. Make sure to match coefficients first!
Angle Bisectors of Two Lines
$$\frac{a_1x + b_1y + c_1}{\sqrt{a_1^2+b_1^2}} = \pm\frac{a_2x + b_2y + c_2}{\sqrt{a_2^2+b_2^2}}$$
+ gives one bisector, − gives the other. To find the bisector containing the origin: make constants positive, then the + case contains the origin.
Which Form of Line Equation Should I Use?
Given what the problem tells you, follow this decision tree to choose the right form immediately.
Are TWO POINTS on the line given?
Yes
Use Two-Point Form: (y−y₁)/(y₂−y₁) = (x−x₁)/(x₂−x₁)
No
Continue ↓
Are the X-intercept (a) and Y-intercept (b) given?
Yes
Use Double Intercept Form: x/a + y/b = 1
No
Continue ↓
Is the SLOPE (m) given along with ONE POINT?
Yes
Use Point-Slope Form: y − y₁ = m(x − x₁)
No
Continue ↓
Is slope (m) and y-intercept (c) given?
Yes
Use Slope-Intercept Form: y = mx + c
No
Use Normal Form (if perpendicular distance from origin p and angle α are given): x cosα + y sinα = p
The Four Quadrants and Sign Rules
The x-axis and y-axis divide the plane into four quadrants. The sign of coordinates changes in each quadrant, and this affects slope calculations and angle interpretations.
$$\text{Q-I: }(+,+) \quad \text{Q-II: }(-,+) \quad \text{Q-III: }(-,-) \quad \text{Q-IV: }(+,-)$$
Why it works (Derivation):
1Quadrant I (top-right): Both x and y positive. Lines here with positive slope go upward to the right. Inclination θ is between 0° and 90°.
2Quadrant II (top-left): x negative, y positive. Lines going from Q-I to Q-II typically have positive slope still. Inclination between 90° and 180° gives negative slope (tan of obtuse angle is negative).
3Key rule for slope: A line with positive slope (/) rises left to right. A line with negative slope (\) falls left to right. Horizontal line: slope = 0. Vertical line: slope undefined.
Example: Slope of a line with inclination 135°: m = tan(135°) = tan(180°−45°) = −tan(45°) = −1.
When to use: Slope sign tells you direction. Quadrant tells you where a point lies. Together they help set up equations correctly.
Memory Tricks — Never Forget These
Trick: Four quick memory hooks that cover the most common formula confusions in this chapter.
Steps to Remember:
- Slope sign — The Hiker: Imagine walking left to right. Going uphill = positive slope. Going downhill = negative slope. Standing still (horizontal) = zero slope. Walking straight up a cliff (vertical) = undefined slope.
- Perpendicular — Negative Reciprocal: If slope is $m$, the perpendicular slope is $-\frac{1}{m}$. Remember: multiply them: $m \times (-\frac{1}{m}) = -1$. The product is always −1.
- Centroid — The Average: Centroid is just the average of all x-coordinates and the average of all y-coordinates. No other formula to memorise: $G = (\bar{x}, \bar{y})$.
- Intercept Form — a is x, b is y: In $\frac{x}{a} + \frac{y}{b} = 1$, set y=0 to get x = a (x-intercept), set x=0 to get y = b (y-intercept). The variable tells you which intercept.
- Parallel line trick: Same ax+by, just change c. Perpendicular line trick: swap a and b, negate one, change c. Example: parallel to 3x+4y=5 → 3x+4y=k. Perpendicular to 3x+4y=5 → 4x−3y=k.
Mnemonic: Hiker for slope | Negative reciprocal for perp | Average for centroid | Variable matches intercept in double-intercept form
Common Mistakes
These mistakes cause the most mark losses in NEB exams for this chapter.
- Section Formula Signs: Students use a plus sign for external division. Remember: Internal = (+), External = (−) in the denominator. External division formula: $\left(\frac{m_1 x_2 - m_2 x_1}{m_1 - m_2},\; \frac{m_1 y_2 - m_2 y_1}{m_1 - m_2}\right)$.
- Intercept form confusion: In $\frac{x}{a} + \frac{y}{b} = 1$, $a$ is the x-intercept and $b$ is the y-intercept. Never swap them.
- Parallel distance without matching coefficients: Before using $d = \frac{|c_1-c_2|}{\sqrt{a^2+b^2}}$, ensure the coefficients of x and y are identical in both equations. Rewrite if needed.
- Missing absolute value: In both the perpendicular distance formula and the area formula, the absolute value $|...|$ is mandatory. Without it you risk a negative answer.
- Vertical line slope: The slope of a vertical line is undefined (not 0 — that's horizontal). Don't write m = ∞.
- Angle bisector — wrong sign for origin: To find the bisector containing the origin, first make the constant terms of both lines positive, THEN the $(+)$ case is the bisector containing the origin.
NEB Exam Traps — These Appear Every Year
NEB Exam Warning
Board examiners specifically test these edge cases. Knowing them can save 2–5 marks.
- Asking for slope of line perpendicular to a vertical line — perpendicular to a vertical line is horizontal, slope = 0 (not undefined).
- Parallel lines $2x+3y=5$ and $4x+6y=10$ — students say 'different equations so different lines'. They are the same line (second = 2 × first). Check for coincidence first.
- Area formula gives zero — students panic. Zero area means the three points are collinear, not on a triangle. This is the correct test for collinearity.
- Line through intersection of two lines: the general form is $L_1 + \lambda L_2 = 0$. NEB often asks for this — students forget the $\lambda$ parameter trick.
- Centroid of a triangle is always inside the triangle. Circumcentre, orthocentre, incentre may be outside for obtuse/right triangles.
- When both equations have the same coefficients but different constants (parallel), perpendicular distance formula works. But if slopes differ, find intersection point and use basic distance formula.
Question Recognition Guide
| Keyword / Phrase in Question | Use This |
|---|---|
| Line passes through (x₁,y₁) and (x₂,y₂) | Two-Point Form |
| Slope m given, passes through (x₁,y₁) | Point-Slope Form: y−y₁ = m(x−x₁) |
| Slope m and y-intercept c given | Slope-Intercept Form: y = mx+c |
| x-intercept a and y-intercept b given | Double Intercept Form: x/a + y/b = 1 |
| Perpendicular from origin = p, angle α given | Normal Form: x cosα + y sinα = p |
| 'Parallel to line L' condition | Same ax+by, different constant: ax+by+k=0 |
| 'Perpendicular to line L' condition | Swap a,b; negate one: bx−ay+k=0 |
| Distance from point to line | d = |ax₁+by₁+c| / √(a²+b²) |
| Distance between two parallel lines | d = |c₁−c₂| / √(a²+b²) (must match coefficients first) |
| Angle bisectors of two lines | (a₁x+b₁y+c₁)/√(a₁²+b₁²) = ±(a₂x+b₂y+c₂)/√(a₂²+b₂²) |
| Bisector containing the origin | Make constants positive, then use + sign case |
| Three lines concurrent? | Solve first two lines for intersection, substitute into third |
| Three points collinear? | Area formula = 0, OR slopes of AB and BC are equal |
| Line through intersection of L₁ and L₂ | Use L₁ + λL₂ = 0, find λ from extra condition |
Solved Examples (Easy → Hard)
1
Find the slope of the line passing through $(3, -2)$ and $(-1, 4)$.
Easy
2
Find the equation of a line passing through $(1, 2)$ and parallel to $3x - 4y + 5 = 0$.
Easy
3
Find the area of a triangle with vertices $A(1,2)$, $B(3,4)$, and $C(0,-1)$.
Medium
4
Find the perpendicular distance from the point $(3, 4)$ to the line $5x - 12y + 2 = 0$.
Medium
5
Find the equation of the bisector of the acute angle between $x + y - 1 = 0$ and $x - 7y - 4 = 0$.
Hard
MCQ Practice
Mixed Level — MCQ
1
What is the slope of a line perpendicular to the x-axis?
Correct!
Incorrect. Correct: Undefined
2
If the area of a triangle with vertices $(k, 0)$, $(0, 0)$, and $(0, 2)$ is 4 sq. units, find $k$.
Correct!
Incorrect. Correct: 4
3
The centroid of a triangle with vertices $(1,2)$, $(3,4)$, and $(5,6)$ is:
Correct!
Incorrect. Correct: $(3, 4)$
4
A line has x-intercept $a=3$ and y-intercept $b=-2$. Its equation is:
Correct!
Incorrect. Correct: $2x - 3y = 6$
5
Distance between parallel lines $3x + 4y = 10$ and $3x + 4y = 0$:
Correct!
Incorrect. Correct: 2
6
If $m_1 \cdot m_2 = -1$, the lines are:
Correct!
Incorrect. Correct: Perpendicular
7
The equation $y = 5$ represents a line:
Correct!
Incorrect. Correct: Parallel to x-axis
8
The ratio in which the x-axis divides the segment joining $(2,-3)$ and $(5,6)$ is:
Correct!
Incorrect. Correct: 1:2
9
The length of the perpendicular from $(0,0)$ to $x + y + 1 = 0$ is:
Correct!
Incorrect. Correct: $1/\sqrt{2}$
10
Which form of the line equation is $x\cos\alpha + y\sin\alpha = p$?
Correct!
Incorrect. Correct: Normal form
Short Questions (2 Marks Each)
1
Find the equation of a line with slope 2 passing through $(-1, 3)$.
[2 marks]
2
Find the x and y intercepts of $4x - 5y = 20$.
[2 marks]
3
Determine if lines $2x + 3y = 7$ and $4x + 6y = 5$ are parallel.
[2 marks]
4
Find the inclination of a line with slope $\sqrt{3}$.
[2 marks]
5
If lines $3x - ay + 2 = 0$ and $2x + 3y - 1 = 0$ are perpendicular, find $a$.
[2 marks]
6
Find the distance between $(2,3)$ and $(-1,-1)$.
[2 marks]
7
Find the mid-point of the line joining $(4,8)$ and $(2,10)$.
[2 marks]
8
Find the equation of a line parallel to the y-axis passing through $(4,5)$.
[2 marks]
9
Are the points $(1,1)$, $(2,2)$, and $(3,3)$ collinear?
[2 marks]
10
Find the area of a triangle with vertices $(0,0)$, $(4,0)$, and $(0,3)$.
[2 marks]
Long Questions (4–5 Marks Each)
1
Find the equation of the line passing through the intersection of $x+y=4$ and $2x-y=2$, and perpendicular to $3x+y=5$.
[4 marks]
2
Show that the lines $x+y-1=0$, $2x+3y-5=0$, and $3x+5y-9=0$ are concurrent.
[4 marks]
3
A line passes through $(2,3)$ such that its segment between the axes is bisected at this point. Find its equation.
[4 marks]
4
Find the coordinates of the foot of the perpendicular from $(1,2)$ to the line $x-y+3=0$.
[5 marks]
5
Find the distance between the parallel lines $5x+12y-13=0$ and $5x+12y+26=0$.
[4 marks]
6
Find the equation of the median through $A$ for a triangle with vertices $A(1,2)$, $B(3,4)$, $C(5,-2)$.
[4 marks]
7
Find the equation of a line making $45°$ with $2x - y + 3 = 0$ and passing through $(1, 0)$.
[5 marks]
8
Find the ratio in which $x - y - 2 = 0$ divides the segment joining $(3,-1)$ and $(8,9)$.
[4 marks]
9
Prove that the points $(1,1)$, $(-1,-1)$, and $(-\sqrt{3}, \sqrt{3})$ form an equilateral triangle.
[5 marks]
10
Find the equation of the bisector of the angle containing the origin for $3x-4y+6=0$ and $5x+12y-10=0$.
[5 marks]
Past NEB Board Questions
Past NEB Board Questions
1
Find the equation of a straight line passing through the intersection of $2x+y-4=0$ and $x-y+1=0$, and parallel to $3x+5y=7$.
NEB 2079
[4 marks]
2
Find the equation of the angle bisectors of the lines $3x-4y+7=0$ and $12x+5y-2=0$. Also find which bisector passes through the origin.
NEB 2078
[5 marks]
3
Prove that the lines $2x-3y+4=0$, $4x-y-2=0$, and $x+2y-3=0$ are concurrent and find the point of concurrency.
NEB 2077
[4 marks]
4
A line cuts the x-axis at $A$ and y-axis at $B$. If the midpoint of $AB$ is $(h, k)$, find the equation of the line in terms of h and k.
NEB 2076
[3 marks]
Chapter Test — Full Mixed Paper
Attempt this test in 50 minutes without notes. This mirrors the NEB exam format.
1
Section A — MCQs (1 Mark Each)
Mixed Level — MCQ
1
Slope of $x + y = 0$ is:
Correct!
Incorrect. Correct: −1
2
The equation of the x-axis is:
Correct!
Incorrect. Correct: y = 0
3
Distance between $(0,0)$ and $(3,4)$ is:
Correct!
Incorrect. Correct: 5
2
Section B — Short Questions (2 Marks Each)
1
Find the slope of the line joining $(1,2)$ and $(3,5)$.
[2 marks]
2
Are $y = 2x+1$ and $y = 2x-5$ parallel?
[2 marks]
3
Section C — Long Questions (4–5 Marks Each)
1
Find the equation of angle bisectors of $3x-4y+7=0$ and $12x+5y-2=0$.
[5 marks]
2
A line passes through $(3,4)$ such that its intercepts on the axes are equal. Find its equation.
[4 marks]
One-Page Revision Cheat Sheet
1
Distance: $d = \sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$ — always positive.
2
Section (internal): $P = \left(\frac{m_1x_2+m_2x_1}{m_1+m_2},\; \frac{m_1y_2+m_2y_1}{m_1+m_2}\right)$. External: replace + with −.
3
Centroid: Average of coordinates: $G = \left(\frac{\sum x}{3}, \frac{\sum y}{3}\right)$.
4
Area: $\frac{1}{2}|x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)|$. Zero → collinear.
5
Slope: $m = \tan\theta = (y_2-y_1)/(x_2-x_1)$. Vertical → undefined. Horizontal → 0.
6
Parallel: $m_1 = m_2$. Same ax+by, change constant.
7
Perpendicular: $m_1 m_2 = -1$. Swap a,b; negate one; change constant.
8
Point-slope: $y-y_1 = m(x-x_1)$. Two-point: substitute slope formula.
9
Intercept form: $x/a + y/b = 1$ — a is x-intercept, b is y-intercept.
10
Normal form: $x\cos\alpha + y\sin\alpha = p$ — p is perpendicular distance from origin.
11
Angle between lines: $\tan\theta = \pm(m_1-m_2)/(1+m_1m_2)$.
12
Perp distance: $d = |ax_1+by_1+c|/\sqrt{a^2+b^2}$ — memorise this cold.
13
Parallel lines distance: $d = |c_1-c_2|/\sqrt{a^2+b^2}$ — match coefficients first.
14
Angle bisectors: $(a_1x+b_1y+c_1)/\sqrt{a_1^2+b_1^2} = \pm(a_2x+b_2y+c_2)/\sqrt{a_2^2+b_2^2}$.
15
Bisector through origin: Make constants positive → use (+) case.