Parallelism and perpendicularity
Look at any two straight lines drawn on graph paper and coordinate geometry lets you answer, without a protractor, whether they run in exactly the same direction or cross at a perfect right angle. The tool is the slope: two lines are parallel exactly when their slopes match, and perpendicular exactly when their slopes multiply to . These two one-line tests, direct consequences of the general angle-between-two-lines formula, are used constantly in Class 11 coordinate geometry — to check a claimed parallelism, to find a missing coordinate, or to build the equation of a line through a given point parallel or perpendicular to another. This article derives both conditions from the angle formula, works a full example end to end, and flags the sign slips that cost the most marks.
Two non-vertical lines with slopes are parallel when and perpendicular when , both falling straight out of the general angle-between-two-lines formula at and .
The core idea
Every non-vertical line has a slope, and the slope fixes the line's inclination — the angle it makes with the positive -axis. Comparing two lines is therefore just comparing two numbers. For two lines with slopes and , the acute angle between them satisfies
where: are the slopes of the two lines, and is the acute angle between them (the absolute value guarantees comes out acute, never obtuse). This single formula contains both special cases a student needs.
- Parallel lines have the same inclination, so the angle between them is . Setting forces , which needs the numerator to vanish:
where: are the slopes of the two lines; equality of slope is both necessary and sufficient for two distinct lines to be parallel.
- Perpendicular lines meet at , where is undefined — which happens exactly when the denominator is zero:
where: are again the two slopes; the condition says each slope is the negative reciprocal of the other, . One pairing slips through both formulas: a vertical line (slope undefined) and a horizontal line (slope ) are always perpendicular, even though cannot literally be evaluated since one slope does not exist. This case must be recognised by inspection, not by the product test. Notice, too, that both conditions are symmetric — swapping and leaves and unchanged, exactly as it should be, since "line is parallel/perpendicular to line " cannot depend on which line you call first. This symmetry is a quick sanity check on any algebra you carry out with the conditions: if your final answer breaks it, something has gone wrong upstream. The two conditions also interact usefully with the earlier idea of collinearity — three points are collinear exactly when the slope between any two pairs among them agrees, which is the parallel condition applied to overlapping segments of the same line.
Where the perpendicular condition comes from
The parallel condition is nearly self-evident, but the negative-reciprocal rule for perpendicularity is easy to misremember under exam pressure, so it is worth seeing it derived once rather than only memorised.
The goal is to show, using only the tangent addition formula that a Class 11 student already has from trigonometry, that two lines are perpendicular exactly when the product of their slopes equals , so that the rule can be reconstructed on demand rather than recalled by rote and risking a sign error.
Step 1. Let and be the inclinations of the two lines, so that by definition and . Two lines are perpendicular precisely when their inclinations differ by a right angle, so take .
Step 2. Substitute into to get . This is not one of the standard sum-formula inputs directly, so rewrite it using the identity , which follows from and .
Step 3. Since , Step 2 gives .
Step 4. Multiply both sides by to clear the fraction: . This is exactly the condition to be shown, and it also displays the sign structure directly — the negative sign and the reciprocal both come from the same shift, so neither can be dropped without breaking the identity. Check: a line of slope should be perpendicular to a line of slope , since . Rotating a line of inclination by gives inclination , whose tangent is indeed , confirming the algebra.
Worked example
Problem. Find the value of so that the line through and is perpendicular to the line through and .
Step 1. Find the slope of first, since both its points are fully known:
Step 2. Write the slope of in terms of the unknown :
Step 3. Apply the perpendicularity condition :
Step 4. Solve for : , so .
Step 5. Verify: with , , and , confirming perpendicularity.
Answer: .
Competitive stretch
A quick companion check: is the line through and parallel to the line through and ? Slope of is , and slope of is . Since and the lines pass through different points, they are parallel and distinct — the same one-line check, applied in the other direction.
Common traps
- Applying when one line is vertical or horizontal — the formula needs both slopes to exist; treat the vertical–horizontal pair as a special perpendicular case by inspection instead.
- Swapping the two conditions: writing for parallel lines or for perpendicular lines.
- Sign slips when solving for an unknown slope from — the negative reciprocal flips both sign and fraction, so slope pairs with , not or .
- Assuming equal slopes make two lines the same line — equal slope only proves parallel (or coincident); check the points if coincidence needs to be ruled out.
- Forgetting the general angle formula's absolute value returns only the acute angle; an obtuse angle asked for in a problem is minus that value.
- Rushing to the perpendicularity test without first checking whether either line is vertical or horizontal — a two-second glance at the coordinates (do the -values match, or do the -values match) avoids dividing by zero later.
Ask the tutor: want to practice spotting parallel and perpendicular lines from coordinates, or work through more find-the-unknown-slope problems together?
Why does the perpendicular condition involve a negative sign at all?
Because perpendicular lines have inclinations differing by exactly , and rotating a direction by sends its tangent to the negative reciprocal of the original tangent, not the plain reciprocal. That single shift is where both the minus sign and the flipped fraction come from together, which is why the derivation from is worth remembering over blind memorisation of .
How do I handle a vertical line in these problems, since its slope does not exist?
Do not force it into the or formulas — both need real-number slopes. Instead reason directly: a vertical line is parallel only to other vertical lines, and it is perpendicular only to horizontal lines (slope ). Spot a vertical or horizontal line in the problem and handle it as this special case before reaching for the slope formulas.
If I get two equal slopes, can I conclude the lines are identical rather than just parallel?
No — equal slope only guarantees the lines point in the same direction; it says nothing about whether they are the same line. Two lines with slope passing through different points, such as through and through , are parallel but distinct. To confirm they are the same line, you would additionally need a shared point, not just a shared slope.