Slope and angle between lines
Two straight lines crossing on a page make an angle — but you never need a protractor to find it. The slope of a line is a single number that captures its steepness and tilt, and once you know the slopes of two lines, plain algebra hands you the angle between them, including the special cases where the lines never meet (parallel) or meet at a perfect right angle (perpendicular). This is the first genuinely new idea in the ISC Class 11 Coordinate Geometry unit, arriving right after the recall of distance, section and area formulas from ICSE Class 10. Slope is the load-bearing concept for everything that follows: every form of a line's equation is built from it, and later topics such as distance from a line and angle bisectors lean on it directly. Master the sign conventions here and the rest of straight-line geometry becomes bookkeeping.
The slope of a line fixes its direction, and comparing two slopes through gives the angle between the lines, with signalling parallel lines and signalling perpendicular lines.
The core idea
Slope from two points. A line is tilted the same way everywhere, so any two of its points give the same ratio of rise to run. For a line through and with ,
where: is the slope (a pure number, no units), and , are any two distinct points on the line, subtracted in matching order.
Slope as inclination. Every non-vertical line makes a definite angle with the positive -axis, measured anticlockwise, . The slope is simply . A horizontal line has , so ; a vertical line has , where tangent is undefined, so vertical lines have no defined slope — they are the one case slope cannot describe.
Reading the sign. A positive slope means the line climbs as you move right (acute inclination); a negative slope means it falls (obtuse inclination); zero slope means flat. This sign picture is exactly why the angle-between-lines formula below needs an absolute value — two lines of opposite-sign slope meet at both an acute and an obtuse angle, and we always want the acute one first.
Angle between two lines. For two lines with slopes and (neither vertical), the acute angle between them satisfies
where: are the two slopes and the modulus guarantees lands in , the acute angle; the obtuse angle between the same pair of lines is .
Parallel and perpendicular conditions. Two non-vertical lines are parallel exactly when (two vertical lines are also parallel to each other, despite having no slope). Two non-vertical, non-horizontal lines are perpendicular exactly when
equivalently , each slope the negative reciprocal of the other. A horizontal and a vertical line are perpendicular by direct inspection, not by this formula, since the vertical one has no slope to plug in.
The goal is to derive the tangent-of-angle-between-lines formula, , starting only from the definition for a single line's inclination and the standard tangent-subtraction identity from trigonometry, so that a student can see the absolute value is a deliberate choice, not a decoration.
Step 1. Let the two lines have inclination angles and with the positive -axis, so their slopes are and . The angle between the lines, measured from line 2 to line 1, is .
Step 2. Apply the tangent-subtraction identity: . Substituting the slopes for the tangents gives .
Step 3. This raw expression can come out negative — for instance if is obtuse, its tangent is negative even though the lines also make a perfectly good acute angle on the other side. Since a pair of lines actually makes two angles that add to (one acute, one obtuse), and only the acute one is the conventional "angle between the lines," take the absolute value to force the answer into : .
Step 4. Check the special cases fall out correctly. If , the numerator is zero, so and — the lines are parallel, as expected. If , the denominator is zero, so is undefined, meaning — the lines are perpendicular. Both boundary conditions confirm the formula behaves exactly as the geometry demands.
Worked example
Find the angle between the lines with slopes and , and then find the equation of the line through that is perpendicular to the line of slope .
Step 1. Substitute into the angle formula: .
Step 2. Solve for the angle: . This is the acute angle between the two lines; the obtuse angle between the same pair is .
Step 3. For the perpendicular line, its required slope must satisfy with , so .
Step 4. Apply point-slope form through with slope : , which simplifies to , or .
The acute angle between the two given lines is , and the perpendicular line through is .
Competitive stretch
A line passes through and , and a second line passes through and . Show is parallel to , then find a point with -coordinate so that segment is perpendicular to .
Step 1. Slope of : . Slope of : . Since , the two lines are parallel, and since they clearly pass through different points, they are distinct parallel lines, not the same line.
Step 2. The line must be perpendicular to , whose slope is , so the required slope satisfies , giving .
Step 3. Apply point-slope form through with slope : . At : , so .
and are parallel (both slope ), and makes perpendicular to .
Common traps
- Dividing coordinates in the wrong order. Slope must be with both differences taken in the same point order — swapping one but not the other flips the sign.
- Dropping the absolute value in the angle formula. Without it, can come out negative, which does not correspond to any angle in the expected acute range — always take the modulus first.
- Applying to a vertical or horizontal pair. A vertical line has no slope, so it cannot be substituted into this formula; a horizontal and a vertical line are perpendicular by inspection instead.
- Mixing up parallel with coincident. Equal slopes only guarantee the lines are parallel, not identical — check the intercepts (or a shared point) if the question asks whether two lines are actually the same line.
Ask the tutor: If you get a negative value under the square-root-free tangent formula and are unsure whether to keep or flip the sign, ask the AI tutor to walk through it with your specific pair of slopes.
Why does a vertical line have no slope instead of a slope of zero?
Slope is defined as , and for a vertical line every point shares the same -coordinate, so and the fraction becomes division by zero, which is undefined, not zero. Equivalently, a vertical line has inclination , and is undefined. A slope of exactly zero describes a horizontal line instead, where the numerator vanishes rather than the denominator. Keep these two cases distinct: zero slope means flat, undefined slope means vertical.
Do I always use the acute angle, or can a question want the obtuse one?
The formula is built to hand you the acute angle directly, because of the absolute value. If a question explicitly asks for the obtuse angle between two lines, just compute this acute first and then subtract it from , since the two angles a pair of intersecting lines makes are always supplementary. Unless a question specifies otherwise, "the angle between two lines" conventionally means the acute one.
How is the perpendicular condition m1 times m2 equals negative one actually used in problems?
It usually shows up in two directions. Given both slopes, you check whether their product is to confirm perpendicularity, as in the quiz above. Given one slope and asked to find a perpendicular line, you first find the required slope as the negative reciprocal, , and then build the line's equation with point-slope form using a known point, exactly as in the worked example here. Both uses come from the same single equation, just solved for a different unknown.