Academy
Formulas/maths/Straight Lines

Straight Lines

Section Formula (Internal Division)
Point dividing the segment from (x₁, y₁) to (x₂, y₂) internally in the ratio m : n.
Distance Between Two Points
Distance between (x₁, y₁) and (x₂, y₂) — Pythagoras on the coordinate grid.
Mid-point of a Segment
Mid-point of the segment joining (x₁, y₁) and (x₂, y₂) = average of the coordinates.
Section Formula (External Division)
Point dividing the segment from (x₁, y₁) to (x₂, y₂) externally in the ratio m : n (m ≠ n).
Slope from Two Points
→ Derivation
Slope of the line passing through (x₁, y₁) and (x₂, y₂). Undefined when x₁ = x₂.
Slope from Inclination
→ Derivation
Slope in terms of the angle θ the line makes with the positive x-axis. θ ∈ [0°, 180°), θ ≠ 90°.
Condition for Collinearity
→ Derivation
Three points (x₁,y₁), (x₂,y₂), (x₃,y₃) are collinear if and only if the slopes of any two pairs are equal.
Collinearity via Determinant
→ Derivation
Equivalent determinant condition for collinearity of three points.
Slope–Intercept Form
→ Derivation
m is the slope, c is the y-intercept. Every non-vertical line can be written in this form.
Point–Slope Form
→ Derivation
Line with slope m passing through (x₁, y₁).
Two–Point Form
→ Derivation
Line passing through (x₁, y₁) and (x₂, y₂).
Intercept Form
→ Derivation
Line with x-intercept a and y-intercept b. Fails when the line passes through the origin.
Normal Form
→ Derivation
p > 0 is the perpendicular distance from the origin to the line. α is the angle the perpendicular makes with the positive x-axis.
General Form
Most general equation of a straight line. Slope = −a/b (b ≠ 0), x-intercept = −c/a, y-intercept = −c/b.
Slope from General Form
Slope of ax + by + c = 0, valid when b ≠ 0.
Parametric Form
→ Derivation
Point at signed distance r from (x₁, y₁) along the line of inclination θ. r > 0 in the direction of increasing θ, r < 0 in the opposite direction.
Point at Distance r (Parametric)
Coordinates of the point at signed distance r from (x₁, y₁) along a line of inclination θ.
Condition for Parallel Lines
Two lines are parallel if and only if their slopes are equal (or both are vertical).
Condition for Perpendicular Lines
→ Derivation
Two non-vertical lines are perpendicular if and only if the product of their slopes is −1.
Line Parallel to ax + by + c = 0 Through a Point
Line through (x₁, y₁) parallel to ax + by + c = 0.
Line Perpendicular to ax + by + c = 0 Through a Point
Line through (x₁, y₁) perpendicular to ax + by + c = 0.
Distance from a Point to a Line
→ Derivation
Perpendicular distance from point (x₁, y₁) to the line ax + by + c = 0.
Distance Between Parallel Lines
→ Derivation
Distance between ax + by + c₁ = 0 and ax + by + c₂ = 0.
Foot of Perpendicular from a Point to a Line
→ Derivation
Foot of the perpendicular from (x₁, y₁) to the line ax + by + c = 0.
Reflection of a Point in a Line
→ Derivation
Image (reflection) of point (x₁, y₁) in the line ax + by + c = 0.
Angle Between Two Lines
→ Derivation
Acute angle θ between two lines with slopes m₁ and m₂. The obtuse angle is π − θ.
Angle Between Two Lines (General Form)
→ Derivation
Acute angle between a₁x + b₁y + c₁ = 0 and a₂x + b₂y + c₂ = 0.
Angle Bisectors of Two Lines
→ Derivation
Locus of points equidistant from both lines. The + sign gives one bisector, the − sign gives the other.
Bisector Containing the Origin
→ Derivation
If a₁·a₂ + b₁·b₂ > 0, this bisector (+ sign, with c₁, c₂ same sign) contains the origin. Reverse if < 0.
Position of a Point Relative to a Line
→ Derivation
Two points lie on the same side of ax + by + c = 0 if the expressions ax₁ + by₁ + c and ax₂ + by₂ + c have the same sign, and on opposite sides if signs differ.
Area of Triangle from Vertices
→ Derivation
Area of triangle with vertices (x₁,y₁), (x₂,y₂), (x₃,y₃).
Area of Triangle Formed by Three Lines
→ Derivation
Area of the triangle formed by three lines a₁x+b₁y+c₁=0, a₂x+b₂y+c₂=0, a₃x+b₃y+c₃=0.
Centroid
Point of intersection of the medians. Divides each median in ratio 2:1 from vertex.
Orthocenter — Slope Condition
→ Derivation
The altitude from A is perpendicular to BC. Orthocenter H is found by intersecting any two altitudes.
Circumcenter — Perpendicular Bisector Condition
→ Derivation
Circumcenter O is the intersection of perpendicular bisectors of the sides.
Where a, b, c are the lengths of the sides opposite to vertices A, B, C respectively.
Condition for Concurrency of Three Lines
→ Derivation
Three lines a₁x+b₁y+c₁=0, a₂x+b₂y+c₂=0, a₃x+b₃y+c₃=0 are concurrent if and only if this determinant vanishes.
Family of Lines Through Intersection of Two Lines
→ Derivation
For any value of λ, this represents a line passing through the intersection of L₁: a₁x+b₁y+c₁=0 and L₂: a₂x+b₂y+c₂=0.
Fixed Point of a Family
→ Derivation
The fixed point of the family is the intersection of L₁ = 0 and L₂ = 0, independent of λ.
Shifting of Origin
→ Derivation
When the origin is shifted to (h, k), new coordinates (X, Y) relate to old by x = X + h, y = Y + k.
Rotation of Axes
→ Derivation
When axes are rotated by angle θ anticlockwise, new coordinates (X, Y) relate to old (x, y) by these equations.
Perpendicularity Condition after Homogenization
After homogenization, the chord of intersection subtends a right angle at the origin if and only if the sum of coefficients of x² and y² in the homogenized equation is zero.
Reflection of a Line in Another Line
→ Derivation
Image of line L₁ in mirror line L₂. Method: reflect any two points on L₁ using the point-reflection formula, then find the line through their images.
Distance of a Point from Coordinate Axes
Gives the perpendicular distance of a point P(x_1, y_1) from the x-axis and y-axis respectively.