Overview
This chapter introduces Straight Lines in the coordinate plane — a foundational topic in analytic geometry. It develops algebraic equations that represent lines, explains geometric properties (slope, intercepts, angle with axes), and gives methods to find relationships between lines (parallelism, perpendicularity, intersection). Understanding straight lines is essential for graphing linear relationships, solving geometric problems using algebra, and forms the basis for conic sections and higher coordinate-geometry topics. Students will learn standard forms of line equations (slope-intercept, two-point, point-slope, intercept, normal and general forms), how to convert between these forms, how to compute slope and angle between lines, how to test for parallel or perpendicular lines, how to find the distance from a point to a line, and how to work with families of lines and angle bisectors. The chapter emphasizes problem solving: writing equations from geometric conditions, finding intersection points, using distance and slope formulas, and applying these tools to prove and compute geometric quantities.
Learning Objectives
- Define the slope of a line and explain its geometric significance
- Explain different standard forms of the equation of a straight line (two-point, point-slope, slope-intercept, intercept, general, normal)
- Derive the two-point, point-slope and slope-intercept forms of the equation of a line from given points or slope
- Convert between two-point, point-slope, slope-intercept, intercept and general forms of a line's equation
- Determine the equation of a line passing through two given points or through a given point with a specified slope
- Find equations of lines parallel or perpendicular to a given line that pass through a specified point
- Compute the angle between two lines and use it to classify lines as parallel, perpendicular or oblique
- Calculate the perpendicular distance from a point to a line and apply it to shortest-distance problems
Topics in this chapter
11 topics · tap a topic title to jump straight to it.
Introduction & Cartesian equation of a line
Introduction
In the Cartesian (xy) plane a straight line is the set of points (x,y) that satisfy a linear relation between x and y. A line can be uniquely determined by: a point and a slope (gradient), two distinct points, or the intercepts it makes on the axes.
Slope (gradient) of a line
The slope m of the line through points (x1,y1) and (x2,y2) is m = (y2 − y1)/(x2 − x1), provided x1 ≠ x2. The slope is the tangent of the angle θ the line makes with the positive x-axis: m = tan θ. Horizontal lines have m = 0 and vertical lines have undefined slope.
Common Cartesian forms and derivations
- Slope-intercept form: y = mx + c. Here m is the slope and c is the y-intercept (value of y when x = 0). Derivation: using slope m and a point (0,c).
- Point-slope form: y − y1 = m(x − x1). This gives the line through (x1,y1) with slope m.
- Two-point form: (y − y1)/(y2 − y1) = (x − x1)/(x2 − x1). This is the equation of the line through (x1,y1) and (x2,y2).
- Intercept form: x/a + y/b = 1, where a and b are x- and y-intercepts (a ≠ 0, b ≠ 0).
- General (standard) form: Ax + By + C = 0. Any non-vertical/non-horizontal line can be written in this linear polynomial form. Conversion: from y = mx + c, rearrange to mx − y + c = 0 (or Ax + By + C = 0).
- Vertical and horizontal lines: Vertical: x = k (undefined slope). Horizontal: y = k (slope 0).
- Normal form: x cos α + y sin α = p, where p is the perpendicular distance from origin to the line and α is the angle the perpendicular makes with x-axis. This is useful for distance and orientation.
Relations and properties
- Parallel lines: two lines are parallel if their slopes are equal (m1 = m2) or their direction ratios are proportional.
- Perpendicular lines: two lines are perpendicular if m1 · m2 = −1 (provided neither is vertical/horizontal special cases considered).
- Angle between two lines with slopes m1 and m2: tan φ = (m2 − m1)/(1 + m1 m2).
- Distance from point (x1,y1) to line Ax + By + C = 0: distance = |Ax1 + By1 + C| / sqrt(A^2 + B^2).
Notes
Vertical lines cannot be represented by y = mx + c because slope is undefined; they are given by x = constant. The intercept form requires nonzero intercepts. The general form is convenient for algebraic manipulations (e.g., computing distances, testing collinearity).
- Example 1: Find the equation of the line through points (1,2) and (3,6). Solution: slope m = (6−2)/(3−1) = 4/2 = 2. Use point-slope: y − 2 = 2(x − 1) → y = 2x. (y = 2x is the required line.)
- Example 2: Find the equation of the line with slope −1/2 passing through (4,3). Solution: y − 3 = (−1/2)(x − 4) → y − 3 = −x/2 + 2 → y = −x/2 + 5.
- Example 3: Find intercept form if x-intercept is 4 and y-intercept is 2. Solution: x/4 + y/2 = 1. Multiply through: (1/4)x + (1/2)y = 1 → x + 2y = 4 (general form).
- Example 4: Write the equation of the perpendicular to y = 3x + 1 passing through (2, −1). Solution: slope of given line = 3 so perpendicular slope = −1/3. Use point-slope: y + 1 = −(1/3)(x − 2) → y = −(1/3)x + (2/3) − 1 → y = −(1/3)x − 1/3.
- Slope between two points: m = (y2 − y1)/(x2 − x1) (x1 ≠ x2)
- Slope-intercept form: y = mx + c (m = slope, c = y-intercept)
- Point-slope form: y − y1 = m(x − x1)
- Two-point form: (y − y1)/(y2 − y1) = (x − x1)/(x2 − x1)
- Intercept form: x/a + y/b = 1 (a = x-intercept, b = y-intercept)
- General form: Ax + By + C = 0
Slope of a line and angle with axes
What is slope?
The slope (or gradient) of a straight line measures its steepness and direction. For a non-vertical line through two points (x1, y1) and (x2, y2) the slope m is
m = (y2 − y1) / (x2 − x1)
This is the "rise over run": change in y per unit change in x. Positive slope means the line rises left-to-right; negative slope means it falls. A horizontal line has m = 0. A vertical line has undefined slope (division by zero).
Angle with the positive x-axis
If a line makes an angle α with the positive x-axis measured anticlockwise, its slope is the tangent of that angle:
m = tan α
Thus α = arctan(m). Angles can be given in degrees (°) or radians. For a vertical line α = 90° (π/2) and tan α is undefined, matching the undefined slope.
Angle with the y-axis
If β is the angle the line makes with the positive y-axis (measured from +y toward the line), then β = 90° − α and
m = cot β = tan(90° − β)
Relationship between two lines
For two lines with slopes m1 and m2, the angle θ between the lines satisfies:
tan θ = |(m2 − m1) / (1 + m1m2)|
Special cases:
- Lines are parallel if m1 = m2.
- Lines are perpendicular if m1·m2 = −1 (provided slopes finite). In that case m2 = −1/m1.
Sign and quadrant conventions
The value arctan(m) gives an angle between −90° and 90°. If a line points into the second or third quadrant (i.e., x decreases while y increases or both decrease), you may add 180° to get the direction angle in [0°,360°). Always measure the angle from the positive x-axis anticlockwise for the full direction.
Geometric interpretation
On a graph, take any two points on the line, draw the right triangle with horizontal leg Δx and vertical leg Δy; slope = Δy/Δx, and the acute angle the line makes with the horizontal satisfies tan α = Δy/Δx.
- Example 1 — Between two points: For points (1, 2) and (4, 5): m = (5 − 2)/(4 − 1) = 3/3 = 1. Angle α = arctan(1) = 45°.
- Example 2 — Ramp gradient: A ramp rises 1 m for every 5 m horizontal. Slope m = 1/5 = 0.2. Angle α = arctan(0.2) ≈ 11.31°.
- Example 3 — Perpendicular lines: If line L1 has equation y = 2x + 1 (m1 = 2), any line L2 perpendicular to L1 must have slope m2 = −1/2. For example y = −(1/2)x + 3.
- Example 4 — Angle between two lines: Lines y = x (m1 = 1) and y = −(1/3)x (m2 = −1/3): tan θ = |(−1/3 − 1)/(1 + 1·(−1/3))| = |(−4/3)/(2/3)| = 2, so θ = arctan(2) ≈ 63.43°.
- Slope between two points: m = (y2 − y1) / (x2 − x1) (x2 ≠ x1)
- Slope from angle with x-axis: m = tan α
- Angle from slope: α = arctan(m) (principal value between −90° and 90°)
- Angle between two lines: tan θ = |(m2 − m1) / (1 + m1·m2)| (provided 1 + m1·m2 ≠ 0)
- Parallel lines: m1 = m2
- Perpendicular lines: m1·m2 = −1 (if both slopes finite)
Angle between two lines
Definition. The angle between two straight lines is the smaller angle formed where they meet (intersection). If the lines make angles α1 and α2 with the positive x-axis, the angle between them is θ = |α2 − α1| (taken between 0 and π).
Slopes and angle with x-axis. If a line has slope m, its angle with the positive x-axis is α = arctan(m) (principal value). For two lines with slopes m1 and m2, let their angles be α1 = arctan(m1) and α2 = arctan(m2).
Key formula (derivation sketch). Using the tangent difference identity,
- tan(α2 − α1) = (tan α2 − tan α1) / (1 + tan α1 tan α2) = (m2 − m1) / (1 + m1 m2).
- Therefore the acute angle θ between the lines satisfies tan θ = |(m2 − m1) / (1 + m1 m2)|, and θ = arctan( |(m2 − m1) / (1 + m1 m2)| ).
Alternate form using general form Ax + By + C = 0. If two lines are a1 x + b1 y + c1 = 0 and a2 x + b2 y + c2 = 0, their angle θ satisfies
tan θ = |(a1 b2 − a2 b1) / (a1 a2 + b1 b2)|.
Special cases and observations.
- Parallel lines: m1 = m2 → θ = 0.
- Perpendicular lines: m1 m2 = −1 → denominator 1 + m1 m2 = 0, so θ = π/2 (90°).
- Vertical lines: slope is infinite. Compute angles with x-axis directly (vertical line angle = π/2) and use θ = |α2 − α1| or use general-form formula to avoid infinities.
- Always take the acute angle (0 ≤ θ ≤ π/2) for the standard “angle between two lines” unless an oriented/obtuse angle is requested.
How to compute (stepwise).
- Find slopes m1 and m2 (from y = mx + c or m = −A/B for Ax + By + C = 0).
- Compute t = |(m2 − m1)/(1 + m1 m2)|.
- Angle θ = arctan(t) (in degrees or radians). If 1 + m1 m2 = 0 → θ = 90°.
- Example 1: Find angle between y = 2x + 3 and y = -x + 1. Here m1 = 2, m2 = -1. Compute tan θ = |(m2 - m1)/(1 + m1 m2)| = |(-1 - 2)/(1 + 2*(-1))| = |-3/(-1)| = 3. So θ = arctan(3) ≈ 71.565°.
- Example 2 (general form): Lines 3x - 4y + 5 = 0 and x + 2y - 3 = 0. Slopes: m1 = 3/4, m2 = -1/2. tan θ = |(-1/2 - 3/4)/(1 + (3/4)(-1/2))| = |(-5/4)/(5/8)| = 2. So θ = arctan(2) ≈ 63.435°.
- Example 3 (perpendicular): y = (1/3)x and y = -3x. Slopes m1 = 1/3, m2 = -3. Product m1*m2 = -1, so lines are perpendicular and θ = 90°.
- If slopes are m1 and m2: tan θ = |(m2 - m1)/(1 + m1 m2)|, and θ = arctan( |(m2 - m1)/(1 + m1 m2)| ).
- If lines are a1 x + b1 y + c1 = 0 and a2 x + b2 y + c2 = 0: tan θ = |(a1 b2 - a2 b1)/(a1 a2 + b1 b2)|.
- Angle of a line with x-axis: α = arctan(m).
- Parallel condition: m1 = m2 → θ = 0. Perpendicular condition: m1 m2 = -1 → θ = 90°.
Various forms of equation of a line
A straight line in the plane can be represented in several equivalent algebraic forms. Each form highlights different geometric features (slope, intercepts, normal, passing through points). Common forms are:
- Slope-intercept form: y = mx + c. Here m is the slope (rise/run) and c is the y-intercept (point where the line meets the y-axis).
- Point-slope (or point–gradient) form: y - y1 = m(x - x1). This is the equation of the line through a known point (x1, y1) with slope m.
- Two-point form: (y - y1)/(y2 - y1) = (x - x1)/(x2 - x1). The line through points (x1, y1) and (x2, y2).
- Intercept form: x/a + y/b = 1. The line cuts the x-axis at (a, 0) and the y-axis at (0, b), provided a and b are nonzero.
- General (or standard) form: ax + by + c = 0, where not both a, b are zero. This is a very flexible form used for algebraic manipulation.
- Normal form: x cos α + y sin α = p. Here p is the perpendicular distance from the origin to the line and α is the angle the perpendicular (normal) makes with the positive x-axis.
- Vertical and horizontal lines: A vertical line has equation x = k (undefined slope). A horizontal line has equation y = c (slope = 0).
- Parametric form: x = x0 + t·u, y = y0 + t·v where vector (u, v) is direction and t is a parameter.
Key geometric relations and conversions:
- Slope between two points: m = (y2 - y1)/(x2 - x1).
- Parallel lines: slopes equal (m1 = m2). Perpendicular lines: product of slopes = -1 (m1·m2 = -1), provided slopes are finite.
- Angle θ between two lines with slopes m1, m2: tan θ = |(m2 - m1)/(1 + m1·m2)|.
- Distance of point (x0,y0) from line ax + by + c = 0: |ax0 + by0 + c| / √(a² + b²).
How to convert between forms (examples):
- Two-point → slope → point-slope → slope-intercept: compute m then use a known point.
- General → slope-intercept: solve for y: y = (-a/b)x + (-c/b) if b ≠ 0.
- Normal form → general: multiply out x cos α + y sin α = p to get (cos α)x + (sin α)y - p = 0.
Notes:
- Vertical lines cannot be written in the slope-intercept form; use x = k.
- Intercept form requires intercepts ≠ 0. If an intercept is zero, the line passes through the origin or an axis.
- Example 1 (Two-point → slope-intercept): Find the equation of the line through (2, 3) and (5, 9). Slope m = (9-3)/(5-2) = 6/3 = 2. Use point-slope: y - 3 = 2(x - 2) → y = 2x - 1.
- Example 2 (Point-slope): Line through (1,-2) with slope 3: y + 2 = 3(x - 1) → y = 3x - 5.
- Example 3 (Intercept form): A line cuts the axes at (4,0) and (0,2). Equation: x/4 + y/2 = 1 → multiply by 4: x + 2y = 4.
- Example 4 (General to slope-intercept and intercepts): Given 3x - 4y + 12 = 0. Solve for y: y = (3/4)x + 3. y-intercept = 3. x-intercept: set y=0 → 3x + 12 = 0 → x = -4.
- Example 5 (Normal form and distance): Line in normal form x cos 30° + y sin 30° = 5: cos30°=√3/2, sin30°=1/2, so (√3/2)x + (1/2)y = 5. Distance from origin is p = 5 (by definition).
- Real-life example A (Road slope): A straight road rising 5 m over a horizontal distance of 100 m has slope m = 5/100 = 0.05. Equation of the road profile (taking origin at start) y = 0.05x.
- Slope between two points (x1,y1) and (x2,y2): m = (y2 - y1)/(x2 - x1), x1 ≠ x2.
- Slope-intercept form: y = mx + c (m = slope, c = y-intercept).
- Point-slope form: y - y1 = m(x - x1).
- Two-point form: (y - y1)/(y2 - y1) = (x - x1)/(x2 - x1).
- Intercept form: x/a + y/b = 1 (x-intercept = a, y-intercept = b).
- General form: ax + by + c = 0 (a, b not both zero).
Special lines and families of lines
Overview
In coordinate geometry, a straight line can be written in many equivalent forms. Certain forms and collections (families) of lines are particularly useful because they express simple geometric properties — e.g. being parallel to an axis, passing through a fixed point, or passing through the intersection of two lines. This topic studies these special lines and how to describe families of lines using one parameter.
Common (special) forms of a line
- Slope-intercept form: y = mx + c. Here m is the slope and c is the y-intercept.
- Point-slope form (line through (x₁,y₁)): y - y₁ = m(x - x₁).
- Intercept form: x/a + y/b = 1, where a and b are the x- and y-intercepts (a ≠ 0, b ≠ 0).
- Normal form: x cos α + y sin α = p, where p is the (positive) perpendicular distance from the origin and α is the angle the normal makes with the x-axis.
- General form: ax + by + c = 0 (a and b not both zero). Many formulas (distance, slope, perpendicularity) are easiest to use in this form.
Special single lines
- Horizontal lines: y = k (slope m = 0). Parallel to x-axis.
- Vertical lines: x = k (undefined slope). Parallel to y-axis.
- Lines through origin: y = mx (passes through (0,0)).
- Lines parallel & perpendicular to a given line: If line1 has slope m₁ and line2 has slope m₂, then
- parallel: m₂ = m₁
- perpendicular: m₂ = −1/m₁ (provided m₁ ≠ 0)
Families of lines (one-parameter families)
A family is a set of lines described by one parameter (often m or λ). Common families:
- All lines with a given slope m (parallel family): y = mx + c, parameter c varies. These are all lines parallel to each other.
- All lines through a fixed point (x₁,y₁): y - y₁ = m(x - x₁), parameter m varies (slope). Geometrically these are all lines radiating from that point.
- All lines through the intersection of two given lines L1 = 0 and L2 = 0: L1 + λ L2 = 0 (λ is parameter). Every λ gives a line passing through the common intersection point of L1 and L2. This is useful for families sharing a point.
- Perpendicular family using normal form: x cos α + y sin α = p, where varying p moves the line parallel to itself (same normal direction) — yields lines perpendicular to the direction given by α.
Useful related results
- Slope between two points (x₁,y₁) and (x₂,y₂): m = (y₂ − y₁)/(x₂ − x₁), provided x₂ ≠ x₁.
- Angle θ between two lines of slopes m₁ and m₂: tan θ = |(m₂ − m₁)/(1 + m₁ m₂)|.
- Distance of point (x₀,y₀) from line ax + by + c = 0: d = |ax₀ + by₀ + c|/√(a² + b²).
Why these are important
Special lines simplify calculations and geometric reasoning (e.g., finding intersections, distances, measuring angles, constructing families for locus problems). Families let us describe an infinite set of lines compactly and are widely used in locus, envelope, and optimization problems.
- Road network: city streets often form a family of parallel lines (y = mx + c) and cross streets are perpendicular (m₁·m₂ = −1).
- Spokes of a wheel: all spokes are lines passing through the center (family y − y₀ = m(x − x₀) with (x₀,y₀) the center).
- Sun rays on a flat plane (approx.): lines passing through the sun's image (family through a point) model shadows and projections.
- Building elevation lines: vertical lines x = k model walls parallel to the y-axis; horizontal lines y = k model floors/ledges.
- Optics: normal form x cos α + y sin α = p describes a family of parallel mirrors (same normal angle α) moved by varying p.
- General form: ax + by + c = 0
- Slope-intercept: y = mx + c (slope m, y-intercept c)
- Point-slope (through (x1,y1)): y - y1 = m(x - x1)
- Intercept form: x/a + y/b = 1 (x-intercept a, y-intercept b)
- Normal form: x cos α + y sin α = p (p > 0 is distance from origin)
- Slope between two points: m = (y2 - y1)/(x2 - x1)
Intersection of two lines and concurrency
Intersection of two lines
Two straight lines in the plane are represented in their general form as a1 x + b1 y + c1 = 0 and a2 x + b2 y + c2 = 0. The intersection of these two lines is the point (x, y) that satisfies both equations simultaneously.
There are three geometric possibilities:
- Unique intersection: if the lines have different slopes (i.e. a1 b2 - a2 b1 ≠ 0) they meet at exactly one point.
- No intersection (parallel): if slopes are equal (a1 b2 - a2 b1 = 0) but the constant terms are not proportional (a1/a2 = b1/b2 ≠ c1/c2), the lines are parallel and do not meet.
- Infinite intersections (coincident): if both the left-hand coefficients are proportional (a1/a2 = b1/b2 = c1/c2), the lines coincide (are the same line) and have infinitely many common points.
How to find the intersection point (algebraically)
Use substitution, elimination, or Cramer’s rule. For the pair
a1 x + b1 y + c1 = 0
a2 x + b2 y + c2 = 0,
set the system as a1 x + b1 y = -c1 and a2 x + b2 y = -c2. If D = a1 b2 - a2 b1 ≠ 0, the unique intersection is
x = (b1 c2 - b2 c1) / D, y = (a2 c1 - a1 c2) / D.
Handle vertical lines (x = constant) and horizontal lines (y = constant) by direct substitution as special cases.
Concurrency (common intersection of three or more lines)
Three (or more) lines are said to be concurrent if they all pass through a single common point. For three lines
a1 x + b1 y + c1 = 0,
a2 x + b2 y + c2 = 0,
a3 x + b3 y + c3 = 0,
they are concurrent iff the following determinant is zero:
| a1 b1 c1 |
| a2 b2 c2 | = 0
| a3 b3 c3 |
This condition comes from substituting the intersection (obtained from the first two lines) into the third line (equivalently, the third is a linear combination of the first two at the intersection point). Classic geometric examples of concurrency include medians of a triangle (meet at the centroid), angle bisectors (incenter), and altitudes (orthocenter).
Practical note: For computation use elimination or Cramer’s rule; for drawing and visualization use plotting tools (Desmos, GeoGebra) or graph paper to mark lines and the common point.
- Find the intersection of 2x + 3y - 6 = 0 and x - y + 1 = 0. Here D = 2(-1) - 1(3) = -5 ≠ 0. x = (3*1 - (-1)*(-6)) / -5 = 3/5, y = (1*(-6) - 2*1)/-5 = 8/5. Intersection: (3/5, 8/5).
- Show the lines 2x + 4y + 1 = 0 and x + 2y - 3 = 0 are parallel. Ratios a1/a2 = 2/1 = 2 and b1/b2 = 4/2 = 2, but c1/c2 = 1/(-3) ≠ 2, so they are parallel (no intersection).
- Check concurrency of x + y - 2 = 0, 2x - y + 1 = 0 and x + y - 3 = 0. Compute determinant |1 1 -2; 2 -1 1; 1 1 -3| = 0? (If zero, concurrent). Example of three concurrent lines passing through (1,2): x - 1 = 0, y - 2 = 0, and x + y - 3 = 0 (all three meet at (1,2)).
- General form: a x + b y + c = 0
- Slope-intercept form: y = m x + c, slope m = (y2 - y1)/(x2 - x1)
- Condition for unique intersection: D = a1 b2 - a2 b1 ≠ 0
- Intersection (Cramer's rule): x = (b1 c2 - b2 c1) / (a1 b2 - a2 b1), y = (a2 c1 - a1 c2) / (a1 b2 - a2 b1)
- Parallel lines: a1/a2 = b1/b2 ≠ c1/c2
- Coincident lines: a1/a2 = b1/b2 = c1/c2
Distance formulas
What is meant by distance?
In coordinate geometry, distance means the length of the straight line segment joining two points or the shortest (perpendicular) distance from a point to a line. Distance formulas use the Pythagorean theorem and projections to give algebraic expressions for these lengths.
1. Distance between two points (x1, y1) and (x2, y2)
Consider the horizontal separation Δx = x2 − x1 and the vertical separation Δy = y2 − y1. These form the legs of a right triangle whose hypotenuse is the required distance. By Pythagoras,
Distance = √((x2 − x1)2 + (y2 − y1)2).
Derivation (brief): Draw the line segment between the points and drop a vertical and horizontal to form a right triangle. The legs are |Δx| and |Δy|, so the hypotenuse length is √(Δx2 + Δy2).
2. Perpendicular distance from point (x0, y0) to line ax + by + c = 0
The shortest distance from a point to a line is measured along the perpendicular. The algebraic formula is:
Distance = |a x0 + b y0 + c| / √(a2 + b2).
Reason (idea): The numerator gives the signed value of the line equation at the point; dividing by the length √(a2+b2) normalizes by the line's normal vector length, producing the perpendicular length.
3. Distance between two parallel lines
If two lines are parallel and written as a x + b y + c1 = 0 and a x + b y + c2 = 0 (same a and b), then the distance between them is
Distance = |c2 − c1| / √(a2 + b2).
Notes and related facts: midpoint of segment connecting (x1,y1) and (x2,y2) is ((x1+x2)/2, (y1+y2)/2) — often plotted when showing distance. Distances are always nonnegative. In three dimensions the point-to-point distance generalizes to √((Δx)2+(Δy)2+(Δz)2).
- Example 1 — Distance between two points: Find the distance between (1, 2) and (4, 6). Solution: Δx = 4 − 1 = 3, Δy = 6 − 2 = 4. Distance = √(3² + 4²) = √(9 + 16) = √25 = 5.
- Example 2 — Distance from point to line: Find the perpendicular distance from point (3, 4) to the line 3x + 4y − 24 = 0. Solution: Numerator = |3·3 + 4·4 − 24| = |9 + 16 − 24| = |1| = 1. Denominator = √(3² + 4²) = 5. Distance = 1/5 = 0.2 units.
- Example 3 — Distance between parallel lines: Find distance between 2x + 3y − 6 = 0 and 2x + 3y + 4 = 0. Solution: |c2 − c1| = |(+4) − (−6)| = 10. Denominator = √(2² + 3²) = √13. Distance = 10/√13 ≈ 2.774.
- Distance between (x1, y1) and (x2, y2): √((x2 − x1)² + (y2 − y1)²)
- Distance from (x0, y0) to line ax + by + c = 0: |a x0 + b y0 + c| / √(a² + b²)
- Distance between parallel lines a x + b y + c1 = 0 and a x + b y + c2 = 0: |c2 − c1| / √(a² + b²)
- Midpoint of segment joining (x1, y1) and (x2, y2): ((x1 + x2)/2, (y1 + y2)/2) (useful for visualization)
Foot of perpendicular and projection
Definition (Foot of perpendicular): For a point P(x1,y1) and a line L: ax+by+c=0, the foot of the perpendicular from P to L is the point H on L such that PH is perpendicular to L. H is the nearest point on L to P.
Definition (Projection): Projection can mean:
- Scalar projection of vector u on vector v: the signed length of u onto v, given by (u·v)/|v|.
- Vector projection (component) of u on v: the vector along v equal to ((u·v)/(v·v)) v.
- Projection of a point P on a line L: the foot H (same as above).
Derivation (coordinate formula for foot): Let P(x1,y1) and L: ax+by+c=0. The signed distance from P to L is D = (ax1+by1+c)/√(a^2+b^2). The foot H(x0,y0) lies on L and on the line through P perpendicular to L, so moving from P toward L by the perpendicular distance scaled by the unit normal gives:
x0 = x1 - a*(ax1+by1+c)/(a^2+b^2),
y0 = y1 - b*(ax1+by1+c)/(a^2+b^2).
These satisfy ax0+by0+c=0 and PH is perpendicular to L.
Alternate methods:
- Using slopes: If L has slope m (y=mx+c), then perpendicular slope is -1/m; find equation of perpendicular through P and intersect with L.
- Parametric/vector method: If line L is r = a + t d (a is a point on L, d is direction), then parameter for foot t0 = d·(P-a) / (d·d), and foot H = a + t0 d.
Relation to projection of vectors: If u and v are vectors, the scalar projection of u on v is (u·v)/|v| and the vector projection (component) is proj_v(u) = ((u·v)/(v·v)) v. For a point projection on a line, this vector formula applied to position vectors gives the foot.
Special cases: For vertical line x=k, foot of (x1,y1) is (k,y1). For horizontal line y=k, foot is (x1,k). For the origin to ax+by+c=0, foot is (-ac/(a^2+b^2), -bc/(a^2+b^2)).
Geometry insight: The foot H minimizes distance from P to any point on L. The segment PH is perpendicular to L and has length |ax1+by1+c|/√(a^2+b^2).
- Example 1 (foot of perpendicular): Find foot of perpendicular from P(3,4) to line 3x+4y+5=0. Compute d = 3*3+4*4+5 = 30, a^2+b^2=25. x0 = 3 - 3*(30)/25 = -0.6, y0 = 4 - 4*(30)/25 = -0.8. Foot H = (-0.6, -0.8). Distance PH = |30|/√25 = 6.
- Example 2 (vector projection): Let u=(2,3), v=(1,2). u·v = 2*1+3*2 = 8. Scalar projection = 8/|v| = 8/√5. Vector projection proj_v(u) = (8/(1^2+2^2)) v = (8/5)*(1,2) = (8/5, 16/5).
- Example 3 (parametric line): Line through A(1,0) in direction d=(2,1): r = (1,0)+t(2,1). Project P(3,4) onto this line. d·(P-A) = (2,1)·(2,4) = 4+4=8, d·d=5, so t0=8/5. Foot H = (1,0)+(8/5)(2,1) = (1+16/5, 0+8/5) = (21/5, 8/5).
- Foot of perpendicular from P(x1,y1) to line ax+by+c=0: H(x0,y0) where x0 = x1 - a*(ax1+by1+c)/(a^2+b^2), y0 = y1 - b*(ax1+by1+c)/(a^2+b^2).
- Distance from P(x1,y1) to line ax+by+c=0: d = |ax1+by1+c| / sqrt(a^2+b^2).
- Special: Foot from origin to ax+by+c=0: H = (-ac/(a^2+b^2), -bc/(a^2+b^2)).
- Vector/parametric foot: For line r = a + t d and point P, t0 = d·(P-a) / (d·d). Foot H = a + t0 d.
- Scalar projection of u on v: comp_v(u) = (u·v)/|v|. Vector projection: proj_v(u) = ((u·v)/(v·v)) v.
Angle bisectors of two lines
Definition. If two straight lines meet at a point, the lines that divide each of the angles formed into two equal angles are called the angle bisectors of the two lines. The locus of points equidistant from the two given lines is the pair of angle bisectors.
Derivation / Key idea. Let the two lines be L1: a1 x + b1 y + c1 = 0 and L2: a2 x + b2 y + c2 = 0. The perpendicular distance of a point (x,y) from L1 is |a1 x + b1 y + c1|/sqrt(a1^2 + b1^2) and from L2 is |a2 x + b2 y + c2|/sqrt(a2^2 + b2^2). Points on the angle bisectors are equidistant from the two lines, so
|a1 x + b1 y + c1| / sqrt(a1^2 + b1^2) = |a2 x + b2 y + c2| / sqrt(a2^2 + b2^2).
Removing the absolute values gives the two bisector equations (the ± cases):
(a1 x + b1 y + c1)/sqrt(a1^2 + b1^2) = ± (a2 x + b2 y + c2)/sqrt(a2^2 + b2^2).
Which sign (acute / obtuse)? The two signs give the two bisectors. To identify the bisector of the acute angle: take any test point (for example the origin if it is not on either line) and evaluate the left-hand expressions E1 = a1 x + b1 y + c1 and E2 = a2 x + b2 y + c2. The bisector of the acute angle consists of points where E1 and E2 have the same sign (their product > 0) and corresponds to the + sign in the normalized equation; the obtuse-angle bisector corresponds to the − sign (where E1 and E2 have opposite signs). If the chosen test point lies on one bisector, use another test point.
Special cases. If the lines are parallel (a1:b1 = a2:b2) and distinct, the locus of points equidistant from both lines is a single line exactly midway between them (parallel to both). If the lines are perpendicular, the bisectors are also perpendicular (they coincide with the coordinate axes when the two lines are y = x and y = -x).
Connection with slopes and angles. If slopes of the lines are m1 and m2, the angle θ between them satisfies tan θ = |(m1 - m2)/(1 + m1 m2)|. The bisectors will have slopes that can be found by solving the bisector equation or by using angle half-angle formulae if needed.
Usage tip. Always put lines in the form a x + b y + c = 0 before applying the normalized formula. Use the sign-test to decide which of the two ± equations is the acute bisector.
- Simple analytic example: For L1: x - y = 0 and L2: x + y = 0, the bisectors follow from (x - y)/√2 = ±(x + y)/√2. For +: x - y = x + y ⇒ y = 0. For −: x - y = −x − y ⇒ x = 0. So the bisectors are the x-axis and y-axis.
- Worked selection of acute bisector: Let L1: 2x - y + 1 = 0 and L2: x + 3y - 4 = 0. Form normalized expressions E1=(2x - y +1)/√5 and E2=(x + 3y -4)/√10. The two bisectors are E1 = ± E2. To find which is acute, evaluate E1 and E2 at a test point (for example at (0,0): E1 = 1/√5 > 0, E2 = -4/√10 < 0, product < 0, so the bisector through (0,0) corresponds to the − sign; check another point or solve both equations to identify acute/obtuse).
- Real-life example: A road intersection where two streets meet — the pedestrian path placed exactly halfway between the streets follows an angle bisector (useful for placing sidewalks or lighting).
- Real-life example: The ridge line of a symmetrical pitched roof bisects the angle between the two roof planes; in optics, the normal bisects the angle between incident and reflected rays (law of reflection).
- Equation of angle bisectors of L1: a1 x + b1 y + c1 = 0 and L2: a2 x + b2 y + c2 = 0: (a1 x + b1 y + c1)/√(a1^2 + b1^2) = ± (a2 x + b2 y + c2)/√(a2^2 + b2^2).
- Acute/obtuse selection rule: acute bisector consists of points where (a1 x + b1 y + c1)(a2 x + b2 y + c2) > 0 (same sign); obtuse bisector has product < 0 (opposite signs).
- Angle between two lines with coefficients (a1,b1) and (a2,b2): tan θ = |a1 b2 − a2 b1| / (a1 a2 + b1 b2). (θ is the acute angle between them.)
- If slopes are m1 and m2: tan θ = |(m1 − m2)/(1 + m1 m2)|.
Pair of straight lines (homogeneous case) and combined forms
Basic idea (homogeneous case)
A homogeneous second-degree equation in x and y,
ax2 + 2hxy + by2 = 0,
represents a pair of straight lines passing through the origin (0,0) provided it can be factorized as the product of two linear factors:
(l1x + m1y)(l2x + m2y) = 0.
To find the slopes of the two lines, substitute y = m x (x ≠ 0) into the homogeneous equation. This gives the quadratic in m:
b m2 + 2h m + a = 0.
Its roots m1, m2 are the slopes of the two lines, so the lines are y = m1x and y = m2x.
Conditions on the nature of lines
- If h2 > a b, the two lines are real and distinct.
- If h2 = a b, the two lines are real and coincident (repeated line).
- If h2 < a b, the pair is imaginary (no real lines).
Angle between the two lines
If θ is the acute angle between the two lines,
tan θ = 2 √(h2 − ab) / (a + b),
provided a + b ≠ 0. (Use formula via slopes if a + b = 0.)
Factorization method
1) Solve b m2 + 2h m + a = 0 for m1, m2 (slopes).
2) Then the pair is (y − m1x)(y − m2x) = 0, or equivalently rewrite as linear factors in x,y.
Combined forms (general pair of lines)
The general second-degree equation
ax2 + 2hxy + by2 + 2gx + 2fy + c = 0
represents a pair of straight lines (not necessarily through origin) iff the determinant
| a h g | | h b f | | g f c | = 0.
When that holds, the left-hand side can be factorized as (L1)(L2) = 0 where each L is linear in x and y: L = αx + βy + γ.
How to factor a general pair
Find two linear factors either by algebraic factorization or by finding two distinct lines whose product expands to the given quadratic. One systematic approach: if the pair meets the determinant condition, try to find the intersection point (solve the partial derivatives/linear system) or reduce by a translation to make it homogeneous and then factor as in the homogeneous case.
- Example 1 (simple homogeneous): x^2 − y^2 = 0. Factor as (x − y)(x + y) = 0. So the two lines are y = x and y = −x (perpendicular lines through origin).
- Example 2 (homogeneous with distinct slopes): 2x^2 + 5xy + 2y^2 = 0. Solve 2m^2 + 5m + 2 = 0 → m = −1/2, −2. Lines: y = −(1/2)x and y = −2x.
- Example 3 (general combined form): (x + y − 1)(x − y + 2) = 0 expands to x^2 − y^2 + x + 3y − 2 = 0. This is a pair of straight lines not through origin; each linear factor is one line.
- Homogeneous pair: ax^2 + 2hxy + by^2 = 0 represents two lines through origin.
- Slopes: solve b m^2 + 2h m + a = 0; roots m1, m2 are slopes of the lines (y = m1 x, y = m2 x).
- Condition for real distinct lines: h^2 > a b; coincident: h^2 = a b; imaginary: h^2 < a b.
- Angle between lines: tan θ = 2 √(h^2 − a b) / (a + b) (when a + b ≠ 0).
- General pair (combined form): ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 is a pair of lines iff det [[a,h,g],[h,b,f],[g,f,c]] = 0.
- Factorization form: (l1 x + m1 y + n1)(l2 x + m2 y + n2) = 0 gives the combined linear factors.
Applications and problem types
In Coordinate Geometry (Class 11 Straight Lines) the straight line is used to model many simple geometric and real-world relationships. Typical problem types use the line's forms and properties: finding equation from points or slope, checking parallelism/perpendicularity, computing angles and distances, finding foot of a perpendicular, loci that are straight lines, and families of lines. Key ideas: slope (gradient) measures steepness; point–slope, two–point and intercept forms give equations; the general form ax+by+c=0 is convenient for algebraic manipulations. Applications include measuring shortest distance (perpendicular), constructing parallel/perpendicular elements in design, and modeling linear relations in physics, engineering and economics.
Common problem strategies:
- Find slope m from two points: m = (y2−y1)/(x2−x1) and use point–slope form y−y1 = m(x−x1).
- Use general form ax+by+c=0 to compute distance from a point, angle between lines, and foot of perpendicular using direct formulas.
- Test parallelism (equal slopes or proportional coefficients) and perpendicularity (product of slopes = −1 or a1a2 + b1b2 = 0).
- Use determinant (area) test for collinearity or form family of lines through intersection: L1 + λL2 = 0.
These techniques solve geometric construction problems (e.g., draw a line through a point parallel to a given line), optimization of shortest paths (distance to a line), surveying and navigation (angles and bearings), and many applied tasks in engineering, architecture and robotics.
- 1) Equation of the line through (2,3) and (5,7): slope m=(7−3)/(5−2)=4/3. Point–slope: y−3=(4/3)(x−2) → 3y−9=4x−8 → 4x−3y+1=0.
- 2) Angle between 2x−3y+1=0 and x+4y−5=0: use tanθ = |a1b2−a2b1| / |a1a2 + b1b2| = |2·4 − 1·(−3)| / |2·1 + (−3)·4| = 11/10 → θ = arctan(1.1) ≈ 47.73°.
- 3) Distance from point (3,4) to line 4x−3y+12=0: d = |4·3 − 3·4 + 12| / sqrt(4^2 + (−3)^2) = |12−12+12|/5 = 12/5 = 2.4 units.
- 4) Equation of line through (1,−2) parallel to 3x+2y−5=0: same slope → use 3x+2y + k = 0 and substitute (1,−2): 3·1 + 2(−2) + k = 0 → 3−4+k=0 → k=1. So 3x+2y+1=0.
- 5) Foot of perpendicular from (2,3) to x+2y−4=0: a=1,b=2,c=−4; t = (ax1+by1+c)/(a^2+b^2) = (2+6−4)/5 = 4/5. Foot: x' = 2 − a·t = 2 − 4/5 = 6/5, y' = 3 − b·t = 3 − 8/5 = 7/5. So foot = (6/5,7/5).
- Slope between (x1,y1),(x2,y2): m = (y2 − y1)/(x2 − x1) (x1 ≠ x2).
- Point–slope form: y − y1 = m(x − x1).
- Two–point (symmetric) form: (y − y1)/(y2 − y1) = (x − x1)/(x2 − x1).
- Slope–intercept form: y = mx + c (c is y–intercept).
- Intercept form: x/a + y/b = 1 (a,b are x and y intercepts).
- General form: ax + by + c = 0 (a and b not both zero).
Key Concepts
- Straight line
- Locus of points extending in both directions with constant direction; in the plane it has a linear equation.
- Slope (Gradient)
- Measure of steepness of a line; slope m = (change in y)/(change in x) between two points.
- Inclination
- Angle θ the line makes with positive x-axis; slope m = tanθ.
- Equation of a line
- An algebraic relation that all points (x,y) on the line satisfy; common forms include ax + by + c = 0.
- Point-slope form
- Equation of line with slope m through point (x1,y1): y - y1 = m(x - x1).
- Slope-intercept form
- Line expressed as y = mx + c where m is slope and c is y-intercept.
- Two-point form
- Equation of line through (x1,y1) and (x2,y2): (y - y1)/(y2 - y1) = (x - x1)/(x2 - x1).
- Intercept form
- Line with x-intercept a and y-intercept b: x/a + y/b = 1 (a,b ≠ 0).
- General form
- Standard linear equation ax + by + c = 0, where a and b are not both zero.
- Normal form
- Line expressed as x cosα + y sinα = p where p is perpendicular distance from origin and α is angle of normal.
- Direction ratios
- A triple (l,m) in 2D proportional to components of a direction vector of the line; for ax + by + c = 0 a direction vector is (b,-a).
- Direction cosines
- Cosines of angles a line's direction makes with axes; for a unit direction vector (u,v), l = u, m = v and l^2 + m^2 = 1.
- Angle between two lines
- If slopes are m1 and m2, the angle θ between lines satisfies tanθ = |(m2 - m1)/(1 + m1 m2)|.
- Parallel lines
- Two lines that never meet; in slope form they have equal slopes (m1 = m2).
- Perpendicular lines
- Two lines intersecting at right angles; slopes satisfy m1·m2 = -1 (finite slopes).
- Distance from a point to a line
- Perpendicular distance from (x0,y0) to ax + by + c = 0 is |ax0 + by0 + c| / √(a^2 + b^2).
- Foot of perpendicular
- Point on a line closest to a given external point; intersection of the given line and the perpendicular through that point.
- Collinear points
- Three or more points lying on the same straight line; area of triangle formed is zero or slopes pairwise equal.
- Family of lines
- A set of lines described by L1 + λ L2 = 0 where λ is a parameter, often representing all lines through intersection of L1 and L2.
- Angle bisectors of two lines
- Loci of points equidistant from two lines; equation ±(ax + by + c)/√(a^2 + b^2) = (a' x + b' y + c')/√(a'^2 + b'^2).
End-of-Chapter Trial Paper & Test Questions
Topic-wise questions to test your understanding of every concept in this chapter.
-
Define the slope of a line and state its relation with the inclination of the line with the positive x-axis. / रेखा की प्रवणता (ढाल) को परिभाषित कीजिए तथा x-अक्ष की धन दिशा के साथ रेखा के झुकाव से इसका संबंध बताइए।
Show answer
The slope m of a line through (x1,y1) and (x2,y2) is m = (y2 − y1)/(x2 − x1), and it equals the tangent of the inclination angle θ, i.e. m = tan θ. / दो बिंदुओं (x1,y1) और (x2,y2) से गुजरने वाली रेखा की प्रवणता m = (y2 − y1)/(x2 − x1) है, और यह झुकाव कोण θ के स्पर्शज्या के बराबर होती है, अर्थात् m = tan θ।
-
Find the equation of the line passing through (1,2) and (3,6), and identify whether it passes through the origin. / बिंदुओं (1,2) और (3,6) से गुजरने वाली रेखा का समीकरण ज्ञात कीजिए तथा बताइए कि क्या यह मूल बिंदु से गुजरती है।
Show answer
Slope m = (6−2)/(3−1) = 2; using point-slope form y − 2 = 2(x − 1) gives y = 2x, which passes through the origin since (0,0) satisfies it. / प्रवणता m = (6−2)/(3−1) = 2; बिंदु-प्रवणता रूप से y − 2 = 2(x − 1) देता है y = 2x, जो मूल बिंदु से गुजरती है क्योंकि (0,0) इसे संतुष्ट करता है।
-
Find the equation of the line perpendicular to y = 3x + 1 passing through (2, −1). / बिंदु (2, −1) से गुजरने वाली तथा y = 3x + 1 पर लंब रेखा का समीकरण ज्ञात कीजिए।
Show answer
Slope of given line is 3, so perpendicular slope is −1/3; using y + 1 = −(1/3)(x − 2) gives y = −(1/3)x − 1/3. / दी गई रेखा की प्रवणता 3 है, अतः लंब प्रवणता −1/3 है; y + 1 = −(1/3)(x − 2) से y = −(1/3)x − 1/3 प्राप्त होता है।
-
Compute the angle between the lines y = 2x + 3 and y = −x + 1. / रेखाओं y = 2x + 3 और y = −x + 1 के बीच का कोण ज्ञात कीजिए।
Show answer
Here m1 = 2, m2 = −1, so tan θ = |(−1 − 2)/(1 + 2·(−1))| = |−3/−1| = 3, giving θ = arctan 3 ≈ 71.57°. / यहाँ m1 = 2, m2 = −1, अतः tan θ = |(−1 − 2)/(1 + 2·(−1))| = |−3/−1| = 3, जिससे θ = arctan 3 ≈ 71.57° प्राप्त होता है।
-
Find the perpendicular distance from the point (3,4) to the line 3x + 4y − 24 = 0. / बिंदु (3,4) से रेखा 3x + 4y − 24 = 0 तक लंब दूरी ज्ञात कीजिए।
Show answer
Distance = |3·3 + 4·4 − 24| / √(3² + 4²) = |9 + 16 − 24| / 5 = 1/5 = 0.2 units. / दूरी = |3·3 + 4·4 − 24| / √(3² + 4²) = |9 + 16 − 24| / 5 = 1/5 = 0.2 इकाई।
-
Why can a vertical line not be written in the slope-intercept form y = mx + c? / ऊर्ध्वाधर रेखा को प्रवणता-अंतःखंड रूप y = mx + c में क्यों नहीं लिखा जा सकता?
Show answer
A vertical line makes a 90° angle with the x-axis, where tan 90° is undefined, so its slope is undefined and it must instead be written as x = constant. / ऊर्ध्वाधर रेखा x-अक्ष के साथ 90° का कोण बनाती है, जहाँ tan 90° अपरिभाषित है, अतः इसकी प्रवणता अपरिभाषित होती है और इसे x = स्थिरांक के रूप में लिखना पड़ता है।
-
Find the intersection point of the lines 2x + 3y − 6 = 0 and x − y + 1 = 0. / रेखाओं 2x + 3y − 6 = 0 और x − y + 1 = 0 का प्रतिच्छेद बिंदु ज्ञात कीजिए।
Show answer
Using D = 2(−1) − 1(3) = −5, x = (3·1 − (−1)(−6))/(−5) = 3/5 and y = (1·(−6) − 2·1)/(−5) = 8/5, so the point is (3/5, 8/5). / D = 2(−1) − 1(3) = −5 लेने पर, x = (3·1 − (−1)(−6))/(−5) = 3/5 और y = (1·(−6) − 2·1)/(−5) = 8/5, अतः बिंदु (3/5, 8/5) है।
-
State the condition for three lines to be concurrent and name one geometric example. / तीन रेखाओं के संगामी (एक बिंदु पर मिलने) होने की शर्त बताइए तथा एक ज्यामितीय उदाहरण दीजिए।
Show answer
Three lines a_i x + b_i y + c_i = 0 are concurrent if the determinant |a1 b1 c1; a2 b2 c2; a3 b3 c3| = 0; for example, the three medians of a triangle are concurrent at the centroid. / तीन रेखाएँ a_i x + b_i y + c_i = 0 संगामी होती हैं यदि सारणिक |a1 b1 c1; a2 b2 c2; a3 b3 c3| = 0; उदाहरणार्थ, त्रिभुज की तीनों माध्यिकाएँ केंद्रक पर संगामी होती हैं।
Related Laws & Principles
Explore allFoundational laws & principles behind this chapter. Each one opens a full page — what it says, why it matters, five practice questions and the mistakes to avoid.