Academy
Formulas/maths/Straight Lines

Straight Lines

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.
Homogeneous Second Degree Equation as a Pair of Lines
→ Derivation
Represents a pair of straight lines through the origin if and only if h² ≥ ab. The two lines are real and distinct (h²>ab), coincident (h²=ab), or imaginary (h²<ab).
Sum and Product of Slopes of a Pair
→ Derivation
For the pair ax²+2hxy+by²=0, the two slopes satisfy these Vieta-like relations.
Angle Between a Pair of Lines
→ Derivation
Acute angle between the two lines represented by ax²+2hxy+by²=0.
Condition for Perpendicular Pair
The two lines in ax²+2hxy+by²=0 are perpendicular if and only if the sum of coefficients of x² and y² is zero.
Condition for Coincident Pair
The two lines in ax²+2hxy+by²=0 are coincident if and only if h²=ab.
Angle Bisectors of a Pair of Lines
→ Derivation
Combined equation of the angle bisectors of the pair ax²+2hxy+by²=0. The bisectors are always perpendicular to each other.
General Second Degree Equation as a Pair of Lines
Represents a pair of straight lines if and only if the discriminant Δ = 0.
Condition for General Second Degree to be a Pair
→ Derivation
i.e. abc + 2fgh − af² − bg² − ch² = 0. This is the necessary and sufficient condition.
Homogenization of a Conic with a Line
→ Derivation
Joint equation of lines joining the origin to the points of intersection of the conic ax²+2hxy+by²+2gx+2fy+c=0 and the line lx+my+n=0. The result is always a homogeneous second degree equation.
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.