General Equation of a Line & Reduction to Standard Forms
Any first-degree algebraic equation in two variables x and y always represents a straight line in the Cartesian coordinate plane. Conversely, every straight line can be uniquely represented by such an equation.
1. General Equation of a Line
2. Reduction to Standard Canonical Forms
To extract key geometric properties (slope, intercepts, normal distance), the general equation A x + B y + C = 0 can be systematically reduced into the three standard forms:
A. Reduction to Slope-Intercept Form (y = m x + c)
If B ≠ 0, solving for y:
Comparing with y = m x + c:
- Slope: m = − A / B = − (Coefficient of x) / (Coefficient of y)
- y-intercept: c = − C / B = − (Constant term) / (Coefficient of y)
Special Case: If B = 0, the equation reduces to A x + C = 0 ⇒ x = −C/A, which is a vertical line parallel to the y-axis with undefined slope.
B. Reduction to Intercept Form (x/a + y/b = 1)
If C ≠ 0, transposing the constant term C to the RHS:
Comparing with (x / a) + (y / b) = 1:
- x-intercept: a = − C / A
- y-intercept: b = − C / B
Special Case: If C = 0, the equation becomes A x + B y = 0, representing a line passing directly through the origin (0, 0), where both intercepts are zero.
C. Reduction to Normal Form (x cos ω + y sin ω = p)
Given A x + B y + C = 0 ⇒ A x + B y = − C. To ensure the right-hand side (representing distance p) is strictly positive (p ≥ 0):
- If C < 0, keep it as:
A x + B y = − C(where −C > 0). - If C > 0, multiply through by −1:
(−A) x + (−B) y = C. - Divide both sides by
√(A2 + B2):
Comparing with x cos ω + y sin ω = p:
- Perpendicular Distance from Origin: p = |C| / √(A2 + B2)
- Normal Direction Cosines: cos ω = ± A / √(A2 + B2) and sin ω = ± B / √(A2 + B2)
The sign (±) is chosen so that the RHS remains strictly non-negative, and the quadrant of ω is determined by the respective signs of cos ω and sin ω.
3. Position of Points Relative to a Line
Let the equation of a line be L(x, y) ≡ A x + B y + C = 0. Two given points P(x1, y1) and Q(x2, y2):
Lie on the Same Side of the Line
If the algebraic quantities L(x1, y1) and L(x2, y2) have the same sign:
Lie on Opposite Sides of the Line
If the algebraic quantities L(x1, y1) and L(x2, y2) have opposite signs:
A x1 + B y1 + C has the same sign as C.
Practice problems
Try each problem yourself first, then open the solution to check your working.
Problem 1. Reduce 3x − 4y + 12 = 0 to intercept form and write down the intercepts on the axes.
Show answer
3x − 4y = −12. Divide by −12: −x/4 + y/3 = 1, i.e. x/(−4) + y/3 = 1.
Answer: x-intercept −4, y-intercept 3.
Problem 2. Reduce x + √3 y − 4 = 0 to normal form and find the length of the perpendicular from the origin and the angle it makes with the positive x-axis.
Show answer
x + √3 y = 4. Here √(12 + (√3)2) = 2, so divide by 2: (1/2)x + (√3/2)y = 2.
This is x cos 60° + y sin 60° = 2.
Answer: p = 2 and ω = 60°.
Problem 3. The points (1, 2) and (3, −1) lie on opposite sides of the line 2x + y − k = 0. Find the range of k.
Show answer
Value at (1, 2): 2 + 2 − k = 4 − k. Value at (3, −1): 6 − 1 − k = 5 − k.
Opposite sides means the two values have opposite signs: (4 − k)(5 − k) < 0, so 4 < k < 5.
Answer: 4 < k < 5.
Saved on this device only — no account, no sign-in.